ts-glitter 14.2.3 → 14.2.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 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.3';
73
+ glitter.share.editerVersion = 'V_14.2.4';
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.3';
75
+ glitter.share.editerVersion = 'V_14.2.4';
76
76
  glitter.share.start = new Date();
77
77
  const vm: {
78
78
  appConfig: any;
@@ -858,6 +858,13 @@ export class ShoppingOrderManager {
858
858
  }
859
859
  })(),
860
860
  ...orderData.orderData.voucherList.map((dd) => {
861
+ if (dd.reBackType === 'add_on_items') {
862
+ return {
863
+ title: '加購優惠',
864
+ description: `<div style="color: #8D8D8D;font-size: 14px;white-space:nowrap;text-overflow:ellipsis;">${dd.title}</div>`,
865
+ total: `--`,
866
+ };
867
+ }
861
868
  return {
862
869
  title: '折扣',
863
870
  description: `<div style="color: #8D8D8D;font-size: 14px;white-space:nowrap;text-overflow:ellipsis;">${dd.title}</div>`,
@@ -875,7 +882,7 @@ export class ShoppingOrderManager {
875
882
  var _a;
876
883
  return html `
877
884
  <div class="d-flex align-items-center justify-content-end">
878
- <div class="tx_normal_14">${dd.title}
885
+ <div class="tx_normal_14 " style="text-align: end;">${dd.title}
879
886
  ${(_a = dd.description) !== null && _a !== void 0 ? _a : ''}
880
887
  </div>
881
888
  <div class="tx_normal"
@@ -1055,6 +1055,13 @@ export class ShoppingOrderManager {
1055
1055
  }
1056
1056
  })(),
1057
1057
  ...orderData.orderData.voucherList.map((dd: any) => {
1058
+ if(dd.reBackType === 'add_on_items'){
1059
+ return {
1060
+ title: '加購優惠',
1061
+ description: `<div style="color: #8D8D8D;font-size: 14px;white-space:nowrap;text-overflow:ellipsis;">${dd.title}</div>`,
1062
+ total: `--`,
1063
+ }
1064
+ }
1058
1065
  return {
1059
1066
  title: '折扣',
1060
1067
  description: `<div style="color: #8D8D8D;font-size: 14px;white-space:nowrap;text-overflow:ellipsis;">${dd.title}</div>`,
@@ -1071,7 +1078,7 @@ export class ShoppingOrderManager {
1071
1078
  .map((dd) => {
1072
1079
  return html`
1073
1080
  <div class="d-flex align-items-center justify-content-end">
1074
- <div class="tx_normal_14">${dd.title}
1081
+ <div class="tx_normal_14 " style="text-align: end;">${dd.title}
1075
1082
  ${dd.description ?? ''}
1076
1083
  </div>
1077
1084
  <div class="tx_normal"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "14.2.3",
3
+ "version": "14.2.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {