ts-glitter 16.0.3 → 16.0.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/lowcode/Entry.js +1 -1
- package/lowcode/Entry.ts +1 -1
- package/lowcode/editor-config.js +6 -1
- package/lowcode/editor-config.ts +5 -1
- package/package.json +1 -1
package/lowcode/Entry.js
CHANGED
|
@@ -79,7 +79,7 @@ export class Entry {
|
|
|
79
79
|
}
|
|
80
80
|
window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
|
|
81
81
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
82
|
-
glitter.share.editerVersion = 'V_16.0.
|
|
82
|
+
glitter.share.editerVersion = 'V_16.0.4';
|
|
83
83
|
glitter.share.start = new Date();
|
|
84
84
|
const vm = {
|
|
85
85
|
appConfig: [],
|
package/lowcode/Entry.ts
CHANGED
|
@@ -81,7 +81,7 @@ export class Entry {
|
|
|
81
81
|
|
|
82
82
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
83
83
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
84
|
-
glitter.share.editerVersion = 'V_16.0.
|
|
84
|
+
glitter.share.editerVersion = 'V_16.0.4';
|
|
85
85
|
glitter.share.start = new Date();
|
|
86
86
|
const vm: {
|
|
87
87
|
appConfig: any;
|
package/lowcode/editor-config.js
CHANGED
|
@@ -38,7 +38,12 @@ export class EditorConfig {
|
|
|
38
38
|
text = `<div class="d-flex flex-column flex-sm-row align-items-center justify-content-center" style="gap:5px;">
|
|
39
39
|
<span class="notice_text">立即聯繫開店顧問,專人協助打造高質感官網</span>
|
|
40
40
|
<button class="btn btn-black " type="button" style="height:30px;" onclick="${gvc.event(() => {
|
|
41
|
-
gvc.glitter.
|
|
41
|
+
if (gvc.glitter.deviceType !== gvc.glitter.deviceTypeEnum.Web) {
|
|
42
|
+
location.href = 'https://liff.line.me/1645278921-kWRPP32q/?accountId=shopnex';
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
gvc.glitter.openNewTab(`https://liff.line.me/1645278921-kWRPP32q/?accountId=shopnex`);
|
|
46
|
+
}
|
|
42
47
|
})}">
|
|
43
48
|
<span class="tx_700_white">聯繫顧問</span>
|
|
44
49
|
</button>
|
package/lowcode/editor-config.ts
CHANGED
|
@@ -118,7 +118,11 @@ export class EditorConfig {
|
|
|
118
118
|
text = `<div class="d-flex flex-column flex-sm-row align-items-center justify-content-center" style="gap:5px;">
|
|
119
119
|
<span class="notice_text">立即聯繫開店顧問,專人協助打造高質感官網</span>
|
|
120
120
|
<button class="btn btn-black " type="button" style="height:30px;" onclick="${gvc.event(()=>{
|
|
121
|
-
|
|
121
|
+
if(gvc.glitter.deviceType !== gvc.glitter.deviceTypeEnum.Web){
|
|
122
|
+
location.href='https://liff.line.me/1645278921-kWRPP32q/?accountId=shopnex'
|
|
123
|
+
}else{
|
|
124
|
+
gvc.glitter.openNewTab(`https://liff.line.me/1645278921-kWRPP32q/?accountId=shopnex`)
|
|
125
|
+
}
|
|
122
126
|
})}">
|
|
123
127
|
<span class="tx_700_white">聯繫顧問</span>
|
|
124
128
|
</button>
|