@pisell/private-materials 6.5.12 → 6.5.14
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/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- package/build/lowcode/preview.js +164 -148
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/actionButtons/index.js +15 -9
- package/es/components/booking/components/footer/index.js +2 -2
- package/es/components/booking/components/voucher/index.js +23 -19
- package/es/components/booking/forms/footer.js +4 -13
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/cartClientCard/index.js +7 -3
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentModal.js +17 -12
- package/es/components/checkout/components/CashPaymentModule/index.js +9 -9
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/hooks/useWalletPass.js +40 -22
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/list/List.d.ts +5 -0
- package/es/components/list/List.js +957 -0
- package/es/components/list/List.less +2 -0
- package/es/components/list/ResponsiveWrapper.d.ts +16 -0
- package/es/components/list/ResponsiveWrapper.js +130 -0
- package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/es/components/list/TestResponsiveWrapper.js +816 -0
- package/es/components/list/TestResponsiveWrapper.less +968 -0
- package/es/components/list/components/EmptyState/EmptyState.d.ts +20 -0
- package/es/components/list/components/EmptyState/EmptyState.js +75 -0
- package/es/components/list/components/EmptyState/EmptyState.less +121 -0
- package/es/components/list/components/EmptyState/index.d.ts +2 -0
- package/es/components/list/components/EmptyState/index.js +1 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.js +39 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.less +29 -0
- package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/es/components/list/components/ListItemSkeleton/index.js +2 -0
- package/es/components/list/components/Pagination/Pagination.d.ts +30 -0
- package/es/components/list/components/Pagination/Pagination.js +240 -0
- package/es/components/list/components/Pagination/Pagination.less +439 -0
- package/es/components/list/components/Pagination/index.d.ts +1 -0
- package/es/components/list/components/Pagination/index.js +1 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.js +18 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.less +3 -0
- package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/es/components/list/components/ScrollLoader/index.js +1 -0
- package/es/components/list/components/Tab/Tab.d.ts +5 -0
- package/es/components/list/components/Tab/Tab.js +43 -0
- package/es/components/list/components/Tab/Tab.less +139 -0
- package/es/components/list/components/Tab/index.d.ts +2 -0
- package/es/components/list/components/Tab/index.js +1 -0
- package/es/components/list/components/Tab/types.d.ts +14 -0
- package/es/components/list/components/Tab/types.js +1 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.js +28 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.less +38 -0
- package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/es/components/list/components/TabSkeleton/index.js +2 -0
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/es/components/list/components/WaterfallList/WaterfallList.js +191 -0
- package/es/components/list/components/WaterfallList/WaterfallList.less +201 -0
- package/es/components/list/components/WaterfallList/index.d.ts +2 -0
- package/es/components/list/components/WaterfallList/index.js +1 -0
- package/es/components/list/examples/GroupedListExample.d.ts +3 -0
- package/es/components/list/examples/GroupedListExample.js +207 -0
- package/es/components/list/hooks/index.d.ts +5 -0
- package/es/components/list/hooks/index.js +3 -0
- package/es/components/list/hooks/useDevice.d.ts +24 -0
- package/es/components/list/hooks/useDevice.js +102 -0
- package/es/components/list/hooks/useListState.d.ts +43 -0
- package/es/components/list/hooks/useListState.js +176 -0
- package/es/components/list/hooks/useWaterfall.d.ts +34 -0
- package/es/components/list/hooks/useWaterfall.js +161 -0
- package/es/components/list/index.d.ts +10 -0
- package/es/components/list/index.js +7 -0
- package/es/components/list/locales.d.ts +66 -0
- package/es/components/list/locales.js +107 -0
- package/es/components/list/styles/base.less +39 -0
- package/es/components/list/styles/content.less +415 -0
- package/es/components/list/styles/floatButton.less +107 -0
- package/es/components/list/styles/footer.less +49 -0
- package/es/components/list/styles/header.less +69 -0
- package/es/components/list/styles/responsive.less +166 -0
- package/es/components/list/types.d.ts +177 -0
- package/es/components/list/types.js +1 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/list/utils/getText.js +150 -0
- package/es/components/list/utils/index.d.ts +4 -0
- package/es/components/list/utils/index.js +5 -0
- package/es/components/pay/toB/store/hooks.js +19 -5
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/schedules/utils.d.ts +1 -1
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +143 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.js +7 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +41 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +273 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +130 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +20 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +32 -10
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.js +4 -2
- package/es/components/ticketBooking/components/menuBar/index.d.ts +5 -1
- package/es/components/ticketBooking/components/menuBar/index.js +40 -17
- package/es/components/ticketBooking/components/menuBar/index.less +27 -1
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +20 -10
- package/es/components/ticketBooking/components/timeBar/index.less +1 -0
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/es/components/ticketBooking/context/IsActiveContext.js +37 -0
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/es/components/ticketBooking/context/OsKeyContext.js +37 -0
- package/es/components/ticketBooking/context/index.d.ts +2 -0
- package/es/components/ticketBooking/context/index.js +2 -0
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +5 -0
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +13 -1
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +1 -0
- package/es/components/ticketBooking/hooks/pisellos/index.js +2 -1
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.js +50 -0
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +12 -4
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +5 -2
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +7 -2
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +17 -0
- package/es/components/ticketBooking/index.d.ts +6 -0
- package/es/components/ticketBooking/index.js +86 -12
- package/es/components/ticketBooking/utils/index.d.ts +28 -1
- package/es/components/ticketBooking/utils/index.js +40 -0
- package/es/components/wallet/Detail/model.d.ts +13 -1
- package/es/components/wallet/DiscountCard/model.d.ts +14 -1
- package/es/components/wallet/PointCard/model.d.ts +13 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/es/components/wallet/Voucher/model.d.ts +13 -1
- package/es/components/wallet/model.d.ts +9 -1
- package/es/index.d.ts +2 -0
- package/es/index.js +3 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +17 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +17 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +17 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +2 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +100 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +32 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +239 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +44 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +34 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +14 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +33 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +30 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +75 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +46 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +39 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +9 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +53 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +58 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +85 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +24 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +121 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +57 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +95 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +18 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +47 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +34 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +13 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +95 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +18 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +34 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +13 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +39 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +22 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +20 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +20 -0
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +55 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.js +38 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.js +41 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.js +481 -0
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/es/plus/productSelect/ProductCard/SkuCard/type.js +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/es/plus/productSelect/ProductCard/SkuCard/utils.js +21 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +2 -0
- package/es/plus/productSelect/components/pisellPriceText/index.js +7 -5
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +20 -10
- package/es/pro/priceKeyboard/components/cashKeyboard/index.less +1 -2
- package/es/utils/index.d.ts +1 -1
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/actionButtons/index.js +22 -17
- package/lib/components/booking/components/footer/index.js +2 -2
- package/lib/components/booking/components/voucher/index.js +33 -40
- package/lib/components/booking/forms/footer.js +7 -13
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/cartClientCard/index.js +7 -3
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentModal.js +15 -12
- package/lib/components/checkout/components/CashPaymentModule/index.js +0 -1
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/hooks/useWalletPass.js +61 -46
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/list/List.d.ts +5 -0
- package/lib/components/list/List.js +771 -0
- package/lib/components/list/List.less +2 -0
- package/lib/components/list/ResponsiveWrapper.d.ts +16 -0
- package/lib/components/list/ResponsiveWrapper.js +145 -0
- package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/lib/components/list/TestResponsiveWrapper.js +493 -0
- package/lib/components/list/TestResponsiveWrapper.less +968 -0
- package/lib/components/list/components/EmptyState/EmptyState.d.ts +20 -0
- package/lib/components/list/components/EmptyState/EmptyState.js +75 -0
- package/lib/components/list/components/EmptyState/EmptyState.less +121 -0
- package/lib/components/list/components/EmptyState/index.d.ts +2 -0
- package/lib/components/list/components/EmptyState/index.js +35 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.js +75 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.less +29 -0
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/ListItemSkeleton/index.js +41 -0
- package/lib/components/list/components/Pagination/Pagination.d.ts +30 -0
- package/lib/components/list/components/Pagination/Pagination.js +205 -0
- package/lib/components/list/components/Pagination/Pagination.less +439 -0
- package/lib/components/list/components/Pagination/index.d.ts +1 -0
- package/lib/components/list/components/Pagination/index.js +35 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.js +37 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.less +3 -0
- package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/lib/components/list/components/ScrollLoader/index.js +35 -0
- package/lib/components/list/components/Tab/Tab.d.ts +5 -0
- package/lib/components/list/components/Tab/Tab.js +72 -0
- package/lib/components/list/components/Tab/Tab.less +139 -0
- package/lib/components/list/components/Tab/index.d.ts +2 -0
- package/lib/components/list/components/Tab/index.js +35 -0
- package/lib/components/list/components/Tab/types.d.ts +14 -0
- package/lib/components/list/components/Tab/types.js +17 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.js +61 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.less +38 -0
- package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/TabSkeleton/index.js +41 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.js +178 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.less +201 -0
- package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
- package/lib/components/list/components/WaterfallList/index.js +35 -0
- package/lib/components/list/examples/GroupedListExample.d.ts +3 -0
- package/lib/components/list/examples/GroupedListExample.js +210 -0
- package/lib/components/list/hooks/index.d.ts +5 -0
- package/lib/components/list/hooks/index.js +47 -0
- package/lib/components/list/hooks/useDevice.d.ts +24 -0
- package/lib/components/list/hooks/useDevice.js +96 -0
- package/lib/components/list/hooks/useListState.d.ts +43 -0
- package/lib/components/list/hooks/useListState.js +149 -0
- package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
- package/lib/components/list/hooks/useWaterfall.js +124 -0
- package/lib/components/list/index.d.ts +10 -0
- package/lib/components/list/index.js +60 -0
- package/lib/components/list/locales.d.ts +66 -0
- package/lib/components/list/locales.js +113 -0
- package/lib/components/list/styles/base.less +39 -0
- package/lib/components/list/styles/content.less +415 -0
- package/lib/components/list/styles/floatButton.less +107 -0
- package/lib/components/list/styles/footer.less +49 -0
- package/lib/components/list/styles/header.less +69 -0
- package/lib/components/list/styles/responsive.less +166 -0
- package/lib/components/list/types.d.ts +177 -0
- package/lib/components/list/types.js +17 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/list/utils/getText.js +95 -0
- package/lib/components/list/utils/index.d.ts +4 -0
- package/lib/components/list/utils/index.js +43 -0
- package/lib/components/pay/toB/store/hooks.js +16 -8
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/schedules/utils.d.ts +1 -1
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +165 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.js +45 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +41 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +247 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +100 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +20 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +36 -10
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.js +3 -2
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +5 -1
- package/lib/components/ticketBooking/components/menuBar/index.js +24 -18
- package/lib/components/ticketBooking/components/menuBar/index.less +27 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +14 -9
- package/lib/components/ticketBooking/components/timeBar/index.less +1 -0
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/IsActiveContext.js +56 -0
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/OsKeyContext.js +56 -0
- package/lib/components/ticketBooking/context/index.d.ts +2 -0
- package/lib/components/ticketBooking/context/index.js +44 -0
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +5 -0
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +5 -1
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +1 -0
- package/lib/components/ticketBooking/hooks/pisellos/index.js +3 -1
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.js +47 -0
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +17 -10
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +4 -2
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +6 -2
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +37 -0
- package/lib/components/ticketBooking/index.d.ts +6 -0
- package/lib/components/ticketBooking/index.js +69 -7
- package/lib/components/ticketBooking/utils/index.d.ts +28 -1
- package/lib/components/ticketBooking/utils/index.js +45 -2
- package/lib/components/wallet/Detail/model.d.ts +13 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
- package/lib/components/wallet/PointCard/model.d.ts +13 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/lib/components/wallet/Voucher/model.d.ts +13 -1
- package/lib/components/wallet/model.d.ts +9 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +2 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +129 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +52 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +178 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +44 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +52 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +14 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +63 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +30 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +131 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +46 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +62 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +9 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +78 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +31 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +51 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +94 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +11 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +115 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +24 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +139 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +57 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +97 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +18 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +51 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +58 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +56 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +13 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +97 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +18 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +51 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +56 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +13 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +58 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +22 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +49 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +20 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +83 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.js +68 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.js +65 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.js +501 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/type.js +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.js +37 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +2 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -5
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +61 -27
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.less +1 -2
- package/lib/utils/index.d.ts +1 -1
- package/lowcode/sku-card/meta.ts +1812 -0
- package/lowcode/sku-card/snippets.ts +372 -0
- package/lowcode/sku-list/meta.ts +410 -0
- package/package.json +1 -1
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
/* 内容区域样式 */
|
|
2
|
+
|
|
3
|
+
.list-content {
|
|
4
|
+
flex: 1;
|
|
5
|
+
min-height: 0;
|
|
6
|
+
position: relative; /* 为悬浮按钮提供定位参考 */
|
|
7
|
+
|
|
8
|
+
/* 垂直排版时的特殊处理 */
|
|
9
|
+
&.list-content-vertical {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
overflow-y: auto; /* 垂直排版时开启滚动 */
|
|
13
|
+
overflow-x: hidden;
|
|
14
|
+
|
|
15
|
+
.list-items {
|
|
16
|
+
padding: 12px; /* 列表项目的内边距 */
|
|
17
|
+
flex: 1;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* 水平排版时保持原有样式 */
|
|
22
|
+
&.list-content-horizontal {
|
|
23
|
+
padding: 16px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.list-content-scroll {
|
|
27
|
+
overflow-y: auto;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.list-items {
|
|
31
|
+
width: 100%;
|
|
32
|
+
|
|
33
|
+
.list-item {
|
|
34
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
35
|
+
|
|
36
|
+
&:hover {
|
|
37
|
+
transform: translateY(0);
|
|
38
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.default-item {
|
|
42
|
+
padding: 12px;
|
|
43
|
+
background: #fafafa;
|
|
44
|
+
border-radius: 4px;
|
|
45
|
+
border: 1px solid #f0f0f0;
|
|
46
|
+
min-height: 60px;
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
color: #666;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* 卡片式布局 */
|
|
54
|
+
.card-item {
|
|
55
|
+
display: flex;
|
|
56
|
+
background: #fff;
|
|
57
|
+
border-radius: 12px;
|
|
58
|
+
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
61
|
+
border: 1px solid rgba(0, 0, 0, 0.06);
|
|
62
|
+
|
|
63
|
+
&:hover {
|
|
64
|
+
transform: translateY(-2px) scale(1.01);
|
|
65
|
+
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
|
|
66
|
+
|
|
67
|
+
.card-image {
|
|
68
|
+
&::before {
|
|
69
|
+
opacity: 0.8;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.card-content {
|
|
74
|
+
.card-title {
|
|
75
|
+
color: #0066cc;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:active {
|
|
81
|
+
transform: translateY(0) scale(0.98);
|
|
82
|
+
transition-duration: 0.1s;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.card-image {
|
|
86
|
+
position: relative;
|
|
87
|
+
width: 140px;
|
|
88
|
+
height: 100px;
|
|
89
|
+
flex-shrink: 0;
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
color: #fff;
|
|
94
|
+
font-weight: 600;
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
|
|
97
|
+
&.gradient-pink {
|
|
98
|
+
background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.gradient-blue {
|
|
102
|
+
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.gradient-green {
|
|
106
|
+
background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.gradient-orange {
|
|
110
|
+
background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.gradient-purple {
|
|
114
|
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.gradient-teal {
|
|
118
|
+
background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.image-text {
|
|
122
|
+
font-size: 24px;
|
|
123
|
+
font-weight: 700;
|
|
124
|
+
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
125
|
+
z-index: 2;
|
|
126
|
+
|
|
127
|
+
.subtitle {
|
|
128
|
+
font-size: 14px;
|
|
129
|
+
font-weight: 500;
|
|
130
|
+
opacity: 0.9;
|
|
131
|
+
display: block;
|
|
132
|
+
margin-top: 2px;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&::before {
|
|
137
|
+
content: '';
|
|
138
|
+
position: absolute;
|
|
139
|
+
top: 0;
|
|
140
|
+
left: 0;
|
|
141
|
+
right: 0;
|
|
142
|
+
bottom: 0;
|
|
143
|
+
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="20" r="0.5" fill="white" opacity="0.1"/><circle cx="30" cy="90" r="1.5" fill="white" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
|
|
144
|
+
opacity: 0.6;
|
|
145
|
+
z-index: 1;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.card-content {
|
|
150
|
+
flex: 1;
|
|
151
|
+
padding: 16px 20px;
|
|
152
|
+
display: flex;
|
|
153
|
+
flex-direction: column;
|
|
154
|
+
justify-content: space-between;
|
|
155
|
+
min-height: 100px;
|
|
156
|
+
|
|
157
|
+
.card-header {
|
|
158
|
+
margin-bottom: 8px;
|
|
159
|
+
|
|
160
|
+
.card-title {
|
|
161
|
+
font-size: 16px;
|
|
162
|
+
font-weight: 600;
|
|
163
|
+
color: #1a1a1a;
|
|
164
|
+
margin: 0 0 4px 0;
|
|
165
|
+
line-height: 1.3;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.card-subtitle {
|
|
169
|
+
font-size: 14px;
|
|
170
|
+
color: #666;
|
|
171
|
+
margin: 0;
|
|
172
|
+
display: flex;
|
|
173
|
+
align-items: center;
|
|
174
|
+
gap: 4px;
|
|
175
|
+
|
|
176
|
+
.duration-icon {
|
|
177
|
+
width: 16px;
|
|
178
|
+
height: 16px;
|
|
179
|
+
opacity: 0.6;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.card-footer {
|
|
185
|
+
display: flex;
|
|
186
|
+
align-items: flex-end;
|
|
187
|
+
justify-content: space-between;
|
|
188
|
+
margin-top: auto;
|
|
189
|
+
|
|
190
|
+
.card-price {
|
|
191
|
+
.price-main {
|
|
192
|
+
font-size: 20px;
|
|
193
|
+
font-weight: 700;
|
|
194
|
+
color: #1a1a1a;
|
|
195
|
+
margin: 0;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.price-original {
|
|
199
|
+
font-size: 14px;
|
|
200
|
+
color: #999;
|
|
201
|
+
text-decoration: line-through;
|
|
202
|
+
margin-left: 8px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.price-unit {
|
|
206
|
+
font-size: 12px;
|
|
207
|
+
color: #666;
|
|
208
|
+
margin-top: 2px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.price-offer {
|
|
212
|
+
background: #ff4757;
|
|
213
|
+
color: #fff;
|
|
214
|
+
padding: 2px 6px;
|
|
215
|
+
border-radius: 4px;
|
|
216
|
+
font-size: 12px;
|
|
217
|
+
margin-top: 4px;
|
|
218
|
+
display: inline-block;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.card-badge {
|
|
223
|
+
background: #ffeaa7;
|
|
224
|
+
color: #d63031;
|
|
225
|
+
padding: 4px 8px;
|
|
226
|
+
border-radius: 6px;
|
|
227
|
+
font-size: 12px;
|
|
228
|
+
font-weight: 500;
|
|
229
|
+
display: flex;
|
|
230
|
+
align-items: center;
|
|
231
|
+
gap: 4px;
|
|
232
|
+
|
|
233
|
+
&.warning {
|
|
234
|
+
background: #ffb8b8;
|
|
235
|
+
color: #d63031;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.badge-icon {
|
|
239
|
+
width: 14px;
|
|
240
|
+
height: 14px;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.card-tags {
|
|
246
|
+
display: flex;
|
|
247
|
+
gap: 6px;
|
|
248
|
+
margin: 8px 0;
|
|
249
|
+
flex-wrap: wrap;
|
|
250
|
+
|
|
251
|
+
.tag {
|
|
252
|
+
background: #f1f3f4;
|
|
253
|
+
color: #5f6368;
|
|
254
|
+
padding: 2px 8px;
|
|
255
|
+
border-radius: 12px;
|
|
256
|
+
font-size: 12px;
|
|
257
|
+
font-weight: 500;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/* 栅格布局样式 */
|
|
266
|
+
&.list-content-grid {
|
|
267
|
+
.list-items {
|
|
268
|
+
display: grid;
|
|
269
|
+
|
|
270
|
+
.list-item {
|
|
271
|
+
width: 100%;
|
|
272
|
+
height: fit-content;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* 水平滚动时的加载提示项已取消 */
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* 瀑布流布局样式已移至 WaterfallList 组件 */
|
|
280
|
+
&.list-content-waterfall {
|
|
281
|
+
/* 根据布局方向设置滚动方向 */
|
|
282
|
+
&.list-content-vertical {
|
|
283
|
+
/* 垂直布局:垂直滚动 */
|
|
284
|
+
overflow-y: auto;
|
|
285
|
+
overflow-x: hidden;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
&.list-content-horizontal {
|
|
289
|
+
/* 水平布局:水平滚动 */
|
|
290
|
+
overflow-x: auto;
|
|
291
|
+
overflow-y: visible; /* 允许垂直方向显示多行 */
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.list-items {
|
|
295
|
+
/* 覆盖grid等其他布局样式 */
|
|
296
|
+
display: block;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/* 垂直排版样式 - 影响所有显示样式 */
|
|
301
|
+
&.list-content-vertical {
|
|
302
|
+
/* 垂直排版时,允许垂直滚动 */
|
|
303
|
+
overflow-y: auto;
|
|
304
|
+
overflow-x: hidden;
|
|
305
|
+
|
|
306
|
+
&.list-content-grid {
|
|
307
|
+
.list-items {
|
|
308
|
+
grid-auto-flow: row;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/* 水平排版样式 - 影响所有显示样式 */
|
|
314
|
+
&.list-content-horizontal {
|
|
315
|
+
/* 水平排版时,允许水平滚动 */
|
|
316
|
+
overflow-x: auto;
|
|
317
|
+
overflow-y: hidden;
|
|
318
|
+
|
|
319
|
+
&.list-content-grid {
|
|
320
|
+
.list-items {
|
|
321
|
+
grid-auto-flow: column;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/* 滚动加载样式已移至 ScrollLoader 组件 */
|
|
327
|
+
|
|
328
|
+
/* 保留原有的list-loading样式,供非scroll模式使用 */
|
|
329
|
+
.list-loading {
|
|
330
|
+
text-align: center;
|
|
331
|
+
padding: 24px 16px;
|
|
332
|
+
color: #666;
|
|
333
|
+
font-size: 14px;
|
|
334
|
+
background: rgba(255, 255, 255, 0.8);
|
|
335
|
+
border-radius: 8px;
|
|
336
|
+
margin: 16px 0;
|
|
337
|
+
|
|
338
|
+
&::before {
|
|
339
|
+
content: '';
|
|
340
|
+
display: inline-block;
|
|
341
|
+
width: 20px;
|
|
342
|
+
height: 20px;
|
|
343
|
+
margin-right: 8px;
|
|
344
|
+
border: 2px solid #f3f3f3;
|
|
345
|
+
border-top: 2px solid #1890ff;
|
|
346
|
+
border-radius: 50%;
|
|
347
|
+
animation: spin 1s linear infinite;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.loading-info {
|
|
351
|
+
font-size: 12px;
|
|
352
|
+
color: #999;
|
|
353
|
+
margin-top: 8px;
|
|
354
|
+
opacity: 0.8;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
&.no-more {
|
|
358
|
+
color: #999;
|
|
359
|
+
background: rgba(0, 0, 0, 0.02);
|
|
360
|
+
border: 1px dashed #ddd;
|
|
361
|
+
|
|
362
|
+
&::before {
|
|
363
|
+
display: none;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
&::after {
|
|
367
|
+
content: '✓';
|
|
368
|
+
display: inline-block;
|
|
369
|
+
width: 20px;
|
|
370
|
+
height: 20px;
|
|
371
|
+
margin-right: 8px;
|
|
372
|
+
background: #52c41a;
|
|
373
|
+
color: #fff;
|
|
374
|
+
border-radius: 50%;
|
|
375
|
+
font-size: 12px;
|
|
376
|
+
line-height: 20px;
|
|
377
|
+
text-align: center;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/* spin 动画已移至 ScrollLoader 组件 */
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/* 分组标题样式 */
|
|
386
|
+
.pisell-list-group-title {
|
|
387
|
+
margin: 24px 0 16px 0;
|
|
388
|
+
padding: 0;
|
|
389
|
+
|
|
390
|
+
&:first-child {
|
|
391
|
+
margin-top: 0; /* 第一个分组标题顶部不需要额外间距 */
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.pisell-list-group-title-text {
|
|
395
|
+
font-size: 24px;
|
|
396
|
+
font-weight: 600;
|
|
397
|
+
line-height: 32px;
|
|
398
|
+
color: #101828;
|
|
399
|
+
margin: 0;
|
|
400
|
+
padding: 0;
|
|
401
|
+
/* 与设计保持一致 */
|
|
402
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/* 分组项容器 */
|
|
407
|
+
.list-group-items {
|
|
408
|
+
/* 继承父级的grid样式,但在这里可以单独调整 */
|
|
409
|
+
width: 100%;
|
|
410
|
+
|
|
411
|
+
/* 每个分组之间的间距 */
|
|
412
|
+
&:not(:last-child) {
|
|
413
|
+
margin-bottom: 24px;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/* 悬浮滚动按钮样式 */
|
|
2
|
+
|
|
3
|
+
.list-scroll-float-button {
|
|
4
|
+
pointer-events: none; /* 让容器不拦截点击事件 */
|
|
5
|
+
|
|
6
|
+
/* 悬浮滚动按钮 */
|
|
7
|
+
.scroll-down-button {
|
|
8
|
+
pointer-events: auto; /* 恢复按钮的点击事件 */
|
|
9
|
+
user-select: none;
|
|
10
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* 悬浮暂停按钮 */
|
|
14
|
+
.scroll-pause-button {
|
|
15
|
+
pointer-events: auto; /* 恢复按钮的点击事件 */
|
|
16
|
+
user-select: none;
|
|
17
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* 添加淡入动画 */
|
|
21
|
+
animation: fadeInUp 0.3s ease-out;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* 垂直滚动模式:按钮在底部居中 */
|
|
25
|
+
.pisell-list-vertical {
|
|
26
|
+
.list-scroll-float-button {
|
|
27
|
+
/* 不设置容器的定位,让按钮通过内联样式自由定位 */
|
|
28
|
+
|
|
29
|
+
.scroll-down-button {
|
|
30
|
+
/* 悬停效果 - 垂直模式 */
|
|
31
|
+
&:hover {
|
|
32
|
+
transform: translateX(-50%) translateY(-2px) scale(1.05);
|
|
33
|
+
box-shadow: 0px 8px 16px -4px rgba(16, 24, 40, 0.1);
|
|
34
|
+
background: rgba(255, 255, 255, 0.85);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* 按下效果 - 垂直模式 */
|
|
38
|
+
&:active {
|
|
39
|
+
transform: translateX(-50%) translateY(1px) scale(0.98);
|
|
40
|
+
transition-duration: 0.1s;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.scroll-pause-button {
|
|
45
|
+
/* 悬停效果 - 垂直模式 */
|
|
46
|
+
&:hover {
|
|
47
|
+
transform: translateX(-50%) translateY(-2px) scale(1.05);
|
|
48
|
+
box-shadow: 0px 8px 16px -4px rgba(16, 24, 40, 0.1);
|
|
49
|
+
background: rgba(255, 255, 255, 0.85);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* 按下效果 - 垂直模式 */
|
|
53
|
+
&:active {
|
|
54
|
+
transform: translateX(-50%) translateY(1px) scale(0.98);
|
|
55
|
+
transition-duration: 0.1s;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* 水平滚动模式:按钮在右侧垂直居中 */
|
|
62
|
+
.pisell-list-horizontal {
|
|
63
|
+
.list-scroll-float-button {
|
|
64
|
+
/* 不设置容器的定位,让按钮通过内联样式自由定位 */
|
|
65
|
+
|
|
66
|
+
.scroll-down-button {
|
|
67
|
+
/* 悬停效果 - 水平模式 */
|
|
68
|
+
&:hover {
|
|
69
|
+
transform: translateY(-50%) translateX(-2px) scale(1.05);
|
|
70
|
+
box-shadow: 0px 8px 16px -4px rgba(16, 24, 40, 0.1);
|
|
71
|
+
background: rgba(255, 255, 255, 0.85);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* 按下效果 - 水平模式 */
|
|
75
|
+
&:active {
|
|
76
|
+
transform: translateY(-50%) translateX(1px) scale(0.98);
|
|
77
|
+
transition-duration: 0.1s;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.scroll-pause-button {
|
|
82
|
+
/* 悬停效果 - 水平模式 */
|
|
83
|
+
&:hover {
|
|
84
|
+
transform: translateY(-50%) translateX(-2px) scale(1.05);
|
|
85
|
+
box-shadow: 0px 8px 16px -4px rgba(16, 24, 40, 0.1);
|
|
86
|
+
background: rgba(255, 255, 255, 0.85);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* 按下效果 - 水平模式 */
|
|
90
|
+
&:active {
|
|
91
|
+
transform: translateY(-50%) translateX(1px) scale(0.98);
|
|
92
|
+
transition-duration: 0.1s;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@keyframes fadeInUp {
|
|
99
|
+
from {
|
|
100
|
+
opacity: 0;
|
|
101
|
+
transform: translateY(20px);
|
|
102
|
+
}
|
|
103
|
+
to {
|
|
104
|
+
opacity: 1;
|
|
105
|
+
transform: translateY(0);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* 底部工具栏样式 */
|
|
2
|
+
|
|
3
|
+
.list-footer {
|
|
4
|
+
background: rgba(255, 255, 255, 0.8);
|
|
5
|
+
backdrop-filter: blur(8px);
|
|
6
|
+
border-top: 1px solid rgba(0, 0, 0, 0.06);
|
|
7
|
+
padding: 12px 16px;
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: stretch; /* 让分页组件使用自己的布局 */
|
|
10
|
+
align-items: center;
|
|
11
|
+
border-radius: 0 0 8px 8px;
|
|
12
|
+
|
|
13
|
+
/* 为分页组件提供完整宽度 */
|
|
14
|
+
.pisell-pagination {
|
|
15
|
+
width: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ant-btn {
|
|
19
|
+
min-width: 120px;
|
|
20
|
+
border-radius: 8px;
|
|
21
|
+
height: 40px;
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
24
|
+
|
|
25
|
+
&:hover {
|
|
26
|
+
transform: translateY(-1px);
|
|
27
|
+
box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* 查看更少按钮样式 */
|
|
31
|
+
&.view-less-btn {
|
|
32
|
+
background-color: #f0f2f5;
|
|
33
|
+
border-color: #d9d9d9;
|
|
34
|
+
color: #666;
|
|
35
|
+
|
|
36
|
+
&:hover {
|
|
37
|
+
background-color: #e6f7ff;
|
|
38
|
+
border-color: #91d5ff;
|
|
39
|
+
color: #1890ff;
|
|
40
|
+
box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:active {
|
|
44
|
+
background-color: #bae7ff;
|
|
45
|
+
border-color: #40a9ff;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* 头部Tab栏样式 */
|
|
2
|
+
|
|
3
|
+
.pisell-list-header {
|
|
4
|
+
padding: 16px;
|
|
5
|
+
|
|
6
|
+
&.pisell-list-header-sticky {
|
|
7
|
+
position: sticky;
|
|
8
|
+
top: 0;
|
|
9
|
+
z-index: 10;
|
|
10
|
+
/* 毛玻璃效果 */
|
|
11
|
+
background: rgba(255, 255, 255, 0.80);
|
|
12
|
+
backdrop-filter: blur(12px);
|
|
13
|
+
border-bottom: 1px solid #D0D5DD;
|
|
14
|
+
padding-bottom: 12px;
|
|
15
|
+
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
|
|
16
|
+
/* 平滑过渡效果 */
|
|
17
|
+
transition: box-shadow 0.2s ease, backdrop-filter 0.2s ease, background 0.2s ease;
|
|
18
|
+
|
|
19
|
+
/* 当sticky生效时的增强视觉效果 */
|
|
20
|
+
&::after {
|
|
21
|
+
content: '';
|
|
22
|
+
position: absolute;
|
|
23
|
+
bottom: -1px;
|
|
24
|
+
left: 0;
|
|
25
|
+
right: 0;
|
|
26
|
+
height: 1px;
|
|
27
|
+
background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
|
|
28
|
+
opacity: 0;
|
|
29
|
+
transition: opacity 0.2s ease;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* 滚动时激活视觉效果 */
|
|
33
|
+
&.sticky-active::after {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.pisell-list-tabs {
|
|
39
|
+
&.pisell-list-tabs-anchor,
|
|
40
|
+
&.pisell-list-tabs-switch {
|
|
41
|
+
/* 自定义Tab样式已经在Tab组件中定义,这里保持干净 */
|
|
42
|
+
position: relative;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* 垂直排版时header在内部的样式 */
|
|
49
|
+
.list-content-vertical {
|
|
50
|
+
.pisell-list-header {
|
|
51
|
+
flex-shrink: 0; /* 防止被压缩 */
|
|
52
|
+
margin-bottom: 0; /* 去除默认间距 */
|
|
53
|
+
|
|
54
|
+
/* sticky 效果:相对于 list-content 滚动容器 */
|
|
55
|
+
&.pisell-list-header-sticky {
|
|
56
|
+
position: sticky;
|
|
57
|
+
top: 0;
|
|
58
|
+
z-index: 10;
|
|
59
|
+
/* 毛玻璃效果 */
|
|
60
|
+
background: rgba(255, 255, 255, 0.80);
|
|
61
|
+
backdrop-filter: blur(12px);
|
|
62
|
+
border-bottom: 1px solid #D0D5DD;
|
|
63
|
+
padding-bottom: 12px;
|
|
64
|
+
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
|
|
65
|
+
transition: box-shadow 0.2s ease, backdrop-filter 0.2s ease, background 0.2s ease;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
}
|