1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <!--pages/person/person.wxml-->
- <view class="container">
- <view class="person card" wx:if="{{hasUserInfo}}" bindtap = "gotoPersonInfo">
- <view class="person-info">
- <view class="user-name f18 c-202020" bindtap = "gotoPersonInfo">{{userInfo.name}}
- <image class="next" src="../../images/icons/next.png" >
- </image>
- </view>
- <view class="tel c-707070 fw300">{{userInfo.mobile}}</view>
- <button open-type="getPhoneNumber" catchgetphonenumber="getMobile" class="login-btn" wx:if="{{!userInfo.mobile}}" >获取手机号</button>
- </view>
- <view class="head-img">
- <image class="" src="{{userInfo.avatar}}">
- </image>
- </view>
- </view>
- <view wx:else class="user-login">
- <view class="person-info">
- <view class="user-name f18 c-202020">
- <button open-type="getUserInfo" bindgetuserinfo="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/icons/order.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>
|