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 | 9 | <!--普通界面--> |
10 | 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 | 13 | <block wx:if="{{banner}}"> |
14 | 14 | <image class="xc-top-img abs" src="{{url}}/miniapp/images/top-img.png"></image> |
15 | 15 | </block> | ... | ... |
pages/index/index/index.wxss
... | ... | @@ -9,7 +9,6 @@ |
9 | 9 | z-index: 99; |
10 | 10 | } |
11 | 11 | |
12 | - | |
13 | 12 | .search-box { |
14 | 13 | /* position: fixed; |
15 | 14 | top: 0; |
... | ... | @@ -976,6 +975,10 @@ page { |
976 | 975 | |
977 | 976 | .container { |
978 | 977 | overflow: hidden; |
978 | + /* padding-top: 140rpx; */ | |
979 | +} | |
980 | + | |
981 | +.container.nor{ | |
979 | 982 | padding-top: 140rpx; |
980 | 983 | } |
981 | 984 | ... | ... |