From 8ed3cfe7d04b542f131e98e37854031965441b33 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Wed, 10 Jun 2026 11:29:31 +0800
Subject: [PATCH] feat:星享购 收藏+购物车+订单样式优化
---
static/css/carts.css | 12 +++++++++---
static/css/collect.css | 8 +++++++-
static/css/order.css | 8 +++++++-
3 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/static/css/carts.css b/static/css/carts.css
index dc8aefd..b5d90df 100644
--- a/static/css/carts.css
+++ b/static/css/carts.css
@@ -132,13 +132,19 @@
.c-title{
position: fixed;
left: 0;
- top: 44px;
- /* top: var(--status-bar-height); */
+ /*top: 44px;*/
+ top: var(--status-bar-height);
z-index: 99;
width: 100%;
background-color: #ebebeb;
height: 80upx;
}
+/*#ifdef H5*/
+.c-title{
+ top: 44px;
+}
+/*#endif*/
+
.c-title text{
display: inline-block;
height: 100%;
@@ -157,4 +163,4 @@
display: flex;
align-items: center;
margin-top: 4upx;
-}
\ No newline at end of file
+}
diff --git a/static/css/collect.css b/static/css/collect.css
index df7737c..e982455 100644
--- a/static/css/collect.css
+++ b/static/css/collect.css
@@ -1,12 +1,18 @@
.collect-title{
position: fixed;
left: 0;
- top: 44px;
+ /*top: 44px;*/
+ top: var(--status-bar-height);
z-index: 99;
width: 100%;
background-color: #ebebeb;
height: 80upx;
}
+/*#ifdef H5*/
+.collect-title{
+ top: 44px;
+}
+/*#endif*/
.collect-title text{
display: inline-block;
diff --git a/static/css/order.css b/static/css/order.css
index daca231..a9be0cc 100644
--- a/static/css/order.css
+++ b/static/css/order.css
@@ -6,7 +6,8 @@
.order-tab{
position: fixed;
left: 0;
- top: 44px;
+ /*top: 44px;*/
+ top: var(--status-bar-height);
z-index: 99;
display: flex;
height: 80upx;
@@ -17,6 +18,11 @@
color: #666666;
background-color: #ffffff;
}
+/*#ifdef H5*/
+.order-tab{
+ top: 44px;
+}
+/*#endif*/
.order-tab view{
flex: 1;
--
Gitblit v1.9.3