@pisell/private-materials 6.5.13 → 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 +7 -7
- 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/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/info/service2/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/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +5 -5
- 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/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/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/info/service2/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/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +5 -5
- 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/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/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,968 @@
|
|
|
1
|
+
.test-responsive-wrapper {
|
|
2
|
+
padding: 20px;
|
|
3
|
+
max-width: 1400px;
|
|
4
|
+
margin: 0 auto;
|
|
5
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
6
|
+
|
|
7
|
+
.test-header {
|
|
8
|
+
text-align: center;
|
|
9
|
+
margin-bottom: 30px;
|
|
10
|
+
padding-bottom: 20px;
|
|
11
|
+
border-bottom: 2px solid #f0f0f0;
|
|
12
|
+
|
|
13
|
+
h1 {
|
|
14
|
+
color: #1890ff;
|
|
15
|
+
margin-bottom: 10px;
|
|
16
|
+
font-size: 28px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
p {
|
|
20
|
+
color: #666;
|
|
21
|
+
font-size: 16px;
|
|
22
|
+
margin-bottom: 20px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.status-info {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
align-items: center;
|
|
29
|
+
gap: 10px;
|
|
30
|
+
margin-top: 20px;
|
|
31
|
+
|
|
32
|
+
.status-item, .data-summary {
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
gap: 8px;
|
|
36
|
+
padding: 8px 16px;
|
|
37
|
+
border-radius: 6px;
|
|
38
|
+
font-size: 14px;
|
|
39
|
+
|
|
40
|
+
.status-label, .summary-label {
|
|
41
|
+
font-weight: 500;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.status-item {
|
|
46
|
+
&.loading {
|
|
47
|
+
background: #fff7e6;
|
|
48
|
+
border: 1px solid #ffd591;
|
|
49
|
+
color: #fa8c16;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.loaded {
|
|
53
|
+
background: #f6ffed;
|
|
54
|
+
border: 1px solid #b7eb8f;
|
|
55
|
+
color: #52c41a;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.data-summary {
|
|
60
|
+
background: #f0f5ff;
|
|
61
|
+
border: 1px solid #adc6ff;
|
|
62
|
+
color: #2f54eb;
|
|
63
|
+
font-size: 13px;
|
|
64
|
+
text-align: center;
|
|
65
|
+
max-width: 100%;
|
|
66
|
+
|
|
67
|
+
.summary-value {
|
|
68
|
+
font-family: monospace;
|
|
69
|
+
font-size: 12px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.error-message {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
gap: 12px;
|
|
77
|
+
padding: 10px 16px;
|
|
78
|
+
background: #fff2f0;
|
|
79
|
+
border: 1px solid #ffccc7;
|
|
80
|
+
border-radius: 6px;
|
|
81
|
+
color: #ff4d4f;
|
|
82
|
+
font-size: 14px;
|
|
83
|
+
|
|
84
|
+
.retry-button {
|
|
85
|
+
padding: 4px 8px;
|
|
86
|
+
border: 1px solid #ff4d4f;
|
|
87
|
+
background: white;
|
|
88
|
+
color: #ff4d4f;
|
|
89
|
+
border-radius: 4px;
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
transition: all 0.3s ease;
|
|
92
|
+
|
|
93
|
+
&:hover {
|
|
94
|
+
background: #ff4d4f;
|
|
95
|
+
color: white;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.test-controls {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
gap: 20px;
|
|
106
|
+
margin-bottom: 30px;
|
|
107
|
+
padding: 20px;
|
|
108
|
+
background: #f8f9fa;
|
|
109
|
+
border-radius: 8px;
|
|
110
|
+
|
|
111
|
+
h3 {
|
|
112
|
+
margin: 0 0 10px 0;
|
|
113
|
+
color: #333;
|
|
114
|
+
font-size: 16px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.preset-selector, .device-simulator, .data-controls, .pagination-controls, .height-controls, .scroll-direction-controls {
|
|
118
|
+
.preset-buttons, .device-buttons, .data-buttons, .pagination-buttons, .height-buttons, .scroll-direction-buttons {
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-wrap: wrap;
|
|
121
|
+
gap: 8px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.preset-button, .device-button, .refresh-button, .toggle-button, .pagination-button, .height-button, .scroll-direction-button {
|
|
125
|
+
padding: 8px 16px;
|
|
126
|
+
border: 1px solid #d9d9d9;
|
|
127
|
+
border-radius: 6px;
|
|
128
|
+
background: white;
|
|
129
|
+
cursor: pointer;
|
|
130
|
+
transition: all 0.3s ease;
|
|
131
|
+
font-size: 14px;
|
|
132
|
+
position: relative;
|
|
133
|
+
|
|
134
|
+
&:hover {
|
|
135
|
+
border-color: #1890ff;
|
|
136
|
+
color: #1890ff;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&.active {
|
|
140
|
+
background: #1890ff;
|
|
141
|
+
color: white;
|
|
142
|
+
border-color: #1890ff;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&:disabled {
|
|
146
|
+
opacity: 0.6;
|
|
147
|
+
cursor: not-allowed;
|
|
148
|
+
|
|
149
|
+
&:hover {
|
|
150
|
+
border-color: #d9d9d9;
|
|
151
|
+
color: inherit;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.refresh-button {
|
|
157
|
+
&:hover {
|
|
158
|
+
background: #f0f0f0;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.toggle-button {
|
|
163
|
+
&.active {
|
|
164
|
+
background: #52c41a;
|
|
165
|
+
border-color: #52c41a;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&.active:hover {
|
|
169
|
+
background: #73d13d;
|
|
170
|
+
border-color: #73d13d;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.pagination-button {
|
|
175
|
+
display: flex;
|
|
176
|
+
align-items: center;
|
|
177
|
+
gap: 6px;
|
|
178
|
+
min-width: 90px;
|
|
179
|
+
justify-content: center;
|
|
180
|
+
|
|
181
|
+
&.active {
|
|
182
|
+
background: #722ed1;
|
|
183
|
+
border-color: #722ed1;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&.active:hover {
|
|
187
|
+
background: #9254de;
|
|
188
|
+
border-color: #9254de;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.warning-badge {
|
|
192
|
+
font-size: 12px;
|
|
193
|
+
animation: pulse 2s infinite;
|
|
194
|
+
position: relative;
|
|
195
|
+
|
|
196
|
+
&::after {
|
|
197
|
+
content: '数据量过大,可能影响性能';
|
|
198
|
+
position: absolute;
|
|
199
|
+
bottom: 100%;
|
|
200
|
+
left: 50%;
|
|
201
|
+
transform: translateX(-50%);
|
|
202
|
+
background: rgba(0, 0, 0, 0.8);
|
|
203
|
+
color: white;
|
|
204
|
+
padding: 4px 8px;
|
|
205
|
+
border-radius: 4px;
|
|
206
|
+
font-size: 10px;
|
|
207
|
+
white-space: nowrap;
|
|
208
|
+
opacity: 0;
|
|
209
|
+
pointer-events: none;
|
|
210
|
+
transition: opacity 0.3s ease;
|
|
211
|
+
margin-bottom: 5px;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&:hover::after {
|
|
215
|
+
opacity: 1;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.pagination-description, .height-description {
|
|
221
|
+
margin-top: 8px;
|
|
222
|
+
padding: 8px 12px;
|
|
223
|
+
background: #f9f9f9;
|
|
224
|
+
border-radius: 4px;
|
|
225
|
+
border-left: 3px solid #722ed1;
|
|
226
|
+
|
|
227
|
+
small {
|
|
228
|
+
color: #666;
|
|
229
|
+
font-size: 12px;
|
|
230
|
+
line-height: 1.4;
|
|
231
|
+
|
|
232
|
+
strong {
|
|
233
|
+
color: #333;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.performance-warning {
|
|
237
|
+
color: #ff4d4f;
|
|
238
|
+
font-weight: 600;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.height-button {
|
|
244
|
+
display: flex;
|
|
245
|
+
align-items: center;
|
|
246
|
+
gap: 6px;
|
|
247
|
+
min-width: 80px;
|
|
248
|
+
justify-content: center;
|
|
249
|
+
|
|
250
|
+
&.active {
|
|
251
|
+
background: #13c2c2;
|
|
252
|
+
border-color: #13c2c2;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
&.active:hover {
|
|
256
|
+
background: #36cfc9;
|
|
257
|
+
border-color: #36cfc9;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.height-description {
|
|
262
|
+
border-left-color: #13c2c2;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// 滚动方向按钮样式
|
|
266
|
+
.scroll-direction-button {
|
|
267
|
+
display: flex;
|
|
268
|
+
align-items: center;
|
|
269
|
+
gap: 8px;
|
|
270
|
+
min-width: 120px;
|
|
271
|
+
justify-content: flex-start;
|
|
272
|
+
padding: 10px 16px;
|
|
273
|
+
|
|
274
|
+
&.active {
|
|
275
|
+
background: #fa8c16;
|
|
276
|
+
border-color: #fa8c16;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
&.active:hover {
|
|
280
|
+
background: #ffa940;
|
|
281
|
+
border-color: #ffa940;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.direction-icon {
|
|
285
|
+
font-size: 16px;
|
|
286
|
+
min-width: 20px;
|
|
287
|
+
text-align: center;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.recommend-badge {
|
|
291
|
+
margin-left: auto;
|
|
292
|
+
font-size: 12px;
|
|
293
|
+
color: #52c41a;
|
|
294
|
+
font-weight: 600;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.scroll-direction-description {
|
|
299
|
+
margin-top: 8px;
|
|
300
|
+
padding: 10px 12px;
|
|
301
|
+
background: #fff7e6;
|
|
302
|
+
border-radius: 4px;
|
|
303
|
+
border-left: 3px solid #fa8c16;
|
|
304
|
+
|
|
305
|
+
small {
|
|
306
|
+
color: #666;
|
|
307
|
+
font-size: 12px;
|
|
308
|
+
line-height: 1.5;
|
|
309
|
+
|
|
310
|
+
strong {
|
|
311
|
+
color: #333;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.direction-tips {
|
|
315
|
+
color: #fa8c16;
|
|
316
|
+
font-style: italic;
|
|
317
|
+
margin-top: 4px;
|
|
318
|
+
display: block;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
// 动态配置编辑器
|
|
326
|
+
.dynamic-config-panel {
|
|
327
|
+
margin-bottom: 30px;
|
|
328
|
+
padding: 20px;
|
|
329
|
+
background: #fafafa;
|
|
330
|
+
border: 1px solid #e0e0e0;
|
|
331
|
+
border-radius: 8px;
|
|
332
|
+
|
|
333
|
+
h3 {
|
|
334
|
+
margin: 0 0 20px 0;
|
|
335
|
+
color: #1890ff;
|
|
336
|
+
font-size: 18px;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.config-grid {
|
|
340
|
+
display: grid;
|
|
341
|
+
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
342
|
+
gap: 20px;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.config-section {
|
|
346
|
+
background: white;
|
|
347
|
+
padding: 16px;
|
|
348
|
+
border-radius: 6px;
|
|
349
|
+
border: 1px solid #e8e8e8;
|
|
350
|
+
|
|
351
|
+
h4 {
|
|
352
|
+
margin: 0 0 12px 0;
|
|
353
|
+
color: #333;
|
|
354
|
+
font-size: 14px;
|
|
355
|
+
font-weight: 600;
|
|
356
|
+
border-bottom: 1px solid #f0f0f0;
|
|
357
|
+
padding-bottom: 8px;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.config-row {
|
|
361
|
+
display: flex;
|
|
362
|
+
align-items: center;
|
|
363
|
+
justify-content: space-between;
|
|
364
|
+
margin-bottom: 12px;
|
|
365
|
+
font-size: 13px;
|
|
366
|
+
|
|
367
|
+
&:last-child {
|
|
368
|
+
margin-bottom: 0;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
label {
|
|
372
|
+
color: #666;
|
|
373
|
+
flex: 0 0 auto;
|
|
374
|
+
margin-right: 12px;
|
|
375
|
+
display: flex;
|
|
376
|
+
align-items: center;
|
|
377
|
+
gap: 6px;
|
|
378
|
+
|
|
379
|
+
input[type="checkbox"] {
|
|
380
|
+
margin: 0;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
input, select {
|
|
385
|
+
flex: 1;
|
|
386
|
+
max-width: 80px;
|
|
387
|
+
padding: 4px 8px;
|
|
388
|
+
border: 1px solid #d9d9d9;
|
|
389
|
+
border-radius: 4px;
|
|
390
|
+
font-size: 12px;
|
|
391
|
+
|
|
392
|
+
&:focus {
|
|
393
|
+
outline: none;
|
|
394
|
+
border-color: #1890ff;
|
|
395
|
+
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
select {
|
|
400
|
+
max-width: 120px;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.config-info {
|
|
407
|
+
margin-bottom: 30px;
|
|
408
|
+
padding: 20px;
|
|
409
|
+
background: #fff;
|
|
410
|
+
border: 1px solid #e0e0e0;
|
|
411
|
+
border-radius: 8px;
|
|
412
|
+
|
|
413
|
+
h3 {
|
|
414
|
+
color: #1890ff;
|
|
415
|
+
margin: 0 0 10px 0;
|
|
416
|
+
font-size: 18px;
|
|
417
|
+
display: flex;
|
|
418
|
+
align-items: center;
|
|
419
|
+
gap: 10px;
|
|
420
|
+
|
|
421
|
+
.config-mode-indicator {
|
|
422
|
+
font-size: 12px;
|
|
423
|
+
color: #666;
|
|
424
|
+
background: #f0f0f0;
|
|
425
|
+
padding: 2px 8px;
|
|
426
|
+
border-radius: 12px;
|
|
427
|
+
font-weight: normal;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
p {
|
|
432
|
+
color: #666;
|
|
433
|
+
margin: 0 0 15px 0;
|
|
434
|
+
line-height: 1.6;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
details {
|
|
438
|
+
summary {
|
|
439
|
+
cursor: pointer;
|
|
440
|
+
color: #1890ff;
|
|
441
|
+
font-size: 14px;
|
|
442
|
+
padding: 5px 0;
|
|
443
|
+
user-select: none;
|
|
444
|
+
|
|
445
|
+
&:hover {
|
|
446
|
+
text-decoration: underline;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.config-details {
|
|
451
|
+
background: #f5f5f5;
|
|
452
|
+
padding: 15px;
|
|
453
|
+
border-radius: 4px;
|
|
454
|
+
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
455
|
+
font-size: 12px;
|
|
456
|
+
line-height: 1.4;
|
|
457
|
+
color: #333;
|
|
458
|
+
margin-top: 10px;
|
|
459
|
+
overflow-x: auto;
|
|
460
|
+
max-height: 400px;
|
|
461
|
+
overflow-y: auto;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.test-container {
|
|
467
|
+
margin-bottom: 30px;
|
|
468
|
+
min-height: 400px;
|
|
469
|
+
position: relative;
|
|
470
|
+
|
|
471
|
+
// 设备模拟样式
|
|
472
|
+
&.simulate-mobile {
|
|
473
|
+
max-width: 375px;
|
|
474
|
+
margin-left: auto;
|
|
475
|
+
margin-right: auto;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
&.simulate-pad {
|
|
479
|
+
max-width: 768px;
|
|
480
|
+
margin-left: auto;
|
|
481
|
+
margin-right: auto;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
&.simulate-pc {
|
|
485
|
+
max-width: 100%;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.test-responsive-wrapper-instance {
|
|
489
|
+
min-height: 300px;
|
|
490
|
+
|
|
491
|
+
// 滚动条样式 - 垂直滚动
|
|
492
|
+
&.scroll-vertical {
|
|
493
|
+
&::-webkit-scrollbar {
|
|
494
|
+
width: 8px;
|
|
495
|
+
height: 8px;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
&::-webkit-scrollbar-track {
|
|
499
|
+
background: #f1f1f1;
|
|
500
|
+
border-radius: 4px;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
&::-webkit-scrollbar-thumb {
|
|
504
|
+
background: #c1c1c1;
|
|
505
|
+
border-radius: 4px;
|
|
506
|
+
|
|
507
|
+
&:hover {
|
|
508
|
+
background: #a8a8a8;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
// 滚动条样式 - 水平滚动
|
|
514
|
+
&.scroll-horizontal {
|
|
515
|
+
white-space: nowrap;
|
|
516
|
+
|
|
517
|
+
&::-webkit-scrollbar {
|
|
518
|
+
width: 8px;
|
|
519
|
+
height: 8px;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
&::-webkit-scrollbar-track {
|
|
523
|
+
background: #fff7e6;
|
|
524
|
+
border-radius: 4px;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
&::-webkit-scrollbar-thumb {
|
|
528
|
+
background: #fa8c16;
|
|
529
|
+
border-radius: 4px;
|
|
530
|
+
|
|
531
|
+
&:hover {
|
|
532
|
+
background: #ffa940;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
// 水平滚动时的子元素布局
|
|
537
|
+
.list-content {
|
|
538
|
+
display: inline-flex;
|
|
539
|
+
align-items: flex-start;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
// 指示器样式
|
|
545
|
+
.height-indicator {
|
|
546
|
+
position: absolute;
|
|
547
|
+
bottom: -25px;
|
|
548
|
+
right: 0;
|
|
549
|
+
background: rgba(19, 194, 194, 0.1);
|
|
550
|
+
border: 1px solid #13c2c2;
|
|
551
|
+
border-radius: 4px;
|
|
552
|
+
padding: 2px 8px;
|
|
553
|
+
|
|
554
|
+
small {
|
|
555
|
+
color: #13c2c2;
|
|
556
|
+
font-size: 11px;
|
|
557
|
+
font-weight: 500;
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.scroll-direction-indicator {
|
|
562
|
+
position: absolute;
|
|
563
|
+
bottom: -25px;
|
|
564
|
+
left: 0;
|
|
565
|
+
background: rgba(250, 140, 22, 0.1);
|
|
566
|
+
border: 1px solid #fa8c16;
|
|
567
|
+
border-radius: 4px;
|
|
568
|
+
padding: 2px 8px;
|
|
569
|
+
|
|
570
|
+
small {
|
|
571
|
+
color: #fa8c16;
|
|
572
|
+
font-size: 11px;
|
|
573
|
+
font-weight: 500;
|
|
574
|
+
display: flex;
|
|
575
|
+
align-items: center;
|
|
576
|
+
gap: 4px;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
// 加载遮罩
|
|
581
|
+
.loading-overlay {
|
|
582
|
+
position: absolute;
|
|
583
|
+
top: 0;
|
|
584
|
+
left: 0;
|
|
585
|
+
right: 0;
|
|
586
|
+
bottom: 0;
|
|
587
|
+
background: rgba(255, 255, 255, 0.8);
|
|
588
|
+
display: flex;
|
|
589
|
+
align-items: center;
|
|
590
|
+
justify-content: center;
|
|
591
|
+
z-index: 10;
|
|
592
|
+
border-radius: 8px;
|
|
593
|
+
|
|
594
|
+
.loading-spinner {
|
|
595
|
+
display: flex;
|
|
596
|
+
align-items: center;
|
|
597
|
+
gap: 10px;
|
|
598
|
+
padding: 12px 20px;
|
|
599
|
+
background: white;
|
|
600
|
+
border-radius: 6px;
|
|
601
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
602
|
+
color: #1890ff;
|
|
603
|
+
font-weight: 500;
|
|
604
|
+
|
|
605
|
+
&::before {
|
|
606
|
+
content: '';
|
|
607
|
+
width: 16px;
|
|
608
|
+
height: 16px;
|
|
609
|
+
border: 2px solid #e6f7ff;
|
|
610
|
+
border-top-color: #1890ff;
|
|
611
|
+
border-radius: 50%;
|
|
612
|
+
animation: spin 1s linear infinite;
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.test-instructions {
|
|
619
|
+
padding: 20px;
|
|
620
|
+
background: #e6f7ff;
|
|
621
|
+
border-left: 4px solid #1890ff;
|
|
622
|
+
border-radius: 0 8px 8px 0;
|
|
623
|
+
|
|
624
|
+
h3 {
|
|
625
|
+
color: #1890ff;
|
|
626
|
+
margin: 0 0 15px 0;
|
|
627
|
+
font-size: 16px;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
ul {
|
|
631
|
+
margin: 0 0 20px 0;
|
|
632
|
+
padding-left: 20px;
|
|
633
|
+
color: #555;
|
|
634
|
+
|
|
635
|
+
li {
|
|
636
|
+
margin-bottom: 8px;
|
|
637
|
+
line-height: 1.6;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.performance-tips {
|
|
642
|
+
margin-top: 20px;
|
|
643
|
+
padding: 15px;
|
|
644
|
+
background: rgba(255, 255, 255, 0.8);
|
|
645
|
+
border-radius: 6px;
|
|
646
|
+
border: 1px solid #d6e4ff;
|
|
647
|
+
|
|
648
|
+
h4 {
|
|
649
|
+
color: #1890ff;
|
|
650
|
+
margin: 0 0 10px 0;
|
|
651
|
+
font-size: 14px;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
p {
|
|
655
|
+
margin: 5px 0;
|
|
656
|
+
color: #666;
|
|
657
|
+
font-size: 13px;
|
|
658
|
+
line-height: 1.5;
|
|
659
|
+
|
|
660
|
+
&::before {
|
|
661
|
+
content: '💡 ';
|
|
662
|
+
margin-right: 4px;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
// 动画关键帧
|
|
670
|
+
@keyframes spin {
|
|
671
|
+
0% { transform: rotate(0deg); }
|
|
672
|
+
100% { transform: rotate(360deg); }
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
@keyframes pulse {
|
|
676
|
+
0%, 100% { opacity: 1; }
|
|
677
|
+
50% { opacity: 0.5; }
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
// 测试项目样式
|
|
681
|
+
.test-item {
|
|
682
|
+
padding: 16px;
|
|
683
|
+
background: white;
|
|
684
|
+
border: 1px solid #e0e0e0;
|
|
685
|
+
border-radius: 8px;
|
|
686
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
687
|
+
transition: all 0.3s ease;
|
|
688
|
+
display: flex;
|
|
689
|
+
flex-direction: column;
|
|
690
|
+
height: 100%;
|
|
691
|
+
position: relative;
|
|
692
|
+
overflow: hidden;
|
|
693
|
+
|
|
694
|
+
&:hover {
|
|
695
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
696
|
+
transform: translateY(-2px);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
// 状态相关样式
|
|
700
|
+
&.active {
|
|
701
|
+
border-color: #52c41a;
|
|
702
|
+
background: linear-gradient(135deg, #ffffff 0%, #f6ffed 100%);
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
&.inactive {
|
|
706
|
+
border-color: #ff4d4f;
|
|
707
|
+
background: linear-gradient(135deg, #ffffff 0%, #fff2f0 100%);
|
|
708
|
+
opacity: 0.8;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
&.pending {
|
|
712
|
+
border-color: #faad14;
|
|
713
|
+
background: linear-gradient(135deg, #ffffff 0%, #fffbe6 100%);
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.item-header {
|
|
717
|
+
display: flex;
|
|
718
|
+
align-items: flex-start;
|
|
719
|
+
justify-content: space-between;
|
|
720
|
+
margin-bottom: 8px;
|
|
721
|
+
gap: 8px;
|
|
722
|
+
|
|
723
|
+
h4 {
|
|
724
|
+
margin: 0;
|
|
725
|
+
color: #333;
|
|
726
|
+
font-size: 16px;
|
|
727
|
+
font-weight: 600;
|
|
728
|
+
line-height: 1.3;
|
|
729
|
+
flex: 1;
|
|
730
|
+
overflow: hidden;
|
|
731
|
+
text-overflow: ellipsis;
|
|
732
|
+
display: -webkit-box;
|
|
733
|
+
-webkit-line-clamp: 2;
|
|
734
|
+
-webkit-box-orient: vertical;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.status-badge {
|
|
738
|
+
flex-shrink: 0;
|
|
739
|
+
padding: 2px 6px;
|
|
740
|
+
border-radius: 4px;
|
|
741
|
+
font-size: 11px;
|
|
742
|
+
font-weight: 500;
|
|
743
|
+
text-align: center;
|
|
744
|
+
|
|
745
|
+
&.active {
|
|
746
|
+
background: #f6ffed;
|
|
747
|
+
color: #52c41a;
|
|
748
|
+
border: 1px solid #b7eb8f;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
&.inactive {
|
|
752
|
+
background: #fff2f0;
|
|
753
|
+
color: #ff4d4f;
|
|
754
|
+
border: 1px solid #ffccc7;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
&.pending {
|
|
758
|
+
background: #fffbe6;
|
|
759
|
+
color: #faad14;
|
|
760
|
+
border: 1px solid #ffe58f;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.item-description {
|
|
766
|
+
margin: 0 0 12px 0;
|
|
767
|
+
color: #666;
|
|
768
|
+
line-height: 1.5;
|
|
769
|
+
flex-grow: 1;
|
|
770
|
+
overflow: hidden;
|
|
771
|
+
text-overflow: ellipsis;
|
|
772
|
+
display: -webkit-box;
|
|
773
|
+
-webkit-line-clamp: 3;
|
|
774
|
+
-webkit-box-orient: vertical;
|
|
775
|
+
font-size: 14px;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.item-meta {
|
|
779
|
+
display: flex;
|
|
780
|
+
align-items: center;
|
|
781
|
+
justify-content: space-between;
|
|
782
|
+
margin-bottom: 8px;
|
|
783
|
+
padding-top: 8px;
|
|
784
|
+
border-top: 1px solid #f0f0f0;
|
|
785
|
+
|
|
786
|
+
.category {
|
|
787
|
+
background: #f0f0f0;
|
|
788
|
+
color: #666;
|
|
789
|
+
padding: 2px 8px;
|
|
790
|
+
border-radius: 12px;
|
|
791
|
+
font-size: 12px;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.price {
|
|
795
|
+
color: #ff4d4f;
|
|
796
|
+
font-weight: 600;
|
|
797
|
+
font-size: 14px;
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.item-footer {
|
|
802
|
+
display: flex;
|
|
803
|
+
align-items: center;
|
|
804
|
+
justify-content: space-between;
|
|
805
|
+
margin-top: auto;
|
|
806
|
+
padding-top: 8px;
|
|
807
|
+
font-size: 12px;
|
|
808
|
+
color: #999;
|
|
809
|
+
|
|
810
|
+
.item-id {
|
|
811
|
+
font-family: monospace;
|
|
812
|
+
background: #f5f5f5;
|
|
813
|
+
padding: 1px 4px;
|
|
814
|
+
border-radius: 2px;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.created-time {
|
|
818
|
+
font-style: italic;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.height-info {
|
|
823
|
+
position: absolute;
|
|
824
|
+
top: 8px;
|
|
825
|
+
right: 8px;
|
|
826
|
+
background: rgba(0, 0, 0, 0.6);
|
|
827
|
+
color: white;
|
|
828
|
+
padding: 2px 6px;
|
|
829
|
+
border-radius: 3px;
|
|
830
|
+
font-size: 11px;
|
|
831
|
+
font-family: monospace;
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
// 响应式样式
|
|
837
|
+
@media (max-width: 768px) {
|
|
838
|
+
.test-responsive-wrapper {
|
|
839
|
+
padding: 15px;
|
|
840
|
+
max-width: 100%;
|
|
841
|
+
|
|
842
|
+
.test-controls {
|
|
843
|
+
padding: 15px;
|
|
844
|
+
|
|
845
|
+
.preset-buttons, .device-buttons, .data-buttons, .pagination-buttons, .height-buttons, .scroll-direction-buttons {
|
|
846
|
+
flex-direction: column;
|
|
847
|
+
align-items: stretch;
|
|
848
|
+
|
|
849
|
+
.preset-button, .device-button, .refresh-button, .toggle-button, .pagination-button, .height-button, .scroll-direction-button {
|
|
850
|
+
text-align: center;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.scroll-direction-button {
|
|
854
|
+
justify-content: center;
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.pagination-description, .height-description, .scroll-direction-description {
|
|
859
|
+
margin-top: 12px;
|
|
860
|
+
text-align: center;
|
|
861
|
+
|
|
862
|
+
.direction-tips {
|
|
863
|
+
text-align: center;
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
.test-container {
|
|
869
|
+
.height-indicator, .scroll-direction-indicator {
|
|
870
|
+
position: static;
|
|
871
|
+
margin-top: 10px;
|
|
872
|
+
text-align: center;
|
|
873
|
+
margin-left: auto;
|
|
874
|
+
margin-right: auto;
|
|
875
|
+
display: inline-block;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.scroll-direction-indicator {
|
|
879
|
+
margin-left: 10px;
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.dynamic-config-panel {
|
|
884
|
+
.config-grid {
|
|
885
|
+
grid-template-columns: 1fr;
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.test-header h1 {
|
|
890
|
+
font-size: 24px;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.test-item {
|
|
894
|
+
padding: 12px;
|
|
895
|
+
|
|
896
|
+
.item-header h4 {
|
|
897
|
+
font-size: 15px;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.item-description {
|
|
901
|
+
font-size: 13px;
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.status-info {
|
|
906
|
+
.data-summary {
|
|
907
|
+
.summary-value {
|
|
908
|
+
font-size: 11px;
|
|
909
|
+
line-height: 1.4;
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
@media (max-width: 480px) {
|
|
917
|
+
.test-responsive-wrapper {
|
|
918
|
+
padding: 10px;
|
|
919
|
+
|
|
920
|
+
.test-header h1 {
|
|
921
|
+
font-size: 20px;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
.config-info, .test-controls, .test-instructions, .dynamic-config-panel {
|
|
925
|
+
padding: 15px;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
.dynamic-config-panel {
|
|
929
|
+
.config-section {
|
|
930
|
+
padding: 12px;
|
|
931
|
+
|
|
932
|
+
.config-row {
|
|
933
|
+
flex-direction: column;
|
|
934
|
+
align-items: stretch;
|
|
935
|
+
gap: 6px;
|
|
936
|
+
|
|
937
|
+
label {
|
|
938
|
+
margin-right: 0;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
input, select {
|
|
942
|
+
max-width: 100%;
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.test-item {
|
|
949
|
+
padding: 10px;
|
|
950
|
+
|
|
951
|
+
.item-header {
|
|
952
|
+
flex-direction: column;
|
|
953
|
+
align-items: stretch;
|
|
954
|
+
gap: 6px;
|
|
955
|
+
|
|
956
|
+
.status-badge {
|
|
957
|
+
align-self: flex-start;
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
.item-meta {
|
|
962
|
+
flex-direction: column;
|
|
963
|
+
align-items: flex-start;
|
|
964
|
+
gap: 6px;
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
}
|