From 8871e7afdd529807d181b679287778c29a02ed0b Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Tue, 12 May 2026 17:11:38 +0800
Subject: [PATCH] feat:购有趣 登录页,首页,我的页面
---
static/css/index.css | 37 +++++++++++++++++++++----------------
1 files changed, 21 insertions(+), 16 deletions(-)
diff --git a/static/css/index.css b/static/css/index.css
index 5fef544..672f516 100644
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -92,12 +92,16 @@
flex-wrap: wrap; /* 确保子元素换行 */
}
.cates-v{
- width: 25%;
+ width: 190rpx;
margin-bottom: 0upx;
+ margin-left: 30rpx;
+}
+.cates-v:nth-child(1) {
+ margin-left: 0;
}
.cates-v-icon{
- width: 90rpx;
- height: 90rpx;
+ width: 140rpx;
+ height: 140rpx;
display: block;
margin: 40upx auto 20upx;
border-radius: 10upx;
@@ -287,7 +291,7 @@
margin: 30upx auto 30upx;
z-index: 99;
height: 90upx;
- background-color: #e3b400;
+ background-color: #37AA25;
color: #ffffff;
letter-spacing: 10upx;
display: flex;
@@ -302,16 +306,16 @@
margin: 0 auto;
}
.hLogoView{
- /* display: flex;
- align-items: center; */
+ display: flex;
+ align-items: center;
}
.h-logo{
- width: 154rpx;
- height: 52rpx;
+ width: 118rpx;
+ height: 38rpx;
}
.hLogo-1{
margin: 0 30upx;
- margin-bottom: 20rpx;
+ /* margin-bottom: 20rpx; */
}
.hLogo-2{
position: relative;
@@ -331,7 +335,7 @@
height: 50rpx;
line-height: 50rpx;
border-radius: 25rpx;
- background-color: #4766FE;
+ background-color: #37AA25;
color: #ffffff;
}
.hLogo-2 .s-icon{
@@ -525,8 +529,8 @@
.ad2{
width: 96%;
- margin: 0upx auto 20upx;
- height: 500rpx;
+ margin: 30upx auto 30upx;
+ height: 240rpx;
}
.ad2 image{
width: 100%;
@@ -535,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%;
@@ -554,7 +559,7 @@
}
.ad4 {
width: 50%;
- height: 278rpx;
+ height: 216rpx;
}
.ca-ad{
@@ -618,7 +623,7 @@
text-align: center;
color: #ffffff;
line-height: 54rpx;
- background: #4766FE;
+ background: #37AA25;
border-radius: 62rpx 62rpx 62rpx 62rpx;
}
.c-goods{
--
Gitblit v1.9.3