ts-glitter 13.8.677 → 13.8.731
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/cms-plugin/pos-pages/payment-page.js +2 -2
- package/lowcode/cms-plugin/pos-pages/payment-page.ts +2 -2
- package/lowcode/glitterBundle/Glitter.js +5 -0
- package/lowcode/glitterBundle/Glitter.ts +5 -0
- package/lowcode/public-components/footer/footer-01.js +57 -53
- package/lowcode/public-components/footer/footer-01.ts +96 -88
- package/lowcode/public-components/footer/footer-02.js +2 -6
- package/lowcode/public-components/footer/footer-02.ts +2 -6
- package/lowcode/public-components/footer/footer-03.js +2 -6
- package/lowcode/public-components/footer/footer-03.ts +2 -7
- package/lowcode/public-components/product/pd-card-01.js +10 -6
- package/lowcode/public-components/product/pd-card-01.ts +33 -29
- package/lowcode/public-components/product/pd-card-02.js +19 -10
- package/lowcode/public-components/product/pd-card-02.ts +40 -31
- package/lowcode/public-components/product/pd-card-03.js +13 -8
- package/lowcode/public-components/product/pd-card-03.ts +36 -31
- package/lowcode/public-components/user-manager/um-class.js +115 -9
- package/lowcode/public-components/user-manager/um-class.ts +114 -9
- package/lowcode/public-components/user-manager/um-info.js +2 -2
- package/lowcode/public-components/user-manager/um-info.ts +2 -2
- package/lowcode/public-components/user-manager/um-orderlist.js +5 -3
- package/lowcode/public-components/user-manager/um-orderlist.ts +5 -3
- package/lowcode/public-components/user-manager/um-rebate.js +3 -3
- package/lowcode/public-components/user-manager/um-rebate.ts +3 -3
- package/lowcode/public-components/user-manager/um-wishlist.js +170 -0
- package/lowcode/public-components/user-manager/um-wishlist.ts +260 -0
- package/package.json +1 -1
package/lowcode/Entry.js
CHANGED
|
@@ -68,7 +68,7 @@ export class Entry {
|
|
|
68
68
|
}
|
|
69
69
|
window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
|
|
70
70
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
71
|
-
glitter.share.editerVersion = 'V_13.8.
|
|
71
|
+
glitter.share.editerVersion = 'V_13.8.731';
|
|
72
72
|
glitter.share.start = new Date();
|
|
73
73
|
const vm = {
|
|
74
74
|
appConfig: [],
|
package/lowcode/Entry.ts
CHANGED
|
@@ -69,7 +69,7 @@ export class Entry {
|
|
|
69
69
|
}
|
|
70
70
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
71
71
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
72
|
-
glitter.share.editerVersion = 'V_13.8.
|
|
72
|
+
glitter.share.editerVersion = 'V_13.8.731';
|
|
73
73
|
glitter.share.start = new Date();
|
|
74
74
|
const vm: {
|
|
75
75
|
appConfig: any;
|
|
@@ -326,7 +326,7 @@ background: #FFF;`
|
|
|
326
326
|
<i class="fa-solid fa-magnifying-glass"
|
|
327
327
|
style="color: #8D8D8D;"></i>
|
|
328
328
|
<div style="flex: 1 1 0; color: #8D8D8D; font-size: 16px; font-weight: 400; word-wrap: break-word">
|
|
329
|
-
|
|
329
|
+
搜尋會員信箱 / 電話 / 編號
|
|
330
330
|
</div>
|
|
331
331
|
</div>
|
|
332
332
|
</div>
|
|
@@ -766,7 +766,7 @@ background: #EAEAEA;box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);`,
|
|
|
766
766
|
.map((btn) => {
|
|
767
767
|
return html `
|
|
768
768
|
<div
|
|
769
|
-
style="flex:1;display: flex;flex-direction: column;justify-content: center;align-items: center;padding:
|
|
769
|
+
style="flex:1;display: flex;flex-direction: column;justify-content: center;align-items: center;padding: 15px 15px;border-radius: 10px;background: #F6F6F6;${vm.paySelect ==
|
|
770
770
|
btn.value
|
|
771
771
|
? `color:#393939;border-radius: 10px;border: 3px solid #393939;box-shadow: 2px 2px 15px 0px rgba(0, 0, 0, 0.20);`
|
|
772
772
|
: 'color:#8D8D8D;'}"
|
|
@@ -355,7 +355,7 @@ background: #FFF;`
|
|
|
355
355
|
<i class="fa-solid fa-magnifying-glass"
|
|
356
356
|
style="color: #8D8D8D;"></i>
|
|
357
357
|
<div style="flex: 1 1 0; color: #8D8D8D; font-size: 16px; font-weight: 400; word-wrap: break-word">
|
|
358
|
-
|
|
358
|
+
搜尋會員信箱 / 電話 / 編號
|
|
359
359
|
</div>
|
|
360
360
|
</div>
|
|
361
361
|
</div>
|
|
@@ -810,7 +810,7 @@ background: #EAEAEA;box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);`,
|
|
|
810
810
|
.map((btn) => {
|
|
811
811
|
return html`
|
|
812
812
|
<div
|
|
813
|
-
style="flex:1;display: flex;flex-direction: column;justify-content: center;align-items: center;padding:
|
|
813
|
+
style="flex:1;display: flex;flex-direction: column;justify-content: center;align-items: center;padding: 15px 15px;border-radius: 10px;background: #F6F6F6;${vm.paySelect ==
|
|
814
814
|
btn.value
|
|
815
815
|
? `color:#393939;border-radius: 10px;border: 3px solid #393939;box-shadow: 2px 2px 15px 0px rgba(0, 0, 0, 0.20);`
|
|
816
816
|
: 'color:#8D8D8D;'}"
|
|
@@ -540,6 +540,11 @@ export class Glitter {
|
|
|
540
540
|
set href(value) {
|
|
541
541
|
const link = new URL(value, location.href);
|
|
542
542
|
if ((location.origin) === (link.origin)) {
|
|
543
|
+
if (link.searchParams.get("page") !== undefined) {
|
|
544
|
+
const page = link.searchParams.get("page");
|
|
545
|
+
link.searchParams.delete("page");
|
|
546
|
+
link.pathname += page;
|
|
547
|
+
}
|
|
543
548
|
window.history.replaceState({}, document.title, link.href);
|
|
544
549
|
this.getModule(new URL('../official_event/page/change-page.js', import.meta.url).href, (cl) => {
|
|
545
550
|
cl.changePage(link.searchParams.get('page') || location.pathname.substring(1), 'page', {});
|
|
@@ -59,6 +59,11 @@ export class Glitter {
|
|
|
59
59
|
set href(value) {
|
|
60
60
|
const link = new URL(value, location.href);
|
|
61
61
|
if ((location.origin) === (link.origin)) {
|
|
62
|
+
if(link.searchParams.get("page") !== undefined) {
|
|
63
|
+
const page=link.searchParams.get("page")
|
|
64
|
+
link.searchParams.delete("page");
|
|
65
|
+
link.pathname+=page
|
|
66
|
+
}
|
|
62
67
|
window.history.replaceState({}, document.title, link.href);
|
|
63
68
|
this.getModule(new URL('../official_event/page/change-page.js', import.meta.url).href, (cl) => {
|
|
64
69
|
cl.changePage(link.searchParams.get('page') || location.pathname.substring(1), 'page', {})
|
|
@@ -75,44 +75,46 @@ export class Footer01 {
|
|
|
75
75
|
color: ${colors.content};
|
|
76
76
|
}
|
|
77
77
|
`);
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
<h4 class="mb-0 f-h4">${formData.logo}</h4>
|
|
88
|
-
<ul class="d-flex list-unstyled list-inline mt-2 mb-md-0 text-gray-350">
|
|
89
|
-
${(() => {
|
|
78
|
+
return html `
|
|
79
|
+
<footer class="f-bgr">
|
|
80
|
+
<div class="border-gray-700 f-padding-top">
|
|
81
|
+
<div class="container">
|
|
82
|
+
<div class="row py-sm-5 f-container">
|
|
83
|
+
<div class="col-12 col-md-6 f-title-container">
|
|
84
|
+
<h4 class="mb-0 f-h4">${formData.logo}</h4>
|
|
85
|
+
<ul class="d-flex list-unstyled list-inline mt-2 mb-md-0 text-gray-350">
|
|
86
|
+
${(() => {
|
|
90
87
|
try {
|
|
91
88
|
return formData.kkk.link
|
|
92
89
|
.map((item) => {
|
|
93
|
-
return html
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
90
|
+
return html `
|
|
91
|
+
<li class="list-inline-item f-icon-list">
|
|
92
|
+
<div
|
|
93
|
+
class="text-reset"
|
|
94
|
+
onclick="${gvc.event(() => {
|
|
95
|
+
gvc.glitter.href = item.link;
|
|
98
96
|
})}"
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
>
|
|
98
|
+
${(() => {
|
|
101
99
|
switch (item.type) {
|
|
102
100
|
case 'fb':
|
|
103
|
-
return html `<i
|
|
101
|
+
return html `<i
|
|
102
|
+
class="fab fa-facebook-f f-icon"></i>`;
|
|
104
103
|
case 'youtube':
|
|
105
|
-
return html `<i
|
|
104
|
+
return html `<i
|
|
105
|
+
class="fab fa-youtube f-icon"></i>`;
|
|
106
106
|
case 'twitter':
|
|
107
|
-
return html `<i
|
|
107
|
+
return html `<i
|
|
108
|
+
class="fab fa-twitter f-icon"></i>`;
|
|
108
109
|
case 'ig':
|
|
109
|
-
return html `<i
|
|
110
|
+
return html `<i
|
|
111
|
+
class="fab fa-instagram f-icon"></i>`;
|
|
110
112
|
default:
|
|
111
113
|
return '';
|
|
112
114
|
}
|
|
113
115
|
})()}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
</div>
|
|
117
|
+
</li>`;
|
|
116
118
|
})
|
|
117
119
|
.join('');
|
|
118
120
|
}
|
|
@@ -120,33 +122,35 @@ export class Footer01 {
|
|
|
120
122
|
return '';
|
|
121
123
|
}
|
|
122
124
|
})()}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
</ul>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="col f-content-container ${document.body.clientWidth > 768 ? '' : 'row'}">
|
|
128
|
+
${(() => {
|
|
127
129
|
try {
|
|
128
130
|
return formData.list
|
|
129
131
|
.map((item) => {
|
|
130
|
-
return html
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
return html `
|
|
133
|
+
<div class="${document.body.clientWidth > 768 ? '' : 'col-12 mt-2cs'}">
|
|
134
|
+
<h6 class="heading-xxs mb-3 f-title">${item.title}</h6>
|
|
135
|
+
<ul class="list-unstyled mb-7 f-ul">
|
|
136
|
+
${item.child
|
|
134
137
|
.map((chi) => {
|
|
135
|
-
return html
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
return html `
|
|
139
|
+
<li
|
|
140
|
+
class="f-li"
|
|
141
|
+
style="${chi.page ? 'cursor: pointer;' : ''}"
|
|
142
|
+
onclick="${gvc.event(() => {
|
|
139
143
|
if (chi.page) {
|
|
140
|
-
|
|
144
|
+
gvc.glitter.href = chi.page;
|
|
141
145
|
}
|
|
142
146
|
})}"
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
147
|
+
>
|
|
148
|
+
<a class="f-aclass">${chi.title}</a>
|
|
149
|
+
</li>`;
|
|
146
150
|
})
|
|
147
151
|
.join('')}
|
|
148
|
-
|
|
149
|
-
|
|
152
|
+
</ul>
|
|
153
|
+
</div>`;
|
|
150
154
|
})
|
|
151
155
|
.join('');
|
|
152
156
|
}
|
|
@@ -154,26 +158,26 @@ export class Footer01 {
|
|
|
154
158
|
return '';
|
|
155
159
|
}
|
|
156
160
|
})()}
|
|
161
|
+
</div>
|
|
157
162
|
</div>
|
|
158
163
|
</div>
|
|
159
164
|
</div>
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
${(() => {
|
|
165
|
+
<div class="py-6">
|
|
166
|
+
<div class="container">
|
|
167
|
+
<div class="row">
|
|
168
|
+
<div class="col text-center">
|
|
169
|
+
<p class="my-2 f-copyright">
|
|
170
|
+
${(() => {
|
|
167
171
|
const currentDate = new Date();
|
|
168
172
|
const currentYear = currentDate.getFullYear();
|
|
169
173
|
return `${currentYear} © ${formData.logo} , LTD. ALL RIGHTS RESERVED.`;
|
|
170
174
|
})()}
|
|
171
|
-
|
|
175
|
+
</p>
|
|
176
|
+
</div>
|
|
172
177
|
</div>
|
|
173
178
|
</div>
|
|
174
179
|
</div>
|
|
175
|
-
</
|
|
176
|
-
</footer>`;
|
|
180
|
+
</footer>`;
|
|
177
181
|
}
|
|
178
182
|
}
|
|
179
183
|
window.glitter.setModule(import.meta.url, Footer01);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import {GVC} from '../../glitterBundle/GVController.js';
|
|
2
|
+
import {FtClass} from './ft-class.js';
|
|
3
3
|
|
|
4
4
|
const html = String.raw;
|
|
5
5
|
|
|
@@ -80,104 +80,112 @@ export class Footer01 {
|
|
|
80
80
|
}
|
|
81
81
|
`);
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
83
|
+
|
|
84
|
+
return html`
|
|
85
|
+
<footer class="f-bgr">
|
|
86
|
+
<div class="border-gray-700 f-padding-top">
|
|
87
|
+
<div class="container">
|
|
88
|
+
<div class="row py-sm-5 f-container">
|
|
89
|
+
<div class="col-12 col-md-6 f-title-container">
|
|
90
|
+
<h4 class="mb-0 f-h4">${formData.logo}</h4>
|
|
91
|
+
<ul class="d-flex list-unstyled list-inline mt-2 mb-md-0 text-gray-350">
|
|
92
|
+
${(() => {
|
|
93
|
+
try {
|
|
94
|
+
return formData.kkk.link
|
|
95
|
+
.map((item: { link: string; type: string }) => {
|
|
96
|
+
return html`
|
|
97
|
+
<li class="list-inline-item f-icon-list">
|
|
98
|
+
<div
|
|
99
|
+
class="text-reset"
|
|
100
|
+
onclick="${gvc.event(() => {
|
|
101
|
+
gvc.glitter.href = item.link
|
|
102
|
+
})}"
|
|
103
|
+
>
|
|
104
|
+
${(() => {
|
|
105
|
+
switch (item.type) {
|
|
106
|
+
case 'fb':
|
|
107
|
+
return html`<i
|
|
108
|
+
class="fab fa-facebook-f f-icon"></i>`;
|
|
109
|
+
case 'youtube':
|
|
110
|
+
return html`<i
|
|
111
|
+
class="fab fa-youtube f-icon"></i>`;
|
|
112
|
+
case 'twitter':
|
|
113
|
+
return html`<i
|
|
114
|
+
class="fab fa-twitter f-icon"></i>`;
|
|
115
|
+
case 'ig':
|
|
116
|
+
return html`<i
|
|
117
|
+
class="fab fa-instagram f-icon"></i>`;
|
|
118
|
+
default:
|
|
119
|
+
return '';
|
|
120
|
+
}
|
|
121
|
+
})()}
|
|
122
|
+
</div>
|
|
123
|
+
</li>`;
|
|
124
|
+
})
|
|
125
|
+
.join('');
|
|
126
|
+
} catch (error) {
|
|
127
|
+
return '';
|
|
128
|
+
}
|
|
129
|
+
})()}
|
|
130
|
+
</ul>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="col f-content-container ${document.body.clientWidth > 768 ? '' : 'row'}">
|
|
95
133
|
${(() => {
|
|
96
134
|
try {
|
|
97
|
-
return formData.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
135
|
+
return formData.list
|
|
136
|
+
.map((item: {
|
|
137
|
+
title: string;
|
|
138
|
+
child: { title: string; page?: string }[]
|
|
139
|
+
}) => {
|
|
140
|
+
return html`
|
|
141
|
+
<div class="${document.body.clientWidth > 768 ? '' : 'col-12 mt-2cs'}">
|
|
142
|
+
<h6 class="heading-xxs mb-3 f-title">${item.title}</h6>
|
|
143
|
+
<ul class="list-unstyled mb-7 f-ul">
|
|
144
|
+
${item.child
|
|
145
|
+
.map((chi) => {
|
|
146
|
+
return html`
|
|
147
|
+
<li
|
|
148
|
+
class="f-li"
|
|
149
|
+
style="${chi.page ? 'cursor: pointer;' : ''}"
|
|
150
|
+
onclick="${gvc.event(() => {
|
|
151
|
+
if (chi.page) {
|
|
152
|
+
gvc.glitter.href = chi.page;
|
|
153
|
+
}
|
|
154
|
+
})}"
|
|
155
|
+
>
|
|
156
|
+
<a class="f-aclass">${chi.title}</a>
|
|
157
|
+
</li>`;
|
|
158
|
+
})
|
|
159
|
+
.join('')}
|
|
160
|
+
</ul>
|
|
161
|
+
</div>`;
|
|
162
|
+
})
|
|
163
|
+
.join('');
|
|
124
164
|
} catch (error) {
|
|
125
165
|
return '';
|
|
126
166
|
}
|
|
127
167
|
})()}
|
|
128
|
-
</
|
|
129
|
-
</div>
|
|
130
|
-
<div class="col f-content-container ${document.body.clientWidth > 768 ? '' : 'row'}">
|
|
131
|
-
${(() => {
|
|
132
|
-
try {
|
|
133
|
-
return formData.list
|
|
134
|
-
.map((item: { title: string; child: { title: string; page?: string }[] }) => {
|
|
135
|
-
return html`<div class="${document.body.clientWidth > 768 ? '' : 'col-12 mt-2cs'}">
|
|
136
|
-
<h6 class="heading-xxs mb-3 f-title">${item.title}</h6>
|
|
137
|
-
<ul class="list-unstyled mb-7 f-ul">
|
|
138
|
-
${item.child
|
|
139
|
-
.map((chi) => {
|
|
140
|
-
return html`<li
|
|
141
|
-
class="f-li"
|
|
142
|
-
style="${chi.page ? 'cursor: pointer;' : ''}"
|
|
143
|
-
onclick="${gvc.event(() => {
|
|
144
|
-
if (chi.page) {
|
|
145
|
-
changePage(chi.page, 'page', {});
|
|
146
|
-
}
|
|
147
|
-
})}"
|
|
148
|
-
>
|
|
149
|
-
<a class="f-aclass">${chi.title}</a>
|
|
150
|
-
</li>`;
|
|
151
|
-
})
|
|
152
|
-
.join('')}
|
|
153
|
-
</ul>
|
|
154
|
-
</div>`;
|
|
155
|
-
})
|
|
156
|
-
.join('');
|
|
157
|
-
} catch (error) {
|
|
158
|
-
return '';
|
|
159
|
-
}
|
|
160
|
-
})()}
|
|
168
|
+
</div>
|
|
161
169
|
</div>
|
|
162
170
|
</div>
|
|
163
171
|
</div>
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
</
|
|
172
|
+
<div class="py-6">
|
|
173
|
+
<div class="container">
|
|
174
|
+
<div class="row">
|
|
175
|
+
<div class="col text-center">
|
|
176
|
+
<p class="my-2 f-copyright">
|
|
177
|
+
${(() => {
|
|
178
|
+
const currentDate = new Date();
|
|
179
|
+
const currentYear = currentDate.getFullYear();
|
|
180
|
+
return `${currentYear} © ${formData.logo} , LTD. ALL RIGHTS RESERVED.`;
|
|
181
|
+
})()}
|
|
182
|
+
</p>
|
|
183
|
+
</div>
|
|
176
184
|
</div>
|
|
177
185
|
</div>
|
|
178
186
|
</div>
|
|
179
|
-
</
|
|
180
|
-
</footer>`;
|
|
187
|
+
</footer>`;
|
|
181
188
|
}
|
|
182
189
|
}
|
|
190
|
+
|
|
183
191
|
(window as any).glitter.setModule(import.meta.url, Footer01);
|
|
@@ -76,10 +76,6 @@ export class Footer02 {
|
|
|
76
76
|
color: ${colors.content};
|
|
77
77
|
}
|
|
78
78
|
`);
|
|
79
|
-
let changePage = (index, type, subData) => { };
|
|
80
|
-
gvc.glitter.getModule(new URL('./official_event/page/change-page.js', gvc.glitter.root_path).href, (cl) => {
|
|
81
|
-
changePage = cl.changePage;
|
|
82
|
-
});
|
|
83
79
|
return html `<footer class="f-bgr">
|
|
84
80
|
<div class="border-gray-700 pt-4 pt-md-0">
|
|
85
81
|
<div class="container">
|
|
@@ -99,7 +95,7 @@ export class Footer02 {
|
|
|
99
95
|
style="${chi.page ? 'cursor: pointer;' : ''}"
|
|
100
96
|
onclick="${gvc.event(() => {
|
|
101
97
|
if (chi.page) {
|
|
102
|
-
|
|
98
|
+
gvc.glitter.href = chi.page;
|
|
103
99
|
}
|
|
104
100
|
})}"
|
|
105
101
|
>
|
|
@@ -126,7 +122,7 @@ export class Footer02 {
|
|
|
126
122
|
return html ` <div class="f-icon-div">
|
|
127
123
|
<div
|
|
128
124
|
onclick="${gvc.event(() => {
|
|
129
|
-
|
|
125
|
+
gvc.glitter.href = item.link;
|
|
130
126
|
})}"
|
|
131
127
|
>
|
|
132
128
|
<img
|
|
@@ -80,10 +80,6 @@ export class Footer02 {
|
|
|
80
80
|
}
|
|
81
81
|
`);
|
|
82
82
|
|
|
83
|
-
let changePage = (index: string, type: 'page' | 'home', subData: any) => {};
|
|
84
|
-
gvc.glitter.getModule(new URL('./official_event/page/change-page.js', gvc.glitter.root_path).href, (cl) => {
|
|
85
|
-
changePage = cl.changePage;
|
|
86
|
-
});
|
|
87
83
|
|
|
88
84
|
return html`<footer class="f-bgr">
|
|
89
85
|
<div class="border-gray-700 pt-4 pt-md-0">
|
|
@@ -104,7 +100,7 @@ export class Footer02 {
|
|
|
104
100
|
style="${chi.page ? 'cursor: pointer;' : ''}"
|
|
105
101
|
onclick="${gvc.event(() => {
|
|
106
102
|
if (chi.page) {
|
|
107
|
-
|
|
103
|
+
gvc.glitter.href=chi.page
|
|
108
104
|
}
|
|
109
105
|
})}"
|
|
110
106
|
>
|
|
@@ -130,7 +126,7 @@ export class Footer02 {
|
|
|
130
126
|
return html` <div class="f-icon-div">
|
|
131
127
|
<div
|
|
132
128
|
onclick="${gvc.event(() => {
|
|
133
|
-
|
|
129
|
+
gvc.glitter.href=item.link
|
|
134
130
|
})}"
|
|
135
131
|
>
|
|
136
132
|
<img
|
|
@@ -75,10 +75,6 @@ export class Footer02 {
|
|
|
75
75
|
margin: 0 auto;
|
|
76
76
|
}
|
|
77
77
|
`);
|
|
78
|
-
let changePage = (index, type, subData) => { };
|
|
79
|
-
gvc.glitter.getModule(new URL('./official_event/page/change-page.js', gvc.glitter.root_path).href, (cl) => {
|
|
80
|
-
changePage = cl.changePage;
|
|
81
|
-
});
|
|
82
78
|
return html `<footer class="f-bgr">
|
|
83
79
|
<div class="border-gray-700 f-padding-top">
|
|
84
80
|
<div class="container my-5">
|
|
@@ -97,7 +93,7 @@ export class Footer02 {
|
|
|
97
93
|
return html ` <div class="f-icon-div">
|
|
98
94
|
<div
|
|
99
95
|
onclick="${gvc.event(() => {
|
|
100
|
-
|
|
96
|
+
gvc.glitter.href = item.link;
|
|
101
97
|
})}"
|
|
102
98
|
>
|
|
103
99
|
<img
|
|
@@ -145,7 +141,7 @@ export class Footer02 {
|
|
|
145
141
|
style="${chi.page ? 'cursor: pointer;' : ''}"
|
|
146
142
|
onclick="${gvc.event(() => {
|
|
147
143
|
if (chi.page) {
|
|
148
|
-
|
|
144
|
+
gvc.glitter.href = chi.page;
|
|
149
145
|
}
|
|
150
146
|
})}"
|
|
151
147
|
>
|
|
@@ -79,11 +79,6 @@ export class Footer02 {
|
|
|
79
79
|
}
|
|
80
80
|
`);
|
|
81
81
|
|
|
82
|
-
let changePage = (index: string, type: 'page' | 'home', subData: any) => {};
|
|
83
|
-
gvc.glitter.getModule(new URL('./official_event/page/change-page.js', gvc.glitter.root_path).href, (cl) => {
|
|
84
|
-
changePage = cl.changePage;
|
|
85
|
-
});
|
|
86
|
-
|
|
87
82
|
return html`<footer class="f-bgr">
|
|
88
83
|
<div class="border-gray-700 f-padding-top">
|
|
89
84
|
<div class="container my-5">
|
|
@@ -102,7 +97,7 @@ export class Footer02 {
|
|
|
102
97
|
return html` <div class="f-icon-div">
|
|
103
98
|
<div
|
|
104
99
|
onclick="${gvc.event(() => {
|
|
105
|
-
|
|
100
|
+
gvc.glitter.href=item.link
|
|
106
101
|
})}"
|
|
107
102
|
>
|
|
108
103
|
<img
|
|
@@ -149,7 +144,7 @@ export class Footer02 {
|
|
|
149
144
|
style="${chi.page ? 'cursor: pointer;' : ''}"
|
|
150
145
|
onclick="${gvc.event(() => {
|
|
151
146
|
if (chi.page) {
|
|
152
|
-
|
|
147
|
+
gvc.glitter.href=chi.page
|
|
153
148
|
}
|
|
154
149
|
})}"
|
|
155
150
|
>
|