Commit 5a355c527b084bea91312042e220951c1963da2b
1 parent
c2f98afc
图片的优化显示
Showing
2 changed files
with
2 additions
and
2 deletions
pages/payment/pay_success/pay_success.wxml
@@ -147,5 +147,5 @@ | @@ -147,5 +147,5 @@ | ||
147 | 147 | ||
148 | 148 | ||
149 | <view class="shequn" style="margin-top:20rpx;" bindtap="gotoshequn" wx:if="{{banner}}" data-url="{{banner[0].ad_weapplink}}"> | 149 | <view class="shequn" style="margin-top:20rpx;" bindtap="gotoshequn" wx:if="{{banner}}" data-url="{{banner[0].ad_weapplink}}"> |
150 | - <image src="{{banner[0].ad_code}}" mode="scaleToFill" style="width: 100%;border-radius: 15rpx;" /> | 150 | + <image src="{{banner[0].ad_code}}" mode="widthFix" style="width: 100%;border-radius: 15rpx;" /> |
151 | </view> | 151 | </view> |
152 | \ No newline at end of file | 152 | \ No newline at end of file |
pages/payment/pay_success/pay_success.wxss
@@ -99,7 +99,7 @@ page { | @@ -99,7 +99,7 @@ page { | ||
99 | 99 | ||
100 | .shequn{ | 100 | .shequn{ |
101 | width: 94%; | 101 | width: 94%; |
102 | - margin:0 23rpx 23rpx 23rpx; | 102 | + margin:10rpx 23rpx 23rpx 23rpx; |
103 | min-height: 260rpx; | 103 | min-height: 260rpx; |
104 | background: white; | 104 | background: white; |
105 | border-radius: 15rpx; | 105 | border-radius: 15rpx; |