index.wxml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <navigationBar bind:reload='setUserInfo'></navigationBar>
  2. <view class="container">
  3. <!-- 用户信息 -->
  4. <view class="userBox">
  5. <view class="above" bindtap="jump" data-url="/pages/editUser/index">
  6. <view class="identity">
  7. <image class='avatar' src='{{ userInfo.user.avatar}}'></image>
  8. <view class="identityText">{{ userInfo.user.profession}}</view>
  9. </view>
  10. <view class="userRight">
  11. <view class="uRtop">
  12. <view class="uRtopleft">
  13. <view class="nickName textOver">{{userInfo.user.nickName||'请输入昵称' }}</view>
  14. <view class="gradeText textOver" catchtap="clipboar">学号:{{userInfo.user.eid}}</view>
  15. </view>
  16. <view class="uRtopRight">
  17. <image class="edit" src="/static/edit_new.png" mode="" />
  18. <text>编辑</text>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. <scroll-view class="goodsList" scroll-x="true" enhanced show-scrollbar="{{false}}">
  25. <view wx:for="{{products}}" wx:key="id"
  26. class="payBox {{item.payType=='LIFELONG'?'pbbg2':item.payType=='YEAR'?'pbbg1':'pbbg3'}}"
  27. bindtap="openDonutBuy" data-product="{{item}}">
  28. <view class="pay">
  29. 立即开通
  30. </view>
  31. </view>
  32. </scroll-view>
  33. <donutBuy id="donutBuy" bind:reload='paySuccess'></donutBuy>
  34. <vipModal id="vipModal"></vipModal>
  35. </view>