From 8920fc2234f60885193034f1f2acf49074e73723 Mon Sep 17 00:00:00 2001
From: wangfukang <15630117759@163.com>
Date: Mon, 4 May 2026 15:55:56 +0800
Subject: [PATCH] 1
---
pages/index/index.vue | 62 ++++++++++++++++++++++---------------------
1 file changed, 32 insertions(+), 30 deletions(-)
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 61140b0..119092e 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -16,13 +16,7 @@
-
-
-
-
-
-
-
+
@@ -101,35 +95,35 @@
style="width: 28rpx;height: 28rpx;position: absolute;top: 20rpx;right: 12rpx;">
-
+
- 3人团
+ {{item.productList[0].groupMembers}}人团
- 炸鸡、薯片零食大礼包
+ {{item.title}}
- ¥12.90
+ ¥{{item.productList[0].originalPrice}}
- 拼团¥9.90
+ 拼团¥{{item.productList[0].groupPrice}}
-
+
- 3人团
+ {{item.productList[0].groupMembers}}人团
-
- 炸鸡、薯片零食大礼包
+
+ {{item.title}}
- ¥12.90
+ ¥{{item.productList[0].originalPrice}}
- 拼团¥9.90
+ 拼团¥{{item.productList[0].groupPrice}}
@@ -144,35 +138,35 @@
style="width: 28rpx;height: 28rpx;position: absolute;top: 20rpx;right: 12rpx;">
-
+
- 3人团
+ {{item.productList[0].groupMembers}}人团
-
- 炸鸡、薯片零食大礼包
+
+ {{item.title}}
- ¥12.90
+ ¥{{item.productList[0].originalPrice}}
- 拼团¥9.90
+ 拼团¥{{item.productList[0].groupPrice}}
-
+
- 3人团
+ {{item.productList[0].groupMembers}}人团
-
- 炸鸡、薯片零食大礼包
+
+ {{item.title}}
- ¥12.90
+ ¥{{item.productList[0].originalPrice}}
- 拼团¥9.90
+ 拼团¥{{item.productList[0].groupPrice}}
@@ -494,6 +488,7 @@
areaName:'',
indicatorDots: false,
autoplay: true,
+ mallAds:[],
deliveryItem:[],
interval: 4000,
onlineWorkerInterval:4000,
@@ -529,6 +524,7 @@
pageNum:1,
getAreaId:'',
putAreaId:'',
+ paths:['home_top','home_center_left_top','home_center_left_bottom','home_center_right_top','home_center_right_bottom'],
order:'',
regionId:'',
deliveryType: 1,
@@ -756,6 +752,7 @@
this.tui.request("/mall/delivery/page", "POST", this.searchForm, false, false).then((res) => {
that.loadStatus = 'nomore';
if (res.code == 200) {
+ that.mallAds = res.result.mallAds
that.deliveryItem = res.result.records;
if(res.result.orderCount != null){
for(let i =0;i {});
},
+ goAdPage(item){
+ uni.navigateTo({
+ url: item.linkUrl + JSON.stringify(item.linkParams)
+ })
+ },
checkTab(index) {
for (let i = 0; i < this.menuList.length; i++) {
this.menuList[i].checked = (i === index);