index.wxml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <view class="user-box">
  2. <My_card custom-class='user-con' hover bindtap="changeUserMsg">
  3. <van-image image-class="v-img" round width="128rpx" height="128rpx" src="{{userMsg.attinfos[0].url||'/static/image/user.png'}}" />
  4. <view class="user-msg">
  5. <view class="user-name">
  6. {{userMsg.name}}<text>店长</text>
  7. </view>
  8. <view class="user-phone">
  9. {{userMsg.phonenumber}}
  10. </view>
  11. </view>
  12. <van-icon size='40rpx' name="arrow" />
  13. </My_card>
  14. <My_card custom-class='display-data'>
  15. <view class="display-data_l">
  16. <view class="first-line">250</view>
  17. <view class="tow-line">行动力</view>
  18. </view>
  19. <view class="display-data_r">
  20. <view class="first-line">平台行动力:250</view>
  21. <view class="tow-line">总部行动力:250</view>
  22. </view>
  23. </My_card>
  24. </view>
  25. <My_card custom-class='operating' hover>
  26. <navigator class="item" url="{{item.path}}" wx:for="{{pathList}}" data-name="{{item.name}}" bindtap="listClick">
  27. <view class="con">
  28. <view class="label">
  29. <text class="iconfont {{item.icon}}" style="color: {{item.color}};" />
  30. {{item.name}}
  31. </view>
  32. <view class="item-right">
  33. <view wx:if="{{item.name=='绑定微信'}}" class="tips {{userMsg.iswechatbinding?'':'right-false'}}">
  34. {{userMsg.iswechatbinding?'已绑定':'未绑定'}}
  35. </view>
  36. <van-icon size='30rpx' name="arrow" />
  37. </view>
  38. </view>
  39. </navigator>
  40. </My_card>
  41. <!-- iswechatbinding -->
  42. <view style="width: 100vw;text-align: center;margin-top: 200rpx;">
  43. <van-button custom-class='out-login' color="#CCC" bindtap="outLogin" plain>退出登录</van-button>
  44. </view>
  45. <view style="height: 140rpx;" />