吉光研途前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

205 lines
4.1 KiB

3 months ago
3 months ago
1 month ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
1 month ago
3 months ago
1 month ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
2 months ago
3 months ago
3 months ago
3 months ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
1 month ago
3 months ago
1 month ago
1 month ago
1 month ago
3 months ago
3 months ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
3 months ago
1 month ago
3 months ago
3 months ago
  1. <template>
  2. <view class="page__view">
  3. <view class="bg">
  4. <image class="img" :src="configList.page_index_bg" mode="widthFix"></image>
  5. <image class="bg-logo" src="@/static/image/bg-icon.png" mode="widthFix"></image>
  6. </view>
  7. <view class="main">
  8. <view class="flex header">
  9. <view>
  10. <view class="title">{{ configList.page_center_title }}</view>
  11. <view class="desc">{{ configList.page_center_desc }}</view>
  12. </view>
  13. </view>
  14. <view class="list">
  15. <view class="list-item" @click="jumpToDetail('other_service')">
  16. <!-- <image class="list-item-bg" :src="configList.config_image_service" mode="scaleToFill"></image> -->
  17. <image class="list-item-bg" src="@/static/image/bg-other-serve.png" mode="widthFix"></image>
  18. <view class="flex list-item-fg">
  19. <image class="icon" src="@/static/image/icon-other-serve.png" mode="widthFix"></image>
  20. <view class="info">
  21. <view class="title">其他服务</view>
  22. <view class="desc">Other services</view>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. <tabber select="center" />
  28. </view>
  29. </view>
  30. </template>
  31. <script>
  32. import tabber from '@/components/base/tabbar.vue'
  33. export default {
  34. components: {
  35. tabber,
  36. },
  37. data() {
  38. return {
  39. }
  40. },
  41. onLoad() {
  42. },
  43. methods: {
  44. jumpToDetail(paramCode) {
  45. uni.navigateTo({
  46. url: `/pages_order/center/serve?paramCode=${paramCode}`
  47. })
  48. },
  49. },
  50. }
  51. </script>
  52. <style scoped lang="scss">
  53. .page__view {
  54. /deep/ .tabbar-box {
  55. height: 0;
  56. padding: 0;
  57. }
  58. }
  59. .header {
  60. margin: 0 38rpx 22rpx 38rpx;
  61. padding-top: 186rpx;
  62. justify-content: space-between;
  63. .title {
  64. font-size: 44rpx;
  65. font-weight: 700;
  66. color: #6851A7;
  67. }
  68. .desc {
  69. font-size: 22rpx;
  70. font-weight: 600;
  71. color: #808080;
  72. }
  73. .icon {
  74. // margin-top: 16rpx;
  75. width: 62rpx;
  76. height: 62rpx;
  77. border: 2rpx solid #A3A2C5;
  78. border-radius: 50%;
  79. overflow: hidden;
  80. .img {
  81. width: 50rpx;
  82. height: auto;
  83. }
  84. }
  85. }
  86. .bg {
  87. width: 100vw;
  88. height: auto;
  89. .img {
  90. width: 100%;
  91. height: auto;
  92. }
  93. &-logo {
  94. position: absolute;
  95. top: 0;
  96. right: 0;
  97. width: 342rpx;
  98. height: auto;
  99. opacity: 0.3;
  100. }
  101. }
  102. .main {
  103. position: absolute;
  104. top: 0;
  105. left: 0;
  106. width: 100vw;
  107. padding-bottom: 182rpx;
  108. box-sizing: border-box;
  109. }
  110. .swiper {
  111. border-radius: 10rpx;
  112. overflow: hidden;
  113. /deep/ .uv-swiper-indicator__wrapper__dot {
  114. width: 25rpx;
  115. height: 5rpx;
  116. border-radius: 4rpx;
  117. margin: 0 4rpx;
  118. }
  119. /deep/ .uv-swiper-indicator__wrapper__dot--active {
  120. width: 25rpx;
  121. }
  122. }
  123. .list {
  124. // margin-top: 60rpx;
  125. padding: 0 38rpx;
  126. &-item {
  127. position: relative;
  128. width: 100%;
  129. height: 170rpx;
  130. font-size: 0;
  131. border-radius: 10rpx;
  132. overflow: hidden;
  133. background: linear-gradient(to right, rgba($color: #E2DDFF, $alpha: 0.26), rgba($color: #C8C3FD, $alpha: 0.26));
  134. box-shadow: 4rpx 4rpx 6rpx 0rpx rgba(0,0,0,0.15);
  135. & + & {
  136. margin-top: 19rpx;
  137. }
  138. &-bg {
  139. // $w: calc(100vw - 18rpx*2);
  140. // width: $w;
  141. // height: calc(#{$w} * 179 / 714);
  142. width: 100%;
  143. height: 100%;
  144. }
  145. &-fg {
  146. justify-content: flex-start;
  147. align-items: flex-start;
  148. column-gap: 84rpx;
  149. position: absolute;
  150. top: 0;
  151. left: 0;
  152. width: 100%;
  153. height: 100%;
  154. padding: 10rpx 32rpx;
  155. box-sizing: border-box;
  156. .icon {
  157. width: 146rpx;
  158. height: auto;
  159. }
  160. .info {
  161. margin-top: 40rpx;
  162. }
  163. .title {
  164. font-size: 34rpx;
  165. font-weight: 700;
  166. color: #9082D8;
  167. }
  168. .desc {
  169. margin-top: 8rpx;
  170. font-size: 28rpx;
  171. font-weight: 700;
  172. color: #9C97B2;
  173. }
  174. }
  175. }
  176. }
  177. </style>