ts-glitter 21.5.7 → 21.6.0
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/lib/glitterBundle/html-component/editor.ts +5 -5
- package/lib/glitterBundle/html-component/widget.ts +1 -1
- package/lib/glitterBundle/plugins/add_item_dia.ts +3 -3
- package/lib/glitterBundle/plugins/dialog-style-editor.ts +4 -4
- package/lib/glitterBundle/plugins/editor-elem.ts +8 -8
- package/lib/glitterBundle/plugins/editor.ts +3 -3
- package/lowcode/Entry.js +1 -1
- package/lowcode/Entry.ts +1 -1
- package/lowcode/backend-manager/bg-customer-message.js +4 -4
- package/lowcode/backend-manager/bg-customer-message.ts +4 -4
- package/lowcode/backend-manager/bg-global-event.js +1 -1
- package/lowcode/backend-manager/bg-global-event.ts +1 -1
- package/lowcode/backend-manager/bg-guide.js +21 -21
- package/lowcode/backend-manager/bg-guide.ts +22 -22
- package/lowcode/backend-manager/bg-mobile-guide.js +4 -4
- package/lowcode/backend-manager/bg-mobile-guide.ts +4 -4
- package/lowcode/backend-manager/bg-seo.js +1 -1
- package/lowcode/backend-manager/bg-seo.ts +1 -1
- package/lowcode/backend-manager/bg-shopping.js +6 -6
- package/lowcode/backend-manager/bg-shopping.ts +6 -6
- package/lowcode/backend-manager/bg-wallet.js +3 -3
- package/lowcode/backend-manager/bg-wallet.ts +3 -3
- package/lowcode/backend-manager/bg-widget.js +6 -0
- package/lowcode/backend-manager/bg-widget.ts +7 -0
- package/lowcode/cms-plugin/POS-setting.js +1 -1
- package/lowcode/cms-plugin/POS-setting.ts +1 -1
- package/lowcode/cms-plugin/ai-generator/member-ai.js +2 -2
- package/lowcode/cms-plugin/ai-generator/member-ai.ts +2 -2
- package/lowcode/cms-plugin/ai-generator/product-ai.js +2 -2
- package/lowcode/cms-plugin/ai-generator/product-ai.ts +2 -2
- package/lowcode/cms-plugin/ai-message.js +2 -2
- package/lowcode/cms-plugin/ai-message.ts +2 -2
- package/lowcode/cms-plugin/ai-points-list.js +2 -2
- package/lowcode/cms-plugin/ai-points-list.ts +2 -2
- package/lowcode/cms-plugin/app-design.js +3 -3
- package/lowcode/cms-plugin/app-design.ts +3 -3
- package/lowcode/cms-plugin/app-release.js +2 -2
- package/lowcode/cms-plugin/app-release.ts +2 -2
- package/lowcode/cms-plugin/customer-message-user.js +5 -5
- package/lowcode/cms-plugin/customer-message-user.ts +5 -5
- package/lowcode/cms-plugin/data-analyze-module.js +3 -3
- package/lowcode/cms-plugin/data-analyze-module.ts +3 -3
- package/lowcode/cms-plugin/domain-setting.js +2 -2
- package/lowcode/cms-plugin/domain-setting.ts +2 -2
- package/lowcode/cms-plugin/live_capture.js +17 -17
- package/lowcode/cms-plugin/live_capture.ts +17 -17
- package/lowcode/cms-plugin/member-type-list.js +4 -4
- package/lowcode/cms-plugin/member-type-list.ts +4 -4
- package/lowcode/cms-plugin/module/form-module.js +1 -1
- package/lowcode/cms-plugin/module/form-module.ts +1 -1
- package/lowcode/cms-plugin/permission-setting.js +5 -5
- package/lowcode/cms-plugin/permission-setting.ts +5 -5
- package/lowcode/cms-plugin/pos-basic-setting.js +1 -1
- package/lowcode/cms-plugin/pos-basic-setting.ts +2 -2
- package/lowcode/cms-plugin/pos-checkout-setting.js +3 -3
- package/lowcode/cms-plugin/pos-checkout-setting.ts +4 -4
- package/lowcode/cms-plugin/pos-pages/payment-page.js +449 -232
- package/lowcode/cms-plugin/pos-pages/payment-page.ts +501 -278
- package/lowcode/cms-plugin/pos-pages/pos-function.js +3 -2
- package/lowcode/cms-plugin/pos-pages/pos-function.ts +4 -3
- package/lowcode/cms-plugin/pos-pages/pos-home-page.js +9 -9
- package/lowcode/cms-plugin/pos-pages/pos-home-page.ts +9 -9
- package/lowcode/cms-plugin/pos-pages/pos-summary.js +2 -2
- package/lowcode/cms-plugin/pos-pages/pos-summary.ts +2 -2
- package/lowcode/cms-plugin/pos-pages/products-page.js +6 -180
- package/lowcode/cms-plugin/pos-pages/products-page.ts +6 -185
- package/lowcode/cms-plugin/product-service.js +4 -4
- package/lowcode/cms-plugin/product-service.ts +4 -5
- package/lowcode/cms-plugin/reconciliation-area.js +24 -24
- package/lowcode/cms-plugin/reconciliation-area.ts +24 -24
- package/lowcode/cms-plugin/seo-blog.js +2 -2
- package/lowcode/cms-plugin/seo-blog.ts +2 -2
- package/lowcode/cms-plugin/seo-setting-v2.js +5 -5
- package/lowcode/cms-plugin/seo-setting-v2.ts +5 -5
- package/lowcode/cms-plugin/shopping-allowance-manager.js +4 -4
- package/lowcode/cms-plugin/shopping-allowance-manager.ts +4 -4
- package/lowcode/cms-plugin/shopping-collections.js +6 -6
- package/lowcode/cms-plugin/shopping-collections.ts +6 -6
- package/lowcode/cms-plugin/shopping-invoice-manager.js +11 -11
- package/lowcode/cms-plugin/shopping-invoice-manager.ts +11 -11
- package/lowcode/cms-plugin/shopping-order-manager.js +21 -13
- package/lowcode/cms-plugin/shopping-order-manager.ts +21 -13
- package/lowcode/cms-plugin/shopping-product-setting.js +1 -1
- package/lowcode/cms-plugin/shopping-product-setting.ts +1 -1
- package/lowcode/cms-plugin/shopping-product-text.js +5 -5
- package/lowcode/cms-plugin/shopping-product-text.ts +5 -5
- package/lowcode/cms-plugin/shopping-setting-basic.js +5 -6
- package/lowcode/cms-plugin/shopping-setting-basic.ts +5 -6
- package/lowcode/cms-plugin/shopping-shipment-setting.js +2 -2
- package/lowcode/cms-plugin/shopping-shipment-setting.ts +2 -2
- package/lowcode/cms-plugin/stock-history.js +7 -7
- package/lowcode/cms-plugin/stock-history.ts +7 -7
- package/lowcode/cms-plugin/stock-stores.js +2 -2
- package/lowcode/cms-plugin/stock-stores.ts +2 -2
- package/lowcode/cms-plugin/stock-vendors.js +2 -2
- package/lowcode/cms-plugin/stock-vendors.ts +2 -2
- package/lowcode/cms-plugin/third-party-google.js +1 -1
- package/lowcode/cms-plugin/third-party-google.ts +1 -1
- package/lowcode/cms-plugin/user-list.js +6 -2
- package/lowcode/cms-plugin/user-list.ts +7 -2
- package/lowcode/cms-plugin/user-login-setting.js +1 -1
- package/lowcode/cms-plugin/user-login-setting.ts +1 -1
- package/lowcode/cms-plugin/wallet-list.js +3 -3
- package/lowcode/cms-plugin/wallet-list.ts +3 -3
- package/lowcode/dialog/addTemplate.js +9 -9
- package/lowcode/dialog/addTemplate.ts +9 -9
- package/lowcode/dialog/dialog.js +1 -1
- package/lowcode/dialog/dialog.ts +1 -1
- package/lowcode/dialog/dialog_setting.js +1 -1
- package/lowcode/dialog/dialog_setting.ts +1 -1
- package/lowcode/dialog/image-preview.js +2 -2
- package/lowcode/dialog/image-preview.ts +2 -2
- package/lowcode/editor/add-component.js +4 -4
- package/lowcode/editor/add-component.ts +9 -9
- package/lowcode/editor/add-page.js +1 -1
- package/lowcode/editor/add-page.ts +1 -1
- package/lowcode/editor/normal-page-editor.js +2 -2
- package/lowcode/editor/normal-page-editor.ts +2 -2
- package/lowcode/editor/page-code-setting.js +1 -1
- package/lowcode/editor/page-code-setting.ts +1 -1
- package/lowcode/editor/page-editor.js +15 -15
- package/lowcode/editor/page-editor.ts +15 -15
- package/lowcode/editor/page-setting-view.js +6 -6
- package/lowcode/editor/page-setting-view.ts +6 -6
- package/lowcode/editor/preview-app.js +1 -1
- package/lowcode/editor/preview-app.ts +1 -1
- package/lowcode/editor/search-idea.js +2 -2
- package/lowcode/editor/search-idea.ts +2 -2
- package/lowcode/editor/set-global-value.js +9 -9
- package/lowcode/editor/set-global-value.ts +9 -9
- package/lowcode/editor-bridge/trigger-event.js +1 -1
- package/lowcode/editor-bridge/trigger-event.ts +1 -1
- package/lowcode/editor-components/global-widget/global-widget.js +1 -1
- package/lowcode/editor-components/global-widget/global-widget.ts +1 -1
- package/lowcode/editor-config.js +1 -1
- package/lowcode/editor-config.ts +1 -1
- package/lowcode/form-view/e-commerce/path-select.js +1 -1
- package/lowcode/form-view/e-commerce/path-select.ts +1 -1
- package/lowcode/form-view/e-commerce/product-select.js +1 -1
- package/lowcode/form-view/e-commerce/product-select.ts +1 -1
- package/lowcode/form-view/editor/color-theme-selector.js +2 -2
- package/lowcode/form-view/editor/color-theme-selector.ts +2 -2
- package/lowcode/form-view/editor/image-selector.js +5 -5
- package/lowcode/form-view/editor/image-selector.ts +5 -5
- package/lowcode/glitterBundle/html-component/custom-style.js +6 -6
- package/lowcode/glitterBundle/html-component/custom-style.ts +6 -6
- package/lowcode/glitterBundle/html-component/global-widget.js +2 -2
- package/lowcode/glitterBundle/html-component/global-widget.ts +2 -2
- package/lowcode/glitterBundle/html-component/widget.js +1 -1
- package/lowcode/glitterBundle/html-component/widget.ts +1 -1
- package/lowcode/glitterBundle/module/html-generate.js +2 -2
- package/lowcode/glitterBundle/module/html-generate.ts +2 -2
- package/lowcode/glitterBundle/plugins/add_item_dia.js +7 -7
- package/lowcode/glitterBundle/plugins/add_item_dia.ts +7 -7
- package/lowcode/glitterBundle/plugins/editor-elem.js +4 -6
- package/lowcode/glitterBundle/plugins/editor-elem.ts +4 -6
- package/lowcode/glitterBundle/plugins/editor.js +3 -3
- package/lowcode/glitterBundle/plugins/editor.ts +3 -3
- package/lowcode/glitterBundle/plugins/style-editor.js +5 -5
- package/lowcode/glitterBundle/plugins/style-editor.ts +5 -5
- package/lowcode/jspage/editor.js +3 -3
- package/lowcode/jspage/editor.ts +3 -3
- package/lowcode/jspage/function-page/main_editor.js +6 -6
- package/lowcode/jspage/function-page/main_editor.ts +6 -6
- package/lowcode/jspage/function-page/page_editor.js +4 -4
- package/lowcode/jspage/function-page/page_editor.ts +4 -4
- package/lowcode/jspage/function-page/server-editor/router/domain-manager.js +3 -3
- package/lowcode/jspage/function-page/server-editor/router/domain-manager.ts +3 -3
- package/lowcode/jspage/function-page/tool-setting.js +2 -2
- package/lowcode/jspage/function-page/tool-setting.ts +2 -2
- package/lowcode/landing-page/about-us.js +5 -5
- package/lowcode/landing-page/about-us.ts +5 -5
- package/lowcode/modules/file-system.js +2 -2
- package/lowcode/modules/file-system.ts +2 -2
- package/lowcode/modules/image-library-clone.js +4 -4
- package/lowcode/modules/image-library-clone.ts +4 -4
- package/lowcode/modules/image-library.js +2 -2
- package/lowcode/modules/image-library.ts +2 -2
- package/lowcode/official_view_component/official/component.js +1 -1
- package/lowcode/official_view_component/official/component.ts +1 -1
- package/lowcode/official_view_component/official/widget.js +1 -1
- package/lowcode/official_view_component/official/widget.ts +1 -1
- package/lowcode/public-components/banner/first-banner.js +1 -1
- package/lowcode/public-components/banner/first-banner.ts +1 -1
- package/lowcode/public-components/blogs/list.js +1 -1
- package/lowcode/public-components/blogs/list.ts +1 -1
- package/lowcode/public-components/headers/sy-02.js +4 -4
- package/lowcode/public-components/headers/sy-02.ts +4 -4
- package/lowcode/public-components/headers/sy-03.js +1 -1
- package/lowcode/public-components/headers/sy-03.ts +1 -1
- package/lowcode/public-components/headers/sy-04.js +2 -2
- package/lowcode/public-components/headers/sy-04.ts +2 -2
- package/lowcode/public-components/headers/sy-05.js +1 -1
- package/lowcode/public-components/headers/sy-05.ts +1 -1
- package/lowcode/public-components/user-manager/um-order.js +2 -2
- package/lowcode/public-components/user-manager/um-order.ts +2 -2
- package/lowcode/setting/appSetting.js +4 -4
- package/lowcode/setting/appSetting.ts +4 -4
- package/lowcode/setting/initialStyle.js +2 -2
- package/lowcode/setting/initialStyle.ts +2 -2
- package/lowcode/setting/pageManager.js +6 -6
- package/lowcode/setting/pageManager.ts +6 -6
- package/lowcode/view-model/saas-view-model.js +2 -2
- package/lowcode/view-model/saas-view-model.ts +2 -2
- package/package.json +1 -1
- package/src/index.js +7 -17
- package/src/index.js.map +1 -1
- package/src/index.ts +1 -0
- package/src/modules/database.js +2 -1
- package/src/modules/database.js.map +1 -1
- package/src/modules/database.ts +2 -1
- package/src/seo-config.js +0 -1
- package/src/seo-config.js.map +1 -1
- package/src/seo-config.ts +0 -1
- package/src/services/system-schedule.js +1 -2
- package/src/services/system-schedule.js.map +1 -1
- package/src/services/system-schedule.ts +4 -4
|
@@ -66,11 +66,11 @@ export class AboutUs {
|
|
|
66
66
|
<h2 class="f_20">從<span class="gradint fw-bold f_20">零</span>開始出發,打造<span class="gradint fw-bold f_20">完美系統</span></h2>
|
|
67
67
|
</div>
|
|
68
68
|
<div style="${(document.body.clientWidth < 800) ? `gap:18px;margin-top: 32px;` : `margin-top: 64px;`}" class="d-flex flex-column flex-sm-row justify-content-between">
|
|
69
|
-
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_1.png"
|
|
69
|
+
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_1.png" style="max-width: 100%;width: 743px;">
|
|
70
70
|
<div class="d-flex flex-lg-column" style="${(document.body.clientWidth < 800) ? `width:100%;` : `width: calc(100% - 773px);`}">
|
|
71
|
-
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_2.png"
|
|
71
|
+
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_2.png" style="${(document.body.clientWidth < 800) ? `width: calc(50% - 10px);` : `width: 100%;`}">
|
|
72
72
|
<div class="flex-fill"></div>
|
|
73
|
-
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_3.png"
|
|
73
|
+
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_3.png" style="${(document.body.clientWidth < 800) ? `width: calc(50% - 10px);` : `width: 100%;`}">
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
76
76
|
<div class="d-flex flex-column align-items-center justify-content-center mx-auto" style="${(((document.body.clientWidth < 800))) ? `gap:8;margin-top:132px;` : `gap:16px;margin-top:200px;`}">
|
|
@@ -79,9 +79,9 @@ export class AboutUs {
|
|
|
79
79
|
展望更加輝煌的未來</h2>
|
|
80
80
|
</div>
|
|
81
81
|
${(document.body.clientWidth > 800) ? `
|
|
82
|
-
<img src="${gvc.glitter.root_path}/landing-page/about-src/time_line.png"
|
|
82
|
+
<img src="${gvc.glitter.root_path}/landing-page/about-src/time_line.png" style="width: 100%;margin-bottom:293px;margin-top:59px;">
|
|
83
83
|
` : `
|
|
84
|
-
<img src="${gvc.glitter.root_path}/landing-page/about-src/mobile_time_line.png"
|
|
84
|
+
<img src="${gvc.glitter.root_path}/landing-page/about-src/mobile_time_line.png" style="width: calc(100% + 30px);margin-left:-15px;margin-top:17px;">
|
|
85
85
|
`}
|
|
86
86
|
<div class="d-flex flex-column align-items-center justify-content-center mx-auto" style="${(((document.body.clientWidth < 800))) ? `gap:8;margin-top:132px;` : ``}">
|
|
87
87
|
<h1 class="f_20 gradint fw-bold">團隊介紹</h1>
|
|
@@ -70,11 +70,11 @@ export class AboutUs {
|
|
|
70
70
|
<h2 class="f_20">從<span class="gradint fw-bold f_20">零</span>開始出發,打造<span class="gradint fw-bold f_20">完美系統</span></h2>
|
|
71
71
|
</div>
|
|
72
72
|
<div style="${(document.body.clientWidth<800) ? `gap:18px;margin-top: 32px;`:`margin-top: 64px;`}" class="d-flex flex-column flex-sm-row justify-content-between">
|
|
73
|
-
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_1.png"
|
|
73
|
+
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_1.png" style="max-width: 100%;width: 743px;">
|
|
74
74
|
<div class="d-flex flex-lg-column" style="${(document.body.clientWidth<800) ? `width:100%;`:`width: calc(100% - 773px);`}">
|
|
75
|
-
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_2.png"
|
|
75
|
+
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_2.png" style="${(document.body.clientWidth<800) ? `width: calc(50% - 10px);`:`width: 100%;`}">
|
|
76
76
|
<div class="flex-fill"></div>
|
|
77
|
-
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_3.png"
|
|
77
|
+
<img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_3.png" style="${(document.body.clientWidth<800) ? `width: calc(50% - 10px);`:`width: 100%;`}">
|
|
78
78
|
</div>
|
|
79
79
|
</div>
|
|
80
80
|
<div class="d-flex flex-column align-items-center justify-content-center mx-auto" style="${(((document.body.clientWidth<800))) ? `gap:8;margin-top:132px;`:`gap:16px;margin-top:200px;`}">
|
|
@@ -83,9 +83,9 @@ export class AboutUs {
|
|
|
83
83
|
展望更加輝煌的未來</h2>
|
|
84
84
|
</div>
|
|
85
85
|
${(document.body.clientWidth>800) ? `
|
|
86
|
-
<img src="${gvc.glitter.root_path}/landing-page/about-src/time_line.png"
|
|
86
|
+
<img src="${gvc.glitter.root_path}/landing-page/about-src/time_line.png" style="width: 100%;margin-bottom:293px;margin-top:59px;">
|
|
87
87
|
`:`
|
|
88
|
-
<img src="${gvc.glitter.root_path}/landing-page/about-src/mobile_time_line.png"
|
|
88
|
+
<img src="${gvc.glitter.root_path}/landing-page/about-src/mobile_time_line.png" style="width: calc(100% + 30px);margin-left:-15px;margin-top:17px;">
|
|
89
89
|
`}
|
|
90
90
|
<div class="d-flex flex-column align-items-center justify-content-center mx-auto" style="${(((document.body.clientWidth<800))) ? `gap:8;margin-top:132px;`:``}">
|
|
91
91
|
<h1 class="f_20 gradint fw-bold">團隊介紹</h1>
|
|
@@ -90,7 +90,7 @@ export class FileSystem {
|
|
|
90
90
|
bind: vm.id,
|
|
91
91
|
view: () => __awaiter(this, void 0, void 0, function* () {
|
|
92
92
|
return html `
|
|
93
|
-
<div
|
|
93
|
+
<div >
|
|
94
94
|
<div style="width: 100%; position: relative">
|
|
95
95
|
<div style="width: 100%; left: 0px; top: 0px; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 20px; display: inline-flex">
|
|
96
96
|
<div
|
|
@@ -135,7 +135,7 @@ export class FileSystem {
|
|
|
135
135
|
gvc.notifyDataChange(vm.id);
|
|
136
136
|
})}"
|
|
137
137
|
></div>
|
|
138
|
-
<div
|
|
138
|
+
<div style="left: 61px; top: 0px; color: #393939; font-size: 16px; font-family: Noto Sans; font-weight: 700; word-wrap: break-word">
|
|
139
139
|
選單名稱
|
|
140
140
|
</div>
|
|
141
141
|
<div class="flex-fill"></div>
|
|
@@ -118,7 +118,7 @@ export class FileSystem {
|
|
|
118
118
|
bind: vm.id,
|
|
119
119
|
view: async () => {
|
|
120
120
|
return html`
|
|
121
|
-
<div
|
|
121
|
+
<div >
|
|
122
122
|
<div style="width: 100%; position: relative">
|
|
123
123
|
<div style="width: 100%; left: 0px; top: 0px; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 20px; display: inline-flex">
|
|
124
124
|
<div
|
|
@@ -165,7 +165,7 @@ export class FileSystem {
|
|
|
165
165
|
gvc.notifyDataChange(vm.id);
|
|
166
166
|
})}"
|
|
167
167
|
></div>
|
|
168
|
-
<div
|
|
168
|
+
<div style="left: 61px; top: 0px; color: #393939; font-size: 16px; font-family: Noto Sans; font-weight: 700; word-wrap: break-word">
|
|
169
169
|
選單名稱
|
|
170
170
|
</div>
|
|
171
171
|
<div class="flex-fill"></div>
|
|
@@ -495,7 +495,7 @@ export class imageLibrary {
|
|
|
495
495
|
上傳新圖片
|
|
496
496
|
</div>
|
|
497
497
|
</div>
|
|
498
|
-
<div
|
|
498
|
+
<div >
|
|
499
499
|
${gvc.bindView({
|
|
500
500
|
bind: `folderItemGroup`,
|
|
501
501
|
view: () => {
|
|
@@ -541,7 +541,7 @@ export class imageLibrary {
|
|
|
541
541
|
options: FilterOptions.imageLibraryOrderBy,
|
|
542
542
|
})}
|
|
543
543
|
</div>
|
|
544
|
-
<div
|
|
544
|
+
<div >
|
|
545
545
|
${gvc.bindView({
|
|
546
546
|
bind: `folderItemGroup`,
|
|
547
547
|
view: () => {
|
|
@@ -673,7 +673,7 @@ export class imageLibrary {
|
|
|
673
673
|
}, 'add');
|
|
674
674
|
}))}
|
|
675
675
|
</div>
|
|
676
|
-
<div
|
|
676
|
+
<div >
|
|
677
677
|
${gvc.bindView({
|
|
678
678
|
bind: `folderItemGroup`,
|
|
679
679
|
view: () => {
|
|
@@ -692,7 +692,7 @@ export class imageLibrary {
|
|
|
692
692
|
}
|
|
693
693
|
function drawSelectImg() {
|
|
694
694
|
return html `
|
|
695
|
-
<div
|
|
695
|
+
<div >
|
|
696
696
|
<div style="width: 100%; position: relative">
|
|
697
697
|
<div
|
|
698
698
|
style="width: 100%; left: 0px; top: 0px; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 20px; display: inline-flex"
|
|
@@ -562,7 +562,7 @@ export class imageLibrary {
|
|
|
562
562
|
上傳新圖片
|
|
563
563
|
</div>
|
|
564
564
|
</div>
|
|
565
|
-
<div
|
|
565
|
+
<div >
|
|
566
566
|
${gvc.bindView({
|
|
567
567
|
bind: `folderItemGroup`,
|
|
568
568
|
view: () => {
|
|
@@ -612,7 +612,7 @@ export class imageLibrary {
|
|
|
612
612
|
options: FilterOptions.imageLibraryOrderBy,
|
|
613
613
|
})}
|
|
614
614
|
</div>
|
|
615
|
-
<div
|
|
615
|
+
<div >
|
|
616
616
|
${gvc.bindView({
|
|
617
617
|
bind: `folderItemGroup`,
|
|
618
618
|
view: () => {
|
|
@@ -765,7 +765,7 @@ export class imageLibrary {
|
|
|
765
765
|
})
|
|
766
766
|
)}
|
|
767
767
|
</div>
|
|
768
|
-
<div
|
|
768
|
+
<div >
|
|
769
769
|
${gvc.bindView({
|
|
770
770
|
bind: `folderItemGroup`,
|
|
771
771
|
view: () => {
|
|
@@ -786,7 +786,7 @@ export class imageLibrary {
|
|
|
786
786
|
|
|
787
787
|
function drawSelectImg() {
|
|
788
788
|
return html`
|
|
789
|
-
<div
|
|
789
|
+
<div >
|
|
790
790
|
<div style="width: 100%; position: relative">
|
|
791
791
|
<div
|
|
792
792
|
style="width: 100%; left: 0px; top: 0px; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 20px; display: inline-flex"
|
|
@@ -623,7 +623,7 @@ export class imageLibrary {
|
|
|
623
623
|
}
|
|
624
624
|
if (vm.type == 'folderEdit') {
|
|
625
625
|
return html `
|
|
626
|
-
<div class="d-flex flex-column ${gClass('album-title')}"
|
|
626
|
+
<div class="d-flex flex-column ${gClass('album-title')}" >
|
|
627
627
|
相簿名稱
|
|
628
628
|
<input
|
|
629
629
|
class="w-100"
|
|
@@ -749,7 +749,7 @@ export class imageLibrary {
|
|
|
749
749
|
}, 'add');
|
|
750
750
|
}))}
|
|
751
751
|
</div>
|
|
752
|
-
<div
|
|
752
|
+
<div >
|
|
753
753
|
${gvc.bindView({
|
|
754
754
|
bind: `folderItemGroup`,
|
|
755
755
|
view: () => {
|
|
@@ -732,7 +732,7 @@ export class imageLibrary {
|
|
|
732
732
|
//資料夾的內容編輯
|
|
733
733
|
if (vm.type == 'folderEdit') {
|
|
734
734
|
return html`
|
|
735
|
-
<div class="d-flex flex-column ${gClass('album-title')}"
|
|
735
|
+
<div class="d-flex flex-column ${gClass('album-title')}" >
|
|
736
736
|
相簿名稱
|
|
737
737
|
<input
|
|
738
738
|
class="w-100"
|
|
@@ -880,7 +880,7 @@ export class imageLibrary {
|
|
|
880
880
|
})
|
|
881
881
|
)}
|
|
882
882
|
</div>
|
|
883
|
-
<div
|
|
883
|
+
<div >
|
|
884
884
|
${gvc.bindView({
|
|
885
885
|
bind: `folderItemGroup`,
|
|
886
886
|
view: () => {
|
|
@@ -75,7 +75,7 @@ export const component = Plugin.createComponent(import.meta.url, (glitter, editM
|
|
|
75
75
|
if (dd.visible === 'invisible' && (dd.value !== formData[widget.data.key])) {
|
|
76
76
|
return ``;
|
|
77
77
|
}
|
|
78
|
-
return `<option
|
|
78
|
+
return `<option value="${dd.value}" ${`${dd.value}` === `${formData[widget.data.key]}` ? `selected` : ``}>
|
|
79
79
|
${dd.key}
|
|
80
80
|
</option>`;
|
|
81
81
|
}).join('') + `<option value="" ${formData[widget.data.key] === '' ? `selected` : ``}>
|
|
@@ -79,7 +79,7 @@ let option=widget.data.attr.map((dd: any) => {
|
|
|
79
79
|
if (dd.visible === 'invisible' && (dd.value !== formData[widget.data.key])) {
|
|
80
80
|
return ``
|
|
81
81
|
}
|
|
82
|
-
return /*html*/ `<option
|
|
82
|
+
return /*html*/ `<option value="${dd.value}" ${`${dd.value}` === `${formData[widget.data.key]}` ? `selected` : ``}>
|
|
83
83
|
${dd.key}
|
|
84
84
|
</option>`;
|
|
85
85
|
}).join('') + `<option value="" ${formData[widget.data.key] === '' ? `selected` : ``}>
|
|
@@ -87,7 +87,7 @@ export class FirstBanner {
|
|
|
87
87
|
style="background: none;
|
|
88
88
|
overflow: hidden;;
|
|
89
89
|
">
|
|
90
|
-
<img
|
|
90
|
+
<img src="${dd.img || 'https://d3jnmi1tfjgtti.cloudfront.net/file/234285319/1722936949034-default_image.jpg'}" style="width:520px;max-width:calc(100vw - 40px);max-height: 100vh;cursor: pointer;
|
|
91
91
|
border-radius: 25px;
|
|
92
92
|
" onclick="${gvc.event(() => {
|
|
93
93
|
gvc.glitter.href = dd.link;
|
|
@@ -93,7 +93,7 @@ export class FirstBanner {
|
|
|
93
93
|
style="background: none;
|
|
94
94
|
overflow: hidden;;
|
|
95
95
|
">
|
|
96
|
-
<img
|
|
96
|
+
<img src="${dd.img || 'https://d3jnmi1tfjgtti.cloudfront.net/file/234285319/1722936949034-default_image.jpg'}" style="width:520px;max-width:calc(100vw - 40px);max-height: 100vh;cursor: pointer;
|
|
97
97
|
border-radius: 25px;
|
|
98
98
|
" onclick="${gvc.event(() => {
|
|
99
99
|
gvc.glitter.href=dd.link;
|
|
@@ -105,7 +105,7 @@ export class BlogList {
|
|
|
105
105
|
});
|
|
106
106
|
const map_v = [
|
|
107
107
|
html ` <div class="col-12 px-0">
|
|
108
|
-
<div class="d-flex align-items-center flex-column justify-content-center py-4 pt-lg-5 px-2"
|
|
108
|
+
<div class="d-flex align-items-center flex-column justify-content-center py-4 pt-lg-5 px-2" >
|
|
109
109
|
<h1
|
|
110
110
|
class="m-0 w-100 text-center"
|
|
111
111
|
style="color:${theme_color.title};font-size:${document.body.clientWidth > 800
|
|
@@ -241,7 +241,7 @@ export class BlogList {
|
|
|
241
241
|
});
|
|
242
242
|
const map_v: string[] = [
|
|
243
243
|
html` <div class="col-12 px-0">
|
|
244
|
-
<div class="d-flex align-items-center flex-column justify-content-center py-4 pt-lg-5 px-2"
|
|
244
|
+
<div class="d-flex align-items-center flex-column justify-content-center py-4 pt-lg-5 px-2" >
|
|
245
245
|
<h1
|
|
246
246
|
class="m-0 w-100 text-center"
|
|
247
247
|
style="color:${theme_color.title};font-size:${document.body.clientWidth > 800
|
|
@@ -240,7 +240,7 @@ background: ${(_a = colors.bgr) !== null && _a !== void 0 ? _a : '#000'};overflo
|
|
|
240
240
|
`}
|
|
241
241
|
</div>
|
|
242
242
|
<!--選單列表顯示區塊-->
|
|
243
|
-
<ul class="navbar-nav d-none d-md-block flex-fill ps-2"
|
|
243
|
+
<ul class="navbar-nav d-none d-md-block flex-fill ps-2" >
|
|
244
244
|
${gvc.bindView(() => {
|
|
245
245
|
const id = gvc.glitter.getUUID();
|
|
246
246
|
const vm = {
|
|
@@ -342,7 +342,7 @@ padding-bottom: 2px;
|
|
|
342
342
|
${HeaderClass.hideShopperBtn()
|
|
343
343
|
? ``
|
|
344
344
|
: `<li class="nav-item d-none d-sm-flex align-items-center justify-content-center "
|
|
345
|
-
|
|
345
|
+
>
|
|
346
346
|
${gvc.bindView(() => {
|
|
347
347
|
const vm = {
|
|
348
348
|
id: gvc.glitter.getUUID(),
|
|
@@ -452,7 +452,7 @@ padding-bottom: 2px;
|
|
|
452
452
|
</li>
|
|
453
453
|
<li
|
|
454
454
|
class="nav-item d-flex align-items-center justify-content-center ms-3 "
|
|
455
|
-
|
|
455
|
+
|
|
456
456
|
onclick="${gvc.event(() => {
|
|
457
457
|
if (GlobalUser.token) {
|
|
458
458
|
changePage('account_userinfo', 'page', {});
|
|
@@ -466,7 +466,7 @@ padding-bottom: 2px;
|
|
|
466
466
|
})}"
|
|
467
467
|
>
|
|
468
468
|
<div
|
|
469
|
-
|
|
469
|
+
|
|
470
470
|
style="background: ${(_d = widget.formData.theme_color['solid-button-bg']) !== null && _d !== void 0 ? _d : '#000'};
|
|
471
471
|
color: ${(_e = widget.formData.theme_color['solid-button-text']) !== null && _e !== void 0 ? _e : '#000'}; cursor: pointer;
|
|
472
472
|
display: flex;
|
|
@@ -256,7 +256,7 @@ background: ${colors.bgr ?? '#000'};overflow-x: hidden;`,
|
|
|
256
256
|
}
|
|
257
257
|
</div>
|
|
258
258
|
<!--選單列表顯示區塊-->
|
|
259
|
-
<ul class="navbar-nav d-none d-md-block flex-fill ps-2"
|
|
259
|
+
<ul class="navbar-nav d-none d-md-block flex-fill ps-2" >
|
|
260
260
|
${gvc.bindView(() => {
|
|
261
261
|
const id = gvc.glitter.getUUID();
|
|
262
262
|
const vm = {
|
|
@@ -361,7 +361,7 @@ padding-bottom: 2px;
|
|
|
361
361
|
HeaderClass.hideShopperBtn()
|
|
362
362
|
? ``
|
|
363
363
|
: `<li class="nav-item d-none d-sm-flex align-items-center justify-content-center "
|
|
364
|
-
|
|
364
|
+
>
|
|
365
365
|
${gvc.bindView(() => {
|
|
366
366
|
const vm = {
|
|
367
367
|
id: gvc.glitter.getUUID(),
|
|
@@ -475,7 +475,7 @@ padding-bottom: 2px;
|
|
|
475
475
|
</li>
|
|
476
476
|
<li
|
|
477
477
|
class="nav-item d-flex align-items-center justify-content-center ms-3 "
|
|
478
|
-
|
|
478
|
+
|
|
479
479
|
onclick="${gvc.event(() => {
|
|
480
480
|
if (GlobalUser.token) {
|
|
481
481
|
changePage('account_userinfo', 'page', {});
|
|
@@ -488,7 +488,7 @@ padding-bottom: 2px;
|
|
|
488
488
|
})}"
|
|
489
489
|
>
|
|
490
490
|
<div
|
|
491
|
-
|
|
491
|
+
|
|
492
492
|
style="background: ${widget.formData.theme_color['solid-button-bg'] ?? '#000'};
|
|
493
493
|
color: ${widget.formData.theme_color['solid-button-text'] ?? '#000'}; cursor: pointer;
|
|
494
494
|
display: flex;
|
|
@@ -229,7 +229,7 @@ background: ${(_a = colors.bgr) !== null && _a !== void 0 ? _a : '#000'};overflo
|
|
|
229
229
|
</div>
|
|
230
230
|
</div>
|
|
231
231
|
<!--選單列表顯示區塊-->
|
|
232
|
-
<ul class="navbar-nav d-none d-md-block flex-fill ps-2 position-sticky"
|
|
232
|
+
<ul class="navbar-nav d-none d-md-block flex-fill ps-2 position-sticky" >
|
|
233
233
|
${gvc.bindView(() => {
|
|
234
234
|
const id = gvc.glitter.getUUID();
|
|
235
235
|
const vm = {
|
|
@@ -236,7 +236,7 @@ background: ${colors.bgr ?? '#000'};overflow-x: hidden;`,
|
|
|
236
236
|
</div>
|
|
237
237
|
</div>
|
|
238
238
|
<!--選單列表顯示區塊-->
|
|
239
|
-
<ul class="navbar-nav d-none d-md-block flex-fill ps-2 position-sticky"
|
|
239
|
+
<ul class="navbar-nav d-none d-md-block flex-fill ps-2 position-sticky" >
|
|
240
240
|
${gvc.bindView(() => {
|
|
241
241
|
const id = gvc.glitter.getUUID();
|
|
242
242
|
const vm = {
|
|
@@ -241,7 +241,7 @@ background: ${(_a = colors.bgr) !== null && _a !== void 0 ? _a : '#000'};overflo
|
|
|
241
241
|
`}
|
|
242
242
|
</div>
|
|
243
243
|
</div>
|
|
244
|
-
<div
|
|
244
|
+
<div >
|
|
245
245
|
<!--選單列表顯示區塊-->
|
|
246
246
|
<ul
|
|
247
247
|
class="navbar-nav position-absolute start-50 top-50 d-none d-lg-block"
|
|
@@ -338,7 +338,7 @@ padding-bottom: 2px;
|
|
|
338
338
|
})}
|
|
339
339
|
${HeaderClass.hideShopperBtn()
|
|
340
340
|
? ``
|
|
341
|
-
: `<li class="nav-item d-none d-sm-flex align-items-center justify-content-center"
|
|
341
|
+
: `<li class="nav-item d-none d-sm-flex align-items-center justify-content-center" >
|
|
342
342
|
${gvc.bindView(() => {
|
|
343
343
|
const vm = {
|
|
344
344
|
id: gvc.glitter.getUUID(),
|
|
@@ -249,7 +249,7 @@ background: ${colors.bgr ?? '#000'};overflow-x: hidden;`,
|
|
|
249
249
|
`}
|
|
250
250
|
</div>
|
|
251
251
|
</div>
|
|
252
|
-
<div
|
|
252
|
+
<div >
|
|
253
253
|
<!--選單列表顯示區塊-->
|
|
254
254
|
<ul
|
|
255
255
|
class="navbar-nav position-absolute start-50 top-50 d-none d-lg-block"
|
|
@@ -347,7 +347,7 @@ padding-bottom: 2px;
|
|
|
347
347
|
})}
|
|
348
348
|
${HeaderClass.hideShopperBtn()
|
|
349
349
|
? ``
|
|
350
|
-
: `<li class="nav-item d-none d-sm-flex align-items-center justify-content-center"
|
|
350
|
+
: `<li class="nav-item d-none d-sm-flex align-items-center justify-content-center" >
|
|
351
351
|
${gvc.bindView(() => {
|
|
352
352
|
const vm = {
|
|
353
353
|
id: gvc.glitter.getUUID(),
|
|
@@ -192,7 +192,7 @@ background: ${(_a = widget.formData.theme_color['background']) !== null && _a !=
|
|
|
192
192
|
: html ` <div class="d-flex align-items-center justify-content-center h-100 py-2"><img src="${widget.formData.logo.value}" style="height: 100%;" /></div> `}
|
|
193
193
|
</div>
|
|
194
194
|
<!--選單列表顯示區塊-->
|
|
195
|
-
<ul class="navbar-nav d-none d-md-block flex-fill ps-2"
|
|
195
|
+
<ul class="navbar-nav d-none d-md-block flex-fill ps-2" >
|
|
196
196
|
${gvc.bindView(() => {
|
|
197
197
|
const id = gvc.glitter.getUUID();
|
|
198
198
|
const vm = {
|
|
@@ -204,7 +204,7 @@ background: ${widget.formData.theme_color['background'] ?? '#000'};overflow-x: h
|
|
|
204
204
|
}
|
|
205
205
|
</div>
|
|
206
206
|
<!--選單列表顯示區塊-->
|
|
207
|
-
<ul class="navbar-nav d-none d-md-block flex-fill ps-2"
|
|
207
|
+
<ul class="navbar-nav d-none d-md-block flex-fill ps-2" >
|
|
208
208
|
${gvc.bindView(() => {
|
|
209
209
|
const id = gvc.glitter.getUUID();
|
|
210
210
|
const vm = {
|
|
@@ -282,7 +282,7 @@ export class UMOrder {
|
|
|
282
282
|
>
|
|
283
283
|
<i class="fa-regular fa-circle-xmark fs-5 text-dark cursor_pointer"></i>
|
|
284
284
|
</div>
|
|
285
|
-
<div id="paynow-container"
|
|
285
|
+
<div id="paynow-container" >
|
|
286
286
|
<div style="width:200px;height:200px;">loading...</div>
|
|
287
287
|
</div>
|
|
288
288
|
<div class="px-3 px-sm-0 w-100">
|
|
@@ -507,7 +507,7 @@ export class UMOrder {
|
|
|
507
507
|
class="o-title-container ${item.title === Language.text('payment_instructions')
|
|
508
508
|
? 'align-items-start mt-2'
|
|
509
509
|
: ''}"
|
|
510
|
-
|
|
510
|
+
|
|
511
511
|
>
|
|
512
512
|
<div class="o-title me-1" style="white-space: nowrap;">${item.title}:</div>
|
|
513
513
|
<div class="o-title fr-view">${item.value}</div>
|
|
@@ -529,7 +529,7 @@ export class UMOrder {
|
|
|
529
529
|
>
|
|
530
530
|
<i class="fa-regular fa-circle-xmark fs-5 text-dark cursor_pointer"></i>
|
|
531
531
|
</div>
|
|
532
|
-
<div id="paynow-container"
|
|
532
|
+
<div id="paynow-container" >
|
|
533
533
|
<div style="width:200px;height:200px;">loading...</div>
|
|
534
534
|
</div>
|
|
535
535
|
<div class="px-3 px-sm-0 w-100">
|
|
@@ -985,7 +985,7 @@ export class UMOrder {
|
|
|
985
985
|
class="o-title-container ${item.title === Language.text('payment_instructions')
|
|
986
986
|
? 'align-items-start mt-2'
|
|
987
987
|
: ''}"
|
|
988
|
-
|
|
988
|
+
|
|
989
989
|
>
|
|
990
990
|
<div class="o-title me-1" style="white-space: nowrap;">${item.title}:</div>
|
|
991
991
|
<div class="o-title fr-view">${item.value}</div>
|
|
@@ -362,7 +362,7 @@ export function appCreate(gvc, viewModel, id) {
|
|
|
362
362
|
}),
|
|
363
363
|
]
|
|
364
364
|
.map((dd) => {
|
|
365
|
-
return `<div
|
|
365
|
+
return `<div >${dd}</div>`;
|
|
366
366
|
})
|
|
367
367
|
.join(``)}
|
|
368
368
|
<div class="w-100 " style="height:1px;background:#e2e5f1;"></div>
|
|
@@ -370,7 +370,7 @@ export function appCreate(gvc, viewModel, id) {
|
|
|
370
370
|
style="color:#151515;font-size:16px;gap:0px;">
|
|
371
371
|
上架設定
|
|
372
372
|
</div>
|
|
373
|
-
<div
|
|
373
|
+
<div >
|
|
374
374
|
${[
|
|
375
375
|
EditorElem.editeInput({
|
|
376
376
|
gvc: gvc,
|
|
@@ -418,7 +418,7 @@ export function appCreate(gvc, viewModel, id) {
|
|
|
418
418
|
}),
|
|
419
419
|
]
|
|
420
420
|
.map((dd) => {
|
|
421
|
-
return `<div
|
|
421
|
+
return `<div >${dd}</div>`;
|
|
422
422
|
})
|
|
423
423
|
.join(``)}
|
|
424
424
|
</div>
|
|
@@ -602,7 +602,7 @@ function uploadImage(obj) {
|
|
|
602
602
|
obj.callback(e.value);
|
|
603
603
|
obj.gvc.notifyDataChange(id);
|
|
604
604
|
})}">
|
|
605
|
-
<div
|
|
605
|
+
<div style="width: 1px;height: 25px;background-"></div>
|
|
606
606
|
<i class="fa-regular fa-upload text-dark ms-2" style="cursor: pointer;" onclick="${obj.gvc.event(() => {
|
|
607
607
|
glitter.ut.chooseMediaCallback({
|
|
608
608
|
single: true,
|
|
@@ -377,7 +377,7 @@ export function appCreate(gvc: GVC, viewModel: any, id: string) {
|
|
|
377
377
|
}),
|
|
378
378
|
]
|
|
379
379
|
.map((dd) => {
|
|
380
|
-
return `<div
|
|
380
|
+
return `<div >${dd}</div>`;
|
|
381
381
|
})
|
|
382
382
|
.join(``)}
|
|
383
383
|
<div class="w-100 " style="height:1px;background:#e2e5f1;"></div>
|
|
@@ -385,7 +385,7 @@ export function appCreate(gvc: GVC, viewModel: any, id: string) {
|
|
|
385
385
|
style="color:#151515;font-size:16px;gap:0px;">
|
|
386
386
|
上架設定
|
|
387
387
|
</div>
|
|
388
|
-
<div
|
|
388
|
+
<div >
|
|
389
389
|
${[
|
|
390
390
|
EditorElem.editeInput({
|
|
391
391
|
gvc: gvc,
|
|
@@ -433,7 +433,7 @@ export function appCreate(gvc: GVC, viewModel: any, id: string) {
|
|
|
433
433
|
}),
|
|
434
434
|
]
|
|
435
435
|
.map((dd) => {
|
|
436
|
-
return `<div
|
|
436
|
+
return `<div >${dd}</div>`;
|
|
437
437
|
})
|
|
438
438
|
.join(``)}
|
|
439
439
|
</div>
|
|
@@ -642,7 +642,7 @@ function uploadImage(obj: { title: string; gvc: any; def: string; callback: (dat
|
|
|
642
642
|
obj.callback(e.value);
|
|
643
643
|
obj.gvc.notifyDataChange(id);
|
|
644
644
|
})}">
|
|
645
|
-
<div
|
|
645
|
+
<div style="width: 1px;height: 25px;background-"></div>
|
|
646
646
|
<i class="fa-regular fa-upload text-dark ms-2" style="cursor: pointer;" onclick="${obj.gvc.event(() => {
|
|
647
647
|
glitter.ut.chooseMediaCallback({
|
|
648
648
|
single: true,
|
|
@@ -18,7 +18,7 @@ export function initialStyle(gvc, viewModel, id) {
|
|
|
18
18
|
title: '文字區塊內容',
|
|
19
19
|
array: viewModel.initialStyleSheet.map((dd, index) => {
|
|
20
20
|
return {
|
|
21
|
-
title: `<span
|
|
21
|
+
title: `<span >${dd.name || `區塊:${index}`}</span>`,
|
|
22
22
|
innerHtml: (() => {
|
|
23
23
|
return gvc.bindView(() => {
|
|
24
24
|
const cid = glitter.getUUID();
|
|
@@ -146,7 +146,7 @@ export function initialStylePage(gvc, viewModel, id) {
|
|
|
146
146
|
title: '文字區塊內容',
|
|
147
147
|
array: viewModel.data.page_config.initialStyleSheet.map((dd, index) => {
|
|
148
148
|
return {
|
|
149
|
-
title: `<span
|
|
149
|
+
title: `<span >${dd.name || `區塊:${index}`}</span>`,
|
|
150
150
|
innerHtml: (() => {
|
|
151
151
|
return gvc.bindView(() => {
|
|
152
152
|
const cid = glitter.getUUID();
|
|
@@ -20,7 +20,7 @@ export function initialStyle(gvc: GVC, viewModel: any, id: string) {
|
|
|
20
20
|
title: '文字區塊內容',
|
|
21
21
|
array: viewModel.initialStyleSheet.map((dd: any, index: number) => {
|
|
22
22
|
return {
|
|
23
|
-
title: `<span
|
|
23
|
+
title: `<span >${dd.name || `區塊:${index}`}</span>`,
|
|
24
24
|
innerHtml: (() => {
|
|
25
25
|
return gvc.bindView(() => {
|
|
26
26
|
const cid = glitter.getUUID();
|
|
@@ -148,7 +148,7 @@ export function initialStylePage(gvc: GVC, viewModel: any, id: string) {
|
|
|
148
148
|
title: '文字區塊內容',
|
|
149
149
|
array: viewModel.data.page_config.initialStyleSheet.map((dd: any, index: number) => {
|
|
150
150
|
return {
|
|
151
|
-
title: `<span
|
|
151
|
+
title: `<span >${dd.name || `區塊:${index}`}</span>`,
|
|
152
152
|
innerHtml: (() => {
|
|
153
153
|
return gvc.bindView(() => {
|
|
154
154
|
const cid = glitter.getUUID();
|