mine.wxml
1007 Bytes
<!-- pages/tab/output/output.wxml -->
<navigation-bar navStyle="{{navStyle}}" bindnavbarReady="navbarReady">个人中心</navigation-bar>
<view class="layout">
<!-- bindtap="jumpLogout" -->
<view class="userInfoCon">
<glsx-image class="headPortrait" src="{{userInfo.userAvatarUrl||IMAGES.userAvatarUrl }}" webp>
头像
</glsx-image>
<view class="info">
<view class="name">{{userInfo.merchantName}}</view>
<view class="id">{{userInfo.phone}}</view>
</view>
<button class="logoutBtn" size="default" type="default" isabled="{{false}}" loading="{{false}}" bindtap="logout" hover-class="button-hover">
退出登录
</button>
<view class="tips">
<text catchtap="jump" data-url="privacy">《隐私协议》</text>
<text catchtap="jump" data-url="agreement">《用户协议》</text>
</view>
<!-- <view class="logot">
<glsx-image class="logot" webp src="store-assistant-assemble/login/arrow-left.png"></glsx-image>
</view> -->
</view>
</view>