Showing
4 changed files
with
9 additions
and
2 deletions
@@ -2109,6 +2109,11 @@ window.onload = function() { | @@ -2109,6 +2109,11 @@ window.onload = function() { | ||
2109 | myScroll && myScroll.refresh(); | 2109 | myScroll && myScroll.refresh(); |
2110 | }; | 2110 | }; |
2111 | 2111 | ||
2112 | +// 图片加载完成之后重新 refresh iscroll | ||
2113 | +$('img').on('load', function() { | ||
2114 | + myScroll && myScroll.refresh(); | ||
2115 | +}); | ||
2116 | + | ||
2112 | //初始化页面,包括是否使用iscorll初始化页面 | 2117 | //初始化页面,包括是否使用iscorll初始化页面 |
2113 | //接口暴露在HTML中,使用压缩名 | 2118 | //接口暴露在HTML中,使用压缩名 |
2114 | exports.i = function(useIscroll) { | 2119 | exports.i = function(useIscroll) { |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
@@ -31,7 +31,8 @@ | @@ -31,7 +31,8 @@ | ||
31 | height: 2.44rem; | 31 | height: 2.44rem; |
32 | margin-top: 90px; | 32 | margin-top: 90px; |
33 | display: inline-block; | 33 | display: inline-block; |
34 | - background-image: resolve('shopping-pay/pay-success.png'); | 34 | + background: resolve('shopping-pay/pay-success.png') no-repeat; |
35 | + background-size: contain; | ||
35 | } | 36 | } |
36 | 37 | ||
37 | .success-notice { | 38 | .success-notice { |
@@ -44,7 +45,8 @@ | @@ -44,7 +45,8 @@ | ||
44 | width: 0.54rem; | 45 | width: 0.54rem; |
45 | float: left; | 46 | float: left; |
46 | margin: 1px 10px 0 80px; | 47 | margin: 1px 10px 0 80px; |
47 | - background-image: resolve('shopping-pay/notice.png'); | 48 | + background: resolve('shopping-pay/notice.png') no-repeat; |
49 | + background-size: contain; | ||
48 | } | 50 | } |
49 | 51 | ||
50 | .success-btn { | 52 | .success-btn { |
-
Please register or login to post a comment