12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <!--pages/person/person.wxml-->
- <view class="container">
- <view class="person card" wx:if="{{hasUserInfo}}" >
- <view class="person-info">
- <view class="user-name f18 c-202020" bindtap = "gotoPersonInfo">
- {{userInfo.nickName}}
- <!-- <open-data type="userNickName"></open-data> -->
- <!-- <image class="next" src="../../images/icons/next.png" >
- </image> -->
- </view>
- <view class="tel c-707070 fw300">{{userInfo.mobile}}</view>
- <!-- <view> 余额:{{userInfo.money}}</view> -->
- <button open-type="getPhoneNumber" catchgetphonenumber="getMobile" class="login-btn" wx:if="{{!userInfo.mobile}}" >获取手机号</button>
- </view>
- <view class="head-img">
- <image class="" src="{{userInfo.avatarUrl}}">
- </image>
- <!-- <open-data type="userAvatarUrl"></open-data> -->
- </view>
- </view>
- <view wx:else class="user-login">
- <view class="person-info">
- <view class="user-name f18 c-202020">
- <button bindtap="getInfo" class="login-btn"
- style="height: 100px;width: 200px;">请点击登录</button>
- <image class="next" src="../../images/icons/next.png">
- </image>
- </view>
- </view>
- <view class="head-img">
- <image class="defult-user" src="../../images/icons/defult-user.png">
- </image>
- </view>
- </view>
- <view class="order" bindtap = "gotoOrder">
- <image class="icons" src="../../images/new/coupon.png">
- </image>
- <view class="order-text">我的优惠券
- </view>
- <image class="next-gray" src="../../images/icons/next-gray.png">
- </image>
- </view>
- <!-- <view class="assess" bindtap = "gotoComment">
- <image class="icons" src="../../images/icons/assess.png"></image>
- <view class="assess-text">我的点评
- </view>
- <image class="next-gray" src="../../images/icons/next-gray.png">
- </image>
- </view> -->
- <view class="assess" bindtap = "gotoMoney" wx:if="{{canWriteOff == 'yes'}}">
- <image class="icons" src="../../images/new/scan.png" style="margin: 40rpx 30rpx;width: 40rpx;height: 40rpx;"></image>
- <view class="assess-text">核销
- </view>
- <image class="next-gray" src="../../images/icons/next-gray.png">
- </image>
- </view>
- </view>
|