吉光研途前端代码仓库
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.

208 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
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 section 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. padding-top: calc(var(--status-bar-height) + 60rpx);
  61. justify-content: space-between;
  62. .title {
  63. font-size: 44rpx;
  64. font-weight: 700;
  65. color: #6851A7;
  66. }
  67. .desc {
  68. font-size: 22rpx;
  69. font-weight: 600;
  70. color: #808080;
  71. }
  72. .icon {
  73. // margin-top: 16rpx;
  74. width: 62rpx;
  75. height: 62rpx;
  76. border: 2rpx solid #A3A2C5;
  77. border-radius: 50%;
  78. overflow: hidden;
  79. .img {
  80. width: 50rpx;
  81. height: auto;
  82. }
  83. }
  84. }
  85. .bg {
  86. width: 100vw;
  87. height: auto;
  88. .img {
  89. width: 100%;
  90. height: auto;
  91. }
  92. &-logo {
  93. position: absolute;
  94. top: 0;
  95. right: 0;
  96. width: 342rpx;
  97. height: auto;
  98. opacity: 0.3;
  99. }
  100. }
  101. .main {
  102. position: absolute;
  103. top: 0;
  104. left: 0;
  105. width: 100vw;
  106. padding-bottom: 182rpx;
  107. box-sizing: border-box;
  108. }
  109. .section {
  110. margin: 0 38rpx 24rpx 38rpx;
  111. }
  112. .swiper {
  113. border-radius: 10rpx;
  114. overflow: hidden;
  115. /deep/ .uv-swiper-indicator__wrapper__dot {
  116. width: 25rpx;
  117. height: 5rpx;
  118. border-radius: 4rpx;
  119. margin: 0 4rpx;
  120. }
  121. /deep/ .uv-swiper-indicator__wrapper__dot--active {
  122. width: 25rpx;
  123. }
  124. }
  125. .list {
  126. margin-top: 60rpx;
  127. padding: 0 38rpx;
  128. &-item {
  129. position: relative;
  130. width: 100%;
  131. height: 170rpx;
  132. font-size: 0;
  133. border-radius: 10rpx;
  134. overflow: hidden;
  135. background: linear-gradient(to right, rgba($color: #E2DDFF, $alpha: 0.26), rgba($color: #C8C3FD, $alpha: 0.26));
  136. box-shadow: 4rpx 4rpx 6rpx 0rpx rgba(0,0,0,0.15);
  137. & + & {
  138. margin-top: 19rpx;
  139. }
  140. &-bg {
  141. // $w: calc(100vw - 18rpx*2);
  142. // width: $w;
  143. // height: calc(#{$w} * 179 / 714);
  144. width: 100%;
  145. height: 100%;
  146. }
  147. &-fg {
  148. justify-content: flex-start;
  149. align-items: flex-start;
  150. column-gap: 84rpx;
  151. position: absolute;
  152. top: 0;
  153. left: 0;
  154. width: 100%;
  155. height: 100%;
  156. padding: 10rpx 32rpx;
  157. box-sizing: border-box;
  158. .icon {
  159. width: 146rpx;
  160. height: auto;
  161. }
  162. .info {
  163. margin-top: 40rpx;
  164. }
  165. .title {
  166. font-size: 34rpx;
  167. font-weight: 700;
  168. color: #9082D8;
  169. }
  170. .desc {
  171. margin-top: 8rpx;
  172. font-size: 28rpx;
  173. font-weight: 700;
  174. color: #9C97B2;
  175. }
  176. }
  177. }
  178. }
  179. </style>