From 4eaf6d8835d4e9b204f13d012f13bbd8a94a21cc Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期日, 21 七月 2024 22:52:37 +0800
Subject: [PATCH] lll

---
 wechat_jiaxuan/pages/consult/consult.wxml |   36 +++++++++++++++++++++---------------
 1 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/wechat_jiaxuan/pages/consult/consult.wxml b/wechat_jiaxuan/pages/consult/consult.wxml
index 3857a0f..06a8342 100644
--- a/wechat_jiaxuan/pages/consult/consult.wxml
+++ b/wechat_jiaxuan/pages/consult/consult.wxml
@@ -1,23 +1,29 @@
 <view class="container">
-  <view class="search_wrap">
-    <image  src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
-    <input  bindblur="getList" model:value="{{ search }}" type="text" placeholder="鎼滅储璧勮鏍囬" />
+  <view class="home_top">
+    <view class="search_wrap">
+      <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
+      <input bindblur="getList" model:value="{{ query }}" type="text" placeholder="鎼滅储璧勮鏍囬" />
+    </view>
   </view>
   <!-- 鍒嗙被 -->
-  <view>
-    <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 30rpx;">
-      <view class="scroll_cate">
-        <view bindtap="cateClick" data-code="{{item.code}}" wx:for="{{ category }}" class="item {{ catalogCode == item.code ? 'active': '' }}">{{ item.name }}</view>
-      </view>
-    </scroll-view>
-    <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 28rpx;">
-      <view class="scroll_cate second_list">
-        <view bindtap="seCateClick" data-code="{{item.code}}" wx:for="{{ secondCategory }}" class="item {{ tagCode == item.code ? 'active': '' }}">{{ item.name }}</view>
-      </view>
-    </scroll-view>
+  <view class="cate_wrap">
+    <view class="cate_one">
+      <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 30rpx;">
+        <view class="scroll_cate">
+          <view bindtap="cateClick" data-code="{{item.code}}" wx:for="{{ category }}" class="item {{ catalogCode == item.code ? 'active': '' }}">{{ item.name }}</view>
+        </view>
+      </scroll-view>
+    </view>
+    <view class="cate_two">
+      <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 24rpx;">
+        <view class="scroll_cate second_list">
+          <view bindtap="seCateClick" data-code="{{item.code}}" wx:for="{{ secondCategory }}" class="item {{ tagCode == item.code ? 'active': '' }}">{{ item.name }}</view>
+        </view>
+      </scroll-view>
+    </view>
   </view>
   <!-- content -->
-  <view class="content">
+  <view class="content" style="padding-top: {{ secondCategory.length > 0 ? 276 : 186 }}rpx;">
     <view wx:for="{{ dataList }}" class="item" bindtap="itemClick" data-item="{{item}}">
       <image class="img" src="{{ item.coverImage }}" mode="widthFix"></image>
       <view class="title">{{ item.title }}</view>

--
Gitblit v1.9.3