Commit 49bfbe1514917354afdb160a78337883d6ba9e15
1 parent
b97b7ee6
活动的页面排版优化,
Showing
2 changed files
with
3 additions
and
3 deletions
pages/giftpack/festival/festival.wxml
1 | <view style="background-color:{{actBgColor==undefined?'#FFB72D':actBgColor}}"> | 1 | <view style="background-color:{{actBgColor==undefined?'#FFB72D':actBgColor}}"> |
2 | <view class="image_box"> | 2 | <view class="image_box"> |
3 | - <image src="{{iurl+bimg?bimg:'/miniapp/images/default_g_img.gif'}}" binderror="bind_bnerr1" data-errorimg="bimg" lazy-load="true"></image> | 3 | + <image src="{{iurl}}{{bimg?bimg:'/miniapp/images/default_g_img.gif'}}" binderror="bind_bnerr1" data-errorimg="bimg" lazy-load="true"></image> |
4 | </view> | 4 | </view> |
5 | <block wx:if="{{itemShow}}"> | 5 | <block wx:if="{{itemShow}}"> |
6 | <view class="top rel"> | 6 | <view class="top rel"> |
pages/giftpack/festival/festival.wxss
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | } | 16 | } |
17 | 17 | ||
18 | .top { | 18 | .top { |
19 | - margin: -20rpx 28rpx 45rpx 28rpx; | 19 | + margin: 0rpx 28rpx 45rpx 28rpx; |
20 | padding: 10rpx 10rpx 70rpx 10rpx; | 20 | padding: 10rpx 10rpx 70rpx 10rpx; |
21 | background-color: #fff; | 21 | background-color: #fff; |
22 | border-radius: 0rpx 0rpx 15rpx 15rpx; | 22 | border-radius: 0rpx 0rpx 15rpx 15rpx; |
@@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
36 | -webkit-box-pack: center; | 36 | -webkit-box-pack: center; |
37 | -webkit-justify-content: center; | 37 | -webkit-justify-content: center; |
38 | justify-content: center; | 38 | justify-content: center; |
39 | - margin: 50rpx 15rpx 20rpx 15rpx; | 39 | + margin: 20rpx 15rpx 20rpx 15rpx; |
40 | } | 40 | } |
41 | 41 | ||
42 | .top_box_text text { | 42 | .top_box_text text { |