Browse Source

按钮高度修改

zhaoxiaohai 2 years ago
parent
commit
e4289ec35c
3 changed files with 11 additions and 6 deletions
  1. 1 1
      components/Yl_Filtrate/index.js
  2. 1 1
      components/Yl_HeadNav/index.js
  3. 9 4
      packageA/market/index.wxml

+ 1 - 1
components/Yl_Filtrate/index.js

@@ -37,7 +37,7 @@ Component({
     lifetimes: {
         ready() {
             getHeight.getHeight('.head', this).then(res => this.setData({
-                listHeight: res - 140
+                listHeight: res - 80
             }));
         }
     },

+ 1 - 1
components/Yl_HeadNav/index.js

@@ -57,7 +57,7 @@ Component({
         },
         ready() {
             getHeight.getHeight('.Yl_head', this).then(res => this.setData({
-                listHeight: res - 140
+                listHeight: res - 80
             }));
         }
     },

+ 9 - 4
packageA/market/index.wxml

@@ -9,6 +9,13 @@
 <!-- 产品列表 -->
 <Tabs wx:for="{{typeList}}" active="{{item.active}}" wx:key="{{index}}" rowIndex="{{index}}" list="{{item.list}}" bind:onChange="typeChange" name='itemclassname' box-class='brand-box' tab-class='brand-tab-class' active-class='brand-active-class' />
 
+
+
+<view class="division" />
+<Yl_ListBox id='ListBox' bind:getlist='getList'>
+	<List list="{{list}}" />
+</Yl_ListBox>
+
 <Yl_FloatingButton useSlot bindtap="toShopping">
 	<view>
 		<text class="corner-mark">99+</text>
@@ -16,7 +23,5 @@
 	</view>
 </Yl_FloatingButton>
 
-<view class="division" />
-<Yl_ListBox id='ListBox' bind:getlist='getList'>
-	<List list="{{list}}" />
-</Yl_ListBox>
+<!-- 筛选条件 -->
+<Yl_Filtrate id='Filtrate' bind:handle="handleFilter" />