statistics.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <extend name="public/base"/>
  2. <block name="css">
  3. <style>
  4. .van-nav-bar--fixed {z-index:100;}
  5. .van-nav-bar .van-icon,.van-nav-bar__text {color:white;}
  6. .van-step--horizontal .van-step__title {font-size:16px;}
  7. .van-step--horizontal .van-step__icon {font-size:16px;}
  8. .van-step__circle {width:10px;height:10px;}
  9. .lw-item {background:white;}
  10. .margin-top-10 {margin-top:10px;}
  11. .lw-item h3 {padding:5px 10px;}
  12. .grid-title {padding-top:5px;color:#666;font-size:14px;}
  13. .grid-num {color:var(--pink);font-size:20px;}
  14. </style>
  15. </block>
  16. <block name="body">
  17. <van-nav-bar
  18. class="bg-pink"
  19. left-text="返回"
  20. left-arrow
  21. @click-left="onBack"
  22. fixed="true"
  23. >
  24. <template #title>
  25. <span style="color:white;">统计</span>
  26. </template>
  27. </van-nav-bar>
  28. <div style="width:100%;height:46px;"></div>
  29. <div class="lw-item">
  30. <h3>状态</h3>
  31. <van-grid :column-num="5">
  32. <van-grid-item>
  33. <template #icon>
  34. <p class="grid-num">{$status_1}</p>
  35. </template>
  36. <template #text>
  37. <p class="grid-title">待审核</p>
  38. </template>
  39. </van-grid-item>
  40. <van-grid-item>
  41. <template #icon>
  42. <p class="grid-num">{$status_2}</p>
  43. </template>
  44. <template #text>
  45. <p class="grid-title">审核通过</p>
  46. </template>
  47. </van-grid-item>
  48. <van-grid-item>
  49. <template #icon>
  50. <p class="grid-num">{$status_3}</p>
  51. </template>
  52. <template #text>
  53. <p class="grid-title">不通过</p>
  54. </template>
  55. </van-grid-item>
  56. <van-grid-item>
  57. <template #icon>
  58. <p class="grid-num">{$status_4}</p>
  59. </template>
  60. <template #text>
  61. <p class="grid-title">热恋</p>
  62. </template>
  63. </van-grid-item>
  64. <van-grid-item>
  65. <template #icon>
  66. <p class="grid-num">{$status_5}</p>
  67. </template>
  68. <template #text>
  69. <p class="grid-title">已婚</p>
  70. </template>
  71. </van-grid-item>
  72. </van-grid>
  73. </div>
  74. <div class="lw-item margin-top-10">
  75. <h3>性别</h3>
  76. <van-grid :column-num="3">
  77. <van-grid-item>
  78. <template #icon>
  79. <p class="grid-num">{$total}</p>
  80. </template>
  81. <template #text>
  82. <p class="grid-title">总人数</p>
  83. </template>
  84. </van-grid-item>
  85. <van-grid-item>
  86. <template #icon>
  87. <p class="grid-num">{$sex_man}</p>
  88. </template>
  89. <template #text>
  90. <p class="grid-title">男性</p>
  91. </template>
  92. </van-grid-item>
  93. <van-grid-item>
  94. <template #icon>
  95. <p class="grid-num">{$sex_woman}</p>
  96. </template>
  97. <template #text>
  98. <p class="grid-title">女性</p>
  99. </template>
  100. </van-grid-item>
  101. </van-grid>
  102. </div>
  103. <div class="lw-item margin-top-10">
  104. <h3>学历</h3>
  105. <van-grid>
  106. <van-grid-item>
  107. <template #icon>
  108. <p class="grid-num">{$education_bkyx}</p>
  109. </template>
  110. <template #text>
  111. <p class="grid-title">本科以下</p>
  112. </template>
  113. </van-grid-item>
  114. <van-grid-item>
  115. <template #icon>
  116. <p class="grid-num">{$education_bk}</p>
  117. </template>
  118. <template #text>
  119. <p class="grid-title">本科</p>
  120. </template>
  121. </van-grid-item>
  122. <van-grid-item>
  123. <template #icon>
  124. <p class="grid-num">{$education_ss}</p>
  125. </template>
  126. <template #text>
  127. <p class="grid-title">硕士</p>
  128. </template>
  129. </van-grid-item>
  130. <van-grid-item>
  131. <template #icon>
  132. <p class="grid-num">{$education_bs}</p>
  133. </template>
  134. <template #text>
  135. <p class="grid-title">博士</p>
  136. </template>
  137. </van-grid-item>
  138. </van-grid>
  139. </div>
  140. <div class="lw-item margin-top-10">
  141. <h3>婚姻状况</h3>
  142. <van-grid :column-num="3">
  143. <van-grid-item>
  144. <template #icon>
  145. <p class="grid-num">{$marry_wh}</p>
  146. </template>
  147. <template #text>
  148. <p class="grid-title">未婚</p>
  149. </template>
  150. </van-grid-item>
  151. <van-grid-item>
  152. <template #icon>
  153. <p class="grid-num">{$marry_lh}</p>
  154. </template>
  155. <template #text>
  156. <p class="grid-title">离婚</p>
  157. </template>
  158. </van-grid-item>
  159. <van-grid-item>
  160. <template #icon>
  161. <p class="grid-num">{$marry_so}</p>
  162. </template>
  163. <template #text>
  164. <p class="grid-title">丧偶</p>
  165. </template>
  166. </van-grid-item>
  167. </van-grid>
  168. </div>
  169. </block>
  170. <block name="script">
  171. <script>
  172. new Vue({
  173. el: '#app',
  174. data() {
  175. return {
  176. };
  177. },
  178. methods: {
  179. onBack() {
  180. history.back();
  181. },
  182. },
  183. });
  184. </script>
  185. </block>