12345678910111213141516171819202122232425262728293031323334353637 |
- <navigationBar bind:reload='setUserInfo'></navigationBar>
- <view class="container">
- <!-- 用户信息 -->
- <view class="userBox">
- <view class="above" bindtap="jump" data-url="/pages/editUser/index">
- <view class="identity">
- <image class='avatar' src='{{ userInfo.user.avatar}}'></image>
- <view class="identityText">{{ userInfo.user.profession}}</view>
- </view>
- <view class="userRight">
- <view class="uRtop">
- <view class="uRtopleft">
- <view class="nickName textOver">{{userInfo.user.nickName||'请输入昵称' }}</view>
- <view class="gradeText textOver" catchtap="clipboar">学号:{{userInfo.user.eid}}</view>
- </view>
- <view class="uRtopRight">
- <image class="edit" src="/static/edit_new.png" mode="" />
- <text>编辑</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="scrollViewBox" wx:if="{{!vipTime}}">
- <view class="title">开通会员</view>
- <scroll-view class="goodsList" scroll-x="true" enhanced show-scrollbar="{{false}}">
- <view wx:for="{{products}}" wx:key="id" class="payBox {{item.payType=='YEAR'?'year':'month'}}"
- bindtap="openDonutBuy" data-product="{{item}}">
- <view class="name">{{item.title}}</view>
- <view class="price">{{item.price/100}}元</view>
- <view class="originPrice">原价:{{item.originPrice/100}}元</view>
- </view>
- </scroll-view>
- </view>
- <donutBuy id="donutBuy" bind:paySuccess='paySuccess'></donutBuy>
- <vipModal id="vipModal"></vipModal>
- </view>
|