gxd-uni-library-editx 1.0.94 → 1.0.96
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/package.json
CHANGED
|
@@ -232,9 +232,18 @@
|
|
|
232
232
|
isMp: false,
|
|
233
233
|
}
|
|
234
234
|
},
|
|
235
|
-
|
|
235
|
+
watch: {
|
|
236
|
+
color(val){
|
|
237
|
+
this.uiColor = val;
|
|
238
|
+
}
|
|
239
|
+
},
|
|
236
240
|
async created() {
|
|
237
|
-
this.
|
|
241
|
+
if(this.color){
|
|
242
|
+
this.uiColor = this.color;
|
|
243
|
+
}else{
|
|
244
|
+
this.uiColor = await getParentsStyle(this.$parent, '$warningColor');
|
|
245
|
+
}
|
|
246
|
+
// this.uiColor = await getParentsStyle(this.$parent, '$warningColor');
|
|
238
247
|
if(this.isNoBgc) this.uiBackgroundColor = Color(this.uiColor).alpha(0.2).toString();
|
|
239
248
|
else this.uiBackgroundColor = 'rgba(0,0,0,0)';
|
|
240
249
|
|
package/src/utils/XdNetwork.js
CHANGED
|
@@ -109,8 +109,8 @@ class XdNetwork {
|
|
|
109
109
|
getNetworkEnv(paths=[]){
|
|
110
110
|
if(paths.length === 0) {
|
|
111
111
|
paths = [
|
|
112
|
-
{path: 'https://
|
|
113
|
-
{path: 'https://
|
|
112
|
+
{path: 'https://img6.jufubao.cn/common/10x10.png', size:0.94},
|
|
113
|
+
{path: 'https://img6.jufubao.cn/common/100x100.png', size: 1.078},
|
|
114
114
|
]
|
|
115
115
|
}
|
|
116
116
|
let promiseArr= [];
|