consumer模块完成度95%,检查消费者前端bug并修复

This commit is contained in:
cyh666666
2026-03-09 17:20:59 +08:00
parent 7b5801a72b
commit 2262d1bfd9
128 changed files with 13485 additions and 1670 deletions

View File

@@ -334,10 +334,7 @@ const updateRecommendList = (recommends: Product[]) => {
const refreshRecommend = async () => {
try {
// 递增页码以获取不同的商品
recommendPage.value = recommendPage.value + 1
// 使用 searchProducts 获取不同页码的 6 个产品
// 鷻加随机偏移量, const randomOffset = Math.floor(Math.random() * 1000)
const hotResp = await supabaseService.searchProducts('', recommendPage.value, 6, 'sales')
const recommends = hotResp.data