index.wxml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!--pages/user/info/info.wxml-->
  2. <view class="userInfo">
  3. <view class="user">
  4. <image src="{{userInfo.avatar || company.companyLogo || '../../../images/avatar.png'}}" mode="aspectFit"></image>
  5. <view class="userName">
  6. <block wx:if="{{userInfo && userInfo.userId}}">
  7. <view>{{userInfo.fullname}}</view>
  8. <view class="text2">{{company.companyName}}</view>
  9. </block>
  10. <block wx:else>
  11. <view>登录账号</view>
  12. <view>点击登录 享受更多服务</view>
  13. </block>
  14. </view>
  15. <navigator url="/pages/user/info/info" wx:if="{{userInfo && userInfo.userId}}" class="iconfont icon-a-xiugai1 bianjiziliao">
  16. 编辑资料
  17. </navigator>
  18. <view wx:else class="loginBtn" bind:tap="autoLogin1">点击登录</view>
  19. </view>
  20. <view class="menu">
  21. <view class="title">我的订单</view>
  22. <view class="status">
  23. <navigator wx:for="{{menuList}}" class="item {{userInfo && userInfo.userId ? '' : 'disabled'}}" data-value="{{item.value}}" url="/pages/order/user/list/list?status={{item.value}}">
  24. <view class="iconfont {{item.icon}}"></view>
  25. <view>{{item.name}}</view>
  26. </navigator>
  27. </view>
  28. </view>
  29. <view class="pannel" style="margin-top: 20rpx;">
  30. <navigator url="/pages/user/address/list/list" class="cell {{userInfo && userInfo.userId ? '' : 'disabled'}}" hover-class="none">
  31. <view class="cellText">收货地址</view>
  32. <view class="cellInput abelCellItem iconfont"></view>
  33. </navigator>
  34. <!-- <navigator url="/pages/order/admin/list/list" class="cell">
  35. <view class="cellText">审核订单</view>
  36. <view class="cellInput abelCellItem iconfont"></view>
  37. </navigator> -->
  38. <navigator url="/pages/user/password/password" hover-class="none" class="cell {{userInfo && userInfo.userId ? '' : 'disabled'}}">
  39. <view class="cellText">修改密码</view>
  40. <view class="cellInput abelCellItem iconfont"></view>
  41. </navigator>
  42. <view wx:if="{{showChangeCompanyName && userInfo && userInfo.userId}}" class="cell" catch:tap="changeCompanyName">
  43. <view class="cellText">切换货主</view>
  44. <view class="cellInput abelCellItem iconfont keyboard_arrow_right">
  45. {{companyName}} - {{virtualInventoryName}}
  46. </view>
  47. </view>
  48. <navigator url="/pages/setting/setting" hover-class="none" class="cell">
  49. <view class="cellText">系统设置</view>
  50. <view class="cellInput abelCellItem iconfont"></view>
  51. </navigator>
  52. </view>
  53. <!-- <view class="abelCell">
  54. <navigator url="/pages/user/address/list/list" class="abelCellItem iconfont">收货地址</navigator>
  55. <view class="abelCellItem iconfont">审核订单</view>
  56. <view class="abelCellItem iconfont">修改密码</view>
  57. <view class="abelCellItem iconfont">系统设置</view>
  58. </view> -->
  59. </view>
  60. <WxPrivacy bind:ok="ok"></WxPrivacy>
  61. <CompanyName wx:if="{{showChangeCompanyName && userInfo && userInfo.userId}}"></CompanyName>
  62. <tabbar></tabbar>