my.wxml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <!--pages/my/my.wxml-->
  2. <wxs src="../../wxs/tool.wxs" module="tool"></wxs>
  3. <view>
  4. <!-- 头像信息 -->
  5. <view class="user-info">
  6. <view>
  7. <image bind:tap="toLogin" mode="aspectFill" class="head-img" wx:if="{{info}}" src="{{tool.cdn(info.skill.image)}}"></image>
  8. <image bind:tap="toLogin" mode="aspectFill" class="head-img" wx:else bindtap="toLogin" src="{{tool.cdn(config.skill_image)}}"></image>
  9. </view>
  10. <view class="z-margin-l-32" wx:if="{{info}}">
  11. <view class="name">{{info.skill.name}} <text class="jz-type">{{info.skill.skillCateName}}</text> </view>
  12. <view class="job-text">工号:{{info.skill.code}}</view>
  13. </view>
  14. <view class="z-margin-l-32" wx:else>
  15. <view class="name" bindtap="toLogin">请先登录</view>
  16. </view>
  17. </view>
  18. <!-- 保证金信息 -->
  19. <view class="message z-margin-t-32 z-padding-lr-24 z-flex-c-s-b z-padding-tb-24">
  20. <view class="message-each z-flex-c-s-b z-padding-l-24 z-padding-r-32 backcolor-1" bind:tap="toEarnestMoney">
  21. <view>
  22. <view class="earnest-money">{{info.skill.ensure_price || 0}}</view>
  23. <view class="earnest-text z-margin-t-16">诚信保证金(元)</view>
  24. </view>
  25. <view>
  26. <image class="mes-img" src="../../static/index/my/my-1.png"></image>
  27. </view>
  28. </view>
  29. <!-- 二 -->
  30. <view class="message-each z-flex-c-s-b z-padding-l-24 z-padding-r-32 backcolor-2" bind:tap="toserve">
  31. <view>
  32. <view class="earnest-money">{{info.goodsCount || 0}}</view>
  33. <view class="earnest-text z-margin-t-16">服务项目</view>
  34. </view>
  35. <view>
  36. <image class="mes-img" src="../../static/index/my/my-2.png"></image>
  37. </view>
  38. </view>
  39. <!-- 三 -->
  40. <view class="message-each z-flex-c-s-b z-padding-l-24 z-padding-r-32 backcolor-3" data-type="0" bind:tap="toBalance">
  41. <view>
  42. <view class="earnest-money">{{info.userInfo.money || 0}}</view>
  43. <view class="earnest-text z-margin-t-16">平台余额(元)</view>
  44. </view>
  45. <view>
  46. <image class="mes-img" src="../../static/index/my/my-3.png"></image>
  47. </view>
  48. </view>
  49. <!-- 四 -->
  50. <view class="message-each z-flex-c-s-b z-padding-l-24 z-padding-r-32 backcolor-4" data-type="1" bind:tap="toBalance">
  51. <view>
  52. <view class="earnest-money">{{info.userInfo.shop_money || 0}}</view>
  53. <view class="earnest-text z-margin-t-16">商家余额(元)</view>
  54. </view>
  55. <view>
  56. <image class="mes-img" src="../../static/index/my/my-4.png"></image>
  57. </view>
  58. </view>
  59. </view>
  60. <!-- 更多功能 -->
  61. <view class="more-box z-margin-t-24">
  62. <view class="more-title z-font-32">更多功能</view>
  63. <view class="more-each-box z-flex-c">
  64. <view class="more-each z-margin-t-48" wx:for="{{moreList}}" bind:tap="toServel" data-url="{{item.url}}">
  65. <image class="more-img" src="{{item.img}}"></image>
  66. <view class="z-font-24 z-text-c more-text">{{item.title}}</view>
  67. <button type="primary" open-type="contact" class="contact" wx:if="{{!item.url}}"></button>
  68. </view>
  69. </view>
  70. </view>
  71. <!-- 设置 -->
  72. <view bind:tap="toSet" class="z-flex-c-s-b set z-margin-t-24 z-padding-lr-32">
  73. <view class="">
  74. <image class="set-img" src="../../static/index/my/set.png"></image>
  75. 设置
  76. </view>
  77. <image class="l-img" src="../../static/index/to-img.png"></image>
  78. </view>
  79. </view>