@tuya-miniapp/smart-ui 2.7.2-beta-7 → 2.7.2-beta-8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/image/index.wxs +1 -1
- package/lib/image/index.wxs +1 -1
- package/package.json +1 -1
package/dist/image/index.wxs
CHANGED
|
@@ -30,7 +30,7 @@ function mode(fit) {
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
function maskStyle(url, color) {
|
|
33
|
-
var str = '
|
|
33
|
+
var str = '-webkit-mask-image: url(' + url + ');background: ' + color + ';'
|
|
34
34
|
return str
|
|
35
35
|
}
|
|
36
36
|
|
package/lib/image/index.wxs
CHANGED
|
@@ -30,7 +30,7 @@ function mode(fit) {
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
function maskStyle(url, color) {
|
|
33
|
-
var str = '
|
|
33
|
+
var str = '-webkit-mask-image: url(' + url + ');background: ' + color + ';'
|
|
34
34
|
return str
|
|
35
35
|
}
|
|
36
36
|
|