@ruixinkeji/prism-ui 1.0.16 → 1.0.17
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/package.json +3 -2
- package/dist/build/h5/assets/PrismCode-D1lrgx1M.css +0 -1
- package/dist/build/h5/assets/PrismCode.CNOtat_X.js +0 -1
- package/dist/build/h5/assets/PrismGroupSticky-CBFeo0AB.css +0 -1
- package/dist/build/h5/assets/PrismGroupSticky.CmJXt6ws.js +0 -1
- package/dist/build/h5/assets/PrismMusicPlayer-CHVtYDn7.css +0 -1
- package/dist/build/h5/assets/PrismMusicPlayer.DAW3y5Km.js +0 -1
- package/dist/build/h5/assets/PrismNavBar-CYetauMR.css +0 -1
- package/dist/build/h5/assets/PrismNavBar.CFM58fal.js +0 -1
- package/dist/build/h5/assets/PrismSwiper-CDtZrfyq.css +0 -1
- package/dist/build/h5/assets/PrismSwiper.DTGFNn5Q.js +0 -1
- package/dist/build/h5/assets/PrismTabBar-BW0exu0j.css +0 -1
- package/dist/build/h5/assets/PrismTabBar.DPe-iC_F.js +0 -1
- package/dist/build/h5/assets/basic-tn0RQdqM.css +0 -0
- package/dist/build/h5/assets/card-layout-BZuodKCJ.css +0 -1
- package/dist/build/h5/assets/colors-RgTfwcKp.css +0 -1
- package/dist/build/h5/assets/data-DSHiB3Xs.css +0 -1
- package/dist/build/h5/assets/effects-CNFDtZjf.css +0 -1
- package/dist/build/h5/assets/examples-CSzKlb8B.css +0 -1
- package/dist/build/h5/assets/fa-brands-400-C99Yv4gD.woff2 +0 -0
- package/dist/build/h5/assets/fa-regular-400-OOsPf1xj.woff2 +0 -0
- package/dist/build/h5/assets/fa-solid-900-DAI24fNt.woff2 +0 -0
- package/dist/build/h5/assets/feedback-BaC8qSUp.css +0 -1
- package/dist/build/h5/assets/form-va-eFD7k.css +0 -1
- package/dist/build/h5/assets/group-CDa_hQkB.css +0 -1
- package/dist/build/h5/assets/iconfont-CW81RyG4.ttf +0 -0
- package/dist/build/h5/assets/icons-83wAdmdh.css +0 -1
- package/dist/build/h5/assets/index-BQ-qpvZH.css +0 -1
- package/dist/build/h5/assets/index-BQnv3xQ8.css +0 -1
- package/dist/build/h5/assets/index-C83xA4hX.css +0 -1
- package/dist/build/h5/assets/index-Cvc14mto.css +0 -1
- package/dist/build/h5/assets/index-D2djL_pA.js +0 -32
- package/dist/build/h5/assets/navigation-D0rlyjtK.css +0 -1
- package/dist/build/h5/assets/pages-demo-basic.BsC9sqol.js +0 -1
- package/dist/build/h5/assets/pages-demo-code-index.BXECig1w.js +0 -1
- package/dist/build/h5/assets/pages-demo-colors.Dl__3Mv9.js +0 -1
- package/dist/build/h5/assets/pages-demo-container.Cy-M9f41.js +0 -1
- package/dist/build/h5/assets/pages-demo-data.CK2JdeBK.js +0 -1
- package/dist/build/h5/assets/pages-demo-effects.CV0rqKht.js +0 -1
- package/dist/build/h5/assets/pages-demo-feedback.BO-G3E1J.js +0 -1
- package/dist/build/h5/assets/pages-demo-form.CsUNLqqe.js +0 -1
- package/dist/build/h5/assets/pages-demo-layout-card-layout.CQ6fF8IK.js +0 -1
- package/dist/build/h5/assets/pages-demo-layout.261GXW2o.js +0 -1
- package/dist/build/h5/assets/pages-demo-navigation.C5hFijVt.js +0 -1
- package/dist/build/h5/assets/pages-demo-other.CVdLVU3_.js +0 -1
- package/dist/build/h5/assets/pages-demo-sticky-group.MDzv6I5L.js +0 -1
- package/dist/build/h5/assets/pages-demo-sticky-index.D2UJUdon.js +0 -1
- package/dist/build/h5/assets/pages-examples-examples.hyUWuu8C.js +0 -1
- package/dist/build/h5/assets/pages-icons-icons.R2erKYQX.js +0 -1
- package/dist/build/h5/assets/pages-index-index.BlfkIjJo.js +0 -1
- package/dist/build/h5/assets/pages-tools-tools.tm3Y1cFN.js +0 -1
- package/dist/build/h5/assets/tools-C1YBcrWJ.css +0 -1
- package/dist/build/h5/assets/uni-app.es.DfNmMcUd.js +0 -1
- package/dist/build/h5/assets/uni.e2868147.css +0 -1
- package/dist/build/h5/assets/useNavbar.BdajVjjC.js +0 -1
- package/dist/build/h5/index.html +0 -23
- package/dist/build/h5/static/fonts/all-icons.txt +0 -453
- package/dist/build/h5/static/fonts/fa-brands-400.woff2 +0 -0
- package/dist/build/h5/static/fonts/fa-regular-400.woff2 +0 -0
- package/dist/build/h5/static/fonts/fa-solid-900.woff2 +0 -0
- package/dist/build/h5/static/fonts/fa-v4compatibility.woff2 +0 -0
- package/dist/build/h5/static/fonts/font-awesome.css +0 -943
- package/dist/build/h5/static/fonts/iconfont.css +0 -62
- package/dist/build/h5/static/fonts/iconfont.js +0 -1
- package/dist/build/h5/static/fonts/iconfont.json +0 -79
- package/dist/build/h5/static/fonts/iconfont.ttf +0 -0
- package/dist/build/h5/static/fonts/iconfont.woff +0 -0
- package/dist/build/h5/static/fonts/iconfont.woff2 +0 -0
- package/dist/build/h5/static/fonts/icons-list.txt +0 -453
- package/dist/build/h5/static/tabbar/examples-active.png +0 -0
- package/dist/build/h5/static/tabbar/examples.png +0 -0
- package/dist/build/h5/static/tabbar/home-active.png +0 -0
- package/dist/build/h5/static/tabbar/home.png +0 -0
- package/dist/build/h5/static/tabbar/icons-active.png +0 -0
- package/dist/build/h5/static/tabbar/icons.png +0 -0
- package/dist/build/h5/static/tabbar/tools-active.png +0 -0
- package/dist/build/h5/static/tabbar/tools.png +0 -0
- package/dist/dev/.nvue/app.css.js +0 -11
- package/dist/dev/.nvue/app.js +0 -2
- package/dist/dev/.sourcemap/mp-weixin/app.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismAddressInput/PrismAddressInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCityPicker/PrismCityPicker.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCitySelect/PrismCitySelect.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCode/PrismCode.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCodeInput/PrismCodeInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismDropdown/PrismDropdown.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismIndexBar/PrismIndexBar.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismNavBar/PrismNavBar.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSecureInput/PrismSecureInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSticky/PrismSticky.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSwiper/PrismSwiper.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSwitch/PrismSwitch.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismTabBar/PrismTabBar.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismTabs/PrismTabs.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/composables/useNavbar.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/config/theme-colors.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/basic.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/card.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/code/index.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/colors.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/container.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/data.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/effects.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/feedback.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/form.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/layout/card-layout.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/layout.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/navigation.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/other.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/sticky/group.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/sticky/index.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/examples/examples.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/icons/icons.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/tools/tools.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/store/app.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/utils/lunar.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/utils/system.js.map +0 -1
- package/dist/dev/app-plus/__uniappautomator.js +0 -16
- package/dist/dev/app-plus/__uniappchooselocation.js +0 -32
- package/dist/dev/app-plus/__uniapperror.png +0 -0
- package/dist/dev/app-plus/__uniappopenlocation.js +0 -32
- package/dist/dev/app-plus/__uniapppicker.js +0 -33
- package/dist/dev/app-plus/__uniappquill.js +0 -8
- package/dist/dev/app-plus/__uniappquillimageresize.js +0 -1
- package/dist/dev/app-plus/__uniappscan.js +0 -32
- package/dist/dev/app-plus/__uniappsuccess.png +0 -0
- package/dist/dev/app-plus/__uniappview.html +0 -24
- package/dist/dev/app-plus/app-config-service.js +0 -11
- package/dist/dev/app-plus/app-config.js +0 -1
- package/dist/dev/app-plus/app-service.js +0 -23663
- package/dist/dev/app-plus/app.css +0 -8955
- package/dist/dev/app-plus/manifest.json +0 -91
- package/dist/dev/app-plus/pages/demo/basic.css +0 -524
- package/dist/dev/app-plus/pages/demo/code/index.css +0 -541
- package/dist/dev/app-plus/pages/demo/colors.css +0 -4008
- package/dist/dev/app-plus/pages/demo/container.css +0 -524
- package/dist/dev/app-plus/pages/demo/data.css +0 -705
- package/dist/dev/app-plus/pages/demo/effects.css +0 -530
- package/dist/dev/app-plus/pages/demo/feedback.css +0 -590
- package/dist/dev/app-plus/pages/demo/form.css +0 -3422
- package/dist/dev/app-plus/pages/demo/layout/card-layout.css +0 -785
- package/dist/dev/app-plus/pages/demo/layout.css +0 -524
- package/dist/dev/app-plus/pages/demo/navigation.css +0 -769
- package/dist/dev/app-plus/pages/demo/other.css +0 -524
- package/dist/dev/app-plus/pages/demo/sticky/group.css +0 -788
- package/dist/dev/app-plus/pages/demo/sticky/index.css +0 -894
- package/dist/dev/app-plus/pages/examples/examples.css +0 -1031
- package/dist/dev/app-plus/pages/icons/icons.css +0 -3310
- package/dist/dev/app-plus/pages/index/index.css +0 -696
- package/dist/dev/app-plus/pages/tools/tools.css +0 -378
- package/dist/dev/app-plus/static/fonts/all-icons.txt +0 -453
- package/dist/dev/app-plus/static/fonts/fa-brands-400.woff2 +0 -0
- package/dist/dev/app-plus/static/fonts/fa-regular-400.woff2 +0 -0
- package/dist/dev/app-plus/static/fonts/fa-solid-900.woff2 +0 -0
- package/dist/dev/app-plus/static/fonts/fa-v4compatibility.woff2 +0 -0
- package/dist/dev/app-plus/static/fonts/font-awesome.css +0 -943
- package/dist/dev/app-plus/static/fonts/iconfont.css +0 -62
- package/dist/dev/app-plus/static/fonts/iconfont.js +0 -1
- package/dist/dev/app-plus/static/fonts/iconfont.json +0 -79
- package/dist/dev/app-plus/static/fonts/iconfont.ttf +0 -0
- package/dist/dev/app-plus/static/fonts/iconfont.woff +0 -0
- package/dist/dev/app-plus/static/fonts/iconfont.woff2 +0 -0
- package/dist/dev/app-plus/static/fonts/icons-list.txt +0 -453
- package/dist/dev/app-plus/static/tabbar/examples-active.png +0 -0
- package/dist/dev/app-plus/static/tabbar/examples.png +0 -0
- package/dist/dev/app-plus/static/tabbar/home-active.png +0 -0
- package/dist/dev/app-plus/static/tabbar/home.png +0 -0
- package/dist/dev/app-plus/static/tabbar/icons-active.png +0 -0
- package/dist/dev/app-plus/static/tabbar/icons.png +0 -0
- package/dist/dev/app-plus/static/tabbar/tools-active.png +0 -0
- package/dist/dev/app-plus/static/tabbar/tools.png +0 -0
- package/dist/dev/app-plus/uni-app-view.umd.js +0 -7
- package/dist/dev/mp-weixin/app.js +0 -49
- package/dist/dev/mp-weixin/app.json +0 -29
- package/dist/dev/mp-weixin/app.wxss +0 -9072
- package/dist/dev/mp-weixin/common/vendor.js +0 -15968
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.js +0 -200
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.wxss +0 -327
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.js +0 -449
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.json +0 -4
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.wxss +0 -264
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.js +0 -531
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.json +0 -4
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.wxss +0 -309
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.js +0 -200
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.json +0 -6
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.wxss +0 -225
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.js +0 -337
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.json +0 -4
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.wxss +0 -345
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.js +0 -70
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.wxss +0 -115
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.js +0 -468
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.json +0 -4
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.wxss +0 -309
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.js +0 -63
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.json +0 -4
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.wxss +0 -0
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.js +0 -128
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.json +0 -4
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.wxss +0 -191
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.js +0 -123
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.wxss +0 -114
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.js +0 -108
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.json +0 -4
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.wxss +0 -135
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.js +0 -449
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.wxss +0 -445
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.js +0 -200
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.json +0 -4
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.wxss +0 -334
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.js +0 -71
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.json +0 -4
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.wxss +0 -150
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.js +0 -140
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.wxss +0 -215
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.js +0 -120
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.json +0 -4
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.wxss +0 -62
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.js +0 -163
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.json +0 -4
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.wxss +0 -203
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.js +0 -69
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.json +0 -4
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.wxss +0 -151
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.js +0 -58
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.json +0 -4
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.wxss +0 -119
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.js +0 -51
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.json +0 -4
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.wxss +0 -51
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.js +0 -182
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.wxss +0 -329
- package/dist/dev/mp-weixin/composables/useNavbar.js +0 -19
- package/dist/dev/mp-weixin/config/theme-colors.js +0 -73
- package/dist/dev/mp-weixin/pages/demo/basic.js +0 -77
- package/dist/dev/mp-weixin/pages/demo/basic.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/basic.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/basic.wxss +0 -54
- package/dist/dev/mp-weixin/pages/demo/code/index.js +0 -190
- package/dist/dev/mp-weixin/pages/demo/code/index.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/code/index.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/code/index.wxss +0 -71
- package/dist/dev/mp-weixin/pages/demo/colors.js +0 -130
- package/dist/dev/mp-weixin/pages/demo/colors.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/colors.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/colors.wxss +0 -3793
- package/dist/dev/mp-weixin/pages/demo/container.js +0 -65
- package/dist/dev/mp-weixin/pages/demo/container.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/container.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/container.wxss +0 -54
- package/dist/dev/mp-weixin/pages/demo/data.js +0 -398
- package/dist/dev/mp-weixin/pages/demo/data.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/data.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/data.wxss +0 -235
- package/dist/dev/mp-weixin/pages/demo/effects.js +0 -62
- package/dist/dev/mp-weixin/pages/demo/effects.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/effects.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/effects.wxss +0 -60
- package/dist/dev/mp-weixin/pages/demo/feedback.js +0 -256
- package/dist/dev/mp-weixin/pages/demo/feedback.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/feedback.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/feedback.wxss +0 -120
- package/dist/dev/mp-weixin/pages/demo/form.js +0 -689
- package/dist/dev/mp-weixin/pages/demo/form.json +0 -18
- package/dist/dev/mp-weixin/pages/demo/form.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/form.wxss +0 -54
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.js +0 -61
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.wxss +0 -326
- package/dist/dev/mp-weixin/pages/demo/layout.js +0 -96
- package/dist/dev/mp-weixin/pages/demo/layout.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/layout.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/layout.wxss +0 -54
- package/dist/dev/mp-weixin/pages/demo/navigation.js +0 -142
- package/dist/dev/mp-weixin/pages/demo/navigation.json +0 -10
- package/dist/dev/mp-weixin/pages/demo/navigation.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/navigation.wxss +0 -61
- package/dist/dev/mp-weixin/pages/demo/other.js +0 -50
- package/dist/dev/mp-weixin/pages/demo/other.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/other.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/other.wxss +0 -54
- package/dist/dev/mp-weixin/pages/demo/sticky/group.js +0 -212
- package/dist/dev/mp-weixin/pages/demo/sticky/group.json +0 -8
- package/dist/dev/mp-weixin/pages/demo/sticky/group.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/sticky/group.wxss +0 -135
- package/dist/dev/mp-weixin/pages/demo/sticky/index.js +0 -90
- package/dist/dev/mp-weixin/pages/demo/sticky/index.json +0 -9
- package/dist/dev/mp-weixin/pages/demo/sticky/index.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/sticky/index.wxss +0 -175
- package/dist/dev/mp-weixin/pages/examples/examples.js +0 -65
- package/dist/dev/mp-weixin/pages/examples/examples.json +0 -8
- package/dist/dev/mp-weixin/pages/examples/examples.wxml +0 -1
- package/dist/dev/mp-weixin/pages/examples/examples.wxss +0 -461
- package/dist/dev/mp-weixin/pages/icons/icons.js +0 -350
- package/dist/dev/mp-weixin/pages/icons/icons.json +0 -8
- package/dist/dev/mp-weixin/pages/icons/icons.wxml +0 -1
- package/dist/dev/mp-weixin/pages/icons/icons.wxss +0 -3079
- package/dist/dev/mp-weixin/pages/index/index.js +0 -118
- package/dist/dev/mp-weixin/pages/index/index.json +0 -8
- package/dist/dev/mp-weixin/pages/index/index.wxml +0 -1
- package/dist/dev/mp-weixin/pages/index/index.wxss +0 -123
- package/dist/dev/mp-weixin/pages/tools/tools.js +0 -37
- package/dist/dev/mp-weixin/pages/tools/tools.json +0 -7
- package/dist/dev/mp-weixin/pages/tools/tools.wxml +0 -1
- package/dist/dev/mp-weixin/pages/tools/tools.wxss +0 -134
- package/dist/dev/mp-weixin/project.config.json +0 -36
- package/dist/dev/mp-weixin/project.private.config.json +0 -23
- package/dist/dev/mp-weixin/static/fonts/all-icons.txt +0 -453
- package/dist/dev/mp-weixin/static/fonts/fa-brands-400.woff2 +0 -0
- package/dist/dev/mp-weixin/static/fonts/fa-regular-400.woff2 +0 -0
- package/dist/dev/mp-weixin/static/fonts/fa-solid-900.woff2 +0 -0
- package/dist/dev/mp-weixin/static/fonts/fa-v4compatibility.woff2 +0 -0
- package/dist/dev/mp-weixin/static/fonts/font-awesome.css +0 -943
- package/dist/dev/mp-weixin/static/fonts/iconfont.css +0 -62
- package/dist/dev/mp-weixin/static/fonts/iconfont.js +0 -1
- package/dist/dev/mp-weixin/static/fonts/iconfont.json +0 -79
- package/dist/dev/mp-weixin/static/fonts/iconfont.ttf +0 -0
- package/dist/dev/mp-weixin/static/fonts/iconfont.woff +0 -0
- package/dist/dev/mp-weixin/static/fonts/iconfont.woff2 +0 -0
- package/dist/dev/mp-weixin/static/fonts/icons-list.txt +0 -453
- package/dist/dev/mp-weixin/static/tabbar/examples-active.png +0 -0
- package/dist/dev/mp-weixin/static/tabbar/examples.png +0 -0
- package/dist/dev/mp-weixin/static/tabbar/home-active.png +0 -0
- package/dist/dev/mp-weixin/static/tabbar/home.png +0 -0
- package/dist/dev/mp-weixin/static/tabbar/icons-active.png +0 -0
- package/dist/dev/mp-weixin/static/tabbar/icons.png +0 -0
- package/dist/dev/mp-weixin/static/tabbar/tools-active.png +0 -0
- package/dist/dev/mp-weixin/static/tabbar/tools.png +0 -0
- package/dist/dev/mp-weixin/store/app.js +0 -64
- package/dist/dev/mp-weixin/utils/lunar.js +0 -330
- package/dist/dev/mp-weixin/utils/system.js +0 -18
- package/dist/styles/base.scss +0 -213
- package/dist/styles/button.scss +0 -120
- package/dist/styles/card.scss +0 -306
- package/dist/styles/data.scss +0 -1229
- package/dist/styles/effects.scss +0 -407
- package/dist/styles/feedback.scss +0 -698
- package/dist/styles/form.scss +0 -1574
- package/dist/styles/index.scss +0 -43
- package/dist/styles/list.scss +0 -184
- package/dist/styles/navigation.scss +0 -501
- package/dist/styles/overlay.scss +0 -182
- package/dist/styles/utilities.scss +0 -134
- package/dist/styles/variables.scss +0 -154
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Prism UI - SCSS 变量定义
|
|
3
|
-
* 此文件包含所有设计令牌和变量
|
|
4
|
-
* 所有变量使用 $prism- 前缀,避免与用户项目冲突
|
|
5
|
-
*
|
|
6
|
-
* 主题切换:修改下面的引入文件即可切换主题
|
|
7
|
-
* 可选主题:blue(默认) / green / purple / orange / red / cyan
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Prism UI - 蓝色主题(默认)
|
|
11
|
-
*
|
|
12
|
-
* 使用方式:在 variables.scss 中修改引入
|
|
13
|
-
* @import '../theme/blue.scss';
|
|
14
|
-
*
|
|
15
|
-
* 颜色值来自 colors.scss 中的 $prism-blue-* 变量
|
|
16
|
-
*/
|
|
17
|
-
/* ============================================================
|
|
18
|
-
一、浅色模式变量(使用 !default,允许主题文件覆盖)
|
|
19
|
-
============================================================ */
|
|
20
|
-
/* -------------------- 主题色 -------------------- */
|
|
21
|
-
/* -------------------- 状态色 -------------------- */
|
|
22
|
-
/* -------------------- 文字颜色 -------------------- */
|
|
23
|
-
/* -------------------- 边框颜色 -------------------- */
|
|
24
|
-
/* -------------------- 背景颜色 -------------------- */
|
|
25
|
-
/* ============================================================
|
|
26
|
-
二、深色模式变量
|
|
27
|
-
============================================================ */
|
|
28
|
-
/* -------------------- 主题色(深色) -------------------- */
|
|
29
|
-
/* -------------------- 状态色(深色) -------------------- */
|
|
30
|
-
/* -------------------- 文字颜色(深色) -------------------- */
|
|
31
|
-
/* -------------------- 边框颜色(深色) -------------------- */
|
|
32
|
-
/* -------------------- 背景颜色(深色) -------------------- */
|
|
33
|
-
/* ============================================================
|
|
34
|
-
三、主题色透明度(使用 !default,允许主题文件覆盖)
|
|
35
|
-
============================================================ */
|
|
36
|
-
/* ============================================================
|
|
37
|
-
主题色渐变(使用 !default,允许主题文件覆盖)
|
|
38
|
-
============================================================ */
|
|
39
|
-
/* ============================================================
|
|
40
|
-
四、白色透明度
|
|
41
|
-
============================================================ */
|
|
42
|
-
/* ============================================================
|
|
43
|
-
六、第三方品牌色
|
|
44
|
-
============================================================ */
|
|
45
|
-
/* ============================================================
|
|
46
|
-
八、常用阴影(使用 !default,允许主题文件覆盖)
|
|
47
|
-
============================================================ */
|
|
48
|
-
/* ============================================================
|
|
49
|
-
九、统一间距
|
|
50
|
-
============================================================ */
|
|
51
|
-
.prism-datetime-picker .picker-trigger {
|
|
52
|
-
cursor: pointer;
|
|
53
|
-
}
|
|
54
|
-
.prism-datetime-picker .picker-popup {
|
|
55
|
-
position: fixed;
|
|
56
|
-
top: 0;
|
|
57
|
-
left: 0;
|
|
58
|
-
right: 0;
|
|
59
|
-
bottom: 0;
|
|
60
|
-
background: var(--prism-mask-bg, rgba(0, 0, 0, 0.5));
|
|
61
|
-
display: flex;
|
|
62
|
-
align-items: flex-end;
|
|
63
|
-
justify-content: center;
|
|
64
|
-
z-index: 9999;
|
|
65
|
-
}
|
|
66
|
-
.prism-datetime-picker .picker-content {
|
|
67
|
-
width: 100%;
|
|
68
|
-
background: var(--prism-bg-color-card, #FFFFFF);
|
|
69
|
-
border-radius: 24rpx 24rpx 0 0;
|
|
70
|
-
}
|
|
71
|
-
.prism-datetime-picker .picker-header {
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: space-between;
|
|
75
|
-
padding: 24rpx 32rpx;
|
|
76
|
-
border-bottom: 1rpx solid var(--prism-border-color-light, #E5E6EB);
|
|
77
|
-
}
|
|
78
|
-
.prism-datetime-picker .picker-cancel {
|
|
79
|
-
font-size: 30rpx;
|
|
80
|
-
color: var(--prism-text-secondary, #86909C);
|
|
81
|
-
padding: 8rpx 16rpx;
|
|
82
|
-
}
|
|
83
|
-
.prism-datetime-picker .picker-title {
|
|
84
|
-
font-size: 32rpx;
|
|
85
|
-
font-weight: 600;
|
|
86
|
-
color: var(--prism-text-primary, #1D2129);
|
|
87
|
-
}
|
|
88
|
-
.prism-datetime-picker .picker-confirm {
|
|
89
|
-
font-size: 30rpx;
|
|
90
|
-
color: var(--prism-primary-color, #3478F6);
|
|
91
|
-
padding: 8rpx 16rpx;
|
|
92
|
-
font-weight: 500;
|
|
93
|
-
}
|
|
94
|
-
.prism-datetime-picker .picker-body {
|
|
95
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
96
|
-
box-sizing: content-box;
|
|
97
|
-
position: relative;
|
|
98
|
-
}
|
|
99
|
-
.prism-datetime-picker .picker-item {
|
|
100
|
-
display: flex;
|
|
101
|
-
align-items: center;
|
|
102
|
-
justify-content: center;
|
|
103
|
-
font-size: 32rpx;
|
|
104
|
-
font-weight: 500;
|
|
105
|
-
}
|
|
106
|
-
.prism-datetime-picker .picker-indicator {
|
|
107
|
-
background: transparent !important;
|
|
108
|
-
background-color: transparent !important;
|
|
109
|
-
border: none !important;
|
|
110
|
-
border-width: 0 !important;
|
|
111
|
-
border-style: none !important;
|
|
112
|
-
border-color: transparent !important;
|
|
113
|
-
box-shadow: none !important;
|
|
114
|
-
z-index: 0 !important;
|
|
115
|
-
}
|
|
116
|
-
.prism-datetime-picker .picker-item {
|
|
117
|
-
position: relative;
|
|
118
|
-
z-index: 2;
|
|
119
|
-
}
|
|
120
|
-
.prism-datetime-picker .uni-picker-view-mask {
|
|
121
|
-
z-index: 1 !important;
|
|
122
|
-
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)), linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)) !important;
|
|
123
|
-
}
|
|
124
|
-
.prism-datetime-picker .uni-picker-view-indicator {
|
|
125
|
-
border: none !important;
|
|
126
|
-
border-top: none !important;
|
|
127
|
-
border-bottom: none !important;
|
|
128
|
-
border-color: transparent !important;
|
|
129
|
-
}
|
|
130
|
-
.prism-datetime-picker .calendar-body {
|
|
131
|
-
padding: 0 24rpx 24rpx;
|
|
132
|
-
padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
|
|
133
|
-
position: relative;
|
|
134
|
-
}
|
|
135
|
-
.prism-datetime-picker .calendar-watermark {
|
|
136
|
-
position: absolute;
|
|
137
|
-
top: 50%;
|
|
138
|
-
left: 50%;
|
|
139
|
-
transform: translate(-50%, -50%);
|
|
140
|
-
font-size: 300rpx;
|
|
141
|
-
font-weight: bold;
|
|
142
|
-
color: var(--prism-text-primary, #1D2129);
|
|
143
|
-
opacity: 0.04;
|
|
144
|
-
pointer-events: none;
|
|
145
|
-
z-index: 0;
|
|
146
|
-
-webkit-user-select: none;
|
|
147
|
-
-moz-user-select: none;
|
|
148
|
-
user-select: none;
|
|
149
|
-
}
|
|
150
|
-
.prism-datetime-picker .calendar-nav {
|
|
151
|
-
display: flex;
|
|
152
|
-
align-items: center;
|
|
153
|
-
justify-content: center;
|
|
154
|
-
padding: 16rpx 0;
|
|
155
|
-
gap: 16rpx;
|
|
156
|
-
}
|
|
157
|
-
.prism-datetime-picker .nav-btn {
|
|
158
|
-
width: 64rpx;
|
|
159
|
-
height: 64rpx;
|
|
160
|
-
display: flex;
|
|
161
|
-
align-items: center;
|
|
162
|
-
justify-content: center;
|
|
163
|
-
border-radius: 8rpx;
|
|
164
|
-
color: var(--prism-text-secondary, #86909C);
|
|
165
|
-
}
|
|
166
|
-
.prism-datetime-picker .nav-btn:active {
|
|
167
|
-
background: var(--prism-bg-color-container, #F7F8FA);
|
|
168
|
-
}
|
|
169
|
-
.prism-datetime-picker .nav-title {
|
|
170
|
-
font-size: 32rpx;
|
|
171
|
-
font-weight: 600;
|
|
172
|
-
color: var(--prism-text-primary, #1D2129);
|
|
173
|
-
min-width: 200rpx;
|
|
174
|
-
text-align: center;
|
|
175
|
-
}
|
|
176
|
-
.prism-datetime-picker .today-btn {
|
|
177
|
-
position: absolute;
|
|
178
|
-
right: 0;
|
|
179
|
-
background: var(--prism-primary-light, rgba(52, 120, 246, 0.08));
|
|
180
|
-
color: var(--prism-primary-color, #3478F6);
|
|
181
|
-
font-size: 24rpx;
|
|
182
|
-
font-weight: 500;
|
|
183
|
-
}
|
|
184
|
-
.prism-datetime-picker .calendar-weekdays {
|
|
185
|
-
display: grid;
|
|
186
|
-
grid-template-columns: repeat(7, 1fr);
|
|
187
|
-
margin-bottom: 8rpx;
|
|
188
|
-
}
|
|
189
|
-
.prism-datetime-picker .weekday {
|
|
190
|
-
text-align: center;
|
|
191
|
-
font-size: 26rpx;
|
|
192
|
-
color: var(--prism-text-secondary, #86909C);
|
|
193
|
-
padding: 16rpx 0;
|
|
194
|
-
}
|
|
195
|
-
.prism-datetime-picker .calendar-days {
|
|
196
|
-
display: grid;
|
|
197
|
-
grid-template-columns: repeat(7, 1fr);
|
|
198
|
-
gap: 8rpx;
|
|
199
|
-
position: relative;
|
|
200
|
-
z-index: 1;
|
|
201
|
-
}
|
|
202
|
-
.prism-datetime-picker .calendar-day {
|
|
203
|
-
aspect-ratio: 1;
|
|
204
|
-
display: flex;
|
|
205
|
-
flex-direction: column;
|
|
206
|
-
align-items: center;
|
|
207
|
-
justify-content: center;
|
|
208
|
-
border-radius: 12rpx;
|
|
209
|
-
position: relative;
|
|
210
|
-
}
|
|
211
|
-
.prism-datetime-picker .calendar-day.other-month .day-text {
|
|
212
|
-
color: var(--prism-text-placeholder, #C9CDD4);
|
|
213
|
-
}
|
|
214
|
-
.prism-datetime-picker .calendar-day.today .day-text {
|
|
215
|
-
color: #FF6B00;
|
|
216
|
-
font-weight: 600;
|
|
217
|
-
}
|
|
218
|
-
.prism-datetime-picker .calendar-day.selected {
|
|
219
|
-
background: var(--prism-primary-color, #3478F6);
|
|
220
|
-
}
|
|
221
|
-
.prism-datetime-picker .calendar-day.selected .day-text {
|
|
222
|
-
color: #FFFFFF;
|
|
223
|
-
}
|
|
224
|
-
.prism-datetime-picker .calendar-day.selected .today-label {
|
|
225
|
-
color: rgba(255, 255, 255, 0.8);
|
|
226
|
-
}
|
|
227
|
-
.prism-datetime-picker .calendar-day.today.selected {
|
|
228
|
-
background: var(--prism-primary-color, #3478F6);
|
|
229
|
-
}
|
|
230
|
-
.prism-datetime-picker .calendar-day.today.selected .day-text {
|
|
231
|
-
color: #FFFFFF;
|
|
232
|
-
}
|
|
233
|
-
.prism-datetime-picker .calendar-day.today.selected .today-label {
|
|
234
|
-
color: rgba(255, 255, 255, 0.8);
|
|
235
|
-
}
|
|
236
|
-
.prism-datetime-picker .calendar-day.range-start {
|
|
237
|
-
background: var(--prism-primary-color, #3478F6);
|
|
238
|
-
border-radius: 12rpx 0 0 12rpx;
|
|
239
|
-
}
|
|
240
|
-
.prism-datetime-picker .calendar-day.range-start .day-text, .prism-datetime-picker .calendar-day.range-start .lunar-text {
|
|
241
|
-
color: #FFFFFF;
|
|
242
|
-
}
|
|
243
|
-
.prism-datetime-picker .calendar-day.range-end {
|
|
244
|
-
background: var(--prism-primary-color, #3478F6);
|
|
245
|
-
border-radius: 0 12rpx 12rpx 0;
|
|
246
|
-
}
|
|
247
|
-
.prism-datetime-picker .calendar-day.range-end .day-text, .prism-datetime-picker .calendar-day.range-end .lunar-text {
|
|
248
|
-
color: #FFFFFF;
|
|
249
|
-
}
|
|
250
|
-
.prism-datetime-picker .calendar-day.in-range {
|
|
251
|
-
background: var(--prism-primary-light, rgba(52, 120, 246, 0.1));
|
|
252
|
-
border-radius: 0;
|
|
253
|
-
}
|
|
254
|
-
.prism-datetime-picker .calendar-day.range-start.range-end {
|
|
255
|
-
border-radius: 12rpx;
|
|
256
|
-
}
|
|
257
|
-
.prism-datetime-picker .day-text {
|
|
258
|
-
font-size: 30rpx;
|
|
259
|
-
color: var(--prism-text-primary, #1D2129);
|
|
260
|
-
}
|
|
261
|
-
.prism-datetime-picker .lunar-text {
|
|
262
|
-
font-size: 18rpx;
|
|
263
|
-
color: var(--prism-text-secondary, #86909C);
|
|
264
|
-
margin-top: 4rpx;
|
|
265
|
-
}
|
|
266
|
-
.prism-datetime-picker .today-label {
|
|
267
|
-
font-size: 20rpx;
|
|
268
|
-
color: #FF6B00;
|
|
269
|
-
position: absolute;
|
|
270
|
-
bottom: 6rpx;
|
|
271
|
-
}
|
|
272
|
-
.dark-mode.prism-datetime-picker .picker-content {
|
|
273
|
-
background: var(--prism-bg-color-card, #1A1A1A);
|
|
274
|
-
}
|
|
275
|
-
.dark-mode.prism-datetime-picker .picker-item {
|
|
276
|
-
color: var(--prism-text-primary, #E5E6EB);
|
|
277
|
-
}
|
|
278
|
-
.dark-mode.prism-datetime-picker .picker-indicator {
|
|
279
|
-
background: transparent !important;
|
|
280
|
-
background-color: transparent !important;
|
|
281
|
-
border: none !important;
|
|
282
|
-
border-width: 0 !important;
|
|
283
|
-
border-style: none !important;
|
|
284
|
-
border-color: transparent !important;
|
|
285
|
-
}
|
|
286
|
-
.dark-mode.prism-datetime-picker .uni-picker-view-indicator {
|
|
287
|
-
background: transparent !important;
|
|
288
|
-
border: none !important;
|
|
289
|
-
border-width: 0 !important;
|
|
290
|
-
border-color: transparent !important;
|
|
291
|
-
}
|
|
292
|
-
.dark-mode.prism-datetime-picker .uni-picker-view-indicator::before,
|
|
293
|
-
.dark-mode.prism-datetime-picker .uni-picker-view-indicator::after {
|
|
294
|
-
display: none !important;
|
|
295
|
-
border: none !important;
|
|
296
|
-
}
|
|
297
|
-
.dark-mode.prism-datetime-picker picker-view-column::before,
|
|
298
|
-
.dark-mode.prism-datetime-picker picker-view-column::after {
|
|
299
|
-
display: none !important;
|
|
300
|
-
}
|
|
301
|
-
.dark-mode.prism-datetime-picker picker-view {
|
|
302
|
-
--picker-mask-bg: linear-gradient(180deg, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.6));
|
|
303
|
-
}
|
|
304
|
-
.dark-mode.prism-datetime-picker .uni-picker-view-mask {
|
|
305
|
-
background-image: linear-gradient(180deg, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.6)), linear-gradient(0deg, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.6)) !important;
|
|
306
|
-
}
|
|
307
|
-
.dark-mode.prism-datetime-picker .nav-btn:active {
|
|
308
|
-
background: var(--prism-bg-color-container, #2A2A2A);
|
|
309
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const common_vendor = require("../../common/vendor.js");
|
|
3
|
-
const _sfc_main = {
|
|
4
|
-
__name: "PrismDropdown",
|
|
5
|
-
props: {
|
|
6
|
-
menus: {
|
|
7
|
-
type: Array,
|
|
8
|
-
required: true
|
|
9
|
-
// 格式: [{ title: '排序', value: '综合排序', options: ['综合排序', '销量优先'] }]
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
emits: ["change"],
|
|
13
|
-
setup(__props, { emit: __emit }) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const emit = __emit;
|
|
16
|
-
const activeIndex = common_vendor.ref(-1);
|
|
17
|
-
const menuList = common_vendor.ref([...props.menus]);
|
|
18
|
-
common_vendor.watch(() => props.menus, (val) => {
|
|
19
|
-
menuList.value = [...val];
|
|
20
|
-
}, { deep: true });
|
|
21
|
-
function toggleDropdown(index) {
|
|
22
|
-
activeIndex.value = activeIndex.value === index ? -1 : index;
|
|
23
|
-
}
|
|
24
|
-
function closeDropdown() {
|
|
25
|
-
activeIndex.value = -1;
|
|
26
|
-
}
|
|
27
|
-
function selectOption(index, opt) {
|
|
28
|
-
menuList.value[index].value = opt;
|
|
29
|
-
activeIndex.value = -1;
|
|
30
|
-
emit("change", { index, value: opt, menu: menuList.value[index] });
|
|
31
|
-
}
|
|
32
|
-
return (_ctx, _cache) => {
|
|
33
|
-
return {
|
|
34
|
-
a: common_vendor.f(menuList.value, (item, index, i0) => {
|
|
35
|
-
return {
|
|
36
|
-
a: common_vendor.t(item.value),
|
|
37
|
-
b: index,
|
|
38
|
-
c: activeIndex.value === index ? 1 : "",
|
|
39
|
-
d: common_vendor.o(($event) => toggleDropdown(index), index)
|
|
40
|
-
};
|
|
41
|
-
}),
|
|
42
|
-
b: common_vendor.f(menuList.value, (item, index, i0) => {
|
|
43
|
-
return {
|
|
44
|
-
a: common_vendor.f(item.options, (opt, k1, i1) => {
|
|
45
|
-
return {
|
|
46
|
-
a: common_vendor.t(opt),
|
|
47
|
-
b: opt,
|
|
48
|
-
c: item.value === opt ? 1 : "",
|
|
49
|
-
d: common_vendor.o(($event) => selectOption(index, opt), opt)
|
|
50
|
-
};
|
|
51
|
-
}),
|
|
52
|
-
b: "popup-" + index,
|
|
53
|
-
c: activeIndex.value === index ? 1 : ""
|
|
54
|
-
};
|
|
55
|
-
}),
|
|
56
|
-
c: activeIndex.value >= 0 ? 1 : "",
|
|
57
|
-
d: common_vendor.o(closeDropdown)
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
wx.createComponent(_sfc_main);
|
|
63
|
-
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/PrismDropdown/PrismDropdown.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<view class="prism-dropdown"><view class="prism-dropdown__bar"><view wx:for="{{a}}" wx:for-item="item" wx:key="b" class="{{['prism-dropdown__item', item.c && 'prism-dropdown__item--active']}}" bindtap="{{item.d}}"><text>{{item.a}}</text><text class="prism-dropdown__arrow fa fa-chevron-down"></text></view></view><view wx:for="{{b}}" wx:for-item="item" wx:key="b" class="{{['prism-dropdown__popup', item.c && 'prism-dropdown__popup--show']}}"><view wx:for="{{item.a}}" wx:for-item="opt" wx:key="b" class="{{['prism-dropdown__option', opt.c && 'prism-dropdown__option--selected']}}" bindtap="{{opt.d}}"><text>{{opt.a}}</text><text class="prism-dropdown__check fa fa-check"></text></view></view><view class="{{['prism-dropdown__mask', c && 'prism-dropdown__mask--show']}}" bindtap="{{d}}"></view></view>
|
|
File without changes
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const common_vendor = require("../../common/vendor.js");
|
|
3
|
-
const _sfc_main = {
|
|
4
|
-
__name: "PrismGroupSticky",
|
|
5
|
-
props: {
|
|
6
|
-
// 索引列表
|
|
7
|
-
indexList: {
|
|
8
|
-
type: Array,
|
|
9
|
-
default: () => []
|
|
10
|
-
},
|
|
11
|
-
// 是否显示索引条
|
|
12
|
-
showIndexBar: {
|
|
13
|
-
type: Boolean,
|
|
14
|
-
default: false
|
|
15
|
-
},
|
|
16
|
-
// 容器高度
|
|
17
|
-
height: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: "100%"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
emits: ["index-change"],
|
|
23
|
-
setup(__props, { emit: __emit }) {
|
|
24
|
-
const props = __props;
|
|
25
|
-
const emit = __emit;
|
|
26
|
-
const instance = common_vendor.getCurrentInstance();
|
|
27
|
-
const currentIndex = common_vendor.ref("");
|
|
28
|
-
const showIndicator = common_vendor.ref(false);
|
|
29
|
-
const indicatorTop = common_vendor.ref(0);
|
|
30
|
-
const scrollTop = common_vendor.ref(0);
|
|
31
|
-
let indexBarRect = null;
|
|
32
|
-
let groupPositions = {};
|
|
33
|
-
const getLetterByTouch = (touchY) => {
|
|
34
|
-
if (!indexBarRect || !props.indexList.length) return "";
|
|
35
|
-
const itemHeight = indexBarRect.height / props.indexList.length;
|
|
36
|
-
const relativeY = touchY - indexBarRect.top;
|
|
37
|
-
const index = Math.floor(relativeY / itemHeight);
|
|
38
|
-
if (index < 0) return props.indexList[0];
|
|
39
|
-
if (index >= props.indexList.length) return props.indexList[props.indexList.length - 1];
|
|
40
|
-
return props.indexList[index];
|
|
41
|
-
};
|
|
42
|
-
const calculateGroupPositions = () => {
|
|
43
|
-
groupPositions = {};
|
|
44
|
-
props.indexList.forEach((letter) => {
|
|
45
|
-
const el = document.getElementById(`group-${letter}`);
|
|
46
|
-
if (el) {
|
|
47
|
-
groupPositions[letter] = el.offsetTop;
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
const scrollToLetter = (letter) => {
|
|
52
|
-
if (!groupPositions[letter]) {
|
|
53
|
-
calculateGroupPositions();
|
|
54
|
-
}
|
|
55
|
-
const targetTop = groupPositions[letter];
|
|
56
|
-
if (targetTop !== void 0) {
|
|
57
|
-
scrollTop.value = targetTop + 0.1;
|
|
58
|
-
common_vendor.nextTick$1(() => {
|
|
59
|
-
scrollTop.value = targetTop;
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
const onScroll = (e) => {
|
|
64
|
-
e.detail.scrollTop;
|
|
65
|
-
};
|
|
66
|
-
const updateLetter = (touchY) => {
|
|
67
|
-
indicatorTop.value = touchY;
|
|
68
|
-
const letter = getLetterByTouch(touchY);
|
|
69
|
-
if (letter) {
|
|
70
|
-
currentIndex.value = letter;
|
|
71
|
-
scrollToLetter(letter);
|
|
72
|
-
emit("index-change", letter);
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
const onIndexTouchStart = (e) => {
|
|
76
|
-
showIndicator.value = true;
|
|
77
|
-
const touchY = e.touches[0].clientY;
|
|
78
|
-
indicatorTop.value = touchY;
|
|
79
|
-
common_vendor.index.createSelectorQuery().in(instance).select(".prism-index-bar").boundingClientRect((rect) => {
|
|
80
|
-
if (rect) {
|
|
81
|
-
indexBarRect = rect;
|
|
82
|
-
const letter = getLetterByTouch(touchY);
|
|
83
|
-
if (letter) {
|
|
84
|
-
currentIndex.value = letter;
|
|
85
|
-
scrollToLetter(letter);
|
|
86
|
-
emit("index-change", letter);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}).exec();
|
|
90
|
-
};
|
|
91
|
-
const onIndexTouchMove = (e) => {
|
|
92
|
-
const touchY = e.touches[0].clientY;
|
|
93
|
-
if (indexBarRect) {
|
|
94
|
-
updateLetter(touchY);
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
const onIndexTouchEnd = () => {
|
|
98
|
-
showIndicator.value = false;
|
|
99
|
-
};
|
|
100
|
-
return (_ctx, _cache) => {
|
|
101
|
-
return common_vendor.e({
|
|
102
|
-
a: scrollTop.value,
|
|
103
|
-
b: common_vendor.o(onScroll),
|
|
104
|
-
c: __props.showIndexBar && __props.indexList.length
|
|
105
|
-
}, __props.showIndexBar && __props.indexList.length ? {
|
|
106
|
-
d: common_vendor.f(__props.indexList, (item, k0, i0) => {
|
|
107
|
-
return {
|
|
108
|
-
a: common_vendor.t(item),
|
|
109
|
-
b: item,
|
|
110
|
-
c: currentIndex.value === item ? 1 : ""
|
|
111
|
-
};
|
|
112
|
-
}),
|
|
113
|
-
e: common_vendor.o(onIndexTouchStart),
|
|
114
|
-
f: common_vendor.o(onIndexTouchMove),
|
|
115
|
-
g: common_vendor.o(onIndexTouchEnd)
|
|
116
|
-
} : {}, {
|
|
117
|
-
h: showIndicator.value
|
|
118
|
-
}, showIndicator.value ? {
|
|
119
|
-
i: common_vendor.t(currentIndex.value),
|
|
120
|
-
j: indicatorTop.value + "px"
|
|
121
|
-
} : {}, {
|
|
122
|
-
k: __props.height
|
|
123
|
-
});
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
wx.createComponent(_sfc_main);
|
|
128
|
-
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<view class="prism-group-sticky-wrapper" style="{{'height:' + k}}"><scroll-view class="prism-group-sticky" scroll-y scroll-top="{{a}}" enhanced="{{true}}" show-scrollbar="{{false}}" style="height:100%" bindscroll="{{b}}"><slot></slot></scroll-view><view wx:if="{{c}}" class="prism-index-bar" bindtouchstart="{{e}}" catchtouchmove="{{f}}" bindtouchend="{{g}}"><view wx:for="{{d}}" wx:for-item="item" wx:key="b" class="{{['index-item', item.c && 'active']}}">{{item.a}}</view></view><view wx:if="{{h}}" class="index-indicator" style="{{'top:' + j}}">{{i}}</view></view>
|