123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <cu-custom bgColor="bg-lw-header">
- <view slot="content">我的</view>
- </cu-custom>
- <view class="userinfo">
- <view class="userinfo-left">
- <view class="cu-avatar round" wx:if="{{!userInfo.avatar}}">
- <text class="cuIcon-people"></text>
- </view>
- <view class="cu-avatar round" wx:else bindtap="uploadAvatar" style="background-image:url({{userInfo.avatar}});"></view>
- <view class="namebox">
- <block wx:if="{{!userInfo.user_nickname}}">
- <button class="cu-btn" open-type="getUserInfo" wx:if="{{!getUserInfo}}" bindgetuserinfo="getUserInfo">点击登录</button>
- <button class="cu-btn" wx:if="{{getUserInfo}}" bindtap="getUserProfile">点击登录</button>
- </block>
- <block wx:else>
- <view class="userinfo-content" bindtap="getUserProfile">
- {{userInfo.user_nickname}}
- <text class="cuIcon-refresh lg text-white"></text>
- </view>
- <view class="userinfo-id">id:{{userInfo.id}}</view>
- <view class="userinfo-id" bindtap="toScore">积分:{{userInfo.score}}</view>
- </block>
- </view>
- </view>
- <view class="userinfo-right" bindtap="toInfo">
- <image src="/common/images/person.png"></image>
- <text>个人信息</text>
- <text class="cuIcon-right"></text>
- </view>
- </view>
- <view class="option">
- <view class="option-item" bindtap="scan">
- <image src="/common/images/scan.png"></image>
- <view>扫一扫</view>
- </view>
- <view class="option-item" bindtap="toJoin">
- <image src="/common/images/my_join.png"></image>
- <view>我的参与</view>
- </view>
- </view>
- <view class="cu-list center-menu menu card-menu">
- <view class="cu-item arrow" bindtap="toRob">
- <view class="content">
- <image src="/common/images/rob.png" class="png" mode="aspectFit"></image>
- <text class="text-black">我的抢票</text>
- </view>
- </view>
- <view class="cu-item arrow" bindtap="toFeedback">
- <view class="content">
- <image src="/common/images/feedback.png" class="png" mode="aspectFit"></image>
- <text class="text-black">意见反馈</text>
- </view>
- </view>
- <view class="cu-item arrow" bindtap="toBind">
- <view class="content">
- <image src="/common/images/bind.png" class="png" mode="aspectFit"></image>
- <text class="text-black">绑定聚才网帐号</text>
- </view>
- <view class="action">
- <text class="text-grey text-sm">{{userInfo.jucai_id ? '已绑定' : '未绑定'}}</text>
- </view>
- </view>
- <button class="cu-item arrow btn" open-type="contact">
- <view class="content">
- <image src="/common/images/service.png" class="png" mode="aspectFit"></image>
- <text class="text-black">联系客服</text>
- </view>
- </button>
- </view>
|