Commit d730d722723a15ba20ab851728ff835780332631
1 parent
9760a5dc
更新积分广告图显示不全问题
Showing
2 changed files
with
17 additions
and
7 deletions
packageA/pages/checkin/checkin.wxml
| @@ -79,7 +79,7 @@ | @@ -79,7 +79,7 @@ | ||
| 79 | <view class="date"> | 79 | <view class="date"> |
| 80 | <block wx:for="{{dateArr}}" wx:for-index="index" wx:for-item="item" wx:key="key"> | 80 | <block wx:for="{{dateArr}}" wx:for-index="index" wx:for-item="item" wx:key="key"> |
| 81 | <!-- <view style="{{index ==0?'margin-left:calc(100%/7 * ' + firstDay + ');':''}}width:calc(100%/7);line-height:80rpx;" class="{{index+1==day?'today':''}} {{index+1==day&&isClock?'clockOn':''}}" ><view class="day">{{item}}</view></view> --> | 81 | <!-- <view style="{{index ==0?'margin-left:calc(100%/7 * ' + firstDay + ');':''}}width:calc(100%/7);line-height:80rpx;" class="{{index+1==day?'today':''}} {{index+1==day&&isClock?'clockOn':''}}" ><view class="day">{{item}}</view></view> --> |
| 82 | - <view style="{{index ==0?'margin-left:calc(100%/7 * 0);':''}}width:calc(100%/7);line-height:80rpx;" class="{{item.isCheckIn ? 'active':''}} {{res.curbqdaynum&&item.isBq ? 'bq':''}}" bindtap="clickDay" data-day="{{item.num}}"> | 82 | + <view style="width:calc(100% / 7) ; line-height: 80rpx;{{index ==0?'margin-left:calc(100%/7 * 0);':''}}" class="{{item.isCheckIn ? 'active':''}} {{res.curbqdaynum&&item.isBq ? 'bq':''}}" bindtap="clickDay" data-day="{{item.num}}"> |
| 83 | <view class="day">{{item.num}}</view> | 83 | <view class="day">{{item.num}}</view> |
| 84 | </view> | 84 | </view> |
| 85 | </block> | 85 | </block> |
| @@ -96,14 +96,15 @@ | @@ -96,14 +96,15 @@ | ||
| 96 | <swiper class="swiper" circular="true" autoplay="true" indicator-dots="true" interval="2500"> | 96 | <swiper class="swiper" circular="true" autoplay="true" indicator-dots="true" interval="2500"> |
| 97 | <block wx:for="{{ad_data}}"> | 97 | <block wx:for="{{ad_data}}"> |
| 98 | <navigator url="{{item.ad_weapplink}}" wx:if="{{g_filter.has_char(item.ad_weapplink,'plugin')>=0}}"> | 98 | <navigator url="{{item.ad_weapplink}}" wx:if="{{g_filter.has_char(item.ad_weapplink,'plugin')>=0}}"> |
| 99 | - <swiper-item> | ||
| 100 | - <image src="{{item.ad_code}}" data-index="{{index}}" class="slide-image" mode="widthFix" lazy-load="true" /> | 99 | + <swiper-item class="swiper-item"> |
| 100 | + <!-- mode="widthFix" --> | ||
| 101 | + <image src="{{item.ad_code}}" data-index="{{index}}" class="slide-image" lazy-load="true" /> | ||
| 101 | </swiper-item> | 102 | </swiper-item> |
| 102 | </navigator> | 103 | </navigator> |
| 103 | 104 | ||
| 104 | <view data-url="{{item.ad_weapplink}}" wx:else bindtap="go_url"> | 105 | <view data-url="{{item.ad_weapplink}}" wx:else bindtap="go_url"> |
| 105 | - <swiper-item> | ||
| 106 | - <image src="{{item.ad_code}}" class="slide-image" mode="widthFix" lazy-load="true" /> | 106 | + <swiper-item class="swiper-item"> |
| 107 | + <image src="{{item.ad_code}}" class="slide-image" lazy-load="true" /> | ||
| 107 | </swiper-item> | 108 | </swiper-item> |
| 108 | </view> | 109 | </view> |
| 109 | </block> | 110 | </block> |
packageA/pages/checkin/checkin.wxss
| @@ -192,7 +192,7 @@ page, | @@ -192,7 +192,7 @@ page, | ||
| 192 | 192 | ||
| 193 | 193 | ||
| 194 | .jfbuy-container { | 194 | .jfbuy-container { |
| 195 | - padding: 60rpx 40rpx 40rpx; | 195 | + padding: 60rpx 25rpx 40rpx; |
| 196 | } | 196 | } |
| 197 | .jfbuy { | 197 | .jfbuy { |
| 198 | /* border: 2rpx solid black; */ | 198 | /* border: 2rpx solid black; */ |
| @@ -394,4 +394,13 @@ page, | @@ -394,4 +394,13 @@ page, | ||
| 394 | } | 394 | } |
| 395 | .pop_up_no .close_img{ | 395 | .pop_up_no .close_img{ |
| 396 | width:60rpx; height:60rpx;position:absolute; right:-15px; top:-15rpx; | 396 | width:60rpx; height:60rpx;position:absolute; right:-15px; top:-15rpx; |
| 397 | - } | ||
| 398 | \ No newline at end of file | 397 | \ No newline at end of file |
| 398 | + } | ||
| 399 | + .swiper { | ||
| 400 | + width: 700rpx; | ||
| 401 | + height: 300rpx; | ||
| 402 | + /* background: #cccc; */ | ||
| 403 | + } | ||
| 404 | + .slide-image { | ||
| 405 | + width: 100%; | ||
| 406 | + height: 100%; | ||
| 407 | + } |