Commit 10a351aa5be01cc19897497ad286c55415e869d5
1 parent
1996d5b0
助力优化
Showing
3 changed files
with
14 additions
and
2 deletions
components/nav_b/nav_b.wxss
pages/user/assistance/task_assistance.wxml
@@ -3,7 +3,6 @@ | @@ -3,7 +3,6 @@ | ||
3 | <!-- 助力活动头部 --> | 3 | <!-- 助力活动头部 --> |
4 | <view class="top-frame"> | 4 | <view class="top-frame"> |
5 | <view class="top-title white fs36 t-c"> | 5 | <view class="top-title white fs36 t-c"> |
6 | - | ||
7 | {{aitem[sw_index].helpTaskName}} | 6 | {{aitem[sw_index].helpTaskName}} |
8 | </view> | 7 | </view> |
9 | <view class="activity-data t-c fs28 white"> | 8 | <view class="activity-data t-c fs28 white"> |
@@ -16,8 +15,11 @@ | @@ -16,8 +15,11 @@ | ||
16 | <view class="bg_left xc-left bcolor"></view> | 15 | <view class="bg_left xc-left bcolor"></view> |
17 | </view> | 16 | </view> |
18 | <swiper bindanimationfinish="changeGoodsSwip" current="{{sw_index}}" style='width:82.7%; height:100%' bindchange='onSli' indicator-dots="{{false}}" autoplay="{{false}}"> | 17 | <swiper bindanimationfinish="changeGoodsSwip" current="{{sw_index}}" style='width:82.7%; height:100%' bindchange='onSli' indicator-dots="{{false}}" autoplay="{{false}}"> |
19 | - <swiper-item wx:for="{{aitem}}" wx:for-item="aitem" wx:for-index="pidx"> | 18 | + <swiper-item class="rel" wx:for="{{aitem}}" wx:for-item="aitem" wx:for-index="pidx"> |
19 | + | ||
20 | <image class="xc-center-img" bindtap="libao_details" src="{{iurl+aitem.giftBagUrl}}"></image> | 20 | <image class="xc-center-img" bindtap="libao_details" src="{{iurl+aitem.giftBagUrl}}"></image> |
21 | + <view class="abs select_details fs26 white">礼包详情</view> | ||
22 | + | ||
21 | </swiper-item> | 23 | </swiper-item> |
22 | </swiper> | 24 | </swiper> |
23 | 25 |
pages/user/assistance/task_assistance.wxss
@@ -196,4 +196,13 @@ border-color: #fff; | @@ -196,4 +196,13 @@ border-color: #fff; | ||
196 | .close { | 196 | .close { |
197 | width: 70rpx; | 197 | width: 70rpx; |
198 | height: 70rpx; | 198 | height: 70rpx; |
199 | +} | ||
200 | +.select_details{ | ||
201 | + width: 100%; | ||
202 | + height: 50rpx; | ||
203 | + line-height: 50rpx; | ||
204 | + text-align: center; | ||
205 | + background: #000; | ||
206 | + opacity:0.6; filter: alpha(opacity=60); | ||
207 | + bottom: 0rpx; | ||
199 | } | 208 | } |
200 | \ No newline at end of file | 209 | \ No newline at end of file |