Browse Source

feat:首页样式问题

master
zhaobing’ 1 year ago
parent
commit
e4c7c969b7
  1. 4
      weapp/pages/home/home.wxml

4
weapp/pages/home/home.wxml

@ -6,7 +6,7 @@
<swiper indicator-dots="true" autoplay="{{true}}" interval="{{2000}}" duration="{{500}}"> <swiper indicator-dots="true" autoplay="{{true}}" interval="{{2000}}" duration="{{500}}">
<block wx:for-items="{{swiperData}}" wx:key="*this"> <block wx:for-items="{{swiperData}}" wx:key="*this">
<swiper-item> <swiper-item>
<image src="{{item.imgurl}}" mode="aspectFill" style="width: 100%;"/> <image src="{{item.imgurl}}" mode="aspectFill" style="width: 100%;height:100%"/>
</swiper-item> </swiper-item>
</block> </block>
</swiper> </swiper>
@ -74,6 +74,6 @@
</view> </view>
</view> </view>
<view></view> <view style="height: 48px;"></view>
</view> </view>
</scroll-view> </scroll-view>
Loading…
Cancel
Save