result.wxml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <image class="diban" src="/icon/result/diban.png"></image>
  2. <view class="view-result">
  3. <view>
  4. <image src="{{ui.avatar}}"></image>
  5. <text>{{result.status}}</text>
  6. <text>{{result.introductions}}</text>
  7. <text>¥{{ui.income}}</text>
  8. <text>除去个人缴纳社保{{ui.A}}元、公积金{{ui.B}}元、个人所得税{{ui.C}}元,本月税后工资所得</text>
  9. </view>
  10. <button wx:if='{{isRelay}}' bindtap='calculatorAction' style="border-color: rgba(0, 0, 0, 0)" hover-class="none" plain="true">我也要计算</button>
  11. <button wx:else open-type='share' hover-class="none" plain="true">转发到微信与好友PK</button>
  12. <navigator
  13. class="mini"
  14. target="miniProgram"
  15. open-type="navigate"
  16. app-id="wxbf3f03f8a7d0cdcf"
  17. path=""
  18. extra-data=""
  19. version="release"
  20. >社保公积金自助缴纳
  21. </navigator>
  22. </view>
  23. <view class="conetion">
  24. <image src="/icon/result/zhuangshi.png"></image>
  25. </view>
  26. <view class="yearAction">
  27. <view>
  28. <image src="/icon/result/title.png"></image>
  29. </view>
  30. <view class="list">
  31. <view>
  32. <view>月份</view>
  33. <view>个人所得税(元)</view>
  34. <view>税后工资(元)</view>
  35. </view>
  36. <view wx:for="{{data[2]}}" wx:for-index="i" wx:key="" style="{{i%2==0 ?'background:#F1FFFE':'background:#F1F8FF'}}">
  37. <view>{{tools.getT(i)}}</view>
  38. <view>{{data[2][i]}}</view>
  39. <view>{{data[3][i]}}</view>
  40. </view>
  41. </view>
  42. <view wx:if="{{medical.s}}" class="medical-view">
  43. <text>年度汇算清缴退税金额</text>
  44. <view>
  45. <view>大病医疗(元)</view>
  46. <view>{{medical.d}}</view>
  47. </view>
  48. </view>
  49. </view>
  50. <image class="dibu" src="/icon/result/dibu.png"></image>
  51. <wxs module="tools">
  52. var getT = function(i) {
  53. if (i > 11) {
  54. return '合计'
  55. } else {
  56. return i + 1 + '月'
  57. }
  58. }
  59. module.exports.getT = getT
  60. </wxs>