35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
|
|
<!-- 用户信息 -->
|
||
|
|
<view class="user-info">
|
||
|
|
<image src="{{userInfo.avatar}}" mode=""/>
|
||
|
|
<view class="name">
|
||
|
|
<text class="nick">{{userInfo.nickname}}</text>
|
||
|
|
<text selectable class="id">ID: {{userInfo.id}} </text>
|
||
|
|
</view>
|
||
|
|
<view class="clock">
|
||
|
|
<van-tag wx:if="{{memberLevel}}" color="#F7DB50" text-color="#ad0000">{{memberLevel}}</van-tag>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
<!-- 历史记录 -->
|
||
|
|
<view class="card record">
|
||
|
|
<view class="records_item" wx:for="{{total}}" wx:key="index" bindtap="leaveFor" data-path="{{item.path}}">
|
||
|
|
<text class="value">{{item.value}}</text>
|
||
|
|
<text class="key">{{item.category}}</text>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
<!-- 功能列表 -->
|
||
|
|
<view class="card func">
|
||
|
|
<view class="func_item" wx:for="{{funcList}}" wx:key="index" bindtap="leaveFor" data-path="{{item.path}}">
|
||
|
|
<van-icon name="{{item.icon}}" color="{{item.color}}" />
|
||
|
|
<text class="func_name">{{item.name}}</text>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
<view class="func_item ">
|
||
|
|
<van-icon name="chat" color="#F7DB50" />
|
||
|
|
<button class="contact" plain open-type="contact">
|
||
|
|
<text class="func_name">客服</text>
|
||
|
|
</button>
|
||
|
|
</view>
|
||
|
|
</view>
|