78 lines
3.1 KiB
Plaintext
78 lines
3.1 KiB
Plaintext
<view class="user">
|
|
<view class="main content">
|
|
<view class="user_tips">
|
|
<view class="title">我的</view>
|
|
<view class="desc">浏览和管理您的设置</view>
|
|
</view>
|
|
<view class="user_card">
|
|
<view class="card_three"></view>
|
|
<view class="card_two"></view>
|
|
<view class="card_main">
|
|
<view class="card_main_user van-hairline--bottom" bind:tap="enterEdit">
|
|
<view class="user_left">
|
|
<image src="{{ userInfo.user_portrait }}"></image>
|
|
<view class="user_text">
|
|
<text class="user_name">{{ userInfo.user_name.length == 0 ? '暂未填写' : userInfo.user_name }}</text>
|
|
<view class="user_desc">{{ userInfo.user_school.length == 0 ? '暂未填写' : userInfo.user_school }}</view>
|
|
</view>
|
|
</view>
|
|
<van-icon name="arrow" color="#ccc" size="13px"/>
|
|
</view>
|
|
<view class="card_main_nums">
|
|
<view class="nums_item"
|
|
wx:for="{{ thingTypeArr }}"
|
|
bind:tap="enterHistory"
|
|
data-path="{{ item.path }}"
|
|
wx:key="text">
|
|
<view class="item_text">{{ item.text }}</view>
|
|
<view class="item_info">{{ item.nums }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="card_main_nums card_user">
|
|
<view class="nums_item">
|
|
<view class="item_text">城市</view>
|
|
<view class="item_info">
|
|
{{
|
|
userInfo.user_city.length == 0
|
|
? '暂未填写'
|
|
: userInfo.user_city
|
|
}}
|
|
</view>
|
|
</view>
|
|
<view class="nums_item">
|
|
<view class="item_text">电话</view>
|
|
<view class="item_info">
|
|
{{
|
|
userInfo.user_phone.length == 0
|
|
? '暂未填写'
|
|
: userInfo.user_phone
|
|
}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="user_info">
|
|
<view class="user_info_item"></view>
|
|
<view class="user_info_item"></view>
|
|
<view class="user_info_item"></view>
|
|
</view>
|
|
|
|
<view class="user_list" >
|
|
<view class="list_item {{ item.is ? 'logout' : '' }}"
|
|
wx:for="{{ listArr }}"
|
|
bindtap="tagClick"
|
|
data-index="{{ index }}"
|
|
wx:key="text">
|
|
<view class="list_item_left">
|
|
<text wx:if="{{ !item.is }}" class="iconfont {{ item.icon }}"></text>
|
|
<view class="list_text">{{ item.text }}</view>
|
|
</view>
|
|
<van-icon wx:if="{{ !item.is }}" name="arrow" color="#ccc" size="13px"/>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
</view> |