bt-lcyd/pages/center/center.wxml

27 lines
1.2 KiB
Plaintext
Raw Normal View History

2022-06-14 10:56:41 +08:00
<button open-type="getUserInfo" bindgetuserinfo="getUserInfo" class="user-info">
<view class="user-avatar" wx:if="{{userInfo.avatarUrl != ''}}">
<image src="{{userInfo.avatarUrl}}" wx:if="{{userInfo.avatarUrl}}"></image>
</view>
<view class="user-name-empty" wx:if="{{userInfo.nickName == ''}}">请点击登录</view>
<view class="user-name" wx:if="{{userInfo.nickName != ''}}">{{userInfo.nickName}}</view>
</button>
<view class="item-list">
<view class="item" bindtap="goOrder">
<image src="../../images/order-icon.png" class="item-icon"></image>
<view class="item-name">
<text>场馆订单</text>
<image src="../../images/go.png"></image>
</view>
</view>
<view class="item" bindtap="goRegister">
<image src="../../images/register.png" class="item-icon"></image>
<view class="item-name">
<view class="left">
<text>场馆入驻</text>
<text class="pass" wx:if="{{passtype == 1 && userInfo.nickName != ''}}">已通过</text>
<text class="not-pass" wx:if="{{passtype == 2 && userInfo.nickName != ''}}">未通过</text>
</view>
<image src="../../images/go.png"></image>
</view>
</view>
</view>