w-life-services.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <template>
  2. <view>
  3. <view class="mine">
  4. <view class="title">
  5. <view class="title_icon"></view>
  6. <view class="title_name">
  7. <text>生活服务</text>
  8. </view>
  9. </view>
  10. <view class="content">
  11. <view class="list_item">
  12. <view class="item" @click="go_w_life_detail('gongjijin')">
  13. <view class="item_icon">
  14. <image src="./icon/w_3_1.png" mode=""></image>
  15. </view>
  16. <view class="item_title">
  17. <view class="item_title_name">
  18. <text>公积金查询</text>
  19. </view>
  20. <view class="item_title_tips">
  21. <text>银川住房公积金</text>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="item">
  26. <view class="item_icon">
  27. <image src="./icon/w_3_2.png" mode=""></image>
  28. </view>
  29. <view class="item_title">
  30. <view class="item_title_name">
  31. <text>生活缴费</text>
  32. </view>
  33. <view class="item_title_tips">
  34. <text>水电费缴纳</text>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="item">
  39. <view class="item_icon">
  40. <image src="./icon/w_3_3.png" mode=""></image>
  41. </view>
  42. <view class="item_title">
  43. <view class="item_title_name">
  44. <text>话费充值</text>
  45. </view>
  46. <view class="item_title_tips">
  47. <text>发票收据抬头</text>
  48. </view>
  49. </view>
  50. </view>
  51. <view class="item" @click="go_w_life_detail('xiecheng')">
  52. <view class="item_icon">
  53. <image src="./icon/w_3_4.png" mode=""></image>
  54. </view>
  55. <view class="item_title">
  56. <view class="item_title_name">
  57. <text>飞机火车票</text>
  58. </view>
  59. <view class="item_title_tips">
  60. <text>出行无忧</text>
  61. </view>
  62. </view>
  63. </view>
  64. <view class="item" @click="go_w_life_detail('meituan')">
  65. <view class="item_icon">
  66. <image src="./icon/w_3_5.png" mode=""></image>
  67. </view>
  68. <view class="item_title">
  69. <view class="item_title_name">
  70. <text>美团外卖</text>
  71. </view>
  72. <view class="item_title_tips">
  73. <text>不能饿肚子</text>
  74. </view>
  75. </view>
  76. </view>
  77. <view class="item">
  78. <view class="item_icon">
  79. <image src="./icon/w_3_6.png" mode=""></image>
  80. </view>
  81. <view class="item_title">
  82. <view class="item_title_name">
  83. <text>周边服务</text>
  84. </view>
  85. <view class="item_title_tips">
  86. <text>吃喝玩乐</text>
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. </template>
  95. <script>
  96. export default {
  97. data() {
  98. return {
  99. };
  100. },
  101. methods:{
  102. go_w_life_detail(type){
  103. uni.navigateTo({
  104. url:"../../w-life-detail/w-life-detail?type=" + type
  105. })
  106. }
  107. }
  108. }
  109. </script>
  110. <style lang="scss">
  111. .mine{
  112. margin-bottom: 32rpx;
  113. margin-top: 10rpx;
  114. background-color: #fff;
  115. box-sizing: border-box;
  116. padding-top: 31rpx;
  117. padding-left: 43rpx;
  118. .title{
  119. display: flex;
  120. height: 50rpx;
  121. margin-bottom: 18rpx;
  122. .title_icon{
  123. width: 56rpx;
  124. height: 50rpx;
  125. background-image: url(icon/section3.png);
  126. background-size: cover;
  127. background-repeat: no-repeat;
  128. }
  129. .title_name{
  130. margin-left: 21rpx;
  131. height: 47rpx;
  132. font-size: 33rpx;
  133. font-family: PingFangSC-Medium, PingFang SC;
  134. font-weight: 500;
  135. color: #232627;
  136. line-height: 47rpx;
  137. }
  138. }
  139. .content{
  140. box-sizing: border-box;
  141. .list_item{
  142. display: flex;
  143. flex-wrap: wrap;
  144. justify-content: space-between;
  145. .item{
  146. box-sizing: border-box;
  147. padding: 29rpx 0;
  148. display: flex;
  149. .item_icon{
  150. width: 85rpx;
  151. height: 85rpx;
  152. image{
  153. width: 85rpx;
  154. height: 85rpx;
  155. }
  156. }
  157. .item_title{
  158. margin-left: 29rpx;
  159. border-right: 2rpx solid #e8e8e8;
  160. .item_title_name{
  161. height: 44rpx;
  162. font-size: 31rpx;
  163. font-family: PingFangSC-Medium, PingFang SC;
  164. font-weight: 500;
  165. color: #232627;
  166. line-height: 44rpx;
  167. }
  168. .item_title_tips{
  169. width: 221rpx;
  170. height: 42rpx;
  171. font-size: 29rpx;
  172. font-family: PingFangSC-Medium, PingFang SC;
  173. font-weight: 500;
  174. color: #7D7C7C;
  175. line-height: 42rpx;
  176. }
  177. }
  178. }
  179. .item .item_title:nth-child(2n){
  180. // border-right: none;
  181. }
  182. }
  183. }
  184. }
  185. </style>