@ruixinkeji/prism-ui 1.0.14 → 1.0.16
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/README.md +6 -2
- package/dist/build/h5/assets/PrismCode-D1lrgx1M.css +1 -0
- package/dist/build/h5/assets/PrismCode.CNOtat_X.js +1 -0
- package/dist/build/h5/assets/PrismGroupSticky-CBFeo0AB.css +1 -0
- package/dist/build/h5/assets/PrismGroupSticky.CmJXt6ws.js +1 -0
- package/dist/build/h5/assets/PrismMusicPlayer-CHVtYDn7.css +1 -0
- package/dist/build/h5/assets/PrismMusicPlayer.DAW3y5Km.js +1 -0
- package/dist/build/h5/assets/PrismNavBar-CYetauMR.css +1 -0
- package/dist/build/h5/assets/PrismNavBar.CFM58fal.js +1 -0
- package/dist/build/h5/assets/PrismSwiper-CDtZrfyq.css +1 -0
- package/dist/build/h5/assets/PrismSwiper.DTGFNn5Q.js +1 -0
- package/dist/build/h5/assets/PrismTabBar-BW0exu0j.css +1 -0
- package/dist/build/h5/assets/PrismTabBar.DPe-iC_F.js +1 -0
- package/dist/build/h5/assets/basic-tn0RQdqM.css +0 -0
- package/dist/build/h5/assets/card-layout-BZuodKCJ.css +1 -0
- package/dist/build/h5/assets/colors-RgTfwcKp.css +1 -0
- package/dist/build/h5/assets/data-DSHiB3Xs.css +1 -0
- package/dist/build/h5/assets/effects-CNFDtZjf.css +1 -0
- package/dist/build/h5/assets/examples-CSzKlb8B.css +1 -0
- 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 +1 -0
- package/dist/build/h5/assets/form-va-eFD7k.css +1 -0
- package/dist/build/h5/assets/group-CDa_hQkB.css +1 -0
- package/dist/build/h5/assets/iconfont-CW81RyG4.ttf +0 -0
- package/dist/build/h5/assets/icons-83wAdmdh.css +1 -0
- package/dist/build/h5/assets/index-BQ-qpvZH.css +1 -0
- package/dist/build/h5/assets/index-BQnv3xQ8.css +1 -0
- package/dist/build/h5/assets/index-C83xA4hX.css +1 -0
- package/dist/build/h5/assets/index-Cvc14mto.css +1 -0
- package/dist/build/h5/assets/index-D2djL_pA.js +32 -0
- package/dist/build/h5/assets/navigation-D0rlyjtK.css +1 -0
- package/dist/build/h5/assets/pages-demo-basic.BsC9sqol.js +1 -0
- package/dist/build/h5/assets/pages-demo-code-index.BXECig1w.js +1 -0
- package/dist/build/h5/assets/pages-demo-colors.Dl__3Mv9.js +1 -0
- package/dist/build/h5/assets/pages-demo-container.Cy-M9f41.js +1 -0
- package/dist/build/h5/assets/pages-demo-data.CK2JdeBK.js +1 -0
- package/dist/build/h5/assets/pages-demo-effects.CV0rqKht.js +1 -0
- package/dist/build/h5/assets/pages-demo-feedback.BO-G3E1J.js +1 -0
- package/dist/build/h5/assets/pages-demo-form.CsUNLqqe.js +1 -0
- package/dist/build/h5/assets/pages-demo-layout-card-layout.CQ6fF8IK.js +1 -0
- package/dist/build/h5/assets/pages-demo-layout.261GXW2o.js +1 -0
- package/dist/build/h5/assets/pages-demo-navigation.C5hFijVt.js +1 -0
- package/dist/build/h5/assets/pages-demo-other.CVdLVU3_.js +1 -0
- package/dist/build/h5/assets/pages-demo-sticky-group.MDzv6I5L.js +1 -0
- package/dist/build/h5/assets/pages-demo-sticky-index.D2UJUdon.js +1 -0
- package/dist/build/h5/assets/pages-examples-examples.hyUWuu8C.js +1 -0
- package/dist/build/h5/assets/pages-icons-icons.R2erKYQX.js +1 -0
- package/dist/build/h5/assets/pages-index-index.BlfkIjJo.js +1 -0
- package/dist/build/h5/assets/pages-tools-tools.tm3Y1cFN.js +1 -0
- package/dist/build/h5/assets/tools-C1YBcrWJ.css +1 -0
- package/dist/build/h5/assets/uni-app.es.DfNmMcUd.js +1 -0
- package/dist/build/h5/assets/uni.e2868147.css +1 -0
- package/dist/build/h5/assets/useNavbar.BdajVjjC.js +1 -0
- package/dist/build/h5/index.html +23 -0
- package/dist/build/h5/static/fonts/all-icons.txt +453 -0
- 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 +943 -0
- package/dist/build/h5/static/fonts/iconfont.css +62 -0
- package/dist/build/h5/static/fonts/iconfont.js +1 -0
- package/dist/build/h5/static/fonts/iconfont.json +79 -0
- 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 +453 -0
- 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 +11 -0
- package/dist/dev/.nvue/app.js +2 -0
- package/dist/dev/.sourcemap/mp-weixin/app.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismAddressInput/PrismAddressInput.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCityPicker/PrismCityPicker.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCitySelect/PrismCitySelect.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCode/PrismCode.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCodeInput/PrismCodeInput.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismDropdown/PrismDropdown.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismIndexBar/PrismIndexBar.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismNavBar/PrismNavBar.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSecureInput/PrismSecureInput.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSticky/PrismSticky.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSwiper/PrismSwiper.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSwitch/PrismSwitch.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismTabBar/PrismTabBar.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismTabs/PrismTabs.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/composables/useNavbar.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/config/theme-colors.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/basic.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/card.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/code/index.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/colors.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/container.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/data.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/effects.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/feedback.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/form.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/layout/card-layout.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/layout.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/navigation.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/other.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/sticky/group.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/sticky/index.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/examples/examples.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/icons/icons.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/pages/tools/tools.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/store/app.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/utils/lunar.js.map +1 -0
- package/dist/dev/.sourcemap/mp-weixin/utils/system.js.map +1 -0
- package/dist/dev/app-plus/__uniappautomator.js +16 -0
- package/dist/dev/app-plus/__uniappchooselocation.js +32 -0
- package/dist/dev/app-plus/__uniapperror.png +0 -0
- package/dist/dev/app-plus/__uniappopenlocation.js +32 -0
- package/dist/dev/app-plus/__uniapppicker.js +33 -0
- package/dist/dev/app-plus/__uniappquill.js +8 -0
- package/dist/dev/app-plus/__uniappquillimageresize.js +1 -0
- package/dist/dev/app-plus/__uniappscan.js +32 -0
- package/dist/dev/app-plus/__uniappsuccess.png +0 -0
- package/dist/dev/app-plus/__uniappview.html +24 -0
- package/dist/dev/app-plus/app-config-service.js +11 -0
- package/dist/dev/app-plus/app-config.js +1 -0
- package/dist/dev/app-plus/app-service.js +23663 -0
- package/dist/dev/app-plus/app.css +8955 -0
- package/dist/dev/app-plus/manifest.json +91 -0
- package/dist/dev/app-plus/pages/demo/basic.css +524 -0
- package/dist/dev/app-plus/pages/demo/code/index.css +541 -0
- package/dist/dev/app-plus/pages/demo/colors.css +4008 -0
- package/dist/dev/app-plus/pages/demo/container.css +524 -0
- package/dist/dev/app-plus/pages/demo/data.css +705 -0
- package/dist/dev/app-plus/pages/demo/effects.css +530 -0
- package/dist/dev/app-plus/pages/demo/feedback.css +590 -0
- package/dist/dev/app-plus/pages/demo/form.css +3422 -0
- package/dist/dev/app-plus/pages/demo/layout/card-layout.css +785 -0
- package/dist/dev/app-plus/pages/demo/layout.css +524 -0
- package/dist/dev/app-plus/pages/demo/navigation.css +769 -0
- package/dist/dev/app-plus/pages/demo/other.css +524 -0
- package/dist/dev/app-plus/pages/demo/sticky/group.css +788 -0
- package/dist/dev/app-plus/pages/demo/sticky/index.css +894 -0
- package/dist/dev/app-plus/pages/examples/examples.css +1031 -0
- package/dist/dev/app-plus/pages/icons/icons.css +3310 -0
- package/dist/dev/app-plus/pages/index/index.css +696 -0
- package/dist/dev/app-plus/pages/tools/tools.css +378 -0
- package/dist/dev/app-plus/static/fonts/all-icons.txt +453 -0
- 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 +943 -0
- package/dist/dev/app-plus/static/fonts/iconfont.css +62 -0
- package/dist/dev/app-plus/static/fonts/iconfont.js +1 -0
- package/dist/dev/app-plus/static/fonts/iconfont.json +79 -0
- 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 +453 -0
- 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 +7 -0
- package/dist/dev/mp-weixin/app.js +49 -0
- package/dist/dev/mp-weixin/app.json +29 -0
- package/dist/dev/mp-weixin/app.wxss +9072 -0
- package/dist/dev/mp-weixin/common/vendor.js +15968 -0
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.js +200 -0
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.json +4 -0
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.wxss +327 -0
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.js +449 -0
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.json +4 -0
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.wxss +264 -0
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.js +531 -0
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.json +4 -0
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.wxss +309 -0
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.js +200 -0
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.json +6 -0
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.wxss +225 -0
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.js +337 -0
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.json +4 -0
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.wxss +345 -0
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.js +70 -0
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.json +4 -0
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.wxss +115 -0
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.js +468 -0
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.json +4 -0
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.wxss +309 -0
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.js +63 -0
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.json +4 -0
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.wxss +0 -0
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.js +128 -0
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.json +4 -0
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.wxss +191 -0
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.js +123 -0
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.json +4 -0
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.wxss +114 -0
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.js +108 -0
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.json +4 -0
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.wxss +135 -0
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.js +449 -0
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.json +4 -0
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.wxss +445 -0
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.js +200 -0
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.json +4 -0
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.wxss +334 -0
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.js +71 -0
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.json +4 -0
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.wxss +150 -0
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.js +140 -0
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.json +4 -0
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.wxss +215 -0
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.js +120 -0
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.json +4 -0
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.wxss +62 -0
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.js +163 -0
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.json +4 -0
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.wxss +203 -0
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.js +69 -0
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.json +4 -0
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.wxss +151 -0
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.js +58 -0
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.json +4 -0
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.wxss +119 -0
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.js +51 -0
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.json +4 -0
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.wxss +51 -0
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.js +182 -0
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.json +4 -0
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.wxml +1 -0
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.wxss +329 -0
- package/dist/dev/mp-weixin/composables/useNavbar.js +19 -0
- package/dist/dev/mp-weixin/config/theme-colors.js +73 -0
- package/dist/dev/mp-weixin/pages/demo/basic.js +77 -0
- package/dist/dev/mp-weixin/pages/demo/basic.json +7 -0
- package/dist/dev/mp-weixin/pages/demo/basic.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/basic.wxss +54 -0
- package/dist/dev/mp-weixin/pages/demo/code/index.js +190 -0
- package/dist/dev/mp-weixin/pages/demo/code/index.json +7 -0
- package/dist/dev/mp-weixin/pages/demo/code/index.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/code/index.wxss +71 -0
- package/dist/dev/mp-weixin/pages/demo/colors.js +130 -0
- package/dist/dev/mp-weixin/pages/demo/colors.json +7 -0
- package/dist/dev/mp-weixin/pages/demo/colors.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/colors.wxss +3793 -0
- package/dist/dev/mp-weixin/pages/demo/container.js +65 -0
- package/dist/dev/mp-weixin/pages/demo/container.json +7 -0
- package/dist/dev/mp-weixin/pages/demo/container.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/container.wxss +54 -0
- package/dist/dev/mp-weixin/pages/demo/data.js +398 -0
- package/dist/dev/mp-weixin/pages/demo/data.json +7 -0
- package/dist/dev/mp-weixin/pages/demo/data.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/data.wxss +235 -0
- package/dist/dev/mp-weixin/pages/demo/effects.js +62 -0
- package/dist/dev/mp-weixin/pages/demo/effects.json +7 -0
- package/dist/dev/mp-weixin/pages/demo/effects.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/effects.wxss +60 -0
- package/dist/dev/mp-weixin/pages/demo/feedback.js +256 -0
- package/dist/dev/mp-weixin/pages/demo/feedback.json +7 -0
- package/dist/dev/mp-weixin/pages/demo/feedback.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/feedback.wxss +120 -0
- package/dist/dev/mp-weixin/pages/demo/form.js +689 -0
- package/dist/dev/mp-weixin/pages/demo/form.json +18 -0
- package/dist/dev/mp-weixin/pages/demo/form.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/form.wxss +54 -0
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.js +61 -0
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.json +7 -0
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.wxss +326 -0
- package/dist/dev/mp-weixin/pages/demo/layout.js +96 -0
- package/dist/dev/mp-weixin/pages/demo/layout.json +7 -0
- package/dist/dev/mp-weixin/pages/demo/layout.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/layout.wxss +54 -0
- package/dist/dev/mp-weixin/pages/demo/navigation.js +142 -0
- package/dist/dev/mp-weixin/pages/demo/navigation.json +10 -0
- package/dist/dev/mp-weixin/pages/demo/navigation.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/navigation.wxss +61 -0
- package/dist/dev/mp-weixin/pages/demo/other.js +50 -0
- package/dist/dev/mp-weixin/pages/demo/other.json +7 -0
- package/dist/dev/mp-weixin/pages/demo/other.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/other.wxss +54 -0
- package/dist/dev/mp-weixin/pages/demo/sticky/group.js +212 -0
- package/dist/dev/mp-weixin/pages/demo/sticky/group.json +8 -0
- package/dist/dev/mp-weixin/pages/demo/sticky/group.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/sticky/group.wxss +135 -0
- package/dist/dev/mp-weixin/pages/demo/sticky/index.js +90 -0
- package/dist/dev/mp-weixin/pages/demo/sticky/index.json +9 -0
- package/dist/dev/mp-weixin/pages/demo/sticky/index.wxml +1 -0
- package/dist/dev/mp-weixin/pages/demo/sticky/index.wxss +175 -0
- package/dist/dev/mp-weixin/pages/examples/examples.js +65 -0
- package/dist/dev/mp-weixin/pages/examples/examples.json +8 -0
- package/dist/dev/mp-weixin/pages/examples/examples.wxml +1 -0
- package/dist/dev/mp-weixin/pages/examples/examples.wxss +461 -0
- package/dist/dev/mp-weixin/pages/icons/icons.js +350 -0
- package/dist/dev/mp-weixin/pages/icons/icons.json +8 -0
- package/dist/dev/mp-weixin/pages/icons/icons.wxml +1 -0
- package/dist/dev/mp-weixin/pages/icons/icons.wxss +3079 -0
- package/dist/dev/mp-weixin/pages/index/index.js +118 -0
- package/dist/dev/mp-weixin/pages/index/index.json +8 -0
- package/dist/dev/mp-weixin/pages/index/index.wxml +1 -0
- package/dist/dev/mp-weixin/pages/index/index.wxss +123 -0
- package/dist/dev/mp-weixin/pages/tools/tools.js +37 -0
- package/dist/dev/mp-weixin/pages/tools/tools.json +7 -0
- package/dist/dev/mp-weixin/pages/tools/tools.wxml +1 -0
- package/dist/dev/mp-weixin/pages/tools/tools.wxss +134 -0
- package/dist/dev/mp-weixin/project.config.json +36 -0
- package/dist/dev/mp-weixin/project.private.config.json +23 -0
- package/dist/dev/mp-weixin/static/fonts/all-icons.txt +453 -0
- 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 +943 -0
- package/dist/dev/mp-weixin/static/fonts/iconfont.css +62 -0
- package/dist/dev/mp-weixin/static/fonts/iconfont.js +1 -0
- package/dist/dev/mp-weixin/static/fonts/iconfont.json +79 -0
- 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 +453 -0
- 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 +64 -0
- package/dist/dev/mp-weixin/utils/lunar.js +330 -0
- package/dist/dev/mp-weixin/utils/system.js +18 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.esm.js +33 -0
- package/dist/index.js +33 -0
- package/dist/prism-ui.css +7776 -0
- package/dist/prism-ui.min.css +1 -0
- package/dist/styles/base.scss +213 -0
- package/dist/styles/button.scss +120 -0
- package/dist/styles/card.scss +306 -0
- package/dist/styles/data.scss +1229 -0
- package/dist/styles/effects.scss +407 -0
- package/dist/styles/feedback.scss +698 -0
- package/dist/styles/form.scss +1574 -0
- package/dist/styles/index.scss +43 -0
- package/dist/styles/list.scss +184 -0
- package/dist/styles/navigation.scss +501 -0
- package/dist/styles/overlay.scss +182 -0
- package/dist/styles/utilities.scss +134 -0
- package/dist/styles/variables.scss +154 -0
- package/package.json +2 -5
- package/styles/base.scss +0 -1
- package/styles/card.scss +0 -1
- package/styles/colors.scss +0 -1
- package/styles/effects.scss +0 -1
- package/styles/form.scss +0 -1
- package/styles/index.scss +13 -13
- package/styles/navigation.scss +0 -1
- package/styles/variables.scss +1 -1
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const common_vendor = require("../../common/vendor.js");
|
|
3
|
+
const store_app = require("../../store/app.js");
|
|
4
|
+
const composables_useNavbar = require("../../composables/useNavbar.js");
|
|
5
|
+
if (!Array) {
|
|
6
|
+
const _easycom_PrismNavBar2 = common_vendor.resolveComponent("PrismNavBar");
|
|
7
|
+
const _easycom_PrismTabBar2 = common_vendor.resolveComponent("PrismTabBar");
|
|
8
|
+
(_easycom_PrismNavBar2 + _easycom_PrismTabBar2)();
|
|
9
|
+
}
|
|
10
|
+
const _easycom_PrismNavBar = () => "../../components/PrismNavBar/PrismNavBar.js";
|
|
11
|
+
const _easycom_PrismTabBar = () => "../../components/PrismTabBar/PrismTabBar.js";
|
|
12
|
+
if (!Math) {
|
|
13
|
+
(_easycom_PrismNavBar + PrismCode + _easycom_PrismTabBar)();
|
|
14
|
+
}
|
|
15
|
+
const PrismCode = () => "../../components/PrismCode/PrismCode.js";
|
|
16
|
+
const _sfc_main = {
|
|
17
|
+
__name: "index",
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const appStore = store_app.useAppStore();
|
|
20
|
+
const { navbarHeight } = composables_useNavbar.useNavbar();
|
|
21
|
+
const features = [
|
|
22
|
+
{ icon: "fa-palette", title: "现代设计", desc: "玻璃态设计风格" },
|
|
23
|
+
{ icon: "fa-mobile", title: "全平台支持", desc: "H5/小程序/App" },
|
|
24
|
+
{ icon: "fa-code", title: "易于使用", desc: "简洁的 API" },
|
|
25
|
+
{ icon: "fa-rocket", title: "开箱即用", desc: "一键安装" }
|
|
26
|
+
];
|
|
27
|
+
const categories = [
|
|
28
|
+
{ id: "colors", title: "主题系统", desc: "CSS 变量、深色模式、颜色系统", icon: "fa-palette", color: "pink", path: "/pages/demo/colors" },
|
|
29
|
+
{ id: "basic", title: "基础组件", desc: "按钮、图标、徽章", icon: "fa-cube", color: "blue", path: "/pages/demo/basic" },
|
|
30
|
+
{ id: "container", title: "容器组件", desc: "卡片、列表项、折叠面板", icon: "fa-layer-group", color: "purple", path: "/pages/demo/container" },
|
|
31
|
+
{ id: "layout", title: "布局组件", desc: "吸顶、宫格、区块头部", icon: "fa-table-cells", color: "cyan", path: "/pages/demo/layout" },
|
|
32
|
+
{ id: "navigation", title: "导航组件", desc: "标签页、轮播图、菜单列表", icon: "fa-compass", color: "green", path: "/pages/demo/navigation" },
|
|
33
|
+
{ id: "form", title: "表单组件", desc: "输入框、选择器、开关", icon: "fa-keyboard", color: "teal", path: "/pages/demo/form" },
|
|
34
|
+
{ id: "data", title: "数据展示", desc: "头像、统计、进度、里程碑", icon: "fa-chart-bar", color: "orange", path: "/pages/demo/data" },
|
|
35
|
+
{ id: "feedback", title: "反馈组件", desc: "提示、对话框、骨架屏", icon: "fa-comment-dots", color: "red", path: "/pages/demo/feedback" },
|
|
36
|
+
{ id: "effects", title: "特效组件", desc: "悬浮按钮、霓虹灯、脉冲", icon: "fa-wand-magic-sparkles", color: "yellow", path: "/pages/demo/effects" },
|
|
37
|
+
{ id: "other", title: "其他组件", desc: "代码展示等", icon: "fa-ellipsis", color: "indigo", path: "/pages/demo/other" }
|
|
38
|
+
];
|
|
39
|
+
const quickActions = [
|
|
40
|
+
{ id: "scan", title: "扫一扫", icon: "fa-qrcode", color: "purple", handler: handleScan },
|
|
41
|
+
{ id: "watermark", title: "水印拍照", icon: "fa-camera", color: "red", handler: handleWatermark },
|
|
42
|
+
{ id: "theme", title: "切换主题", icon: common_vendor.computed(() => appStore.isDarkMode ? "fa-sun" : "fa-moon"), color: "blue", handler: () => appStore.toggleTheme() }
|
|
43
|
+
];
|
|
44
|
+
function goToPage(path) {
|
|
45
|
+
if (path) {
|
|
46
|
+
common_vendor.index.navigateTo({ url: path });
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function handleScan() {
|
|
50
|
+
common_vendor.index.scanCode({
|
|
51
|
+
success: (res) => {
|
|
52
|
+
common_vendor.index.showModal({
|
|
53
|
+
title: "扫码结果",
|
|
54
|
+
content: res.result,
|
|
55
|
+
showCancel: false
|
|
56
|
+
});
|
|
57
|
+
},
|
|
58
|
+
fail: (err) => {
|
|
59
|
+
if (err.errMsg && !err.errMsg.includes("cancel")) {
|
|
60
|
+
common_vendor.index.showToast({ title: "扫码失败", icon: "none" });
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function handleWatermark() {
|
|
66
|
+
common_vendor.index.showToast({
|
|
67
|
+
title: "水印拍照功能",
|
|
68
|
+
icon: "none"
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
return (_ctx, _cache) => {
|
|
72
|
+
return {
|
|
73
|
+
a: common_vendor.p({
|
|
74
|
+
title: "Prism UI",
|
|
75
|
+
icon: "fa-palette",
|
|
76
|
+
["icon-color"]: "purple"
|
|
77
|
+
}),
|
|
78
|
+
b: common_vendor.f(features, (feature, k0, i0) => {
|
|
79
|
+
return {
|
|
80
|
+
a: common_vendor.n(feature.icon),
|
|
81
|
+
b: common_vendor.t(feature.title),
|
|
82
|
+
c: common_vendor.t(feature.desc),
|
|
83
|
+
d: feature.icon
|
|
84
|
+
};
|
|
85
|
+
}),
|
|
86
|
+
c: common_vendor.p({
|
|
87
|
+
code: "npm install @ruixin/prism-ui"
|
|
88
|
+
}),
|
|
89
|
+
d: common_vendor.f(categories, (category, k0, i0) => {
|
|
90
|
+
return {
|
|
91
|
+
a: common_vendor.n(category.icon),
|
|
92
|
+
b: common_vendor.n(category.color),
|
|
93
|
+
c: common_vendor.t(category.title),
|
|
94
|
+
d: common_vendor.t(category.desc),
|
|
95
|
+
e: category.id,
|
|
96
|
+
f: common_vendor.o(($event) => goToPage(category.path), category.id)
|
|
97
|
+
};
|
|
98
|
+
}),
|
|
99
|
+
e: common_vendor.f(quickActions, (action, k0, i0) => {
|
|
100
|
+
return {
|
|
101
|
+
a: common_vendor.n(typeof action.icon === "string" ? action.icon : action.icon.value),
|
|
102
|
+
b: common_vendor.n(action.color),
|
|
103
|
+
c: common_vendor.t(action.title),
|
|
104
|
+
d: action.id,
|
|
105
|
+
e: common_vendor.o(action.handler, action.id)
|
|
106
|
+
};
|
|
107
|
+
}),
|
|
108
|
+
f: common_vendor.unref(navbarHeight) + "px",
|
|
109
|
+
g: common_vendor.p({
|
|
110
|
+
current: "/pages/index/index"
|
|
111
|
+
}),
|
|
112
|
+
h: common_vendor.unref(appStore).isDarkMode ? 1 : ""
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
wx.createPage(_sfc_main);
|
|
118
|
+
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<view class="{{['prism-page', h && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="781eda08-0" bind:__l="__l" u-p="{{a}}"/><scroll-view class="prism-main" scroll-y style="{{'padding-top:' + f}}"><view class="prism-section intro-section flex flex-col items-center"><view class="intro-icon w-_a_120rpx_a_ h-_a_120rpx_a_ rounded-full flex items-center justify-center mb-_a_24rpx_a_"><text class="fa fa-palette text-_a_56rpx_a_ text-white"></text></view><text class="intro-title text-_a_40rpx_a_ font-bold mb-_a_12rpx_a_ text-white">Prism UI 组件库</text><text class="intro-desc text-_a_26rpx_a_ text-white_a_80">现代化玻璃态设计 · 支持深浅主题 · 流畅交互体验</text></view><view class="prism-section"><view class="prism-card glass p-_a_32rpx_a_"><text class="block text-_a_32rpx_a_ font-bold mb-_a_12rpx_a_" style="color:var(--prism-text-primary)">欢迎使用 Prism UI</text><text class="block text-_a_26rpx_a_ leading-_a_1_a_5_a_" style="color:var(--prism-text-secondary)">一个专为 uni-app 打造的现代化 UI 组件库,提供丰富的玻璃态设计组件</text></view></view><view class="prism-section"><view class="grid grid-cols-2 gap-_a_16rpx_a_"><view wx:for="{{b}}" wx:for-item="feature" wx:key="d" class="prism-card glass p-_a_28rpx_a_ text-center"><text class="{{['fa', 'block', 'text-_a_48rpx_a_', 'mb-_a_12rpx_a_', feature.a]}}" style="color:var(--prism-primary-color)"></text><text class="block text-_a_28rpx_a_ font-bold mb-_a_6rpx_a_" style="color:var(--prism-text-primary)">{{feature.b}}</text><text class="block text-_a_22rpx_a_" style="color:var(--prism-text-secondary)">{{feature.c}}</text></view></view></view><view class="prism-section"><view class="section-title">快速开始</view><prism-code wx:if="{{c}}" u-i="781eda08-1" bind:__l="__l" u-p="{{c}}"/></view><view class="prism-section"><view class="section-title">组件分类</view><view class="flex flex-col gap-_a_16rpx_a_"><view wx:for="{{d}}" wx:for-item="category" wx:key="e" class="prism-list-item" bindtap="{{category.f}}"><view class="{{['list-item-icon', 'prism-icon', category.b]}}"><text class="{{['fa', category.a]}}"></text></view><view class="list-item-content"><text class="list-item-title">{{category.c}}</text><text class="list-item-desc">{{category.d}}</text></view><text class="fa fa-angle-right list-item-arrow"></text></view></view></view><view class="prism-section"><view class="section-title">快速功能</view><view class="flex gap-_a_24rpx_a_"><view wx:for="{{e}}" wx:for-item="action" wx:key="d" class="quick-card flex-1 flex flex-col items-center p-_a_24rpx_16rpx_a_ rounded-_a_16rpx_a_" bindtap="{{action.e}}"><view class="{{['prism-icon', 'w-_a_80rpx_a_', 'h-_a_80rpx_a_', 'rounded-full', 'flex', 'items-center', 'justify-center', 'mb-_a_12rpx_a_', action.b]}}"><text class="{{['fa', 'text-_a_32rpx_a_', action.a]}}"></text></view><text class="text-_a_24rpx_a_" style="color:var(--prism-text-secondary)">{{action.c}}</text></view></view></view><view class="prism-bottom-placeholder"></view></scroll-view><prism-tab-bar wx:if="{{g}}" u-i="781eda08-2" bind:__l="__l" u-p="{{g}}"/></view>
|
|
@@ -0,0 +1,123 @@
|
|
|
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
|
+
/**
|
|
52
|
+
* Prism UI - SCSS 变量定义
|
|
53
|
+
* 此文件包含所有设计令牌和变量
|
|
54
|
+
* 所有变量使用 $prism- 前缀,避免与用户项目冲突
|
|
55
|
+
*
|
|
56
|
+
* 主题切换:修改下面的引入文件即可切换主题
|
|
57
|
+
* 可选主题:blue(默认) / green / purple / orange / red / cyan
|
|
58
|
+
*/
|
|
59
|
+
/**
|
|
60
|
+
* Prism UI - 蓝色主题(默认)
|
|
61
|
+
*
|
|
62
|
+
* 使用方式:在 variables.scss 中修改引入
|
|
63
|
+
* @import '../theme/blue.scss';
|
|
64
|
+
*
|
|
65
|
+
* 颜色值来自 colors.scss 中的 $prism-blue-* 变量
|
|
66
|
+
*/
|
|
67
|
+
/* ============================================================
|
|
68
|
+
一、浅色模式变量(使用 !default,允许主题文件覆盖)
|
|
69
|
+
============================================================ */
|
|
70
|
+
/* -------------------- 主题色 -------------------- */
|
|
71
|
+
/* -------------------- 状态色 -------------------- */
|
|
72
|
+
/* -------------------- 文字颜色 -------------------- */
|
|
73
|
+
/* -------------------- 边框颜色 -------------------- */
|
|
74
|
+
/* -------------------- 背景颜色 -------------------- */
|
|
75
|
+
/* ============================================================
|
|
76
|
+
二、深色模式变量
|
|
77
|
+
============================================================ */
|
|
78
|
+
/* -------------------- 主题色(深色) -------------------- */
|
|
79
|
+
/* -------------------- 状态色(深色) -------------------- */
|
|
80
|
+
/* -------------------- 文字颜色(深色) -------------------- */
|
|
81
|
+
/* -------------------- 边框颜色(深色) -------------------- */
|
|
82
|
+
/* -------------------- 背景颜色(深色) -------------------- */
|
|
83
|
+
/* ============================================================
|
|
84
|
+
三、主题色透明度(使用 !default,允许主题文件覆盖)
|
|
85
|
+
============================================================ */
|
|
86
|
+
/* ============================================================
|
|
87
|
+
主题色渐变(使用 !default,允许主题文件覆盖)
|
|
88
|
+
============================================================ */
|
|
89
|
+
/* ============================================================
|
|
90
|
+
四、白色透明度
|
|
91
|
+
============================================================ */
|
|
92
|
+
/* ============================================================
|
|
93
|
+
六、第三方品牌色
|
|
94
|
+
============================================================ */
|
|
95
|
+
/* ============================================================
|
|
96
|
+
八、常用阴影(使用 !default,允许主题文件覆盖)
|
|
97
|
+
============================================================ */
|
|
98
|
+
/* ============================================================
|
|
99
|
+
九、统一间距
|
|
100
|
+
============================================================ */
|
|
101
|
+
/* 头部介绍 */
|
|
102
|
+
.intro-section {
|
|
103
|
+
padding: 48rpx 32rpx;
|
|
104
|
+
background: linear-gradient(135deg, #3478F6 0%, #5B9BF8 100%);
|
|
105
|
+
}
|
|
106
|
+
.dark-mode .intro-section {
|
|
107
|
+
background: linear-gradient(135deg, rgba(52, 120, 246, 0.3), rgba(91, 155, 248, 0.2));
|
|
108
|
+
}
|
|
109
|
+
.intro-icon {
|
|
110
|
+
background: rgba(255, 255, 255, 0.2);
|
|
111
|
+
}
|
|
112
|
+
/* 快速功能卡片 */
|
|
113
|
+
.quick-card {
|
|
114
|
+
background: var(--prism-bg-color-card);
|
|
115
|
+
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
|
|
116
|
+
}
|
|
117
|
+
.quick-card:active {
|
|
118
|
+
opacity: 0.8;
|
|
119
|
+
}
|
|
120
|
+
/* 深色模式 */
|
|
121
|
+
.prism-page.dark-mode .quick-card {
|
|
122
|
+
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.2);
|
|
123
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const common_vendor = require("../../common/vendor.js");
|
|
3
|
+
const store_app = require("../../store/app.js");
|
|
4
|
+
const composables_useNavbar = require("../../composables/useNavbar.js");
|
|
5
|
+
if (!Array) {
|
|
6
|
+
const _easycom_PrismNavBar2 = common_vendor.resolveComponent("PrismNavBar");
|
|
7
|
+
const _easycom_PrismTabBar2 = common_vendor.resolveComponent("PrismTabBar");
|
|
8
|
+
(_easycom_PrismNavBar2 + _easycom_PrismTabBar2)();
|
|
9
|
+
}
|
|
10
|
+
const _easycom_PrismNavBar = () => "../../components/PrismNavBar/PrismNavBar.js";
|
|
11
|
+
const _easycom_PrismTabBar = () => "../../components/PrismTabBar/PrismTabBar.js";
|
|
12
|
+
if (!Math) {
|
|
13
|
+
(_easycom_PrismNavBar + _easycom_PrismTabBar)();
|
|
14
|
+
}
|
|
15
|
+
const _sfc_main = {
|
|
16
|
+
__name: "tools",
|
|
17
|
+
setup(__props) {
|
|
18
|
+
const appStore = store_app.useAppStore();
|
|
19
|
+
const { navbarHeight } = composables_useNavbar.useNavbar();
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return {
|
|
22
|
+
a: common_vendor.p({
|
|
23
|
+
title: "工具",
|
|
24
|
+
icon: "fa-toolbox",
|
|
25
|
+
["icon-color"]: "blue"
|
|
26
|
+
}),
|
|
27
|
+
b: common_vendor.unref(navbarHeight) + "px",
|
|
28
|
+
c: common_vendor.p({
|
|
29
|
+
current: "/pages/tools/tools"
|
|
30
|
+
}),
|
|
31
|
+
d: common_vendor.unref(appStore).isDarkMode ? 1 : ""
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
wx.createPage(_sfc_main);
|
|
37
|
+
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/tools/tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<view class="{{['prism-page', d && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="485d0f4c-0" bind:__l="__l" u-p="{{a}}"/><scroll-view class="prism-main" scroll-y style="{{'padding-top:' + b}}"><view class="tool-section"><view class="section-title">开发工具</view><view class="tool-list"><view class="tool-card"><view class="tool-icon" style="background:rgba(114, 46, 209, 0.15)"><text class="fa fa-palette" style="color:#722ED1"></text></view><view class="tool-info"><text class="tool-title">颜色转换</text><text class="tool-desc">HEX、RGB、HSL 颜色格式转换</text></view><text class="fa fa-angle-right tool-arrow"></text></view><view class="tool-card"><view class="tool-icon" style="background:rgba(52, 120, 246, 0.15)"><text class="fa fa-ruler" style="color:#3478F6"></text></view><view class="tool-info"><text class="tool-title">尺寸计算</text><text class="tool-desc">px、rpx、rem 单位换算</text></view><text class="fa fa-angle-right tool-arrow"></text></view><view class="tool-card"><view class="tool-icon" style="background:rgba(0, 180, 42, 0.15)"><text class="fa fa-clone" style="color:#00B42A"></text></view><view class="tool-info"><text class="tool-title">阴影生成</text><text class="tool-desc">CSS Box Shadow 生成器</text></view><text class="fa fa-angle-right tool-arrow"></text></view><view class="tool-card"><view class="tool-icon" style="background:rgba(245, 63, 63, 0.15)"><text class="fa fa-wand-magic-sparkles" style="color:#F53F3F"></text></view><view class="tool-info"><text class="tool-title">渐变生成</text><text class="tool-desc">CSS 渐变背景生成器</text></view><text class="fa fa-angle-right tool-arrow"></text></view><view class="tool-card"><view class="tool-icon" style="background:rgba(255, 125, 0, 0.15)"><text class="fa fa-square" style="color:#FF7D00"></text></view><view class="tool-info"><text class="tool-title">圆角预览</text><text class="tool-desc">Border Radius 可视化调整</text></view><text class="fa fa-angle-right tool-arrow"></text></view><view class="tool-card"><view class="tool-icon" style="background:rgba(22, 93, 255, 0.15)"><text class="fa fa-code" style="color:#165DFF"></text></view><view class="tool-info"><text class="tool-title">代码片段</text><text class="tool-desc">常用代码模板快速复制</text></view><text class="fa fa-angle-right tool-arrow"></text></view></view></view><view class="prism-bottom-placeholder"></view></scroll-view><prism-tab-bar wx:if="{{c}}" u-i="485d0f4c-1" bind:__l="__l" u-p="{{c}}"/></view>
|
|
@@ -0,0 +1,134 @@
|
|
|
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-page {
|
|
52
|
+
width: 100%;
|
|
53
|
+
min-height: 100vh;
|
|
54
|
+
background: var(--prism-bg-color-page, #F7F8FA);
|
|
55
|
+
}
|
|
56
|
+
.prism-main {
|
|
57
|
+
height: 100vh;
|
|
58
|
+
padding-bottom: 120rpx;
|
|
59
|
+
}
|
|
60
|
+
.tool-section {
|
|
61
|
+
padding: 24rpx;
|
|
62
|
+
}
|
|
63
|
+
.section-title {
|
|
64
|
+
font-size: 28rpx;
|
|
65
|
+
font-weight: 600;
|
|
66
|
+
color: var(--prism-text-primary, #1D2129);
|
|
67
|
+
margin-bottom: 16rpx;
|
|
68
|
+
}
|
|
69
|
+
.tool-list {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
gap: 16rpx;
|
|
73
|
+
}
|
|
74
|
+
.tool-card {
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
padding: 24rpx;
|
|
78
|
+
background: var(--prism-bg-color-card, #FFFFFF);
|
|
79
|
+
border-radius: 16rpx;
|
|
80
|
+
}
|
|
81
|
+
.tool-card:active {
|
|
82
|
+
opacity: 0.8;
|
|
83
|
+
}
|
|
84
|
+
.tool-card .tool-icon {
|
|
85
|
+
width: 88rpx;
|
|
86
|
+
height: 88rpx;
|
|
87
|
+
border-radius: 16rpx;
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
margin-right: 24rpx;
|
|
92
|
+
flex-shrink: 0;
|
|
93
|
+
}
|
|
94
|
+
.tool-card .tool-icon .fa {
|
|
95
|
+
font-size: 36rpx;
|
|
96
|
+
}
|
|
97
|
+
.tool-card .tool-info {
|
|
98
|
+
flex: 1;
|
|
99
|
+
min-width: 0;
|
|
100
|
+
}
|
|
101
|
+
.tool-card .tool-title {
|
|
102
|
+
display: block;
|
|
103
|
+
font-size: 30rpx;
|
|
104
|
+
font-weight: 600;
|
|
105
|
+
color: var(--prism-text-primary, #1D2129);
|
|
106
|
+
margin-bottom: 6rpx;
|
|
107
|
+
}
|
|
108
|
+
.tool-card .tool-desc {
|
|
109
|
+
display: block;
|
|
110
|
+
font-size: 24rpx;
|
|
111
|
+
color: var(--prism-text-secondary, #86909C);
|
|
112
|
+
}
|
|
113
|
+
.tool-card .tool-arrow {
|
|
114
|
+
font-size: 28rpx;
|
|
115
|
+
color: var(--prism-text-placeholder, #C9CDD4);
|
|
116
|
+
margin-left: 16rpx;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* 深色模式 */
|
|
120
|
+
.dark-mode .section-title {
|
|
121
|
+
color: var(--prism-text-primary, #E5E6EB);
|
|
122
|
+
}
|
|
123
|
+
.dark-mode .tool-card {
|
|
124
|
+
background: var(--prism-bg-color-card, #1A1A1A);
|
|
125
|
+
}
|
|
126
|
+
.dark-mode .tool-card .tool-title {
|
|
127
|
+
color: var(--prism-text-primary, #E5E6EB);
|
|
128
|
+
}
|
|
129
|
+
.dark-mode .tool-card .tool-desc {
|
|
130
|
+
color: var(--prism-text-secondary, #A9AEB8);
|
|
131
|
+
}
|
|
132
|
+
.dark-mode .tool-card .tool-arrow {
|
|
133
|
+
color: var(--prism-text-placeholder, #4E4E4E);
|
|
134
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "项目配置文件。",
|
|
3
|
+
"packOptions": {
|
|
4
|
+
"ignore": []
|
|
5
|
+
},
|
|
6
|
+
"setting": {
|
|
7
|
+
"urlCheck": false,
|
|
8
|
+
"es6": true,
|
|
9
|
+
"postcss": true,
|
|
10
|
+
"minified": true,
|
|
11
|
+
"newFeature": true,
|
|
12
|
+
"bigPackageSizeSupport": true
|
|
13
|
+
},
|
|
14
|
+
"compileType": "miniprogram",
|
|
15
|
+
"libVersion": "",
|
|
16
|
+
"appid": "wx7a9ce23e3fc33c65",
|
|
17
|
+
"projectname": "Prism UI",
|
|
18
|
+
"condition": {
|
|
19
|
+
"search": {
|
|
20
|
+
"current": -1,
|
|
21
|
+
"list": []
|
|
22
|
+
},
|
|
23
|
+
"conversation": {
|
|
24
|
+
"current": -1,
|
|
25
|
+
"list": []
|
|
26
|
+
},
|
|
27
|
+
"game": {
|
|
28
|
+
"current": -1,
|
|
29
|
+
"list": []
|
|
30
|
+
},
|
|
31
|
+
"miniprogram": {
|
|
32
|
+
"current": -1,
|
|
33
|
+
"list": []
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"libVersion": "3.12.1",
|
|
3
|
+
"projectname": "Prism%20UI",
|
|
4
|
+
"condition": {},
|
|
5
|
+
"setting": {
|
|
6
|
+
"urlCheck": false,
|
|
7
|
+
"coverView": false,
|
|
8
|
+
"lazyloadPlaceholderEnable": false,
|
|
9
|
+
"skylineRenderEnable": false,
|
|
10
|
+
"preloadBackgroundData": false,
|
|
11
|
+
"autoAudits": false,
|
|
12
|
+
"useApiHook": true,
|
|
13
|
+
"useApiHostProcess": true,
|
|
14
|
+
"showShadowRootInWxmlPanel": false,
|
|
15
|
+
"useStaticServer": false,
|
|
16
|
+
"useLanDebug": false,
|
|
17
|
+
"showES6CompileOption": false,
|
|
18
|
+
"compileHotReLoad": true,
|
|
19
|
+
"checkInvalidKey": true,
|
|
20
|
+
"ignoreDevUnusedFiles": true,
|
|
21
|
+
"bigPackageSizeSupport": true
|
|
22
|
+
}
|
|
23
|
+
}
|