deduct.wxml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <import src="../index.wxml" />
  2. <image class="banner" src="../../../icon/public/banner.png"></image>
  3. <!-- 子女 -->
  4. <view class="all-line"></view>
  5. <view class="switch-view">
  6. <text>{{deductItem[0].t}}</text>
  7. <view bindtap="tipsAction" id="2">
  8. <image src="../../../icon/home/info.png"></image>
  9. </view>
  10. <checkbox-group class="group" bindchange="switchChange" data-index="{{deductItem[0].i}}">
  11. <checkbox checked="{{deductItem[0].s}}" value="{{deductItem[0].i}}"/>
  12. </checkbox-group>
  13. <!-- <switch checked="{{deductItem[0].s}}" id="{{deductItem[0].i}}" bindchange="switchChange"></switch> -->
  14. </view>
  15. <view class="line"></view>
  16. <block wx:if="{{deductItem[0].s}}">
  17. <view class="input-view">
  18. <text>{{deductItem[6].t}}</text>
  19. <picker value="{{deductItem[6].v}}" range="{{deductItem[6].a}}" id="{{deductItem[6].i}}" bindchange="pickerChange">
  20. <view class="picker-content-view">
  21. <text style="font-size:32rpx;">{{deductItem[6].c}}</text>
  22. <image src="../../../icon/public/arrow.png"></image>
  23. </view>
  24. </picker>
  25. </view>
  26. <view class="line"></view>
  27. <view class="picker-view">
  28. <text>{{deductItem[7].t}}</text>
  29. <picker value="{{deductItem[7].v}}" range="{{deductItem[7].a}}" id="{{deductItem[7].i}}" bindchange="pickerChange">
  30. <view class="picker-content-view">
  31. <text style="font-size:32rpx;">{{deductItem[7].c}}</text>
  32. <image src="../../../icon/public/arrow.png"></image>
  33. </view>
  34. </picker>
  35. </view>
  36. <view class="line"></view>
  37. </block>
  38. <!-- 教育 -->
  39. <view class="switch-view">
  40. <text>{{deductItem[1].t}}</text>
  41. <view bindtap="tipsAction" id="3">
  42. <image src="../../../icon/home/info.png"></image>
  43. </view>
  44. <checkbox-group class="group" bindchange="switchChange" data-index="{{deductItem[1].i}}">
  45. <checkbox checked="{{deductItem[1].s}}" value="{{deductItem[1].i}}"/>
  46. </checkbox-group>
  47. <!-- <switch checked="{{deductItem[1].s}}" id="{{deductItem[1].i}}" bindchange="switchChange"></switch> -->
  48. </view>
  49. <block wx:if="{{deductItem[1].s}}">
  50. <view class="line"></view>
  51. <view class="picker-view">
  52. <text style="margin-left: 60rpx;">{{deductItem[8].t}}</text>
  53. <picker value="{{deductItem[8].v}}" range="{{deductItem[8].a}}" id="{{deductItem[8].i}}" bindchange="pickerChange">
  54. <view class="picker-content-view">
  55. <text style="font-size:32rpx;">{{deductItem[8].c}}</text>
  56. <image src="../../../icon/public/arrow.png"></image>
  57. </view>
  58. </picker>
  59. </view>
  60. </block>
  61. <!-- 赡养 -->
  62. <view class="all-line"></view>
  63. <view style="height:20rpx;"></view>
  64. <view class="all-line"></view>
  65. <view class="switch-view">
  66. <text>{{deductItem[2].t}}</text>
  67. <view bindtap="tipsAction" id="4">
  68. <image src="../../../icon/home/info.png"></image>
  69. </view>
  70. <checkbox-group class="group" bindchange="switchChange" data-index="{{deductItem[2].i}}">
  71. <checkbox checked="{{deductItem[2].s}}" value="{{deductItem[2].i}}"/>
  72. </checkbox-group>
  73. <!-- <switch checked="{{deductItem[2].s}}" id="{{deductItem[2].i}}" bindchange="switchChange"></switch> -->
  74. </view>
  75. <view class="line"></view>
  76. <block wx:if="{{deductItem[2].s}}">
  77. <view class="picker-view">
  78. <text style="margin-left: 60rpx;">{{deductItem[9].t}}</text>
  79. <picker value="{{deductItem[9].v}}" range="{{deductItem[9].a}}" id="{{deductItem[9].i}}" bindchange="pickerChange">
  80. <view class="picker-content-view">
  81. <text style="font-size:32rpx;">{{deductItem[9].c}}</text>
  82. <image src="../../../icon/public/arrow.png"></image>
  83. </view>
  84. </picker>
  85. </view>
  86. <view class="line"></view>
  87. </block>
  88. <block wx:if="{{deductItem[2].s && deductItem[9].v==2}}">
  89. <view class="input-view">
  90. <text style="font-size:32rpx;">{{deductItem[10].t}}</text>
  91. <input placeholder="{{deductItem[10].p}}" placeholder-class="placeholder" maxlength="4" value="{{deductItem[10].c}}" type="number" bindinput="inputAction" id="{{deductItem[10].i}}"></input>
  92. </view>
  93. <view class="line"></view>
  94. </block>
  95. <!-- 医疗 -->
  96. <view class="switch-view">
  97. <text>{{deductItem[3].t}}</text>
  98. <view bindtap="tipsAction" id="5">
  99. <image src="../../../icon/home/info.png"></image>
  100. </view>
  101. <checkbox-group class="group" bindchange="switchChange" data-index="{{deductItem[3].i}}">
  102. <checkbox checked="{{deductItem[3].s}}" value="{{deductItem[3].i}}"/>
  103. </checkbox-group>
  104. <!-- <switch checked="{{deductItem[3].s}}" id="{{deductItem[3].i}}" bindchange="switchChange"></switch> -->
  105. </view>
  106. <block wx:if="{{deductItem[3].s}}">
  107. <view class="line"></view>
  108. <view class="input-view">
  109. <text>{{deductItem[11].t}}</text>
  110. <input style="font-size:32rpx;" placeholder="{{deductItem[11].p}}" placeholder-class="placeholder" maxlength="8" value="{{deductItem[11].c}}" type="digit" bindinput="inputAction" id="{{deductItem[11].i}}"></input>
  111. </view>
  112. </block>
  113. <!-- 房贷 -->
  114. <view class="all-line"></view>
  115. <view style="height:20rpx;"></view>
  116. <view class="all-line"></view>
  117. <view class="switch-view">
  118. <text>{{deductItem[4].t}}</text>
  119. <view bindtap="tipsAction" id="6">
  120. <image src="../../../icon/home/info.png"></image>
  121. </view>
  122. <checkbox-group class="group" bindchange="switchChange" data-index="{{deductItem[4].i}}">
  123. <checkbox checked="{{deductItem[4].s}}" value="{{deductItem[4].i}}"/>
  124. </checkbox-group>
  125. <!-- <switch checked="{{deductItem[4].s}}" id="{{deductItem[4].i}}" bindchange="switchChange"></switch> -->
  126. </view>
  127. <view class="line"></view>
  128. <!-- 租房 -->
  129. <view class="switch-view">
  130. <text>{{deductItem[5].t}}</text>
  131. <view bindtap="tipsAction" id="7">
  132. <image src="../../../icon/home/info.png"></image>
  133. </view>
  134. <checkbox-group class="group" bindchange="switchChange" data-index="{{deductItem[5].i}}">
  135. <checkbox checked="{{deductItem[5].s}}" value="{{deductItem[5].i}}"/>
  136. </checkbox-group>
  137. <!-- <switch checked="{{deductItem[5].s}}" id="{{deductItem[5].i}}" bindchange="switchChange"></switch> -->
  138. </view>
  139. <view class="all-line"></view>
  140. <view style="width:100%;height:236rpx;"></view>
  141. <view class="bottom-view{{adapter.suffix}}">
  142. <view class="bottom-content-view">
  143. <text>扣除额度:</text>
  144. <text>¥ {{deduct.show}}</text>
  145. <view bindtap="comfirmAction">确定</view>
  146. </view>
  147. </view>
  148. <template is="tips-view" data="{{...tips}}"/>