From eaa5247fe535aadedc7cd35896e1e08580487006 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Mon, 11 May 2026 18:14:58 +0800
Subject: [PATCH] feat:购有趣 4.3改版
---
static/css/index.css | 11 ++++++-----
static/imgs/ad4.png | 0
static/css/collect.css | 2 +-
static/imgs/ad3.png | 0
pages/index/index.vue | 17 ++---------------
static/imgs/ad2.png | 0
6 files changed, 9 insertions(+), 21 deletions(-)
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 4669c6d..b779127 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -118,8 +118,6 @@
<!-- <view class="hyj">
<image src="@/static/imgs/hyj.png" mode=""></image>
</view> -->
- <view>¥</view>
- <view class="red">{{itm.price}}</view>
</view>
</view>
</view>
@@ -169,17 +167,6 @@
},
data() {
return {
- list: [{
- image: "https://via.placeholder.com/200x200.png/3c9cff/fff"
- }, {
- image: "https://via.placeholder.com/200x200.png/f9ae3d/fff"
- }, {
- image: "https://via.placeholder.com/200x200.png/5ac725/fff"
- }, {
- image: "https://via.placeholder.com/200x200.png/f56c6c/fff"
- }, {
- image: "https://via.placeholder.com/200x200.png/909399/fff"
- }],
indicator: true,
contactsFlag: false,
staHeight: 0,
@@ -210,7 +197,7 @@
title: '精选',
desc: '猜你喜欢',
skey: '服装鞋包',
- catesId: 11,
+ catesId: 15,
},{
title: '人气',
desc: '好物精选',
@@ -240,7 +227,7 @@
// #endif
},
created() {
- this.catesId = 11
+ this.catesId = this.cateNavList[0]['catesId']
this.catesGoods()
},
onLoad() {
diff --git a/static/css/collect.css b/static/css/collect.css
index 9d3b773..46819f9 100644
--- a/static/css/collect.css
+++ b/static/css/collect.css
@@ -1,7 +1,7 @@
.collect-title{
position: fixed;
left: 0;
- top: 0;
+ top: 44px;
z-index: 99;
width: 100%;
background-color: #ebebeb;
diff --git a/static/css/index.css b/static/css/index.css
index dea29e2..146284a 100644
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -529,8 +529,8 @@
.ad2{
width: 96%;
- margin: 0upx auto 20upx;
- height: 500rpx;
+ margin: 30upx auto 30upx;
+ height: 240rpx;
}
.ad2 image{
width: 100%;
@@ -539,14 +539,15 @@
.d3-wrap {
width: 96%;
margin: 10upx auto 20upx;
- height: 278rpx;
+ height: 216rpx;
display: flex;
align-items: center;
justify-content: space-between;
+ gap: 20rpx;
}
.ad3{
width: 50%;
- height: 278rpx;
+ height: 216rpx;
}
.ad3 image{
width: 100%;
@@ -558,7 +559,7 @@
}
.ad4 {
width: 50%;
- height: 278rpx;
+ height: 216rpx;
}
.ca-ad{
diff --git a/static/imgs/ad2.png b/static/imgs/ad2.png
index d4d2767..0380ec7 100644
--- a/static/imgs/ad2.png
+++ b/static/imgs/ad2.png
Binary files differ
diff --git a/static/imgs/ad3.png b/static/imgs/ad3.png
index 118464e..ea3af91 100644
--- a/static/imgs/ad3.png
+++ b/static/imgs/ad3.png
Binary files differ
diff --git a/static/imgs/ad4.png b/static/imgs/ad4.png
index c18fac1..60621f3 100644
--- a/static/imgs/ad4.png
+++ b/static/imgs/ad4.png
Binary files differ
--
Gitblit v1.9.3