index.wxml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!--
  2. - Copyright (C) 2018-2019
  3. - All rights reserved, Designed By www.joolun.com
  4. - 注意:
  5. - 本软件为www.joolun.com开发研制,项目使用请保留此说明
  6. -->
  7. <view class="cu-list menu-avatar bg-white padding-bottom" style="background-color:#f3f4f7 !important;">
  8. <view class='flex justify-end margin-right'>
  9. <view class="text-xl margin-top" bindtap="settings">
  10. <text class="cuIcon-settingsfill text-black"></text>
  11. </view>
  12. </view>
  13. <view class="cu-avatar round xl head flex" style="background-image:url({{wxUser.headimgUrl}})">{{!wxUser.headimgUrl ? '头' : ''}}</view>
  14. <view class="content text-center margin-top-sm">
  15. <view class="margin-top-xs text-xxl text-bold text-black" wx:if="{{wxUser.nickName}}">{{wxUser.nickName}}</view>
  16. <button class="cu-btn round sm margin-top-xs" bindtap="getUserProfile">
  17. {{!wxUser.nickName ? '获取昵称' : '更新昵称'}}
  18. </button>
  19. </view>
  20. </view>
  21. <view class="cu-listradius order-list">
  22. <view class="cu-bar">
  23. <view class="action">
  24. <text class="cuIcon-titles text-black titles-color"></text>我的订单
  25. </view>
  26. <navigator class="action" url="/pages/order/order-list/index" hover-class="none">
  27. 全部订单<text class="cuIcon-right"></text>
  28. </navigator>
  29. </view>
  30. <view class="cu-list grid col-4 no-border order-list-2">
  31. <view class="cu-item">
  32. <navigator url="/pages/order/order-list/index?status=0" hover-class="none">
  33. <image class="order-image" src="/public/img/5-1.png"></image>
  34. <text class="text-black">待付款</text>
  35. </navigator>
  36. </view>
  37. <view class="cu-item">
  38. <navigator url="/pages/order/order-list/index?status=1" hover-class="none">
  39. <image class="order-image" src="/public/img/5-2.png"></image>
  40. <text class="text-black">待发货</text>
  41. </navigator>
  42. </view>
  43. <view class="cu-item">
  44. <navigator url="/pages/order/order-list/index?status=2" hover-class="none">
  45. <image class="order-image" src="/public/img/5-3.png"></image>
  46. <text class="text-black">待收货</text>
  47. </navigator>
  48. </view>
  49. <view class="cu-item">
  50. <navigator url="/pages/order/order-list/index?status=4" hover-class="none">
  51. <image class="order-image" src="/public/img/5-4.png"></image>
  52. <text class="text-black">已完成</text>
  53. </navigator>
  54. </view>
  55. </view>
  56. </view>
  57. <view class="cu-list menu card-menu radius address">
  58. <navigator class="cu-item arrow" url="/pages/user/user-address/list/index" hover-class="none">
  59. <view class="content">
  60. <image class="address-image" src="/public/img/7-1.png"></image>
  61. <text class="text-black">收货地址</text>
  62. </view>
  63. </navigator>
  64. </view>
  65. <view class="text-gray text-sm text-center margin-top-xl">www.joolun.com 提供技术支持</view>