@tuya-miniapp/smart-ui 2.3.6-beta-3 → 2.3.6-beta-4
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/icon/index.wxs +1 -1
- package/lib/icon/index.wxs +1 -1
- package/package.json +1 -1
package/dist/icon/index.wxs
CHANGED
@@ -69,7 +69,7 @@ function svgStyle(data) {
|
|
69
69
|
|
70
70
|
function svgPathStyle(data) {
|
71
71
|
// 构建SVG字符串
|
72
|
-
var svg = '<svg class="icon" width="100%" height="100%" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="' + data.name + " fill=" + (
|
72
|
+
var svg = '<svg class="icon" width="100%" height="100%" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="' + data.name + " fill=" + ('currentColor') + '" fill-rule="evenodd"></path></svg>'
|
73
73
|
var imageBase64Src = 'url("data:image/svg+xml,' + encodeURIComponent(svg) + '")';
|
74
74
|
var ret = style([
|
75
75
|
{
|
package/lib/icon/index.wxs
CHANGED
@@ -69,7 +69,7 @@ function svgStyle(data) {
|
|
69
69
|
|
70
70
|
function svgPathStyle(data) {
|
71
71
|
// 构建SVG字符串
|
72
|
-
var svg = '<svg class="icon" width="100%" height="100%" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="' + data.name + " fill=" + (
|
72
|
+
var svg = '<svg class="icon" width="100%" height="100%" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="' + data.name + " fill=" + ('currentColor') + '" fill-rule="evenodd"></path></svg>'
|
73
73
|
var imageBase64Src = 'url("data:image/svg+xml,' + encodeURIComponent(svg) + '")';
|
74
74
|
var ret = style([
|
75
75
|
{
|