|
@@ -3,10 +3,10 @@ import { StaticUrl } from '@/config'
|
|
|
import router from '@/router'
|
|
import router from '@/router'
|
|
|
|
|
|
|
|
const tabList = ref([
|
|
const tabList = ref([
|
|
|
- { title: '待支付', icon: `${StaticUrl}/1.png`, name: 'xsb-order', status: 'paddingPay' },
|
|
|
|
|
- { title: '进行中', icon: `${StaticUrl}/2.png`, name: 'xsb-order', status: 'ing' },
|
|
|
|
|
- { title: '已完成', icon: `${StaticUrl}/6.png`, name: 'xsb-order', status: 'completed' },
|
|
|
|
|
- { title: '退款售后', icon: `${StaticUrl}/3.png`, name: 'common-afterSalesList', status: '' },
|
|
|
|
|
|
|
+ { title: '待支付', icon: ``, name: 'xsb-order', status: 'paddingPay' },
|
|
|
|
|
+ { title: '进行中', icon: ``, name: 'xsb-order', status: 'ing' },
|
|
|
|
|
+ { title: '已完成', icon: ``, name: 'xsb-order', status: 'completed' },
|
|
|
|
|
+ { title: '退款售后', icon: ``, name: 'common-afterSalesList', status: '' },
|
|
|
])
|
|
])
|
|
|
|
|
|
|
|
const { token, userInfo, getUserAvatar } = storeToRefs(useUserStore())
|
|
const { token, userInfo, getUserAvatar } = storeToRefs(useUserStore())
|
|
@@ -78,7 +78,9 @@ function handleGo(item: { name: string, status: string }) {
|
|
|
</template>
|
|
</template>
|
|
|
<view class="grid grid-cols-4 gap-4">
|
|
<view class="grid grid-cols-4 gap-4">
|
|
|
<view v-for="item in tabList" :key="item.title" class="flex flex-col items-center justify-center" @click="handleGo(item)">
|
|
<view v-for="item in tabList" :key="item.title" class="flex flex-col items-center justify-center" @click="handleGo(item)">
|
|
|
- <image :src="item.icon" class="h56rpx w56rpx" />
|
|
|
|
|
|
|
+ <i class="iconfont text-56rpx text-[var(--them-color)]">
|
|
|
|
|
+ {{ item.icon }}
|
|
|
|
|
+ </i>
|
|
|
<view class="mt20rpx text-24rpx">
|
|
<view class="mt20rpx text-24rpx">
|
|
|
{{ item.title }}
|
|
{{ item.title }}
|
|
|
</view>
|
|
</view>
|