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.

progress-query-tab.vue 1.2KB

1 anno fa
1 anno fa
1 anno fa
1 anno fa
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <view class="list" v-for="(item,index) in state.list" :key="item.type" @click="go(item.type)">
  3. <view style="display: flex;align-items: center;">
  4. <image class="photo" :src="fileURL + item.image "></image>
  5. <text>{{item.title}}</text>
  6. </view>
  7. <image class="photo1" src="../../static/image/icon-back.png" mode="widthFix"></image>
  8. </view>
  9. </template>
  10. <script setup lang="ts">
  11. import { reactive } from "vue"
  12. import { fileURL } from "@/datas/fileURL.js";
  13. const state = reactive({
  14. list: [
  15. {
  16. "title": "业务审核",
  17. "type": 1,
  18. "image": "image/index/goRecharge.png",
  19. },
  20. {
  21. "title": "对公账户",
  22. "type": 2,
  23. "image": "image/index/goRecharge.png"
  24. }
  25. ],
  26. });
  27. const go = (type) => {
  28. if (type == 1) {
  29. uni.navigateTo({
  30. url: "/subpackage/after-sale/progress-query/progress-query-business"
  31. })
  32. }
  33. }
  34. </script>
  35. <style scoped>
  36. .list {
  37. border-bottom: 1rpx solid #e5e5e5;
  38. display: flex;
  39. padding: 16rpx 20rpx;
  40. align-items: center;
  41. justify-content: space-between;
  42. height: 60rpx;
  43. font-size: 32rpx;
  44. }
  45. .photo {
  46. width: 40rpx;
  47. height: 40rpx;
  48. margin-right: 20rpx;
  49. }
  50. .photo1 {
  51. width: 40rpx;
  52. transform: rotateY(180deg);
  53. }
  54. </style>