ts-glitter 14.2.1 → 14.2.3
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
CHANGED
|
@@ -70,7 +70,7 @@ export class Entry {
|
|
|
70
70
|
}
|
|
71
71
|
window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
|
|
72
72
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
73
|
-
glitter.share.editerVersion = 'V_14.2.
|
|
73
|
+
glitter.share.editerVersion = 'V_14.2.3';
|
|
74
74
|
glitter.share.start = new Date();
|
|
75
75
|
const vm = {
|
|
76
76
|
appConfig: [],
|
package/lowcode/Entry.ts
CHANGED
|
@@ -72,7 +72,7 @@ export class Entry {
|
|
|
72
72
|
}
|
|
73
73
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
74
74
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
75
|
-
glitter.share.editerVersion = 'V_14.2.
|
|
75
|
+
glitter.share.editerVersion = 'V_14.2.3';
|
|
76
76
|
glitter.share.start = new Date();
|
|
77
77
|
const vm: {
|
|
78
78
|
appConfig: any;
|
|
@@ -53,19 +53,39 @@ export class CheckoutIndex {
|
|
|
53
53
|
"type": "weight",
|
|
54
54
|
"value": 100
|
|
55
55
|
},
|
|
56
|
-
"discount_price":
|
|
56
|
+
"discount_price": 38,
|
|
57
|
+
"rebate": 0
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"spec": [
|
|
61
|
+
"米色",
|
|
62
|
+
"標準"
|
|
63
|
+
],
|
|
64
|
+
"id": 735,
|
|
65
|
+
"count": 10,
|
|
66
|
+
"preview_image": "https://d3jnmi1tfjgtti.cloudfront.net/file/122538856/DALL·E2024-11-0411.59.41-AstylishViennaupholstereddoublebedwithamodern,cozydesign.Thebedfeaturesahigh-qualityfabricheadboardandsoftpaddingforaddedcomf.webp",
|
|
67
|
+
"title": "維也納 布藝雙人床 ( 加購品 )",
|
|
68
|
+
"sale_price": 3200,
|
|
69
|
+
"collection": [],
|
|
70
|
+
"sku": "",
|
|
71
|
+
"shipment_obj": {
|
|
72
|
+
"type": "weight",
|
|
73
|
+
"value": 10
|
|
74
|
+
},
|
|
75
|
+
"is_add_on_items": true,
|
|
76
|
+
"discount_price": 5,
|
|
57
77
|
"rebate": 0
|
|
58
78
|
}
|
|
59
79
|
],
|
|
60
|
-
"total":
|
|
80
|
+
"total": 57412,
|
|
61
81
|
"email": "sam38124@gmail.com",
|
|
62
82
|
"user_info": {
|
|
63
|
-
"shipment": "
|
|
83
|
+
"shipment": "sescsbsfs4s2s4sf"
|
|
64
84
|
},
|
|
65
85
|
"shipment_fee": 500,
|
|
66
86
|
"rebate": 0,
|
|
67
87
|
"use_rebate": 0,
|
|
68
|
-
"orderID": "
|
|
88
|
+
"orderID": "1732706322131",
|
|
69
89
|
"shipment_support": [
|
|
70
90
|
"OKMARTC2C",
|
|
71
91
|
"shop",
|
|
@@ -230,12 +250,32 @@ export class CheckoutIndex {
|
|
|
230
250
|
"type": "weight",
|
|
231
251
|
"value": 100
|
|
232
252
|
},
|
|
233
|
-
"discount_price":
|
|
253
|
+
"discount_price": 38,
|
|
254
|
+
"rebate": 0
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"spec": [
|
|
258
|
+
"米色",
|
|
259
|
+
"標準"
|
|
260
|
+
],
|
|
261
|
+
"id": 735,
|
|
262
|
+
"count": 10,
|
|
263
|
+
"preview_image": "https://d3jnmi1tfjgtti.cloudfront.net/file/122538856/DALL·E2024-11-0411.59.41-AstylishViennaupholstereddoublebedwithamodern,cozydesign.Thebedfeaturesahigh-qualityfabricheadboardandsoftpaddingforaddedcomf.webp",
|
|
264
|
+
"title": "維也納 布藝雙人床 ( 加購品 )",
|
|
265
|
+
"sale_price": 3200,
|
|
266
|
+
"collection": [],
|
|
267
|
+
"sku": "",
|
|
268
|
+
"shipment_obj": {
|
|
269
|
+
"type": "weight",
|
|
270
|
+
"value": 10
|
|
271
|
+
},
|
|
272
|
+
"is_add_on_items": true,
|
|
273
|
+
"discount_price": 5,
|
|
234
274
|
"rebate": 0
|
|
235
275
|
}
|
|
236
276
|
],
|
|
237
277
|
"times": 1,
|
|
238
|
-
"bind_subtotal":
|
|
278
|
+
"bind_subtotal": 57000,
|
|
239
279
|
"discount_total": 88,
|
|
240
280
|
"rebate_total": 0
|
|
241
281
|
},
|
|
@@ -293,12 +333,32 @@ export class CheckoutIndex {
|
|
|
293
333
|
"type": "weight",
|
|
294
334
|
"value": 100
|
|
295
335
|
},
|
|
296
|
-
"discount_price":
|
|
336
|
+
"discount_price": 38,
|
|
337
|
+
"rebate": 0
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"spec": [
|
|
341
|
+
"米色",
|
|
342
|
+
"標準"
|
|
343
|
+
],
|
|
344
|
+
"id": 735,
|
|
345
|
+
"count": 10,
|
|
346
|
+
"preview_image": "https://d3jnmi1tfjgtti.cloudfront.net/file/122538856/DALL·E2024-11-0411.59.41-AstylishViennaupholstereddoublebedwithamodern,cozydesign.Thebedfeaturesahigh-qualityfabricheadboardandsoftpaddingforaddedcomf.webp",
|
|
347
|
+
"title": "維也納 布藝雙人床 ( 加購品 )",
|
|
348
|
+
"sale_price": 3200,
|
|
349
|
+
"collection": [],
|
|
350
|
+
"sku": "",
|
|
351
|
+
"shipment_obj": {
|
|
352
|
+
"type": "weight",
|
|
353
|
+
"value": 10
|
|
354
|
+
},
|
|
355
|
+
"is_add_on_items": true,
|
|
356
|
+
"discount_price": 5,
|
|
297
357
|
"rebate": 0
|
|
298
358
|
}
|
|
299
359
|
],
|
|
300
360
|
"times": 1,
|
|
301
|
-
"bind_subtotal":
|
|
361
|
+
"bind_subtotal": 57000,
|
|
302
362
|
"discount_total": 0,
|
|
303
363
|
"rebate_total": 0
|
|
304
364
|
}
|
|
@@ -887,14 +947,15 @@ export class CheckoutIndex {
|
|
|
887
947
|
style="gap:20px;">
|
|
888
948
|
<div class="${gClass('first-td')} justify-content-start d-sm-none">
|
|
889
949
|
<div style="width: 88px;height: 88px;border-radius: 20px;background: 50%/cover url('${item.preview_image}')"></div>
|
|
890
|
-
<span class="ms-2 d-none">${item.
|
|
950
|
+
<span class="ms-2 d-none">${item.is_add_on_items ? addItemBadge() : ''}${item.title}</span>
|
|
891
951
|
</div>
|
|
892
952
|
<div class="d-flex flex-sm-row flex-column w-100 position-relative"
|
|
893
|
-
style="gap:
|
|
894
|
-
<div class="${gClass('first-td')} justify-content-start d-none d-sm-flex">
|
|
953
|
+
style="gap: 8px; position: relative;">
|
|
954
|
+
<div class="${gClass('first-td')} justify-content-start d-none d-sm-flex" style="">
|
|
895
955
|
<div style="width: 88px;height: 88px;border-radius: 20px;background: 50%/cover url('${item.preview_image}')"></div>
|
|
896
|
-
<span class="ms-2 ">${item.
|
|
956
|
+
<span class="ms-2 d-flex align-items-start flex-column " style="gap:5px;">${item.is_add_on_items ? addItemBadge() : ''}${item.title}</span>
|
|
897
957
|
</div>
|
|
958
|
+
<span class="d-flex align-items-start flex-column d-lg-none fw-bold" style="gap:5px;font-size:17px;">${item.is_add_on_items ? addItemBadge() : ''}${item.title}</span>
|
|
898
959
|
<div class="${gClass('td')}">
|
|
899
960
|
${item.spec ? item.spec.join(' / ') : ''}
|
|
900
961
|
</div>
|
|
@@ -1397,7 +1458,6 @@ export class CheckoutIndex {
|
|
|
1397
1458
|
if (!add_products.response.data.length) {
|
|
1398
1459
|
return ``;
|
|
1399
1460
|
}
|
|
1400
|
-
add_products.response.data = add_products.response.data.concat(add_products.response.data).concat(add_products.response.data).concat(add_products.response.data);
|
|
1401
1461
|
return html `
|
|
1402
1462
|
<div class="${gClass('banner-bgr')}">
|
|
1403
1463
|
<span class="${gClass('banner-text')}">可加購商品</span>
|
|
@@ -58,19 +58,39 @@ export class CheckoutIndex {
|
|
|
58
58
|
"type": "weight",
|
|
59
59
|
"value": 100
|
|
60
60
|
},
|
|
61
|
-
"discount_price":
|
|
61
|
+
"discount_price": 38,
|
|
62
|
+
"rebate": 0
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"spec": [
|
|
66
|
+
"米色",
|
|
67
|
+
"標準"
|
|
68
|
+
],
|
|
69
|
+
"id": 735,
|
|
70
|
+
"count": 10,
|
|
71
|
+
"preview_image": "https://d3jnmi1tfjgtti.cloudfront.net/file/122538856/DALL·E2024-11-0411.59.41-AstylishViennaupholstereddoublebedwithamodern,cozydesign.Thebedfeaturesahigh-qualityfabricheadboardandsoftpaddingforaddedcomf.webp",
|
|
72
|
+
"title": "維也納 布藝雙人床 ( 加購品 )",
|
|
73
|
+
"sale_price": 3200,
|
|
74
|
+
"collection": [],
|
|
75
|
+
"sku": "",
|
|
76
|
+
"shipment_obj": {
|
|
77
|
+
"type": "weight",
|
|
78
|
+
"value": 10
|
|
79
|
+
},
|
|
80
|
+
"is_add_on_items": true,
|
|
81
|
+
"discount_price": 5,
|
|
62
82
|
"rebate": 0
|
|
63
83
|
}
|
|
64
84
|
],
|
|
65
|
-
"total":
|
|
85
|
+
"total": 57412,
|
|
66
86
|
"email": "sam38124@gmail.com",
|
|
67
87
|
"user_info": {
|
|
68
|
-
"shipment": "
|
|
88
|
+
"shipment": "sescsbsfs4s2s4sf"
|
|
69
89
|
},
|
|
70
90
|
"shipment_fee": 500,
|
|
71
91
|
"rebate": 0,
|
|
72
92
|
"use_rebate": 0,
|
|
73
|
-
"orderID": "
|
|
93
|
+
"orderID": "1732706322131",
|
|
74
94
|
"shipment_support": [
|
|
75
95
|
"OKMARTC2C",
|
|
76
96
|
"shop",
|
|
@@ -235,12 +255,32 @@ export class CheckoutIndex {
|
|
|
235
255
|
"type": "weight",
|
|
236
256
|
"value": 100
|
|
237
257
|
},
|
|
238
|
-
"discount_price":
|
|
258
|
+
"discount_price": 38,
|
|
259
|
+
"rebate": 0
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"spec": [
|
|
263
|
+
"米色",
|
|
264
|
+
"標準"
|
|
265
|
+
],
|
|
266
|
+
"id": 735,
|
|
267
|
+
"count": 10,
|
|
268
|
+
"preview_image": "https://d3jnmi1tfjgtti.cloudfront.net/file/122538856/DALL·E2024-11-0411.59.41-AstylishViennaupholstereddoublebedwithamodern,cozydesign.Thebedfeaturesahigh-qualityfabricheadboardandsoftpaddingforaddedcomf.webp",
|
|
269
|
+
"title": "維也納 布藝雙人床 ( 加購品 )",
|
|
270
|
+
"sale_price": 3200,
|
|
271
|
+
"collection": [],
|
|
272
|
+
"sku": "",
|
|
273
|
+
"shipment_obj": {
|
|
274
|
+
"type": "weight",
|
|
275
|
+
"value": 10
|
|
276
|
+
},
|
|
277
|
+
"is_add_on_items": true,
|
|
278
|
+
"discount_price": 5,
|
|
239
279
|
"rebate": 0
|
|
240
280
|
}
|
|
241
281
|
],
|
|
242
282
|
"times": 1,
|
|
243
|
-
"bind_subtotal":
|
|
283
|
+
"bind_subtotal": 57000,
|
|
244
284
|
"discount_total": 88,
|
|
245
285
|
"rebate_total": 0
|
|
246
286
|
},
|
|
@@ -298,12 +338,32 @@ export class CheckoutIndex {
|
|
|
298
338
|
"type": "weight",
|
|
299
339
|
"value": 100
|
|
300
340
|
},
|
|
301
|
-
"discount_price":
|
|
341
|
+
"discount_price": 38,
|
|
342
|
+
"rebate": 0
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"spec": [
|
|
346
|
+
"米色",
|
|
347
|
+
"標準"
|
|
348
|
+
],
|
|
349
|
+
"id": 735,
|
|
350
|
+
"count": 10,
|
|
351
|
+
"preview_image": "https://d3jnmi1tfjgtti.cloudfront.net/file/122538856/DALL·E2024-11-0411.59.41-AstylishViennaupholstereddoublebedwithamodern,cozydesign.Thebedfeaturesahigh-qualityfabricheadboardandsoftpaddingforaddedcomf.webp",
|
|
352
|
+
"title": "維也納 布藝雙人床 ( 加購品 )",
|
|
353
|
+
"sale_price": 3200,
|
|
354
|
+
"collection": [],
|
|
355
|
+
"sku": "",
|
|
356
|
+
"shipment_obj": {
|
|
357
|
+
"type": "weight",
|
|
358
|
+
"value": 10
|
|
359
|
+
},
|
|
360
|
+
"is_add_on_items": true,
|
|
361
|
+
"discount_price": 5,
|
|
302
362
|
"rebate": 0
|
|
303
363
|
}
|
|
304
364
|
],
|
|
305
365
|
"times": 1,
|
|
306
|
-
"bind_subtotal":
|
|
366
|
+
"bind_subtotal": 57000,
|
|
307
367
|
"discount_total": 0,
|
|
308
368
|
"rebate_total": 0
|
|
309
369
|
}
|
|
@@ -946,14 +1006,15 @@ export class CheckoutIndex {
|
|
|
946
1006
|
style="gap:20px;">
|
|
947
1007
|
<div class="${gClass('first-td')} justify-content-start d-sm-none">
|
|
948
1008
|
<div style="width: 88px;height: 88px;border-radius: 20px;background: 50%/cover url('${item.preview_image}')"></div>
|
|
949
|
-
<span class="ms-2 d-none">${item.
|
|
1009
|
+
<span class="ms-2 d-none">${item.is_add_on_items ? addItemBadge() : ''}${item.title}</span>
|
|
950
1010
|
</div>
|
|
951
1011
|
<div class="d-flex flex-sm-row flex-column w-100 position-relative"
|
|
952
|
-
style="gap:
|
|
953
|
-
<div class="${gClass('first-td')} justify-content-start d-none d-sm-flex">
|
|
1012
|
+
style="gap: 8px; position: relative;">
|
|
1013
|
+
<div class="${gClass('first-td')} justify-content-start d-none d-sm-flex" style="">
|
|
954
1014
|
<div style="width: 88px;height: 88px;border-radius: 20px;background: 50%/cover url('${item.preview_image}')"></div>
|
|
955
|
-
<span class="ms-2 ">${item.
|
|
1015
|
+
<span class="ms-2 d-flex align-items-start flex-column " style="gap:5px;">${item.is_add_on_items ? addItemBadge() : ''}${item.title}</span>
|
|
956
1016
|
</div>
|
|
1017
|
+
<span class="d-flex align-items-start flex-column d-lg-none fw-bold" style="gap:5px;font-size:17px;">${item.is_add_on_items ? addItemBadge() : ''}${item.title}</span>
|
|
957
1018
|
<div class="${gClass('td')}">
|
|
958
1019
|
${item.spec ? item.spec.join(' / ') : ''}
|
|
959
1020
|
</div>
|
|
@@ -1495,7 +1556,6 @@ export class CheckoutIndex {
|
|
|
1495
1556
|
if (!add_products.response.data.length) {
|
|
1496
1557
|
return ``
|
|
1497
1558
|
}
|
|
1498
|
-
add_products.response.data = add_products.response.data.concat(add_products.response.data).concat(add_products.response.data).concat(add_products.response.data)
|
|
1499
1559
|
return html`
|
|
1500
1560
|
<div class="${gClass('banner-bgr')}">
|
|
1501
1561
|
<span class="${gClass('banner-text')}">可加購商品</span>
|