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.less |   65 ++++++++++++++++++--------------
 1 files changed, 37 insertions(+), 28 deletions(-)

diff --git a/wechat_jiaxuan/pages/consult/consult.less b/wechat_jiaxuan/pages/consult/consult.less
index 14e1a4b..ac03db4 100644
--- a/wechat_jiaxuan/pages/consult/consult.less
+++ b/wechat_jiaxuan/pages/consult/consult.less
@@ -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_one{
-    position: fixed;
-    top: 96rpx;
-    background-color: #fff;
-    width: 100%;
-  }
-  .cate_two{
-    position: fixed;
-    top: 156rpx;
-    background-color: #fff;
-    padding-top: 30rpx;
-    width: 100%;
-  }
 }
 .search_wrap{
   width: 670rpx;
@@ -35,14 +21,30 @@
   background-color: #F7F7F7;
   image{
     width: 28rpx;
+    height: 28rpx;
     margin-right: 16rpx;
+  }
+}
+.cate_wrap{
+  .cate_one{
+    background-color: #fff;
+  }
+  .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;
   .item {
     margin-right: 54rpx;
     color: #666666;
@@ -51,32 +53,39 @@
 
   .active {
     color: #222222;
-    font-weight: 500;
+    font-weight: 600;
     font-size: 30rpx;
   }
 }
 
 .second_list {
+  display: flex;
+  align-items: center;
+  margin-left: 0;
   .item {
-    padding: 0 40rpx;
+    padding: 0 20rpx;
     display: flex;
     align-items: center;
-    font-size: 24rpx;
+    font-size: 26rpx;
     color: #333333;
-    height: 60rpx;
+    height: 68rpx;
+    margin-right: 24rpx;
+    line-height: 68rpx;
     background: #F7F7F7;
     border-radius: 8rpx;
     margin-right: 24rpx;
   }
   .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 );
+  .empty{
+    height: 88rpx;
+  }
   .item{
     margin-bottom: 60rpx;
     .img{

--
Gitblit v1.9.3