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/discover/discover.wxml |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/wechat_jiaxuan/pages/discover/discover.wxml b/wechat_jiaxuan/pages/discover/discover.wxml
index 8fe99f2..9aa518a 100644
--- a/wechat_jiaxuan/pages/discover/discover.wxml
+++ b/wechat_jiaxuan/pages/discover/discover.wxml
@@ -1,7 +1,7 @@
 <view class="container">
   <view class="home_tab">
-    <view style="height: {{ menuButtonInfo.top }}px;"></view>
-    <view class="main_tab">
+    <view style="height: {{ menuButtonInfo.top - 6 }}px;"></view>
+    <view class="main_tab" style="height: {{ menuButtonInfo.height + 12 }}px;">
       <view class="item {{ catalogCode == 'product_intro' ? 'active' : '' }}" data-code="product_intro" bindtap="tabsClick">
         <view class="name">浜у搧</view>
         <view class="border"></view>
@@ -17,9 +17,9 @@
     </view>
   </view>
   <!--  -->
-  <view class="main_content" style="height: calc( 100vh - {{menuButtonInfo.top}}px - 88rpx )">
-    <disProduct catalogCode="{{activeCate}}" wx:if="{{ catalogCode == 'product_intro' }}" />
-    <disCase wx:if="{{ catalogCode == 'whole_case' }}" />
-    <disRealpic wx:if="{{ catalogCode == 'real_case' }}" />
+  <view class="main_content" style="height: 100vh">
+    <disProduct menuButtonInfo="{{ menuButtonInfo }}" wx:if="{{ catalogCode == 'product_intro' }}" />
+    <disCase menuButtonInfo="{{ menuButtonInfo }}" wx:if="{{ catalogCode == 'whole_case' }}" />
+    <disRealpic menuButtonInfo="{{ menuButtonInfo }}" wx:if="{{ catalogCode == 'real_case' }}" />
   </view>
 </view>
\ No newline at end of file

--
Gitblit v1.9.3