@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,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const common_vendor = require("../../common/vendor.js");
|
|
3
|
+
const store_app = require("../../store/app.js");
|
|
4
|
+
if (!Array) {
|
|
5
|
+
const _easycom_PrismNavBar2 = common_vendor.resolveComponent("PrismNavBar");
|
|
6
|
+
_easycom_PrismNavBar2();
|
|
7
|
+
}
|
|
8
|
+
const _easycom_PrismNavBar = () => "../../components/PrismNavBar/PrismNavBar.js";
|
|
9
|
+
if (!Math) {
|
|
10
|
+
(_easycom_PrismNavBar + PrismCode)();
|
|
11
|
+
}
|
|
12
|
+
const PrismCode = () => "../../components/PrismCode/PrismCode.js";
|
|
13
|
+
const _sfc_main = {
|
|
14
|
+
__name: "basic",
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const appStore = store_app.useAppStore();
|
|
17
|
+
const navbarHeight = common_vendor.computed(() => {
|
|
18
|
+
return appStore.statusBarHeight + 44;
|
|
19
|
+
});
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return {
|
|
22
|
+
a: common_vendor.p({
|
|
23
|
+
title: "基础组件",
|
|
24
|
+
icon: "fa-cube",
|
|
25
|
+
["icon-color"]: "blue",
|
|
26
|
+
["show-back"]: true
|
|
27
|
+
}),
|
|
28
|
+
b: common_vendor.p({
|
|
29
|
+
code: "prism-btn primary [solid/gradient/glass/outline]"
|
|
30
|
+
}),
|
|
31
|
+
c: common_vendor.p({
|
|
32
|
+
code: "prism-btn danger [solid/gradient/glass/outline]"
|
|
33
|
+
}),
|
|
34
|
+
d: common_vendor.p({
|
|
35
|
+
code: "prism-btn xs / sm / md / lg / xl"
|
|
36
|
+
}),
|
|
37
|
+
e: common_vendor.p({
|
|
38
|
+
code: "prism-btn block"
|
|
39
|
+
}),
|
|
40
|
+
f: common_vendor.p({
|
|
41
|
+
code: "prism-btn round"
|
|
42
|
+
}),
|
|
43
|
+
g: common_vendor.p({
|
|
44
|
+
code: "prism-icon-btn primary md [solid]"
|
|
45
|
+
}),
|
|
46
|
+
h: common_vendor.p({
|
|
47
|
+
code: "xs / sm / md / lg / xl"
|
|
48
|
+
}),
|
|
49
|
+
i: common_vendor.p({
|
|
50
|
+
code: "默认 / solid / gradient / glass / outline"
|
|
51
|
+
}),
|
|
52
|
+
j: common_vendor.p({
|
|
53
|
+
code: "prism-icon-btn {颜色} {尺寸} round [形态]"
|
|
54
|
+
}),
|
|
55
|
+
k: common_vendor.p({
|
|
56
|
+
code: "blue / green / red / orange / purple / cyan / ai / ..."
|
|
57
|
+
}),
|
|
58
|
+
l: common_vendor.p({
|
|
59
|
+
code: "prism-text-btn primary sm [solid]"
|
|
60
|
+
}),
|
|
61
|
+
m: common_vendor.p({
|
|
62
|
+
code: "xs / sm / md / lg / xl"
|
|
63
|
+
}),
|
|
64
|
+
n: common_vendor.p({
|
|
65
|
+
code: "prism-badge"
|
|
66
|
+
}),
|
|
67
|
+
o: common_vendor.p({
|
|
68
|
+
code: "prism-number-badge"
|
|
69
|
+
}),
|
|
70
|
+
p: navbarHeight.value + "px",
|
|
71
|
+
q: common_vendor.unref(appStore).isDarkMode ? 1 : ""
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
wx.createPage(_sfc_main);
|
|
77
|
+
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/demo/basic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<view class="{{['prism-page', q && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="0f64cac2-0" bind:__l="__l" u-p="{{a}}"/><scroll-view class="prism-main" scroll-y style="{{'padding-top:' + p}}"><view class="prism-section"><view class="section-title">按钮样式</view><view class="section-desc">每种颜色支持五种形态:自适应(默认)、实心(-solid)、渐变(-gradient)、玻璃(-glass)、轮廓(-outline)</view><view class="prism-card"><view class="card-title">主要按钮 (primary)</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap"><button class="prism-btn primary">自适应</button><button class="prism-btn primary solid">实心</button><button class="prism-btn primary gradient">渐变</button><button class="prism-btn primary glass">玻璃</button><button class="prism-btn primary outline">轮廓</button></view><prism-code wx:if="{{b}}" u-i="0f64cac2-1" bind:__l="__l" u-p="{{b}}"/></view><view class="prism-card"><view class="card-title">危险按钮 (danger)</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap"><button class="prism-btn danger">自适应</button><button class="prism-btn danger solid">实心</button><button class="prism-btn danger gradient">渐变</button><button class="prism-btn danger glass">玻璃</button><button class="prism-btn danger outline">轮廓</button></view><prism-code wx:if="{{c}}" u-i="0f64cac2-2" bind:__l="__l" u-p="{{c}}"/></view><view class="prism-card"><view class="card-title">成功按钮 (success)</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap"><button class="prism-btn success">自适应</button><button class="prism-btn success solid">实心</button><button class="prism-btn success gradient">渐变</button><button class="prism-btn success glass">玻璃</button><button class="prism-btn success outline">轮廓</button></view></view><view class="prism-card"><view class="card-title">警告按钮 (warning)</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap"><button class="prism-btn warning">自适应</button><button class="prism-btn warning solid">实心</button><button class="prism-btn warning gradient">渐变</button><button class="prism-btn warning glass">玻璃</button><button class="prism-btn warning outline">轮廓</button></view></view><view class="prism-card"><view class="card-title">按钮尺寸</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap items-center"><button class="prism-btn primary xs solid">xs</button><button class="prism-btn primary sm solid">sm</button><button class="prism-btn primary md solid">md</button><button class="prism-btn primary lg solid">lg</button><button class="prism-btn primary xl solid">xl</button></view><prism-code wx:if="{{d}}" u-i="0f64cac2-3" bind:__l="__l" u-p="{{d}}"/></view><view class="prism-card"><view class="card-title">块级按钮 (Block)</view><button class="prism-btn primary md solid block">块级按钮</button><prism-code wx:if="{{e}}" u-i="0f64cac2-4" bind:__l="__l" u-p="{{e}}"/></view><view class="prism-card"><view class="card-title">圆角按钮 (Round)</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap"><button class="prism-btn primary solid round">圆角按钮</button><button class="prism-btn primary outline round">圆角轮廓</button></view><prism-code wx:if="{{f}}" u-i="0f64cac2-5" bind:__l="__l" u-p="{{f}}"/></view></view><view class="prism-section"><view class="section-title">图标按钮</view><view class="section-desc">原子化类:prism-icon-btn + {颜色} + {尺寸} + {形态}</view><view class="prism-card"><view class="card-title">基础用法</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap items-center"><view class="prism-icon-btn primary md"><text class="fa fa-plus"></text></view><view class="prism-icon-btn success md solid"><text class="fa fa-check"></text></view><view class="prism-icon-btn danger md gradient"><text class="fa fa-heart"></text></view><view class="prism-icon-btn ai md glass"><text class="fa fa-magic"></text></view></view><prism-code wx:if="{{g}}" u-i="0f64cac2-6" bind:__l="__l" u-p="{{g}}"/></view><view class="prism-card"><view class="card-title">尺寸</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap items-center"><view class="prism-icon-btn blue xs"><text class="fa fa-star"></text></view><view class="prism-icon-btn blue sm"><text class="fa fa-star"></text></view><view class="prism-icon-btn blue md"><text class="fa fa-star"></text></view><view class="prism-icon-btn blue lg"><text class="fa fa-star"></text></view><view class="prism-icon-btn blue xl"><text class="fa fa-star"></text></view></view><prism-code wx:if="{{h}}" u-i="0f64cac2-7" bind:__l="__l" u-p="{{h}}"/></view><view class="prism-card"><view class="card-title">形态</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap"><view class="prism-icon-btn purple md"><text class="fa fa-heart"></text></view><view class="prism-icon-btn purple md solid"><text class="fa fa-heart"></text></view><view class="prism-icon-btn purple md gradient"><text class="fa fa-heart"></text></view><view class="prism-icon-btn purple md glass"><text class="fa fa-heart"></text></view><view class="prism-icon-btn purple md outline"><text class="fa fa-heart"></text></view></view><prism-code wx:if="{{i}}" u-i="0f64cac2-8" bind:__l="__l" u-p="{{i}}"/></view><view class="prism-card"><view class="card-title">圆形</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap items-center"><view class="prism-icon-btn blue sm round"><text class="fa fa-plus"></text></view><view class="prism-icon-btn green md round solid"><text class="fa fa-check"></text></view><view class="prism-icon-btn purple lg round gradient"><text class="fa fa-heart"></text></view><view class="prism-icon-btn ai md round glass"><text class="fa fa-magic"></text></view></view><prism-code wx:if="{{j}}" u-i="0f64cac2-9" bind:__l="__l" u-p="{{j}}"/></view><view class="prism-card"><view class="card-title">颜色</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap"><view class="prism-icon-btn blue sm solid"><text class="fa fa-circle"></text></view><view class="prism-icon-btn green sm solid"><text class="fa fa-circle"></text></view><view class="prism-icon-btn red sm solid"><text class="fa fa-circle"></text></view><view class="prism-icon-btn orange sm solid"><text class="fa fa-circle"></text></view><view class="prism-icon-btn purple sm solid"><text class="fa fa-circle"></text></view><view class="prism-icon-btn cyan sm solid"><text class="fa fa-circle"></text></view><view class="prism-icon-btn ai sm gradient"><text class="fa fa-magic"></text></view></view><prism-code wx:if="{{k}}" u-i="0f64cac2-10" bind:__l="__l" u-p="{{k}}"/></view></view><view class="prism-section"><view class="section-title">图标文字按钮</view><view class="section-desc">原子化类:prism-text-btn + {颜色} + {尺寸} + {形态}</view><view class="prism-card"><view class="card-title">基础用法</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap"><view class="prism-text-btn primary sm"><text class="fa fa-plus"></text><text>新增</text></view><view class="prism-text-btn success sm solid"><text class="fa fa-check"></text><text>确认</text></view><view class="prism-text-btn danger sm gradient"><text class="fa fa-trash"></text><text>删除</text></view></view><prism-code wx:if="{{l}}" u-i="0f64cac2-11" bind:__l="__l" u-p="{{l}}"/></view><view class="prism-card"><view class="card-title">形态</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap"><view class="prism-text-btn blue sm"><text class="fa fa-edit"></text><text>默认</text></view><view class="prism-text-btn blue sm solid"><text class="fa fa-edit"></text><text>实心</text></view><view class="prism-text-btn blue sm gradient"><text class="fa fa-edit"></text><text>渐变</text></view><view class="prism-text-btn blue sm glass"><text class="fa fa-edit"></text><text>玻璃</text></view><view class="prism-text-btn blue sm outline"><text class="fa fa-edit"></text><text>轮廓</text></view></view></view><view class="prism-card"><view class="card-title">尺寸</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap items-center"><view class="prism-text-btn primary xs solid"><text class="fa fa-star"></text><text>迷你</text></view><view class="prism-text-btn primary sm solid"><text class="fa fa-star"></text><text>小</text></view><view class="prism-text-btn primary md solid"><text class="fa fa-star"></text><text>中</text></view><view class="prism-text-btn primary lg solid"><text class="fa fa-star"></text><text>大</text></view><view class="prism-text-btn primary xl solid"><text class="fa fa-star"></text><text>更大</text></view></view><prism-code wx:if="{{m}}" u-i="0f64cac2-12" bind:__l="__l" u-p="{{m}}"/></view></view><view class="prism-section"><view class="section-title">徽章</view><view class="prism-card"><view class="card-title">红点徽章</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap"><view class="prism-icon-btn primary md"><text class="fa fa-bell"></text><view class="prism-badge"></view></view></view><prism-code wx:if="{{n}}" u-i="0f64cac2-13" bind:__l="__l" u-p="{{n}}"/></view><view class="prism-card"><view class="card-title">数字徽章</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap"><view class="prism-icon-btn primary md"><text class="fa fa-bell"></text><view class="prism-number-badge">5</view></view><view class="prism-icon-btn primary md"><text class="fa fa-envelope"></text><view class="prism-number-badge">99+</view></view></view><prism-code wx:if="{{o}}" u-i="0f64cac2-14" bind:__l="__l" u-p="{{o}}"/></view></view><view class="prism-safe-area-bottom"></view></scroll-view></view>
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
/* Demo 页面通用样式 */
|
|
52
|
+
/* 注意:.page-container 和 .main-content 基础样式已在 @/styles/base.scss 中定义 */
|
|
53
|
+
/* 注意:导航栏已统一使用 PrismNavBar 组件 */
|
|
54
|
+
/* 注意:.card-desc 已统一在 @/styles/card.scss 中定义 */
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const common_vendor = require("../../../common/vendor.js");
|
|
3
|
+
const store_app = require("../../../store/app.js");
|
|
4
|
+
if (!Array) {
|
|
5
|
+
const _easycom_PrismNavBar2 = common_vendor.resolveComponent("PrismNavBar");
|
|
6
|
+
_easycom_PrismNavBar2();
|
|
7
|
+
}
|
|
8
|
+
const _easycom_PrismNavBar = () => "../../../components/PrismNavBar/PrismNavBar.js";
|
|
9
|
+
if (!Math) {
|
|
10
|
+
(_easycom_PrismNavBar + PrismCode)();
|
|
11
|
+
}
|
|
12
|
+
const PrismCode = () => "../../../components/PrismCode/PrismCode.js";
|
|
13
|
+
const multiLineCode = `<template>
|
|
14
|
+
<PrismButton type="primary">
|
|
15
|
+
主要按钮
|
|
16
|
+
</PrismButton>
|
|
17
|
+
</template>`;
|
|
18
|
+
const jsCode = `function greet(name) {
|
|
19
|
+
uni.__f__('log','at pages/demo/code/index.vue:110','Hello, ' + name);
|
|
20
|
+
return true;
|
|
21
|
+
}`;
|
|
22
|
+
const tsCode = `interface User {
|
|
23
|
+
id: number;
|
|
24
|
+
name: string;
|
|
25
|
+
email?: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const getUser = (id: number): User => {
|
|
29
|
+
return { id, name: 'John' };
|
|
30
|
+
};`;
|
|
31
|
+
const vueCode = `<template>
|
|
32
|
+
<view class="container">
|
|
33
|
+
<text>{{ message }}</text>
|
|
34
|
+
<button @click="handleClick">点击</button>
|
|
35
|
+
</view>
|
|
36
|
+
</template>
|
|
37
|
+
|
|
38
|
+
<script setup>
|
|
39
|
+
import { ref } from 'vue';
|
|
40
|
+
|
|
41
|
+
const message = ref('Hello World');
|
|
42
|
+
|
|
43
|
+
const handleClick = () => {
|
|
44
|
+
message.value = 'Clicked!';
|
|
45
|
+
};
|
|
46
|
+
<\/script>`;
|
|
47
|
+
const pythonCode = `class Calculator:
|
|
48
|
+
def __init__(self):
|
|
49
|
+
self.result = 0
|
|
50
|
+
|
|
51
|
+
def add(self, x, y):
|
|
52
|
+
"""两数相加"""
|
|
53
|
+
return x + y
|
|
54
|
+
|
|
55
|
+
def multiply(self, x, y):
|
|
56
|
+
return x * y
|
|
57
|
+
|
|
58
|
+
# 使用示例
|
|
59
|
+
calc = Calculator()
|
|
60
|
+
print(calc.add(10, 20))`;
|
|
61
|
+
const cssCode = `.prism-button {
|
|
62
|
+
display: inline-flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
padding: 12rpx 32rpx;
|
|
66
|
+
border-radius: 8rpx;
|
|
67
|
+
font-size: 28rpx;
|
|
68
|
+
transition: all 0.3s ease;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.prism-button--primary {
|
|
72
|
+
background: linear-gradient(135deg, #667eea, #764ba2);
|
|
73
|
+
color: #ffffff;
|
|
74
|
+
}`;
|
|
75
|
+
const sqlCode = `SELECT
|
|
76
|
+
u.id,
|
|
77
|
+
u.username,
|
|
78
|
+
COUNT(o.id) AS order_count,
|
|
79
|
+
SUM(o.amount) AS total_amount
|
|
80
|
+
FROM users u
|
|
81
|
+
LEFT JOIN orders o ON u.id = o.user_id
|
|
82
|
+
WHERE u.status = 'active'
|
|
83
|
+
AND o.created_at >= '2024-01-01'
|
|
84
|
+
GROUP BY u.id, u.username
|
|
85
|
+
HAVING COUNT(o.id) > 5
|
|
86
|
+
ORDER BY total_amount DESC
|
|
87
|
+
LIMIT 10;`;
|
|
88
|
+
const shellCode = `# 安装依赖
|
|
89
|
+
npm install
|
|
90
|
+
|
|
91
|
+
# 开发模式运行
|
|
92
|
+
npm run dev
|
|
93
|
+
|
|
94
|
+
# 构建生产版本
|
|
95
|
+
npm run build
|
|
96
|
+
|
|
97
|
+
# Git 操作
|
|
98
|
+
git add .
|
|
99
|
+
git commit -m "feat: add new feature"
|
|
100
|
+
git push origin main`;
|
|
101
|
+
const jsonCode = `{
|
|
102
|
+
"name": "prism-ui",
|
|
103
|
+
"version": "1.0.0",
|
|
104
|
+
"description": "A modern UI library",
|
|
105
|
+
"dependencies": {
|
|
106
|
+
"vue": "^3.4.0",
|
|
107
|
+
"pinia": "^2.1.0"
|
|
108
|
+
},
|
|
109
|
+
"devDependencies": {
|
|
110
|
+
"vite": "^5.0.0",
|
|
111
|
+
"typescript": "^5.3.0"
|
|
112
|
+
}
|
|
113
|
+
}`;
|
|
114
|
+
const _sfc_main = {
|
|
115
|
+
__name: "index",
|
|
116
|
+
setup(__props) {
|
|
117
|
+
const appStore = store_app.useAppStore();
|
|
118
|
+
const navbarHeight = common_vendor.computed(() => {
|
|
119
|
+
return appStore.statusBarHeight + 44;
|
|
120
|
+
});
|
|
121
|
+
return (_ctx, _cache) => {
|
|
122
|
+
return {
|
|
123
|
+
a: common_vendor.p({
|
|
124
|
+
title: "Code 代码展示",
|
|
125
|
+
icon: "fa-code",
|
|
126
|
+
["icon-color"]: "purple",
|
|
127
|
+
["show-back"]: true
|
|
128
|
+
}),
|
|
129
|
+
b: common_vendor.p({
|
|
130
|
+
code: "npm install prism-ui"
|
|
131
|
+
}),
|
|
132
|
+
c: common_vendor.p({
|
|
133
|
+
code: "<PrismButton type='primary'>按钮</PrismButton>"
|
|
134
|
+
}),
|
|
135
|
+
d: common_vendor.p({
|
|
136
|
+
code: multiLineCode
|
|
137
|
+
}),
|
|
138
|
+
e: common_vendor.p({
|
|
139
|
+
code: jsCode,
|
|
140
|
+
language: "JavaScript",
|
|
141
|
+
copyable: true
|
|
142
|
+
}),
|
|
143
|
+
f: common_vendor.p({
|
|
144
|
+
code: tsCode,
|
|
145
|
+
language: "TypeScript",
|
|
146
|
+
["show-line-numbers"]: true,
|
|
147
|
+
copyable: true
|
|
148
|
+
}),
|
|
149
|
+
g: common_vendor.p({
|
|
150
|
+
code: vueCode,
|
|
151
|
+
language: "Vue",
|
|
152
|
+
expandable: true,
|
|
153
|
+
copyable: true
|
|
154
|
+
}),
|
|
155
|
+
h: common_vendor.p({
|
|
156
|
+
code: pythonCode,
|
|
157
|
+
language: "Python",
|
|
158
|
+
["show-line-numbers"]: true,
|
|
159
|
+
copyable: true
|
|
160
|
+
}),
|
|
161
|
+
i: common_vendor.p({
|
|
162
|
+
code: cssCode,
|
|
163
|
+
language: "CSS",
|
|
164
|
+
copyable: true
|
|
165
|
+
}),
|
|
166
|
+
j: common_vendor.p({
|
|
167
|
+
code: sqlCode,
|
|
168
|
+
language: "SQL",
|
|
169
|
+
["show-line-numbers"]: true,
|
|
170
|
+
copyable: true
|
|
171
|
+
}),
|
|
172
|
+
k: common_vendor.p({
|
|
173
|
+
code: shellCode,
|
|
174
|
+
language: "Shell",
|
|
175
|
+
copyable: true
|
|
176
|
+
}),
|
|
177
|
+
l: common_vendor.p({
|
|
178
|
+
code: jsonCode,
|
|
179
|
+
language: "JSON",
|
|
180
|
+
["show-line-numbers"]: true,
|
|
181
|
+
copyable: true
|
|
182
|
+
}),
|
|
183
|
+
m: navbarHeight.value + "px",
|
|
184
|
+
n: common_vendor.unref(appStore).isDarkMode ? 1 : ""
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
wx.createPage(_sfc_main);
|
|
190
|
+
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/demo/code/index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<view class="{{['prism-page', n && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="00bad58f-0" bind:__l="__l" u-p="{{a}}"/><scroll-view class="prism-main" scroll-y style="{{'padding-top:' + m}}"><view class="prism-section"><view class="section-title">基础用法</view><view class="section-desc">展示代码片段或类名</view><prism-code wx:if="{{b}}" u-i="00bad58f-1" bind:__l="__l" u-p="{{b}}"/><prism-code wx:if="{{c}}" u-i="00bad58f-2" bind:__l="__l" u-p="{{c}}"/></view><view class="prism-section"><view class="section-title">多行代码</view><prism-code wx:if="{{d}}" u-i="00bad58f-3" bind:__l="__l" u-p="{{d}}"/></view><view class="prism-section"><view class="section-title">带语言标识</view><view class="section-desc">显示语言类型和复制按钮</view><prism-code wx:if="{{e}}" u-i="00bad58f-4" bind:__l="__l" u-p="{{e}}"/></view><view class="prism-section"><view class="section-title">显示行号</view><prism-code wx:if="{{f}}" u-i="00bad58f-5" bind:__l="__l" u-p="{{f}}"/></view><view class="prism-section"><view class="section-title">可折叠代码</view><view class="section-desc">点击展开/收起代码块</view><prism-code wx:if="{{g}}" u-i="00bad58f-6" bind:__l="__l" u-p="{{g}}"/></view><view class="prism-section"><view class="section-title">Python 代码</view><view class="section-desc">支持多种编程语言高亮</view><prism-code wx:if="{{h}}" u-i="00bad58f-7" bind:__l="__l" u-p="{{h}}"/></view><view class="prism-section"><view class="section-title">CSS 样式</view><prism-code wx:if="{{i}}" u-i="00bad58f-8" bind:__l="__l" u-p="{{i}}"/></view><view class="prism-section"><view class="section-title">SQL 查询</view><prism-code wx:if="{{j}}" u-i="00bad58f-9" bind:__l="__l" u-p="{{j}}"/></view><view class="prism-section"><view class="section-title">Shell 命令</view><view class="section-desc">常用终端命令展示</view><prism-code wx:if="{{k}}" u-i="00bad58f-10" bind:__l="__l" u-p="{{k}}"/></view><view class="prism-section"><view class="section-title">JSON 数据</view><prism-code wx:if="{{l}}" u-i="00bad58f-11" bind:__l="__l" u-p="{{l}}"/></view><view class="prism-safe-area-bottom"></view></scroll-view></view>
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
/* Demo 页面通用样式 */
|
|
52
|
+
/* 注意:.page-container 和 .main-content 基础样式已在 @/styles/base.scss 中定义 */
|
|
53
|
+
/* 注意:导航栏已统一使用 PrismNavBar 组件 */
|
|
54
|
+
/* 注意:.card-desc 已统一在 @/styles/card.scss 中定义 */
|
|
55
|
+
.prism-section {
|
|
56
|
+
margin: 24rpx 32rpx;
|
|
57
|
+
padding: 32rpx;
|
|
58
|
+
background: var(--prism-bg-color-card, #fff);
|
|
59
|
+
border-radius: 24rpx;
|
|
60
|
+
}
|
|
61
|
+
.dark-mode .prism-section {
|
|
62
|
+
background: var(--prism-bg-color-card, #242424);
|
|
63
|
+
}
|
|
64
|
+
.fixed-code-label {
|
|
65
|
+
font-size: 24rpx;
|
|
66
|
+
color: var(--prism-text-secondary, #86909C);
|
|
67
|
+
margin-bottom: 16rpx;
|
|
68
|
+
}
|
|
69
|
+
.prism-fixed-bottom .prism-code {
|
|
70
|
+
margin-top: 0;
|
|
71
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const common_vendor = require("../../common/vendor.js");
|
|
3
|
+
const store_app = require("../../store/app.js");
|
|
4
|
+
if (!Math) {
|
|
5
|
+
(PrismNavBar + PrismIndexBar)();
|
|
6
|
+
}
|
|
7
|
+
const PrismNavBar = () => "../../components/PrismNavBar/PrismNavBar.js";
|
|
8
|
+
const PrismIndexBar = () => "../../components/PrismIndexBar/PrismIndexBar.js";
|
|
9
|
+
const _sfc_main = {
|
|
10
|
+
__name: "colors",
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const appStore = store_app.useAppStore();
|
|
13
|
+
const navbarHeight = common_vendor.computed(() => {
|
|
14
|
+
return appStore.statusBarHeight + 44;
|
|
15
|
+
});
|
|
16
|
+
const currentColorIndex = common_vendor.ref("");
|
|
17
|
+
const scrollIntoView = common_vendor.ref("");
|
|
18
|
+
const indexBarItems = common_vendor.computed(() => {
|
|
19
|
+
return allColors.map((color) => ({
|
|
20
|
+
value: color.name,
|
|
21
|
+
label: color.label,
|
|
22
|
+
background: color.hex
|
|
23
|
+
}));
|
|
24
|
+
});
|
|
25
|
+
const onColorIndexChange = (colorName) => {
|
|
26
|
+
scrollIntoView.value = "color-" + colorName;
|
|
27
|
+
};
|
|
28
|
+
const allColors = [
|
|
29
|
+
{ name: "overview", label: "系统总览", hex: "linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%)", isGradient: true },
|
|
30
|
+
{ name: "icon-usage", label: "组件用法", hex: "linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.6) 100%)", isGradient: true },
|
|
31
|
+
{ name: "purple", label: "Purple 紫色", hex: "#722ED1", hexDark: "#A855F7", hexLighter: "#C084FC", icon: "fa-crown" },
|
|
32
|
+
{ name: "blue", label: "Blue 蓝色", hex: "#3478F6", hexDark: "#60A5FA", hexLighter: "#93C5FD", icon: "fa-droplet" },
|
|
33
|
+
{ name: "green", label: "Green 绿色", hex: "#00B42A", hexDark: "#34D399", hexLighter: "#6EE7B7", icon: "fa-leaf" },
|
|
34
|
+
{ name: "red", label: "Red 红色", hex: "#F53F3F", hexDark: "#F87171", hexLighter: "#FCA5A5", icon: "fa-heart" },
|
|
35
|
+
{ name: "orange", label: "Orange 橙色", hex: "#FF7D00", hexDark: "#FB923C", hexLighter: "#FDBA74", icon: "fa-fire" },
|
|
36
|
+
{ name: "cyan", label: "Cyan 青色", hex: "#14C9C9", hexDark: "#22D3EE", hexLighter: "#67E8F9", icon: "fa-water" },
|
|
37
|
+
{ name: "yellow", label: "Yellow 黄色", hex: "#FFB400", hexDark: "#FCD34D", hexLighter: "#FDE68A", icon: "fa-sun" },
|
|
38
|
+
{ name: "pink", label: "Pink 粉色", hex: "#F53F7F", hexDark: "#F472B6", hexLighter: "#F9A8D4", icon: "fa-heart" },
|
|
39
|
+
{ name: "magenta", label: "Magenta 品红", hex: "#EB2F96", hexDark: "#EC4899", hexLighter: "#F472B6", icon: "fa-file-import" },
|
|
40
|
+
{ name: "indigo", label: "Indigo 靛蓝", hex: "#2F54EB", hexDark: "#818CF8", hexLighter: "#A5B4FC", icon: "fa-qrcode" },
|
|
41
|
+
{ name: "teal", label: "Teal 青绿", hex: "#13C2C2", hexDark: "#2DD4BF", hexLighter: "#5EEAD4", icon: "fa-road" },
|
|
42
|
+
{ name: "violet", label: "Violet 紫罗兰", hex: "#667eea", hexDark: "#8599ee", hexLighter: "#a4b4f2", icon: "fa-rocket" },
|
|
43
|
+
{ name: "rose", label: "Rose 玫瑰", hex: "#f093fb", hexDark: "#f5576c", hexLighter: "#f77b8c", icon: "fa-star" },
|
|
44
|
+
{ name: "ai", label: "AI 智能", hex: "#c44569", hexDark: "#ee5a6f", hexLighter: "#ff6b6b", icon: "fa-wand-magic-sparkles" }
|
|
45
|
+
];
|
|
46
|
+
function scrollToColor(colorName) {
|
|
47
|
+
scrollIntoView.value = "color-" + colorName;
|
|
48
|
+
}
|
|
49
|
+
function onScroll(e) {
|
|
50
|
+
}
|
|
51
|
+
return (_ctx, _cache) => {
|
|
52
|
+
return {
|
|
53
|
+
a: common_vendor.p({
|
|
54
|
+
title: "颜色主题系统",
|
|
55
|
+
icon: "fa-palette",
|
|
56
|
+
["icon-color"]: "pink",
|
|
57
|
+
["show-back"]: true
|
|
58
|
+
}),
|
|
59
|
+
b: common_vendor.f(allColors.filter((c) => !c.isGradient), (color, k0, i0) => {
|
|
60
|
+
return {
|
|
61
|
+
a: common_vendor.t(color.name),
|
|
62
|
+
b: color.name,
|
|
63
|
+
c: color.hex,
|
|
64
|
+
d: common_vendor.o(($event) => scrollToColor(color.name), color.name)
|
|
65
|
+
};
|
|
66
|
+
}),
|
|
67
|
+
c: common_vendor.f(allColors.filter((c) => !c.isGradient), (color, k0, i0) => {
|
|
68
|
+
return {
|
|
69
|
+
a: color.hex,
|
|
70
|
+
b: common_vendor.t(color.label),
|
|
71
|
+
c: common_vendor.t("prism-" + color.name),
|
|
72
|
+
d: color.hex,
|
|
73
|
+
e: common_vendor.t(color.hex),
|
|
74
|
+
f: common_vendor.t("prism-" + color.name + "-dark"),
|
|
75
|
+
g: color.hexDark,
|
|
76
|
+
h: common_vendor.t("prism-" + color.name + "-lighter"),
|
|
77
|
+
i: color.hexLighter,
|
|
78
|
+
j: common_vendor.t("prism-" + color.name + "-gradient"),
|
|
79
|
+
k: "linear-gradient(135deg, " + color.hex + " 0%, " + color.hexDark + " 100%)",
|
|
80
|
+
l: common_vendor.n(color.icon),
|
|
81
|
+
m: common_vendor.n(color.name),
|
|
82
|
+
n: common_vendor.n(color.icon),
|
|
83
|
+
o: common_vendor.n(color.name),
|
|
84
|
+
p: common_vendor.n(color.icon),
|
|
85
|
+
q: common_vendor.n(color.name),
|
|
86
|
+
r: common_vendor.n(color.icon),
|
|
87
|
+
s: common_vendor.n(color.name),
|
|
88
|
+
t: common_vendor.n(color.icon),
|
|
89
|
+
v: common_vendor.n(color.name),
|
|
90
|
+
w: common_vendor.n(color.name),
|
|
91
|
+
x: common_vendor.t(color.name),
|
|
92
|
+
y: common_vendor.n(color.name),
|
|
93
|
+
z: common_vendor.t(color.name),
|
|
94
|
+
A: common_vendor.n(color.name),
|
|
95
|
+
B: common_vendor.t(color.name),
|
|
96
|
+
C: common_vendor.n(color.name),
|
|
97
|
+
D: common_vendor.t(color.name),
|
|
98
|
+
E: common_vendor.n(color.name),
|
|
99
|
+
F: common_vendor.t(color.name),
|
|
100
|
+
G: common_vendor.t(color.name),
|
|
101
|
+
H: common_vendor.n(color.name),
|
|
102
|
+
I: common_vendor.t(color.name),
|
|
103
|
+
J: common_vendor.n(color.name),
|
|
104
|
+
K: common_vendor.t(color.name),
|
|
105
|
+
L: common_vendor.n(color.name),
|
|
106
|
+
M: common_vendor.t(color.name),
|
|
107
|
+
N: common_vendor.n(color.name),
|
|
108
|
+
O: common_vendor.t(color.name),
|
|
109
|
+
P: common_vendor.n(color.name),
|
|
110
|
+
Q: "color-" + color.name,
|
|
111
|
+
R: color.name
|
|
112
|
+
};
|
|
113
|
+
}),
|
|
114
|
+
d: scrollIntoView.value,
|
|
115
|
+
e: common_vendor.o(onScroll),
|
|
116
|
+
f: navbarHeight.value + "px",
|
|
117
|
+
g: common_vendor.o(onColorIndexChange),
|
|
118
|
+
h: common_vendor.o(($event) => currentColorIndex.value = $event),
|
|
119
|
+
i: common_vendor.p({
|
|
120
|
+
items: indexBarItems.value,
|
|
121
|
+
["is-dark-mode"]: common_vendor.unref(appStore).isDarkMode,
|
|
122
|
+
modelValue: currentColorIndex.value
|
|
123
|
+
}),
|
|
124
|
+
j: common_vendor.unref(appStore).isDarkMode ? 1 : ""
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
wx.createPage(_sfc_main);
|
|
130
|
+
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/demo/colors.js.map
|