Commit 6027353094a6a67fcb02777124016c4981a790c4
1 parent
0e1500db
首页 关注公众号显示问题
Showing
2 changed files
with
11 additions
and
9 deletions
pages/index/index/index.wxml
| ... | ... | @@ -9,14 +9,15 @@ |
| 9 | 9 | <!--普通界面--> |
| 10 | 10 | <wxs module="filter" src="../../../utils/filter.wxs"></wxs> |
| 11 | 11 | |
| 12 | + | |
| 12 | 13 | <view class="container rel nor" wx:if="{{ishow}}"> |
| 13 | 14 | <block wx:if="{{banner}}"> |
| 14 | 15 | <image class="xc-top-img abs" src="{{url}}/miniapp/images/top-img.png"></image><!-- 红色背景 --> |
| 15 | 16 | </block> |
| 16 | 17 | |
| 17 | 18 | <view class="top-bar"> |
| 18 | - <!-- 顶部关注公众号 --> | |
| 19 | - <view id="off_top" wx:if="{{is_gz_h5}}"><official-account></official-account></view> | |
| 19 | + <!-- 顶部关注公众号 --> | |
| 20 | + <view id="off_top" wx:if="{{is_gz_h5}}"><official-account></official-account></view> | |
| 20 | 21 | |
| 21 | 22 | <!-- 控制要不要显示顶部门店选择 --> |
| 22 | 23 | <block wx:if="{{is_topstore}}"> |
| ... | ... | @@ -45,9 +46,9 @@ |
| 45 | 46 | </view> |
| 46 | 47 | </view> |
| 47 | 48 | <!-- 如果有关注,要 --> |
| 48 | - <view wx:if="{{is_gz_h5 && is_ok_h5}}" style="height: 84px"></view> | |
| 49 | + <!-- <view wx:if="{{is_gz_h5 && is_ok_h5}}" style="height: 84px"></view> --> | |
| 49 | 50 | <!-- 如果有顶部门店 --> |
| 50 | - <view wx:if="{{is_topstore}}" style="height: 60rpx"></view> | |
| 51 | + <!-- <view wx:if="{{is_topstore}}" style="height: 60rpx"></view> --> | |
| 51 | 52 | |
| 52 | 53 | <!--滚动广告--> |
| 53 | 54 | <view class="rel title-img" wx:if="{{banner}}"> |
| ... | ... | @@ -431,14 +432,14 @@ |
| 431 | 432 | <!-- 撑开层 --> |
| 432 | 433 | <view> |
| 433 | 434 | <!-- 关注层的撑开 --> |
| 434 | - <view wx:if="{{is_gz_h5 && is_ok_h5}}" style="height: 84px"></view> | |
| 435 | - <block wx:for="{{template_arr}}" > | |
| 435 | + <!-- <view wx:if="{{is_gz_h5 && is_ok_h5}}" style="height: 84px"></view> --> | |
| 436 | + <!-- <block wx:for="{{template_arr}}" > | |
| 436 | 437 | <block wx:if="{{item.content.is_top==1 && item.ename=='searchbox'}}"> |
| 437 | 438 | <view wx:if="{{item.content.style==1}}" style="height: 115rpx;"></view> |
| 438 | 439 | <view wx:if="{{item.content.style==2}}" style="height: 89rpx;"></view> |
| 439 | 440 | </block> |
| 440 | 441 | <view wx:if="{{item.content.is_top==1 && item.ename=='store_select'}}" style="height: 100rpx;"></view> |
| 441 | - </block> | |
| 442 | + </block> --> | |
| 442 | 443 | </view> |
| 443 | 444 | |
| 444 | 445 | <block wx:for="{{template_arr}}" wx:key="{{index}}"> | ... | ... |
pages/index/index/index.wxss
| ... | ... | @@ -1011,7 +1011,8 @@ page { |
| 1011 | 1011 | } |
| 1012 | 1012 | |
| 1013 | 1013 | .container { |
| 1014 | - overflow: hidden; | |
| 1014 | + /* overflow: hidden; */ | |
| 1015 | + overflow: visible; | |
| 1015 | 1016 | /* padding-top: 140rpx; */ |
| 1016 | 1017 | } |
| 1017 | 1018 | |
| ... | ... | @@ -1064,7 +1065,7 @@ page { |
| 1064 | 1065 | } |
| 1065 | 1066 | |
| 1066 | 1067 | .dis_top { |
| 1067 | - position: fixed; | |
| 1068 | + position: sticky; | |
| 1068 | 1069 | top: 0; |
| 1069 | 1070 | left: 0; |
| 1070 | 1071 | width: 100%; | ... | ... |