detail.wxml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <!-- 月份 -->
  2. <view class="month-title" wx:if="{{type==1}}">
  3. <view class="month-title-left">
  4. <view>所属月份:{{month}}</view>
  5. <!-- <image mode="aspectFit" src="/static/images/upgrade/icon-calendar.png"></image> -->
  6. </view>
  7. <view class="month-title-right">
  8. <block >
  9. <image bindtap="lastMonth" mode="aspectFit" src="/static/images/upgrade/icon-arrow-left.png"></image>
  10. <view bindtap="lastMonth" class="last-month">上月</view>
  11. </block>
  12. <block >
  13. <view class="next-month" bindtap="nextMonth">
  14. 下月</view>
  15. <image bindtap="nextMonth" mode="aspectFit" src="/static/images/upgrade/icon-arrow-right.png"></image>
  16. </block>
  17. </view>
  18. </view>
  19. <view class="container">
  20. <view class="main-module" wx:if="{{servantType==99}}">
  21. <view class="coupon-block" style="text-align: center;">
  22. <text class="num">{{blance}}</text>
  23. <view class="tip-wrapper" bindtap="showTip1">
  24. <text class="module-text">可提现金额</text>
  25. <image class="tip-img" mode="aspectFit"
  26. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/distribution/icon-why.png'></image>
  27. </view>
  28. </view>
  29. </view>
  30. <view class="main-module amount-module" style="display: block;height: auto;">
  31. <view class="head" wx:if="{{salaryList.length > 0}}">
  32. <view class="title">项目</view>
  33. <view wx:if="{{type==2}}" class="title">日期</view>
  34. <view class="title">金额</view>
  35. </view>
  36. <!-- 总工资 每月薪资list type=2 -->
  37. <view class="salary" wx:if="{{type==2}}" wx:for="{{salaryList}}" wx:key="index">
  38. <view class="total">
  39. <view class="title">{{item.salaryTypeName}}</view>
  40. <view class="num">{{item.createTime}}</view>
  41. <view class="num">{{item.salary}}</view>
  42. <text wx:if="{{type!=2}}" class="{{item.isShow?'arrow-hide':'arrow-show'}}"
  43. data-salary-type="{{item.salaryType}}" bindtap="getSalaryDetail"></text>
  44. </view>
  45. </view>
  46. <!-- 薪资明细 月工资是那几个项构成 -->
  47. <view wx:if="{{type!=2}}" class="salary" wx:for="{{salaryList}}" wx:key="index">
  48. <view class="total">
  49. <view class="title">{{item.salaryTypeName}}</view>
  50. <view class="num">{{item.createTime}}</view>
  51. <view class="num">¥{{item.salary}}</view>
  52. <view class="btn-show" wx:if="{{item.salaryType>=5&&item.salaryType<=30}}" data-salaryType="{{item.salaryType}}" bindtap="getSalaryDetail">
  53. <image wx:if="{{item.isShow}}" class="arrow-show" src="/static/images/arrow-up.png"></image>
  54. <image wx:else="" class="arrow-show" src="/static/images/arrow_down.png"></image>
  55. </view>
  56. </view>
  57. <view class="detail" wx:if="{{item.isShow}}" wx:for="{{item.details}}" wx:for-item="detail" wx:key="index">
  58. <view style="display: flex;flex-direction: row; width: 580rpx;">
  59. <view class="item">{{detail.salaryTypeName}}</view>
  60. <view class="item">{{detail.createTime}}</view>
  61. <view class="item">{{detail.salary}}元</view>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="salary" style="border: unset;height: 76rpx;" wx:if="{{salaryList.length > 0}}">
  66. <view class="title"></view>
  67. <view class="num">总计:¥{{total}}</view>
  68. </view>
  69. <view class="no-order" wx:if="{{salaryList.length <= 0}}">
  70. <view class="c">
  71. <text>还没有任何服务费记录呢</text>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="btn current-btn" wx:if="{{blance>0&&servantType==99}}" bindtap="goCheckAuth">立即提现
  76. </view>
  77. <view class="btn" wx:if="{{servantType==99}}" bindtap="goList">查看提现记录</view>
  78. <view class="btn" bindtap="goBack">返回</view>
  79. </view>
  80. <!-- 实名认证弹框 -->
  81. <view class="back" wx:if="{{showAuth}}"> </view>
  82. <view class="auth" wx:if="{{showAuth}}">
  83. <view class="form">
  84. <view class="title">平台实名认证</view>
  85. <view class="form-item">
  86. <view class="label">真实姓名</view>
  87. <input bindinput="bindinputName" value="{{name}}" placeholder="身份证上名称" />
  88. </view>
  89. <view class="form-item">
  90. <view class="label">身份证</view>
  91. <input bindinput="bindinputNid" type="idcard" value="{{nid}}" placeholder="请输入身份证号" maxlength="18" />
  92. </view>
  93. <!-- <view class="form-item">
  94. <view class="label">手机号</view>
  95. <input value="{{mobile}}" placeholder="手机号" disabled type="number" />
  96. </view> -->
  97. <view class="warning">
  98. 温馨提示:微信平台最新规定,提现必须实名,否则无法提现
  99. </view>
  100. <view class="warning">
  101. <text>认证注意事项:\r\n1.您的微信帐号必须已经在微信认证 \r\n2.填写的身份证需是您认证微信帐号时的身份证</text>
  102. </view>
  103. <view class="agree-terms">
  104. <checkbox-group bindchange="onChange">
  105. <checkbox value="{{checked}}" shape="square" icon-size="14px" checked-color="#09afff" />
  106. </checkbox-group>
  107. <text class="user-agree">我自愿遵守并同意</text>
  108. <text class="user-terms" ontap="userProtocol">《共享经济合作伙伴协议》</text>
  109. </view>
  110. <view class="footer">
  111. <view class="fbtn" bindtap="goCancel">取消</view>
  112. <view class="fbtn btnConfirm" bindtap="cashoutAuth">提交</view>
  113. </view>
  114. </view>
  115. </view>