|
|
@@ -73,9 +73,12 @@ function loadList(action: 'page' | 'reload', callback?: (items) => void) {
|
|
73
|
73
|
}
|
|
74
|
74
|
|
|
75
|
75
|
if (state.list.length > 0) {
|
|
|
76
|
+ state.list = orderBy(state.list, ['seckill_date'], ['asc'])
|
|
|
77
|
+
|
|
76
|
78
|
// list.value = orderBy(list.value, )
|
|
77
|
79
|
currentSeckillDate.value = state.list[0].seckill_date
|
|
78
|
80
|
currentProductList.value = state.list[0].product_data
|
|
|
81
|
+
|
|
79
|
82
|
}
|
|
80
|
83
|
}
|
|
81
|
84
|
}
|
|
|
@@ -136,10 +139,21 @@ function handleItemClick(seckillItem) {
|
|
136
|
139
|
<image :src="seckillItem.image" mode="widthFix" class="w-30"></image>
|
|
137
|
140
|
</div>
|
|
138
|
141
|
<div class="flex-1 flex flex-col gap-2">
|
|
139
|
|
- <div class="bg-[#fe0032] rounded-tl-full rounded-tr-full rounded-br-full"></div>
|
|
140
|
|
- <div>
|
|
|
142
|
+<!-- <div class="bg-[#fe0032] rounded-tl-full rounded-tr-full rounded-br-full"></div>-->
|
|
|
143
|
+ <div class="bg-[#fe0032] text-[#ffffff] rounded-t-lg rounded-br-lg text-10px leading-none px-1 flex items-center justify-center h-4 w-fit"
|
|
|
144
|
+ v-if="seckillItem.status == 1 || seckillItem.status == 2"
|
|
|
145
|
+ >
|
|
|
146
|
+ <div v-if="seckillItem.status == 1">
|
|
|
147
|
+ 抢购中
|
|
|
148
|
+ </div>
|
|
|
149
|
+ <div v-if="seckillItem.status == 2">
|
|
|
150
|
+ 大仓秒杀
|
|
|
151
|
+ </div>
|
|
|
152
|
+ </div>
|
|
|
153
|
+ <div class="line-clamp-1">
|
|
141
|
154
|
{{ seckillItem.store_name }}
|
|
142
|
155
|
</div>
|
|
|
156
|
+
|
|
143
|
157
|
<div class="text-gray text-xs">
|
|
144
|
158
|
即将恢复原价¥{{ seckillItem.ot_price}}
|
|
145
|
159
|
</div>
|