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.

process.vue 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <template>
  2. <view class="wrapper">
  3. <view class="flow-path">
  4. <view >
  5. <view class="flow-list">
  6. <flow-path-list :options="state.flowList"></flow-path-list>
  7. </view>
  8. </view>
  9. </view>
  10. </view>
  11. </template>
  12. <script setup lang="ts">
  13. import {reactive} from "vue";
  14. import flowPathList from "./components/flow-path-list.vue";
  15. const state = reactive({
  16. flowPathTabList: ["办理流程", "办理条件", "常见问题"],
  17. flowList: [
  18. //办理流程数据
  19. {
  20. title: "第一步:信息校验:",
  21. desc: "提交车牌号、车牌颜色、收货地址相关信息",
  22. },
  23. {
  24. title: "第二步:证件上传:",
  25. desc: "上传身份证、行驶证等相关信息",
  26. },
  27. {
  28. title: "第三步:签约代扣:",
  29. desc: "选择签约账户并关联",
  30. },
  31. {
  32. title: "第四步:产品选择:",
  33. desc: "选择购买的发行产品",
  34. },
  35. {
  36. title: "第五步:订单完成:",
  37. desc: "支付完成订单",
  38. },
  39. ],
  40. });
  41. </script>
  42. <style lang="scss">
  43. page{
  44. background: #eef7f7;
  45. }
  46. .flow-path {
  47. padding: 20rpx 0rpx 20rpx;
  48. .scroll-view {
  49. white-space: nowrap;
  50. // position: sticky;
  51. top: 0;
  52. }
  53. .top-menu {
  54. display: flex;
  55. }
  56. .top-menu .tab {
  57. font-size: 28rpx;
  58. padding: 38rpx 30rpx;
  59. color: #666666;
  60. position: relative;
  61. }
  62. .top-menu .active .border {
  63. position: absolute;
  64. width: 70%;
  65. height: 16rpx;
  66. background: #00b38b;
  67. opacity: 0.3;
  68. bottom: 40rpx;
  69. z-index: -99;
  70. left: 15%;
  71. border-radius: 6rpx;
  72. }
  73. .top-menu .active {
  74. font-weight: bold;
  75. font-size: 32rpx;
  76. color: #0d0f26;
  77. }
  78. .top-menu .active::before {
  79. width: 100%;
  80. height: 16rpx;
  81. background: #00b38b;
  82. opacity: 0.3;
  83. }
  84. .flow-list {
  85. margin: 0rpx 30rpx;
  86. min-height: 700rpx;
  87. background: #ffffff;
  88. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  89. border-radius: 20rpx;
  90. padding: 55rpx 30rpx 30rpx;
  91. }
  92. }
  93. </style>