Commit dbcf34fb authored by lvtz's avatar lvtz

fix

parent b6a3c04a
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<image src="{{filter.imagify(item)}}" class="slide-image" mode="widthFix"/> <image src="{{filter.imagify(item)}}" class="slide-image" mode="widthFix"/>
</swiper-item> </swiper-item>
</swiper> </swiper>
<view class="banner-numbox" wx:if="{{schoolInfo.banner.type =='img' && schoolInfo.banner.src.length>1}}"> <view class="banner-numbox {{schoolInfo.notice?'':'setPos'}}" wx:if="{{schoolInfo.banner.type =='img' && schoolInfo.banner.src.length>1}}">
<view class="dot {{currentSwiper==index? 'active': ''}}" wx:for="{{schoolInfo.banner.src}}" wx:key="index"></view> <view class="dot {{currentSwiper==index? 'active': ''}}" wx:for="{{schoolInfo.banner.src}}" wx:key="index"></view>
</view> </view>
</block> </block>
......
...@@ -66,6 +66,9 @@ page{ ...@@ -66,6 +66,9 @@ page{
align-items: center; align-items: center;
line-height: 1; line-height: 1;
} }
.banner-box .banner-numbox.setPos{
bottom: 76rpx;
}
.banner-box .banner-numbox .dot{ .banner-box .banner-numbox .dot{
width: 8rpx; width: 8rpx;
height: 8rpx; height: 8rpx;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<image src="{{filter.imagify(item)}}" class="slide-image" mode="widthFix"/> <image src="{{filter.imagify(item)}}" class="slide-image" mode="widthFix"/>
</swiper-item> </swiper-item>
</swiper> </swiper>
<view class="banner-numbox" wx:if="{{schoolInfo.banner.type =='img' && schoolInfo.banner.src.length>1}}"> <view class="banner-numbox {{schoolInfo.notice?'':'setPos'}}" wx:if="{{schoolInfo.banner.type =='img' && schoolInfo.banner.src.length>1}}">
<view class="dot {{currentSwiper==index? 'active': ''}}" wx:for="{{schoolInfo.banner.src}}" wx:key="index"></view> <view class="dot {{currentSwiper==index? 'active': ''}}" wx:for="{{schoolInfo.banner.src}}" wx:key="index"></view>
</view> </view>
</block> </block>
......
...@@ -66,6 +66,9 @@ page{ ...@@ -66,6 +66,9 @@ page{
align-items: center; align-items: center;
line-height: 1; line-height: 1;
} }
.banner-box .banner-numbox.setPos{
bottom: 76rpx;
}
.banner-box .banner-numbox .dot{ .banner-box .banner-numbox .dot{
width: 8rpx; width: 8rpx;
height: 8rpx; height: 8rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment