mp_hextech_v1/pages/user/index.wxml
2023-02-21 22:40:56 +08:00

20 lines
1.1 KiB
Plaintext

<!--pages/user/index.wxml-->
<view class="user-center-card">
<view class="searich_btn">
<t-avatar image="{{avatarImage}}" class="user-center-card__header__avatar" bindtap="onGoEdit" />
<view wx:if="{{loginStatus == false}}" class="user-center-card__header__name" bindtap="onGoEdit">请登录</view>
<view wx:else class="user-center-card__header__name" bindtap="onGoEdit">{{ userinfo.nickname == '' ? '微信用户' : userinfo.nickname }}</view>
<t-icon name="edit-1" bindtap="onGoEdit"></t-icon>
</view>
</view>
<view class="grid-view">
<view class="grid-box">
<t-grid class="block">
<t-grid-item t-class="grid-item" text="查询记录" image="https://webplus-cn-hangzhou-s-603871eef968dd14ced82ed5.oss-cn-hangzhou.aliyuncs.com/hextech/static/history.png" bindtap="onGoSessionList" />
<t-grid-item t-class="grid-item" text="问题反馈" image="https://webplus-cn-hangzhou-s-603871eef968dd14ced82ed5.oss-cn-hangzhou.aliyuncs.com/hextech/static/question.png" />
<!-- <t-grid-item text="保存" icon="download" />
<t-grid-item text="编辑" icon="edit-1" /> -->
</t-grid>
</view>
</view>