@pisell/private-materials 3.3.62 → 3.3.64
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +5 -5
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +5 -5
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Voucher/index.less +0 -2
- package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.d.ts +0 -1
- package/es/components/booking/components/voucher/index.d.ts +0 -1
- package/es/components/booking/components/voucher/index.less +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info2/utilsByBooking.js +17 -10
- package/es/components/booking/utils.js +10 -4
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/timeResourceSelector/index.less +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/es/components/schedules/calendar/index.less +158 -152
- package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/es/components/ticketBooking/index.d.ts +1 -0
- package/es/components/wallet/DiscountCard/index.less +0 -1
- package/es/components/wallet/PointCard/index.less +0 -1
- package/es/components/wallet/RechargeableCard/index.less +5 -9
- package/es/components/wallet/Voucher/index.less +0 -1
- package/es/components/wallet/index.less +0 -4
- package/es/components/walletList/index.js +55 -7
- package/es/components/walletList/index.less +17 -15
- package/es/components/walletList/locales.d.ts +18 -0
- package/es/components/walletList/locales.js +17 -0
- package/es/components/walletList/serve.d.ts +8 -0
- package/es/components/walletList/serve.js +38 -0
- package/es/components/walletList/status.d.ts +38 -0
- package/es/components/walletList/status.js +47 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Voucher/index.less +0 -2
- package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.d.ts +0 -1
- package/lib/components/booking/components/voucher/index.d.ts +0 -1
- package/lib/components/booking/components/voucher/index.less +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info2/utilsByBooking.js +7 -9
- package/lib/components/booking/utils.js +7 -3
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/timeResourceSelector/index.less +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/lib/components/schedules/calendar/index.less +158 -152
- package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/lib/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/wallet/DiscountCard/index.less +0 -1
- package/lib/components/wallet/PointCard/index.less +0 -1
- package/lib/components/wallet/RechargeableCard/index.less +5 -9
- package/lib/components/wallet/Voucher/index.less +0 -1
- package/lib/components/wallet/index.less +0 -4
- package/lib/components/walletList/index.js +42 -14
- package/lib/components/walletList/index.less +17 -15
- package/lib/components/walletList/locales.d.ts +18 -0
- package/lib/components/walletList/locales.js +41 -0
- package/lib/components/walletList/serve.d.ts +8 -0
- package/lib/components/walletList/serve.js +15 -2
- package/lib/components/walletList/status.d.ts +38 -0
- package/lib/components/walletList/status.js +66 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/package.json +3 -3
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
opacity: 1;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
>div {
|
|
34
|
+
> div {
|
|
35
35
|
height: 100%;
|
|
36
36
|
margin: 0;
|
|
37
37
|
padding: 0;
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
cursor: pointer;
|
|
216
216
|
width: 44px;
|
|
217
217
|
height: 44px;
|
|
218
|
-
background-color: #
|
|
218
|
+
background-color: #ffffff;
|
|
219
219
|
border-radius: 50%;
|
|
220
220
|
display: flex;
|
|
221
221
|
padding: 10px;
|
|
@@ -224,9 +224,10 @@
|
|
|
224
224
|
justify-content: center;
|
|
225
225
|
cursor: pointer;
|
|
226
226
|
border-radius: 22px;
|
|
227
|
-
background: rgba(255, 255, 255, 0.
|
|
227
|
+
background: rgba(255, 255, 255, 0.9);
|
|
228
228
|
backdrop-filter: blur(4px);
|
|
229
|
-
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
229
|
+
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
230
|
+
0px 1px 3px rgba(16, 24, 40, 0.1);
|
|
230
231
|
z-index: 10;
|
|
231
232
|
position: relative;
|
|
232
233
|
/* 确保相对定位 */
|
|
@@ -244,8 +245,9 @@
|
|
|
244
245
|
}
|
|
245
246
|
|
|
246
247
|
&:hover {
|
|
247
|
-
background-color: #
|
|
248
|
-
box-shadow: 0px 3px 6px rgba(16, 24, 40, 0.15),
|
|
248
|
+
background-color: #ffffff;
|
|
249
|
+
box-shadow: 0px 3px 6px rgba(16, 24, 40, 0.15),
|
|
250
|
+
0px 2px 4px rgba(16, 24, 40, 0.1);
|
|
249
251
|
}
|
|
250
252
|
|
|
251
253
|
&.disabled {
|
|
@@ -253,7 +255,8 @@
|
|
|
253
255
|
opacity: 0.7;
|
|
254
256
|
|
|
255
257
|
&:hover {
|
|
256
|
-
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
258
|
+
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
259
|
+
0px 1px 3px rgba(16, 24, 40, 0.1);
|
|
257
260
|
}
|
|
258
261
|
}
|
|
259
262
|
|
|
@@ -269,17 +272,18 @@
|
|
|
269
272
|
justify-content: center;
|
|
270
273
|
padding: 12px;
|
|
271
274
|
border-radius: 17px;
|
|
272
|
-
background: rgba(255, 255, 255, 0.
|
|
275
|
+
background: rgba(255, 255, 255, 0.9);
|
|
273
276
|
backdrop-filter: blur(4px);
|
|
274
277
|
height: 34px;
|
|
275
278
|
z-index: 100;
|
|
276
|
-
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
279
|
+
box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
|
|
280
|
+
0px 1px 3px rgba(16, 24, 40, 0.1);
|
|
277
281
|
|
|
278
282
|
.wallet-dot {
|
|
279
283
|
width: 10px;
|
|
280
284
|
height: 10px;
|
|
281
285
|
border-radius: 50%;
|
|
282
|
-
background-color: #
|
|
286
|
+
background-color: #f2f4f7;
|
|
283
287
|
margin: 0 8px;
|
|
284
288
|
transition: all 0.3s ease;
|
|
285
289
|
|
|
@@ -287,7 +291,7 @@
|
|
|
287
291
|
width: 8px;
|
|
288
292
|
height: 8px;
|
|
289
293
|
border-radius: 4px;
|
|
290
|
-
background-color: #
|
|
294
|
+
background-color: #6941c6;
|
|
291
295
|
}
|
|
292
296
|
}
|
|
293
297
|
}
|
|
@@ -297,14 +301,13 @@
|
|
|
297
301
|
display: flex;
|
|
298
302
|
align-items: center;
|
|
299
303
|
justify-content: center;
|
|
300
|
-
color: #
|
|
304
|
+
color: #ffffff;
|
|
301
305
|
min-width: 70px;
|
|
302
306
|
text-align: center;
|
|
303
307
|
|
|
304
308
|
color: var(--Gray-500, #667085);
|
|
305
309
|
|
|
306
310
|
/* Text xl/Semibold */
|
|
307
|
-
font-family: Inter;
|
|
308
311
|
font-size: 20px;
|
|
309
312
|
font-style: normal;
|
|
310
313
|
font-weight: 600;
|
|
@@ -345,7 +348,6 @@
|
|
|
345
348
|
}
|
|
346
349
|
}
|
|
347
350
|
|
|
348
|
-
|
|
349
351
|
.pisell-lowcode__error {
|
|
350
352
|
text-align: center;
|
|
351
353
|
padding: 20px;
|
|
@@ -364,4 +366,4 @@
|
|
|
364
366
|
.pisell-wallet-skeleton {
|
|
365
367
|
padding: 16px;
|
|
366
368
|
}
|
|
367
|
-
}
|
|
369
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.wallet.guide.title': string;
|
|
4
|
+
'page.wallet.guide.subtitle': string;
|
|
5
|
+
'page.wallet.guide.button': string;
|
|
6
|
+
};
|
|
7
|
+
'zh-CN': {
|
|
8
|
+
'page.wallet.guide.title': string;
|
|
9
|
+
'page.wallet.guide.subtitle': string;
|
|
10
|
+
'page.wallet.guide.button': string;
|
|
11
|
+
};
|
|
12
|
+
'zh-HK': {
|
|
13
|
+
'page.wallet.guide.title': string;
|
|
14
|
+
'page.wallet.guide.subtitle': string;
|
|
15
|
+
'page.wallet.guide.button': string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"en": {
|
|
3
|
+
'page.wallet.guide.title': 'Activate Now!',
|
|
4
|
+
'page.wallet.guide.subtitle': 'Unlock membership benefits now',
|
|
5
|
+
'page.wallet.guide.button': 'Get Your Reward'
|
|
6
|
+
},
|
|
7
|
+
'zh-CN': {
|
|
8
|
+
'page.wallet.guide.title': '待解锁权益',
|
|
9
|
+
'page.wallet.guide.subtitle': '成为专属会员,即可享受更多权益',
|
|
10
|
+
'page.wallet.guide.button': '点击获取'
|
|
11
|
+
},
|
|
12
|
+
'zh-HK': {
|
|
13
|
+
'page.wallet.guide.title': '待解鎖權益',
|
|
14
|
+
'page.wallet.guide.subtitle': '成為專屬會員,即可享受更多權益',
|
|
15
|
+
'page.wallet.guide.button': '點擊獲取'
|
|
16
|
+
}
|
|
17
|
+
};
|
|
@@ -10,3 +10,11 @@ export declare const getWalletList: () => Promise<WalletPass[]>;
|
|
|
10
10
|
* @returns
|
|
11
11
|
*/
|
|
12
12
|
export declare const getWalletBalance: () => Promise<WalletBalance | null>;
|
|
13
|
+
/**
|
|
14
|
+
* @title: 获取钱包店铺列表
|
|
15
|
+
* @description:
|
|
16
|
+
* @return {*}
|
|
17
|
+
* @Author: WangHan
|
|
18
|
+
* @Date: 2025-06-09 11:12
|
|
19
|
+
*/
|
|
20
|
+
export declare const getWalletShopList: (params: any) => Promise<any>;
|
|
@@ -66,4 +66,42 @@ export var getWalletBalance = /*#__PURE__*/function () {
|
|
|
66
66
|
return function getWalletBalance() {
|
|
67
67
|
return _ref2.apply(this, arguments);
|
|
68
68
|
};
|
|
69
|
+
}();
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @title: 获取钱包店铺列表
|
|
73
|
+
* @description:
|
|
74
|
+
* @return {*}
|
|
75
|
+
* @Author: WangHan
|
|
76
|
+
* @Date: 2025-06-09 11:12
|
|
77
|
+
*/
|
|
78
|
+
export var getWalletShopList = /*#__PURE__*/function () {
|
|
79
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(params) {
|
|
80
|
+
var _yield$request$getReq3, data;
|
|
81
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
82
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
83
|
+
case 0:
|
|
84
|
+
_context3.prev = 0;
|
|
85
|
+
_context3.next = 3;
|
|
86
|
+
return request.getRequest().get('/h5/wallet/shop/list', params || {}, {
|
|
87
|
+
abort: true,
|
|
88
|
+
useCache: true
|
|
89
|
+
});
|
|
90
|
+
case 3:
|
|
91
|
+
_yield$request$getReq3 = _context3.sent;
|
|
92
|
+
data = _yield$request$getReq3.data;
|
|
93
|
+
return _context3.abrupt("return", data || null);
|
|
94
|
+
case 8:
|
|
95
|
+
_context3.prev = 8;
|
|
96
|
+
_context3.t0 = _context3["catch"](0);
|
|
97
|
+
return _context3.abrupt("return", null);
|
|
98
|
+
case 11:
|
|
99
|
+
case "end":
|
|
100
|
+
return _context3.stop();
|
|
101
|
+
}
|
|
102
|
+
}, _callee3, null, [[0, 8]]);
|
|
103
|
+
}));
|
|
104
|
+
return function getWalletShopList(_x) {
|
|
105
|
+
return _ref3.apply(this, arguments);
|
|
106
|
+
};
|
|
69
107
|
}();
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 默认引导页配置
|
|
3
|
+
* @description:
|
|
4
|
+
* @param {any} locales
|
|
5
|
+
* @return {any}
|
|
6
|
+
* @Author: WangHan
|
|
7
|
+
* @Date: 2025-06-09 14:22
|
|
8
|
+
*/
|
|
9
|
+
export declare const defaultWalletGuideConfig: () => {
|
|
10
|
+
show: number;
|
|
11
|
+
align: string;
|
|
12
|
+
backgroundColor: string;
|
|
13
|
+
backgroundImage: string;
|
|
14
|
+
backgroundImageAlt: string;
|
|
15
|
+
buttonColor: string;
|
|
16
|
+
buttonBorderColor: string;
|
|
17
|
+
titleConfig: {
|
|
18
|
+
size: number;
|
|
19
|
+
color: string;
|
|
20
|
+
weight: number;
|
|
21
|
+
style: string;
|
|
22
|
+
text: any;
|
|
23
|
+
};
|
|
24
|
+
subtitleConfig: {
|
|
25
|
+
size: number;
|
|
26
|
+
color: string;
|
|
27
|
+
weight: number;
|
|
28
|
+
style: string;
|
|
29
|
+
text: any;
|
|
30
|
+
};
|
|
31
|
+
buttonConfig: {
|
|
32
|
+
size: number;
|
|
33
|
+
color: string;
|
|
34
|
+
weight: number;
|
|
35
|
+
style: string;
|
|
36
|
+
text: any;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { locales } from '@pisell/utils';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @title: 默认引导页配置
|
|
5
|
+
* @description:
|
|
6
|
+
* @param {any} locales
|
|
7
|
+
* @return {any}
|
|
8
|
+
* @Author: WangHan
|
|
9
|
+
* @Date: 2025-06-09 14:22
|
|
10
|
+
*/
|
|
11
|
+
export var defaultWalletGuideConfig = function defaultWalletGuideConfig() {
|
|
12
|
+
return {
|
|
13
|
+
show: 1,
|
|
14
|
+
//文字居中
|
|
15
|
+
align: 'center',
|
|
16
|
+
//背景颜色
|
|
17
|
+
backgroundColor: '',
|
|
18
|
+
backgroundImage: '',
|
|
19
|
+
backgroundImageAlt: '',
|
|
20
|
+
buttonColor: 'rgba(127,86,217,1)',
|
|
21
|
+
buttonBorderColor: 'rgba(127,86,217,1)',
|
|
22
|
+
// 标题配置
|
|
23
|
+
titleConfig: {
|
|
24
|
+
size: 18,
|
|
25
|
+
color: 'rgba(255,255,255,1)',
|
|
26
|
+
weight: 600,
|
|
27
|
+
style: 'normal',
|
|
28
|
+
text: locales.getText('page.wallet.guide.title')
|
|
29
|
+
},
|
|
30
|
+
// 副标题配置
|
|
31
|
+
subtitleConfig: {
|
|
32
|
+
size: 14,
|
|
33
|
+
color: 'rgba(208,213,221,1)',
|
|
34
|
+
weight: 400,
|
|
35
|
+
style: 'normal',
|
|
36
|
+
text: locales.getText('page.wallet.guide.subtitle')
|
|
37
|
+
},
|
|
38
|
+
// 按钮配置
|
|
39
|
+
buttonConfig: {
|
|
40
|
+
size: 14,
|
|
41
|
+
color: 'rgba(255,255,255,1)',
|
|
42
|
+
weight: 600,
|
|
43
|
+
style: 'normal',
|
|
44
|
+
text: locales.getText('page.wallet.guide.button')
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
align-items: center;
|
|
10
10
|
gap: 10px;
|
|
11
11
|
color: var(--Gray-500, #667085);
|
|
12
|
-
font-family: Inter;
|
|
13
12
|
font-size: 14px;
|
|
14
13
|
font-style: normal;
|
|
15
14
|
font-weight: 600;
|
|
@@ -103,7 +102,6 @@
|
|
|
103
102
|
> div {
|
|
104
103
|
color: var(--Gray-500, #667085);
|
|
105
104
|
text-align: center;
|
|
106
|
-
font-family: Inter;
|
|
107
105
|
font-size: 16px;
|
|
108
106
|
font-style: normal;
|
|
109
107
|
font-weight: 600;
|
|
@@ -73,12 +73,6 @@ var getResourceTimeIsUsable = (item, cacheItem, resourceItem) => {
|
|
|
73
73
|
let endDate = null;
|
|
74
74
|
let isCalcCount = true;
|
|
75
75
|
if (isFlexible) {
|
|
76
|
-
if (eventList.length) {
|
|
77
|
-
timeStartDate = eventList.reduce((max, event) => {
|
|
78
|
-
const endAt = (0, import_dayjs.default)(event.end_at);
|
|
79
|
-
return endAt.isAfter(max) ? endAt : max;
|
|
80
|
-
}, (0, import_dayjs.default)(eventList[0].end_at));
|
|
81
|
-
}
|
|
82
76
|
isDateRange = startDate.isAfter(timeStartDate) && startDate.isBefore(timeEndDate);
|
|
83
77
|
if (!isDateRange && eventList.length) {
|
|
84
78
|
isCalcCount = false;
|
|
@@ -218,10 +212,14 @@ var getServiceStartTimeAndEndTime = (state, cacheItem, timeObj) => {
|
|
|
218
212
|
if (lastServer) {
|
|
219
213
|
let lastServerStartDate = lastServer._extend.startDate;
|
|
220
214
|
let lastServerEndDate = lastServer._extend.endDate;
|
|
221
|
-
if (
|
|
222
|
-
_extend.start_time =
|
|
215
|
+
if (appointmentTimingPreference === "parallel") {
|
|
216
|
+
_extend.start_time = lastServerStartDate.format("HH:mm");
|
|
223
217
|
} else {
|
|
224
|
-
|
|
218
|
+
if ((0, import_dayjs.default)(lastServerEndDate).isAfter(lastServerStartDate, "day")) {
|
|
219
|
+
_extend.start_time = timeObj.timeSlices[timeObj.timeSlices.length - 1].value;
|
|
220
|
+
} else {
|
|
221
|
+
_extend.start_time = lastServerEndDate.format("HH:mm");
|
|
222
|
+
}
|
|
225
223
|
}
|
|
226
224
|
} else {
|
|
227
225
|
let findNextSliceProps = {
|
|
@@ -557,10 +557,14 @@ var getServerItemExtend = (state, cacheItem, timeObj) => {
|
|
|
557
557
|
_extend.resource = lastServer._extend.resource;
|
|
558
558
|
let lastServerStartDate = lastServer._extend.startDate;
|
|
559
559
|
let lastServerEndDate = lastServer._extend.endDate;
|
|
560
|
-
if (
|
|
561
|
-
_extend.start_time =
|
|
560
|
+
if (appointmentTimingPreference === "parallel") {
|
|
561
|
+
_extend.start_time = lastServerStartDate.format("HH:mm");
|
|
562
562
|
} else {
|
|
563
|
-
|
|
563
|
+
if ((0, import_dayjs.default)(lastServerEndDate).isAfter(lastServerStartDate, "day")) {
|
|
564
|
+
_extend.start_time = timeObj.timeSlices[timeObj.timeSlices.length - 1].value;
|
|
565
|
+
} else {
|
|
566
|
+
_extend.start_time = lastServerEndDate.format("HH:mm");
|
|
567
|
+
}
|
|
564
568
|
}
|
|
565
569
|
} else {
|
|
566
570
|
let findNextSliceProps = {
|