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 1.9KB

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