Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

flow-path-list.vue 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <!-- 办理流程 -->
  2. <template>
  3. <view class='flow-con'>
  4. <view class="item" v-for="(item,index) in options" :key="index">
  5. <view class="b-icon" v-if='+index > 0'>
  6. <image :src="`${fileURL}image/newHome/xiaosan.png`" mode="aspectFill" class="img"></image>
  7. </view>
  8. <view class="item-box">
  9. <view class="l-img">
  10. <image :src="item.imgUrl" mode="aspectFit" class="img"></image>
  11. </view>
  12. <view class="r-info">
  13. <view class="title">
  14. {{(item as ItemType).title}}
  15. </view>
  16. <view class="desc">
  17. {{(item as ItemType).desc}}
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </template>
  24. <script setup lang="ts">
  25. import {
  26. fileURL,
  27. } from "@/datas/fileURL.js";
  28. import { PropType } from "vue";
  29. interface ItemType {
  30. title : string,
  31. imgUrl : string,
  32. desc : string,
  33. right ?: boolean,
  34. }
  35. const emit = defineEmits(['more'])
  36. const props = defineProps({
  37. //数据列表
  38. options: {
  39. type: Array as PropType<ItemType[]>,
  40. default: () => ([])
  41. },
  42. })
  43. </script>
  44. <style lang="scss" scoped>
  45. .img {
  46. height: 100%;
  47. width: 100%;
  48. }
  49. .b-icon {
  50. width: 80rpx;
  51. height: 9rpx;
  52. display: flex;
  53. align-items: center;
  54. justify-content: center;
  55. .img {
  56. height: 100%;
  57. width: 14rpx;
  58. }
  59. }
  60. .item-box {
  61. padding: 16rpx 0;
  62. display: flex;
  63. .l-img {
  64. background: url(https://qtzl.etcjz.cn/default-bucket/image/newHome/banli-ju.png);
  65. background-size: 100% 100%;
  66. background-repeat: no-repeat;
  67. width: 80rpx;
  68. height: 80rpx;
  69. padding: 22rpx;
  70. box-sizing: border-box;
  71. }
  72. .r-info {
  73. margin-left: 15rpx;
  74. .title {
  75. font-family: PingFangSC, PingFang SC;
  76. font-weight: bold;
  77. font-size: 28rpx;
  78. color: #222222;
  79. }
  80. .desc {
  81. margin-top: 8rpx;
  82. font-family: PingFangSC, PingFang SC;
  83. font-size: 26rpx;
  84. color: #999999;
  85. }
  86. }
  87. }
  88. </style>