index.axml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <view class="page">
  2. <view class="panel">
  3. <view class="panel-top" onTap="show" data-class=".main">
  4. <text>月缴(元)</text>
  5. <text>{{totalMoney}}</text>
  6. <button>{{pageStatus?'重算':'明细'}}</button>
  7. </view>
  8. <view class="panel-bottom">
  9. <view class="sb" onTap="show" data-class=".sbList">
  10. <text>社保月缴(元)</text>
  11. <text>{{shebaoMoney}}</text>
  12. </view>
  13. <view class="gjj" onTap="show" data-class=".gjjList">
  14. <text>公积金月缴(元)</text>
  15. <text>{{fundMoney}}</text>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="main" style="height:{{mainHeight}}">
  20. <view class="item">
  21. <text>所在城市</text>
  22. <view onTap="showPicker" data-pickerType=0>
  23. <view>{{city.name}}</view>
  24. <image mode="scaleToFill" src="../../imgs/arrow.png"/>
  25. </view>
  26. </view>
  27. <view class="item" a:if="{{wxyjData.length==2}}">
  28. <text>参保方案</text>
  29. <view onTap="showPicker" data-pickerType=1>
  30. <view>{{type.name}}</view>
  31. <image mode="scaleToFill" src="../../imgs/arrow.png"/>
  32. </view>
  33. </view>
  34. <view class="item">
  35. <text>户籍性质</text>
  36. <view onTap="showPicker" data-pickerType=2>
  37. <view>{{hukou.name}}</view>
  38. <image mode="scaleToFill" src="../../imgs/arrow.png"/>
  39. </view>
  40. </view>
  41. <view class="item">
  42. <text>社保缴纳基数</text>
  43. <view>
  44. <input type="number" value="{{shebao}}" controlled="true" onInput="inputAction" data-input='shebao' placeholder="{{wxyj.shebao_min+'~'+wxyj.shebao_max}}" placeholder-class="placeholder" />
  45. <button onTap="lowest">最低</button>
  46. </view>
  47. </view>
  48. <view class="item">
  49. <text>公积金缴纳基数</text>
  50. <view>
  51. <input type="number" value="{{fund}}" controlled="true" onInput="inputAction" data-input='fund' placeholder="{{wxyj.fund_min+'~'+wxyj.fund_max}}" placeholder-class="placeholder" />
  52. <button onTap="sameShebao">同社保</button>
  53. </view>
  54. </view>
  55. <view class="item">
  56. <text>公积金缴纳比例</text>
  57. <view onTap="showPicker" data-pickerType=3>
  58. <view>{{scale.name}}</view>
  59. <image mode="scaleToFill" src="../../imgs/arrow.png"/>
  60. </view>
  61. </view>
  62. </view>
  63. <view class="list" hidden="{{hiddenList}}">
  64. <view class="title">
  65. <view class="{{listStatus?'':'selected'}}" onTap="show" data-class=".sbList">社保</view>
  66. <view class="{{listStatus?'selected':''}}" onTap="show" data-class=".gjjList">公积金</view>
  67. </view>
  68. <view class="name">
  69. <text>险种</text>
  70. <text>基数</text>
  71. <text>企业</text>
  72. <text>个人</text>
  73. <text>合计</text>
  74. </view>
  75. <view class="sbList" style="height:{{sbHeight}}">
  76. <view>
  77. <view class="list-item" a:for="{{shebaoList}}" a:for-item="item">
  78. <view class="cell" a:for="{{item}}">
  79. <text a:for="{{item}}" a:for-item="item">{{item}}</text>
  80. </view>
  81. </view>
  82. <view class="shebaoListTotal" hidden="{{!shebaoMoney}}">
  83. <text>合计</text>
  84. <view>
  85. <view>
  86. <text>{{shebaoListTotal.length==2?"首月":''}}</text>
  87. <text a:for="{{shebaoListTotal[0]}}" a:for-item="item">{{item}}</text></view>
  88. <view a:if="{{shebaoListTotal.length==2}}">
  89. <text>{{shebaoListTotal.length==2?"非首月":''}}</text>
  90. <text a:for="{{shebaoListTotal[1]}}" a:for-item="item">{{item}}</text></view></view>
  91. </view>
  92. </view>
  93. <view class="tips">
  94. <text>1. 残保金因城市和企业而异,本页展示仅供参考</text>
  95. <text>2. 社保缴费额仅供参考,最终缴费额以社保局实际收取为准。</text>
  96. <text>3. 部分城市因价格调整滞后,可能存在社保预交费用,由于预收费不是最终准确费用,本计算结果暂不包含预收费。</text>
  97. </view>
  98. </view>
  99. <view class="gjjList" hidden="{{hiddenGjj}}">
  100. <view hidden="{{!fundMoney}}">
  101. <view class="list-item">
  102. <view class="cell">
  103. <text>公积金</text>
  104. </view>
  105. <view class="cell">
  106. <text>{{fundForm}}</text>
  107. </view>
  108. <view class="cell">
  109. <text>{{avgFund}}</text>
  110. <text>{{scale.name}}</text>
  111. </view>
  112. <view class="cell">
  113. <text>{{avgFund}}</text>
  114. <text>{{scale.name}}</text>
  115. </view>
  116. <view class="cell">
  117. <text>{{fundMoney}}</text>
  118. </view>
  119. </view>
  120. </view>
  121. <view class="tips">
  122. 公积金缴费额仅供参考,最终缴费额以公积金中心实际收取为准。
  123. </view>
  124. </view>
  125. </view>
  126. <view class="picker" style="bottom:{{bottom}}">
  127. <view class="picker-title">
  128. <view onTap="hiddePicker">取消</view>
  129. <view onTap="sureAction">确定</view>
  130. </view>
  131. <picker-view onChange="scrollPicker" value="{{pickerIndex}}">
  132. <picker-view-column a:for='{{pickerData}}' a:for-item='item'>
  133. <view a:for='{{item}}' a:for-item='item'>{{item.name}}</view>
  134. </picker-view-column>
  135. </picker-view>
  136. </view>
  137. <view class="mask" a:if="{{mask}}" onTap="hiddePicker"></view>