ezuikit-js 0.4.7 → 0.4.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/ezuikit.js +11 -10
- package/package.json +1 -1
package/ezuikit.js
CHANGED
|
@@ -26115,21 +26115,12 @@ class Theme {
|
|
|
26115
26115
|
this.themeData = this.jSPlugin.params.themeData;
|
|
26116
26116
|
this.initThemeData();
|
|
26117
26117
|
this.renderThemeData();
|
|
26118
|
+
break;
|
|
26118
26119
|
default:
|
|
26119
26120
|
this.fetchThemeData(this.jSPlugin.themeId);
|
|
26120
26121
|
break;
|
|
26121
26122
|
}
|
|
26122
26123
|
}
|
|
26123
|
-
var isNeedRenderTimeLine = lodash.findIndex(this.themeData.header.btnList, (v)=>{
|
|
26124
|
-
return (v.iconId === 'cloudRec' && v.isrender === 1) || (v.iconId === 'rec' && v.isrender === 1) ;
|
|
26125
|
-
}) >= 0 || (this.isMobile &&matchEzopenUrl(jSPlugin.url).type.indexOf('rec') !== -1);
|
|
26126
|
-
if (isNeedRenderTimeLine) {
|
|
26127
|
-
if (this.isMobile) {
|
|
26128
|
-
this.Rec = new MobileRec(jSPlugin);
|
|
26129
|
-
} else {
|
|
26130
|
-
this.Rec = new Rec(jSPlugin);
|
|
26131
|
-
}
|
|
26132
|
-
}
|
|
26133
26124
|
if (!this.jSPlugin.Talk) {
|
|
26134
26125
|
this.jSPlugin.Talk = new Talk(this.jSPlugin);
|
|
26135
26126
|
}
|
|
@@ -26971,6 +26962,16 @@ class Theme {
|
|
|
26971
26962
|
}
|
|
26972
26963
|
});
|
|
26973
26964
|
}
|
|
26965
|
+
var isNeedRenderTimeLine = lodash.findIndex(this.themeData.header.btnList, (v)=>{
|
|
26966
|
+
return (v.iconId === 'cloudRec' && v.isrender === 1) || (v.iconId === 'rec' && v.isrender === 1) ;
|
|
26967
|
+
}) >= 0 || (this.isMobile &&matchEzopenUrl(jSPlugin.url).type.indexOf('rec') !== -1);
|
|
26968
|
+
if (isNeedRenderTimeLine) {
|
|
26969
|
+
if (this.isMobile) {
|
|
26970
|
+
this.Rec = new MobileRec(this.jSPlugin);
|
|
26971
|
+
} else {
|
|
26972
|
+
this.Rec = new Rec(this.jSPlugin);
|
|
26973
|
+
}
|
|
26974
|
+
}
|
|
26974
26975
|
// 监听全屏事件触发
|
|
26975
26976
|
const fullscreenchange = () => {
|
|
26976
26977
|
const { expend, webExpend } = this.decoderState.state;
|