me.wxml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <!-- pages/me/me.wxml -->
  2. <view class="containerss">
  3. <!-- 用户信息 -->
  4. <view class="user-info">
  5. <!-- <image class="avatar" src="{{userInfo.avatar}}" mode="aspectFill"></image> -->
  6. <view class="avatar"></view>
  7. <!-- <image style="width: 35rpx;height: 35rpx;margin-left: 20rpx;" src="{{xiangjiimg}}" mode=""/> -->
  8. <view class="info">
  9. <view style="display: flex; align-items: center;">
  10. <text class="name">{{userInfo.name}}</text>
  11. <image bindtap="goToGoodsLists" style="width: 35rpx;height: 35rpx;margin-left: 20rpx;" src="{{xiugaiimg}}" mode=""/>
  12. </view>
  13. <view class="info_view2">
  14. 阳光幼儿园
  15. </view>
  16. </view>
  17. </view>
  18. <!-- 绑定手机号 -->
  19. <view class="phone-binding">
  20. <text style="margin-right: 20rpx;">绑定手机号:{{userInfo.phone ? userInfo.phone : '未绑定'}}</text>
  21. <navigator url="/subpackages/changephone/changephone" open-type="navigate" wx:if="{{userInfo.phone}}">更改手机号</navigator>
  22. </view>
  23. <!-- 订单状态 -->
  24. <!-- <view class="order-status">
  25. <view class="status-item" wx:for="{{orderStatus}}" wx:key="index">
  26. <view style="display: flex; align-items: center; flex-direction: column;" bindtap="goToGoodsList" data-type="{{ item.type }}">
  27. <view class="circle"></view>
  28. <view style="margin-top: 16rpx;">{{item.text}}</view>
  29. </view>
  30. </view>
  31. </view> -->
  32. <!-- 下载历史 -->
  33. <view class="history">
  34. <view class="title">
  35. <text>下载历史</text>
  36. <navigator url="/subpackages/purchasehistory/purchasehistory" open-type="navigate">查看更多</navigator>
  37. </view>
  38. <view class="items">
  39. <block wx:for="{{historyItems}}" wx:key="id">
  40. <view class="item">
  41. <!-- <image mode="aspectFill"></image> -->
  42. <view class="thumbnail"></view>
  43. <view class="details">
  44. <view class="name">{{item.name}}</view>
  45. <view class="date">{{item.date}}</view>
  46. </view>
  47. <view class="xiazai_img">
  48. <image class="search-icon" src="{{xiazi}}" />
  49. </view>
  50. </view>
  51. </block>
  52. </view>
  53. </view>
  54. <!-- 我的收藏 -->
  55. <view class="history">
  56. <view class="title">
  57. <text>我的收藏</text>
  58. <navigator url="/subpackages/collect/collect" open-type="navigate">查看更多</navigator>
  59. </view>
  60. <view class="items">
  61. <block wx:for="{{historyItems}}" wx:key="id">
  62. <view class="item">
  63. <!-- <image mode="aspectFill"></image> -->
  64. <view class="thumbnail"></view>
  65. <view class="details">
  66. <view class="name">{{item.name}}</view>
  67. <view class="date">{{item.date}}</view>
  68. </view>
  69. <view class="xiazai_img">
  70. <image class="search-icon" src="{{souchangs}}" />
  71. </view>
  72. </view>
  73. </block>
  74. </view>
  75. </view>
  76. <!-- 用户注销 -->
  77. <button class="logout-btn" size="default" bindtap="handleLogout">用户注销</button>
  78. <!-- <custom-tabbar role="{{role}}" selected="{{2}}" /> -->
  79. </view>