From ebc6e7ee67f13e7aa311e737dfcb4c5caed112ee Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 15 八月 2024 18:23:57 +0800
Subject: [PATCH] ll
---
wechat_jiaxuan/pages/consult/consult.wxss | 66 ++++++++++++++++++--------------
1 files changed, 37 insertions(+), 29 deletions(-)
diff --git a/wechat_jiaxuan/pages/consult/consult.wxss b/wechat_jiaxuan/pages/consult/consult.wxss
index f8dba92..d4efa1f 100644
--- a/wechat_jiaxuan/pages/consult/consult.wxss
+++ b/wechat_jiaxuan/pages/consult/consult.wxss
@@ -1,28 +1,14 @@
.container {
background-color: #fff;
}
+page {
+ overflow: hidden;
+}
.home_top {
- position: fixed;
width: 100%;
z-index: 99;
top: 0;
background-color: #fff;
-}
-.cate_wrap {
- background-color: #fff;
-}
-.cate_wrap .cate_one {
- position: fixed;
- top: 96rpx;
- background-color: #fff;
- width: 100%;
-}
-.cate_wrap .cate_two {
- position: fixed;
- top: 156rpx;
- background-color: #fff;
- padding-top: 30rpx;
- width: 100%;
}
.search_wrap {
width: 670rpx;
@@ -36,13 +22,27 @@
}
.search_wrap image {
width: 28rpx;
+ height: 28rpx;
margin-right: 16rpx;
+}
+.cate_wrap .cate_one {
+ background-color: #fff;
+}
+.cate_wrap .cate_two {
+ position: absolute;
+ width: 750rpx;
+ left: 0rpx;
+ line-height: 88rpx;
+ padding: 0 40rpx;
+ height: 88rpx;
+ z-index: 999;
+ background-color: #fff;
}
.scroll_cate {
display: flex;
- align-items: center;
+ line-height: 88rpx;
margin-left: 40rpx;
- height: 60rpx;
+ height: 88rpx;
}
.scroll_cate .item {
margin-right: 54rpx;
@@ -51,28 +51,36 @@
}
.scroll_cate .active {
color: #222222;
- font-weight: 500;
+ font-weight: 600;
font-size: 30rpx;
}
-.second_list .item {
- padding: 0 40rpx;
+.second_list {
display: flex;
align-items: center;
- font-size: 24rpx;
+ margin-left: 0;
+}
+.second_list .item {
+ padding: 0 20rpx;
+ display: flex;
+ align-items: center;
+ font-size: 26rpx;
color: #333333;
- height: 60rpx;
+ height: 68rpx;
+ line-height: 68rpx;
background: #F7F7F7;
border-radius: 8rpx;
margin-right: 24rpx;
}
.second_list .active {
- background-color: var(--themeColor);
- color: #fff;
- font-size: 24rpx;
- font-weight: 400;
+ background: rgba(176, 135, 113, 0.08);
+ color: #B08771;
}
.content {
- padding: 260rpx 40rpx 40rpx;
+ padding: 0rpx 40rpx 40rpx;
+ height: calc(100vh - 200rpx);
+}
+.content .empty {
+ height: 88rpx;
}
.content .item {
margin-bottom: 60rpx;
--
Gitblit v1.9.3