Commit 3fee99024dcff6cbd8861d22c755656fa88d45ac
1 parent
93d73303
默认情况和自定义情况的bug继续发
Showing
2 changed files
with
5 additions
and
2 deletions
pages/index/index/index.wxml
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
9 | <!--普通界面--> | 9 | <!--普通界面--> |
10 | <wxs module="filter" src="../../../utils/filter.wxs"></wxs> | 10 | <wxs module="filter" src="../../../utils/filter.wxs"></wxs> |
11 | 11 | ||
12 | -<view class="container rel" wx:if="{{ishow}}"> | 12 | +<view class="container rel nor" wx:if="{{ishow}}"> |
13 | <block wx:if="{{banner}}"> | 13 | <block wx:if="{{banner}}"> |
14 | <image class="xc-top-img abs" src="{{url}}/miniapp/images/top-img.png"></image> | 14 | <image class="xc-top-img abs" src="{{url}}/miniapp/images/top-img.png"></image> |
15 | </block> | 15 | </block> |
pages/index/index/index.wxss
@@ -9,7 +9,6 @@ | @@ -9,7 +9,6 @@ | ||
9 | z-index: 99; | 9 | z-index: 99; |
10 | } | 10 | } |
11 | 11 | ||
12 | - | ||
13 | .search-box { | 12 | .search-box { |
14 | /* position: fixed; | 13 | /* position: fixed; |
15 | top: 0; | 14 | top: 0; |
@@ -976,6 +975,10 @@ page { | @@ -976,6 +975,10 @@ page { | ||
976 | 975 | ||
977 | .container { | 976 | .container { |
978 | overflow: hidden; | 977 | overflow: hidden; |
978 | + /* padding-top: 140rpx; */ | ||
979 | +} | ||
980 | + | ||
981 | +.container.nor{ | ||
979 | padding-top: 140rpx; | 982 | padding-top: 140rpx; |
980 | } | 983 | } |
981 | 984 |