mine.wxml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!--index.wxml-->
  2. <view class="container">
  3. <view class="userinfo f-box">
  4. <view>
  5. <block wx:if="{{userInfo.avatarUrl}}">
  6. <image class="userinfo-avatar" src="{{userInfo.avatarUrl}}"></image>
  7. </block>
  8. <block wx:else>
  9. <image class="userinfo-avatar" src="/images/def_photo.png"></image>
  10. </block>
  11. </view>
  12. <view class='user-right'>
  13. <view class="userinfo-nickname">{{userInfo.nickName}}</view>
  14. <view wx:if="{{!userInfo.phone}}" class='user-phone' bindtap='bindPhone'>点击绑定手机号</view>
  15. <view class='user-tel' wx:else>{{tel}} </view>
  16. </view>
  17. </view>
  18. <!-- 采购订单 -->
  19. <view class='user-order'>
  20. <view class="pad-t20 pad-b20 mar-r20 f-s30 mar-l20 order-title f-box f-align-items-center">
  21. <view class='f-item'>{{orderList.label}}</view>
  22. <view class='f-s28 f-box f-align-items-center' data-state="{{orderList.state}}" bindtap='orderList'>
  23. <view>{{orderList.summary}}</view>
  24. <icon class='{{orderList.icon}} iconfont'></icon>
  25. </view>
  26. </view>
  27. <view class='f-box order-list f-justify-content-center mar-l20 mar-r20 f-s28'>
  28. <view class='f-item order-item' wx:for="{{orderList.data}}" data-state="{{item.state}}" bindtap='orderList'>
  29. <text wx:if="{{item.num > 0 }}">{{item.num}}</text>
  30. <icon class='iconfont {{item.icon}}'></icon>
  31. <view>{{item.label}}</view>
  32. </view>
  33. </view>
  34. </view>
  35. <!-- 我的定制订单 -->
  36. <!-- <view class='user-order'>
  37. <view class="pad-t20 pad-b20 mar-r20 f-s30 mar-l20 order-title f-box f-align-items-center">
  38. <view class='f-item'>{{madeList.label}}</view>
  39. <!-- <view class='f-s28 f-box f-align-items-center'>
  40. <view>{{madeList.summary}}</view>
  41. <icon class='{{madeList.icon}} iconfont'></icon>
  42. </view> -->
  43. <!-- </view>
  44. <view class='f-box order-list f-justify-content-center mar-l20 mar-r20 f-s28'>
  45. <view class='f-item order-item' wx:for="{{orderList.data}}" data-state="{{item.state}}" bindtap='madeList'>
  46. <text wx:if="{{item.num > 0 }}">{{item.num}}</text>
  47. <icon class='iconfont {{item.icon}}'></icon>
  48. <view>{{item.label}}</view>
  49. </view>
  50. </view>
  51. </view> -->
  52. <!-- 我的定制订单 -->
  53. <view class='user-order'>
  54. <view class="pad-t20 pad-b20 mar-r20 f-s30 mar-l20 order-title f-box f-align-items-center" bindtap='channelInfo'>
  55. <view class='f-item'>{{channelName ? channelName :'vip账户'}}</view>
  56. <view class='f-s28 f-box f-align-items-center'>
  57. <icon class='{{madeList.icon}} iconfont'></icon>
  58. </view>
  59. </view>
  60. </view>
  61. <!-- 退出渠道 -->
  62. <view class='channe-box' wx:if="{{channelName}}" bindtap='outChann'>
  63. <button class='f-s30'>退出渠道</button>
  64. </view>
  65. </view>