|
@@ -30,8 +30,9 @@
|
|
|
<Waterfall class="g-goods-waterfall" :data-list="endList">
|
|
<Waterfall class="g-goods-waterfall" :data-list="endList">
|
|
|
<template #default="{ item }">
|
|
<template #default="{ item }">
|
|
|
<div class="goods" @click="toDetail(item)">
|
|
<div class="goods" @click="toDetail(item)">
|
|
|
- <div class="goods-image mask">
|
|
|
|
|
|
|
+ <div class="goods-image">
|
|
|
<img :src="getFileUrl(item.attachmenturl)" />
|
|
<img :src="getFileUrl(item.attachmenturl)" />
|
|
|
|
|
+ <span class="goods-image__mask">已结束</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="goods-info">
|
|
<div class="goods-info">
|
|
|
<div class="goods-info__title">{{ item.goodsname }}</div>
|
|
<div class="goods-info__title">{{ item.goodsname }}</div>
|
|
@@ -66,7 +67,10 @@
|
|
|
<Divider>{{ $t('quote.ballot.historypresale') }}</Divider>
|
|
<Divider>{{ $t('quote.ballot.historypresale') }}</Divider>
|
|
|
<ul class="g-goods-list">
|
|
<ul class="g-goods-list">
|
|
|
<li class="list-item" v-for="(item, index) in endList" :key="index" @click="toDetail(item)">
|
|
<li class="list-item" v-for="(item, index) in endList" :key="index" @click="toDetail(item)">
|
|
|
- <div class="img mask"><img :src="getFirstImage(item.attachmenturl)" /></div>
|
|
|
|
|
|
|
+ <div class="img">
|
|
|
|
|
+ <img :src="getFirstImage(item.attachmenturl)" />
|
|
|
|
|
+ <span class="img__mask">已结束</span>
|
|
|
|
|
+ </div>
|
|
|
<div class="info">
|
|
<div class="info">
|
|
|
<div class="title"><span>{{ item.goodscode }}/{{ item.goodsname }}</span></div>
|
|
<div class="title"><span>{{ item.goodscode }}/{{ item.goodsname }}</span></div>
|
|
|
<div class="desc">
|
|
<div class="desc">
|
|
@@ -106,7 +110,7 @@ const props = defineProps({
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
-const { global: { t }} = i18n
|
|
|
|
|
|
|
+const { global: { t } } = i18n
|
|
|
const isWaterfall = shallowRef(false)
|
|
const isWaterfall = shallowRef(false)
|
|
|
const { router, getQueryString, setGlobalUrlParams } = useNavigation()
|
|
const { router, getQueryString, setGlobalUrlParams } = useNavigation()
|
|
|
const bannerList = shallowRef<string[]>([])
|
|
const bannerList = shallowRef<string[]>([])
|
|
@@ -137,9 +141,9 @@ useRequest(queryPresaleAuctions, {
|
|
|
presalemode: 5,
|
|
presalemode: 5,
|
|
|
presalestatusstr: '3,4'
|
|
presalestatusstr: '3,4'
|
|
|
},
|
|
},
|
|
|
- onSuccess:( res => {
|
|
|
|
|
|
|
+ onSuccess: (res => {
|
|
|
endList.value = res.data.sort((a, b) => {
|
|
endList.value = res.data.sort((a, b) => {
|
|
|
- return b.endtime.localeCompare(a.endtime)
|
|
|
|
|
|
|
+ return b.endtime.localeCompare(a.endtime)
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|