@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,350 @@
|
|
|
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 + PrismTabs + _easycom_PrismTabBar)();
|
|
14
|
+
}
|
|
15
|
+
const PrismTabs = () => "../../components/PrismTabs/PrismTabs.js";
|
|
16
|
+
const _sfc_main = {
|
|
17
|
+
__name: "icons",
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const appStore = store_app.useAppStore();
|
|
20
|
+
const searchText = common_vendor.ref("");
|
|
21
|
+
const activeTabIndex = common_vendor.ref(0);
|
|
22
|
+
const scrollToId = common_vendor.ref("");
|
|
23
|
+
const currentCategoryIndex = common_vendor.ref(0);
|
|
24
|
+
const showCategoryNav = common_vendor.ref(false);
|
|
25
|
+
const showStylePanel = common_vendor.ref(false);
|
|
26
|
+
const selectedColor = common_vendor.ref("");
|
|
27
|
+
const selectedStyle = common_vendor.ref("");
|
|
28
|
+
const colorOptions = [
|
|
29
|
+
{ name: "", label: "默认", hex: "#86909C" },
|
|
30
|
+
{ name: "blue", label: "蓝", hex: "#3478F6" },
|
|
31
|
+
{ name: "purple", label: "紫", hex: "#722ED1" },
|
|
32
|
+
{ name: "green", label: "绿", hex: "#00B42A" },
|
|
33
|
+
{ name: "red", label: "红", hex: "#F53F3F" },
|
|
34
|
+
{ name: "orange", label: "橙", hex: "#FF7D00" },
|
|
35
|
+
{ name: "cyan", label: "青", hex: "#14C9C9" },
|
|
36
|
+
{ name: "pink", label: "粉", hex: "#F53F7F" }
|
|
37
|
+
];
|
|
38
|
+
const styleOptions = [
|
|
39
|
+
{ name: "", label: "默认" },
|
|
40
|
+
{ name: "solid", label: "实心" },
|
|
41
|
+
{ name: "gradient", label: "渐变" },
|
|
42
|
+
{ name: "glass", label: "玻璃" },
|
|
43
|
+
{ name: "outline", label: "轮廓" }
|
|
44
|
+
];
|
|
45
|
+
const iconContainerClass = common_vendor.computed(() => {
|
|
46
|
+
if (!selectedColor.value) return "";
|
|
47
|
+
if (!selectedStyle.value) return `prism-icon ${selectedColor.value}`;
|
|
48
|
+
return `prism-icon ${selectedColor.value} ${selectedStyle.value}`;
|
|
49
|
+
});
|
|
50
|
+
const systemInfo = common_vendor.index.getSystemInfoSync();
|
|
51
|
+
const systemInfoWidth = systemInfo.windowWidth;
|
|
52
|
+
const { navbarContentHeight } = composables_useNavbar.useNavbar();
|
|
53
|
+
function scrollToCategory(index) {
|
|
54
|
+
currentCategoryIndex.value = index;
|
|
55
|
+
scrollToId.value = "";
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
scrollToId.value = "fa-section-" + index;
|
|
58
|
+
}, 50);
|
|
59
|
+
}
|
|
60
|
+
const navbarHeight = common_vendor.computed(() => {
|
|
61
|
+
const searchBoxHeight = 140 / 750 * systemInfoWidth;
|
|
62
|
+
return appStore.statusBarHeight + navbarContentHeight.value + searchBoxHeight;
|
|
63
|
+
});
|
|
64
|
+
const faCategories = [
|
|
65
|
+
{
|
|
66
|
+
name: "基础操作",
|
|
67
|
+
icons: ["fa-sun", "fa-moon", "fa-circle-half-stroke", "fa-bell", "fa-bell-slash", "fa-search", "fa-plus", "fa-check", "fa-times", "fa-xmark", "fa-edit", "fa-trash", "fa-trash-can", "fa-refresh", "fa-link", "fa-cube", "fa-keyboard", "fa-compass", "fa-comment", "fa-comment-dots", "fa-comments", "fa-comment-sms", "fa-comments-dollar", "fa-wand-magic-sparkles", "fa-wand-sparkles", "fa-magic", "fa-briefcase", "fa-layer-group", "fa-layer-plus", "fa-layer-minus", "fa-qrcode", "fa-camera", "fa-camera-retro", "fa-palette", "fa-icons", "fa-clone", "fa-copy", "fa-paste", "fa-scissors", "fa-cut"]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: "箭头方向",
|
|
71
|
+
icons: ["fa-angle-right", "fa-angle-down", "fa-angle-left", "fa-angle-up", "fa-angles-left", "fa-angles-right", "fa-angles-up", "fa-angles-down", "fa-arrow-left", "fa-arrow-right", "fa-arrow-up", "fa-arrow-down", "fa-arrow-left-long", "fa-arrow-right-long", "fa-arrow-up-long", "fa-arrow-down-long", "fa-arrow-rotate-right", "fa-arrow-rotate-left", "fa-arrows-rotate", "fa-arrows-spin", "fa-arrow-trend-up", "fa-arrow-turn-down", "fa-arrow-turn-up", "fa-arrow-up-from-bracket", "fa-arrow-down-to-bracket", "fa-arrow-up-right-from-square", "fa-up-right-from-square", "fa-external-link", "fa-rotate", "fa-rotate-right", "fa-rotate-left", "fa-redo", "fa-undo", "fa-reply", "fa-chevron-left", "fa-chevron-right", "fa-chevron-up", "fa-chevron-down", "fa-caret-left", "fa-caret-right", "fa-caret-up", "fa-caret-down", "fa-sort", "fa-sort-up", "fa-sort-down", "fa-circle-arrow-left", "fa-circle-arrow-right", "fa-circle-arrow-up", "fa-circle-arrow-down"]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "用户相关",
|
|
75
|
+
icons: ["fa-user", "fa-users", "fa-user-plus", "fa-user-minus", "fa-user-group", "fa-user-gear", "fa-user-cog", "fa-user-check", "fa-user-tag", "fa-user-edit", "fa-user-pen", "fa-user-lock", "fa-user-slash", "fa-user-clock", "fa-user-doctor", "fa-user-nurse", "fa-user-graduate", "fa-user-tie", "fa-user-secret", "fa-user-astronaut", "fa-user-ninja", "fa-user-shield", "fa-user-shield-alt", "fa-users-gear", "fa-users-cog"]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: "文件文件夹",
|
|
79
|
+
icons: ["fa-file", "fa-file-text", "fa-file-lines", "fa-files", "fa-folder", "fa-folder-open", "fa-folder-tree", "fa-folder-plus", "fa-folder-minus", "fa-folder-closed", "fa-file-pdf", "fa-file-word", "fa-file-excel", "fa-file-powerpoint", "fa-file-image", "fa-file-video", "fa-file-audio", "fa-file-code", "fa-file-zipper", "fa-file-csv", "fa-file-arrow-up", "fa-file-arrow-down", "fa-file-export", "fa-file-import", "fa-file-circle-plus", "fa-file-circle-minus", "fa-file-circle-check", "fa-file-circle-xmark", "fa-file-medical", "fa-file-prescription", "fa-file-signature", "fa-file-contract", "fa-file-invoice", "fa-file-invoice-dollar", "fa-download", "fa-upload", "fa-cloud-arrow-up", "fa-cloud-arrow-down"]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: "时间日历",
|
|
83
|
+
icons: ["fa-calendar", "fa-calendar-days", "fa-calendar-week", "fa-calendar-check", "fa-calendar-xmark", "fa-calendar-plus", "fa-calendar-minus", "fa-clock", "fa-clock-rotate-left", "fa-history", "fa-hourglass", "fa-hourglass-half", "fa-stopwatch", "fa-timer", "fa-alarm-clock"]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: "导航界面",
|
|
87
|
+
icons: ["fa-home", "fa-house", "fa-house-chimney", "fa-house-user", "fa-house-building", "fa-house-lock", "fa-cog", "fa-gear", "fa-gears", "fa-sliders", "fa-info-circle", "fa-mobile", "fa-mobile-alt", "fa-mobile-screen", "fa-mobile-button", "fa-bars", "fa-bars-staggered", "fa-bars-filter", "fa-ellipsis", "fa-ellipsis-vertical", "fa-ellipsis-v", "fa-filter", "fa-filter-circle-xmark", "fa-magnifying-glass", "fa-magnifying-glass-plus", "fa-magnifying-glass-minus", "fa-expand", "fa-compress", "fa-maximize", "fa-minimize", "fa-grid", "fa-grid-2", "fa-grid-3", "fa-sidebar", "fa-sidebar-flip", "fa-window-maximize", "fa-window-minimize", "fa-window-restore"]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: "状态提示",
|
|
91
|
+
icons: ["fa-shield", "fa-shield-halved", "fa-shield-check", "fa-shield-xmark", "fa-shield-exclamation", "fa-circle-check", "fa-circle-xmark", "fa-circle-info", "fa-circle-question", "fa-circle-exclamation", "fa-circle-plus", "fa-circle-minus", "fa-circle-pause", "fa-circle-pause-alt", "fa-circle-play", "fa-circle-stop", "fa-square-check", "fa-square-xmark", "fa-square-plus", "fa-square-minus", "fa-triangle-exclamation", "fa-triangle-exclamation-alt", "fa-octagon-exclamation", "fa-hexagon-exclamation", "fa-exclamation", "fa-question", "fa-ban", "fa-xmark", "fa-minus", "fa-equals", "fa-spinner", "fa-circle-notch"]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: "图表统计",
|
|
95
|
+
icons: ["fa-chart-bar", "fa-chart-pie", "fa-chart-line", "fa-chart-area", "fa-chart-column", "fa-chart-simple", "fa-chart-gantt", "fa-chart-scatter", "fa-chart-waterfall", "fa-chart-tree-map", "fa-chart-pyramid", "fa-chart-network", "fa-chart-mixed", "fa-square-poll-vertical", "fa-ranking-star", "fa-list-check", "fa-clipboard-list", "fa-address-book", "fa-diagram-project", "fa-project-diagram"]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: "VIP会员",
|
|
99
|
+
icons: ["fa-crown", "fa-crown-alt", "fa-gem", "fa-gem-alt", "fa-award", "fa-award-simple", "fa-trophy", "fa-trophy-alt", "fa-medal", "fa-medal-alt", "fa-ribbon", "fa-certificate", "fa-stars", "fa-sparkles", "fa-infinity", "fa-database", "fa-cloud", "fa-hard-drive"]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: "营销促销",
|
|
103
|
+
icons: ["fa-gift", "fa-gift-card", "fa-gifts", "fa-tags", "fa-tag", "fa-percent", "fa-percent-simple", "fa-ticket", "fa-ticket-simple", "fa-ticket-alt", "fa-bullhorn", "fa-megaphone", "fa-ad", "fa-rectangle-ad", "fa-star", "fa-star-half", "fa-heart", "fa-thumbs-up", "fa-thumbs-down", "fa-fire", "fa-bolt"]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: "购物电商",
|
|
107
|
+
icons: ["fa-cart-shopping", "fa-shopping-cart", "fa-cart-plus", "fa-cart-arrow-down", "fa-bag-shopping", "fa-basket-shopping", "fa-store", "fa-store-alt", "fa-store-slash", "fa-shop", "fa-shop-lock", "fa-shop-slash", "fa-receipt", "fa-barcode", "fa-barcode-scan", "fa-box", "fa-box-open", "fa-box-archive", "fa-boxes-stacked", "fa-boxes-alt", "fa-boxes-packing", "fa-truck", "fa-truck-fast", "fa-truck-ramp-box"]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "支付金融",
|
|
111
|
+
icons: ["fa-credit-card", "fa-credit-card-blank", "fa-wallet", "fa-money-bill", "fa-money-bills", "fa-money-bill-wave", "fa-money-bill-transfer", "fa-money-bill-trend-up", "fa-money-check", "fa-money-check-dollar", "fa-coins", "fa-coins-exchange", "fa-piggy-bank", "fa-landmark", "fa-sack-dollar", "fa-hand-holding-dollar", "fa-circle-dollar-to-slot", "fa-cash-register", "fa-calculator", "fa-calculator-simple", "fa-dollar-sign", "fa-dollar", "fa-yuan-sign", "fa-yen-sign", "fa-euro-sign", "fa-pound-sign", "fa-bitcoin-sign"]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
name: "通讯社交",
|
|
115
|
+
icons: ["fa-phone", "fa-phone-volume", "fa-phone-flip", "fa-phone-slash", "fa-square-phone", "fa-envelope", "fa-envelope-open", "fa-paper-plane", "fa-message", "fa-inbox", "fa-voicemail", "fa-fax", "fa-sms", "fa-share", "fa-share-nodes", "fa-share-alt", "fa-share-from-square", "fa-at", "fa-hashtag", "fa-location-dot", "fa-location-pin", "fa-location-arrow", "fa-location-crosshairs", "fa-map-marker", "fa-map-marker-alt", "fa-map", "fa-map-location", "fa-map-location-dot", "fa-globe", "fa-earth-asia"]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: "媒体播放",
|
|
119
|
+
icons: ["fa-play", "fa-pause", "fa-play-pause", "fa-stop", "fa-forward", "fa-backward", "fa-forward-step", "fa-backward-step", "fa-forward-fast", "fa-backward-fast", "fa-volume-high", "fa-volume-low", "fa-volume-off", "fa-volume-xmark", "fa-volume-xmark-alt", "fa-music", "fa-music-note", "fa-video", "fa-film", "fa-photo-film", "fa-clapperboard", "fa-image", "fa-images", "fa-microphone", "fa-microphone-slash", "fa-headphones", "fa-headset", "fa-guitar", "fa-drum"]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: "设备技术",
|
|
123
|
+
icons: ["fa-desktop", "fa-display", "fa-laptop", "fa-laptop-code", "fa-laptop-mobile", "fa-tablet", "fa-tablet-button", "fa-computer", "fa-tv", "fa-mouse", "fa-print", "fa-wifi", "fa-signal", "fa-battery-full", "fa-battery-half", "fa-battery-empty", "fa-plug", "fa-power-off", "fa-server", "fa-network-wired", "fa-router", "fa-memory", "fa-microchip", "fa-sim-card", "fa-sd-card", "fa-usb-drive", "fa-code", "fa-code-branch", "fa-code-commit", "fa-code-compare", "fa-code-fork", "fa-code-merge", "fa-code-pull-request", "fa-terminal", "fa-brackets-curly", "fa-bug", "fa-robot"]
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: "安全隐私",
|
|
127
|
+
icons: ["fa-lock", "fa-lock-open", "fa-unlock", "fa-key", "fa-key-skeleton", "fa-eye", "fa-eye-slash", "fa-eye-low-vision", "fa-eye-dropper", "fa-fingerprint", "fa-fingerprint-simple", "fa-fingerprint-lock", "fa-id-card", "fa-id-badge", "fa-passport"]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: "文档编辑",
|
|
131
|
+
icons: ["fa-pen", "fa-pen-to-square", "fa-pen-clip", "fa-pen-alt", "fa-pen-fancy", "fa-pen-nib", "fa-pen-ruler", "fa-pencil", "fa-eraser", "fa-highlighter", "fa-marker", "fa-paperclip", "fa-bookmark", "fa-book", "fa-book-open", "fa-book-bookmark", "fa-newspaper", "fa-crop", "fa-crop-simple", "fa-crop-alt"]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: "列表布局",
|
|
135
|
+
icons: ["fa-list", "fa-list-ul", "fa-list-ol", "fa-list-check", "fa-list-radio", "fa-table", "fa-table-cells", "fa-table-columns", "fa-grip", "fa-grip-vertical"]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: "天气自然",
|
|
139
|
+
icons: ["fa-cloud-sun", "fa-cloud-moon", "fa-cloud-rain", "fa-cloud-showers-heavy", "fa-cloud-bolt", "fa-cloud-snow", "fa-snowflake", "fa-snowflake-droplets", "fa-temperature-high", "fa-temperature-low", "fa-wind", "fa-tornado", "fa-smog", "fa-rainbow", "fa-umbrella", "fa-droplet", "fa-water", "fa-leaf", "fa-tree", "fa-tree-deciduous", "fa-seedling", "fa-mountain", "fa-mountains", "fa-volcano", "fa-poo-storm"]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: "交通出行",
|
|
143
|
+
icons: ["fa-car", "fa-car-side", "fa-car-rear", "fa-bus", "fa-bus-simple", "fa-train", "fa-train-subway", "fa-plane", "fa-plane-departure", "fa-plane-arrival", "fa-helicopter", "fa-ship", "fa-bicycle", "fa-motorcycle", "fa-taxi", "fa-gas-pump", "fa-charging-station", "fa-road", "fa-road-barrier", "fa-route", "fa-traffic-light"]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: "建筑场所",
|
|
147
|
+
icons: ["fa-building", "fa-building-columns", "fa-building-user", "fa-building-lock", "fa-building-shield", "fa-hospital", "fa-school", "fa-school-flag", "fa-hotel", "fa-warehouse", "fa-warehouse-full", "fa-industry", "fa-city"]
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: "食物餐饮",
|
|
151
|
+
icons: ["fa-utensils", "fa-plate-utensils", "fa-fork-knife", "fa-mug-hot", "fa-mug-saucer", "fa-coffee", "fa-wine-glass", "fa-martini-glass", "fa-champagne-glasses", "fa-beer-mug-empty", "fa-bottle-water", "fa-pizza-slice", "fa-burger", "fa-ice-cream", "fa-cake-candles", "fa-cookie", "fa-candy-cane", "fa-apple-whole"]
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: "健康医疗",
|
|
155
|
+
icons: ["fa-heart-pulse", "fa-stethoscope", "fa-syringe", "fa-pills", "fa-capsules", "fa-prescription-bottle", "fa-bandage", "fa-kit-medical", "fa-dna", "fa-virus", "fa-hand-holding-heart"]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: "教育学习",
|
|
159
|
+
icons: ["fa-graduation-cap", "fa-chalkboard", "fa-chalkboard-user", "fa-book-bookmark", "fa-pen-ruler", "fa-calculator", "fa-flask", "fa-atom", "fa-microscope", "fa-brain", "fa-lightbulb", "fa-puzzle-piece"]
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: "工具",
|
|
163
|
+
icons: ["fa-wrench", "fa-screwdriver", "fa-hammer", "fa-screwdriver-wrench", "fa-toolbox"]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: "手势",
|
|
167
|
+
icons: ["fa-hand", "fa-hand-pointer", "fa-hand-point-up", "fa-hand-point-down", "fa-hand-point-left", "fa-hand-point-right", "fa-hands-clapping"]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: "表情",
|
|
171
|
+
icons: ["fa-face-smile", "fa-face-meh", "fa-face-frown", "fa-face-laugh", "fa-face-sad-tear", "fa-face-angry", "fa-face-surprise"]
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: "形状符号",
|
|
175
|
+
icons: ["fa-circle", "fa-square", "fa-rectangle", "fa-diamond", "fa-certificate", "fa-flag", "fa-quote-left", "fa-quote-right", "fa-copyright", "fa-registered", "fa-trademark"]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
name: "其他",
|
|
179
|
+
icons: ["fa-recycle", "fa-trash-can", "fa-broom", "fa-magnet", "fa-anchor", "fa-rocket", "fa-satellite", "fa-space-shuttle", "fa-parachute-box", "fa-dice", "fa-gamepad", "fa-chess", "fa-brush", "fa-paint-roller", "fa-fill-drip", "fa-swatchbook", "fa-magic", "fa-hat-wizard", "fa-ghost", "fa-skull"]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: "动物",
|
|
183
|
+
icons: ["fa-paw", "fa-cat", "fa-dog", "fa-fish", "fa-dove", "fa-feather", "fa-hippo", "fa-dragon", "fa-spider", "fa-otter", "fa-kiwi-bird", "fa-crow", "fa-frog", "fa-horse"]
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: "品牌图标",
|
|
187
|
+
icons: ["fa-bluetooth", "fa-weixin", "fa-wechat", "fa-alipay", "fa-qq", "fa-weibo", "fa-apple", "fa-android", "fa-windows", "fa-linux", "fa-github", "fa-gitlab", "fa-google", "fa-facebook", "fa-twitter", "fa-instagram", "fa-youtube", "fa-tiktok", "fa-linkedin", "fa-whatsapp", "fa-telegram", "fa-discord", "fa-slack", "fa-skype", "fa-paypal", "fa-stripe", "fa-amazon", "fa-spotify", "fa-steam", "fa-twitch", "fa-reddit", "fa-pinterest", "fa-snapchat", "fa-dribbble", "fa-behance", "fa-figma", "fa-sketch", "fa-npm", "fa-node-js", "fa-python", "fa-java", "fa-php", "fa-html5", "fa-css3", "fa-js", "fa-react", "fa-vuejs", "fa-angular", "fa-sass", "fa-less", "fa-bootstrap", "fa-docker", "fa-aws", "fa-chrome", "fa-firefox", "fa-safari", "fa-edge", "fa-opera", "fa-app-store", "fa-google-play"]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
name: "FA5兼容别名",
|
|
191
|
+
icons: ["fa-archive", "fa-check-circle", "fa-check-square", "fa-close", "fa-cloud-upload", "fa-cogs", "fa-ellipsis-h", "fa-exclamation-circle", "fa-exclamation-triangle", "fa-file-alt", "fa-file-archive", "fa-question-circle", "fa-tasks", "fa-times-circle", "fa-volume-up", "fa-save", "fa-sign-out-alt", "fa-clipboard", "fa-clipboard-check", "fa-sticky-note", "fa-th-large", "fa-exchange-alt", "fa-font", "fa-drafting-compass", "fa-hard-hat", "fa-circle-dot"]
|
|
192
|
+
}
|
|
193
|
+
];
|
|
194
|
+
const iconfontCategories = [
|
|
195
|
+
{
|
|
196
|
+
name: "项目图标",
|
|
197
|
+
icons: ["icon-tukuxiangce", "icon-yulan", "icon-tukuguanlixuanzhong", "icon-fanzhuan", "icon-fenxiang", "icon-shuiyinxiangjishuiyin", "icon-f-vip", "icon-suitcase", "icon-tasks", "icon-user-circle"]
|
|
198
|
+
}
|
|
199
|
+
];
|
|
200
|
+
const faIconCount = common_vendor.computed(() => {
|
|
201
|
+
return faCategories.reduce((sum, cat) => sum + cat.icons.length, 0);
|
|
202
|
+
});
|
|
203
|
+
const iconfontCount = common_vendor.computed(() => {
|
|
204
|
+
return iconfontCategories.reduce((sum, cat) => sum + cat.icons.length, 0);
|
|
205
|
+
});
|
|
206
|
+
const tabList = common_vendor.computed(() => [
|
|
207
|
+
{ label: "Font Awesome", badge: faIconCount.value },
|
|
208
|
+
{ label: "Iconfont", badge: iconfontCount.value }
|
|
209
|
+
]);
|
|
210
|
+
function onTabChange(index) {
|
|
211
|
+
scrollToId.value = "";
|
|
212
|
+
currentCategoryIndex.value = 0;
|
|
213
|
+
}
|
|
214
|
+
const filteredFaCategories = common_vendor.computed(() => {
|
|
215
|
+
if (!searchText.value) return faCategories;
|
|
216
|
+
const keyword = searchText.value.toLowerCase();
|
|
217
|
+
return faCategories.map((cat) => ({
|
|
218
|
+
...cat,
|
|
219
|
+
icons: cat.icons.filter((icon) => icon.toLowerCase().includes(keyword))
|
|
220
|
+
})).filter((cat) => cat.icons.length > 0);
|
|
221
|
+
});
|
|
222
|
+
const filteredIconfontCategories = common_vendor.computed(() => {
|
|
223
|
+
if (!searchText.value) return iconfontCategories;
|
|
224
|
+
const keyword = searchText.value.toLowerCase();
|
|
225
|
+
return iconfontCategories.map((cat) => ({
|
|
226
|
+
...cat,
|
|
227
|
+
icons: cat.icons.filter((icon) => icon.toLowerCase().includes(keyword))
|
|
228
|
+
})).filter((cat) => cat.icons.length > 0);
|
|
229
|
+
});
|
|
230
|
+
function copyIcon(icon, type, isBrand = false) {
|
|
231
|
+
let copyText;
|
|
232
|
+
if (type === "fa") {
|
|
233
|
+
copyText = isBrand ? `fa-brands ${icon}` : `fa ${icon}`;
|
|
234
|
+
} else {
|
|
235
|
+
copyText = `iconfont ${icon}`;
|
|
236
|
+
}
|
|
237
|
+
common_vendor.index.setClipboardData({
|
|
238
|
+
data: copyText,
|
|
239
|
+
success: () => {
|
|
240
|
+
common_vendor.index.showToast({ title: "已复制: " + copyText, icon: "none" });
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
return (_ctx, _cache) => {
|
|
245
|
+
return {
|
|
246
|
+
a: common_vendor.p({
|
|
247
|
+
title: "图标库",
|
|
248
|
+
icon: "fa-icons",
|
|
249
|
+
["icon-color"]: "red"
|
|
250
|
+
}),
|
|
251
|
+
b: searchText.value,
|
|
252
|
+
c: common_vendor.o(($event) => searchText.value = $event.detail.value),
|
|
253
|
+
d: selectedColor.value ? 1 : "",
|
|
254
|
+
e: common_vendor.o(($event) => showStylePanel.value = !showStylePanel.value),
|
|
255
|
+
f: _ctx.activeTab === "fa",
|
|
256
|
+
g: common_vendor.o(($event) => showCategoryNav.value = !showCategoryNav.value),
|
|
257
|
+
h: common_vendor.unref(appStore).statusBarHeight + 88 / 750 * common_vendor.unref(systemInfoWidth) + "px",
|
|
258
|
+
i: common_vendor.o(onTabChange),
|
|
259
|
+
j: common_vendor.o(($event) => activeTabIndex.value = $event),
|
|
260
|
+
k: common_vendor.p({
|
|
261
|
+
tabs: tabList.value,
|
|
262
|
+
type: "card",
|
|
263
|
+
modelValue: activeTabIndex.value
|
|
264
|
+
}),
|
|
265
|
+
l: common_vendor.f(filteredFaCategories.value, (category, index, i0) => {
|
|
266
|
+
return {
|
|
267
|
+
a: common_vendor.t(category.name),
|
|
268
|
+
b: common_vendor.f(category.icons, (icon, k1, i1) => {
|
|
269
|
+
return {
|
|
270
|
+
a: common_vendor.n(icon),
|
|
271
|
+
b: common_vendor.t(icon.replace("fa-", "")),
|
|
272
|
+
c: icon,
|
|
273
|
+
d: common_vendor.o(($event) => copyIcon(icon, "fa", category.name === "品牌图标"), icon)
|
|
274
|
+
};
|
|
275
|
+
}),
|
|
276
|
+
c: common_vendor.n(category.name === "品牌图标" ? "fa-brands" : "fa"),
|
|
277
|
+
d: index,
|
|
278
|
+
e: "fa-section-" + index
|
|
279
|
+
};
|
|
280
|
+
}),
|
|
281
|
+
m: common_vendor.n(iconContainerClass.value),
|
|
282
|
+
n: activeTabIndex.value === 0,
|
|
283
|
+
o: common_vendor.f(filteredIconfontCategories.value, (category, index, i0) => {
|
|
284
|
+
return {
|
|
285
|
+
a: common_vendor.t(category.name),
|
|
286
|
+
b: common_vendor.f(category.icons, (icon, k1, i1) => {
|
|
287
|
+
return {
|
|
288
|
+
a: common_vendor.n(icon),
|
|
289
|
+
b: common_vendor.t(icon.replace("icon-", "")),
|
|
290
|
+
c: icon,
|
|
291
|
+
d: common_vendor.o(($event) => copyIcon(icon, "iconfont"), icon)
|
|
292
|
+
};
|
|
293
|
+
}),
|
|
294
|
+
c: index,
|
|
295
|
+
d: "iconfont-section-" + index
|
|
296
|
+
};
|
|
297
|
+
}),
|
|
298
|
+
p: common_vendor.n(iconContainerClass.value),
|
|
299
|
+
q: activeTabIndex.value === 1,
|
|
300
|
+
r: scrollToId.value,
|
|
301
|
+
s: navbarHeight.value + "px",
|
|
302
|
+
t: common_vendor.f(colorOptions, (color, k0, i0) => {
|
|
303
|
+
return {
|
|
304
|
+
a: color.hex,
|
|
305
|
+
b: common_vendor.t(color.label),
|
|
306
|
+
c: color.name,
|
|
307
|
+
d: selectedColor.value === color.name ? 1 : "",
|
|
308
|
+
e: common_vendor.o(($event) => selectedColor.value = color.name, color.name)
|
|
309
|
+
};
|
|
310
|
+
}),
|
|
311
|
+
v: common_vendor.f(styleOptions, (style, k0, i0) => {
|
|
312
|
+
return {
|
|
313
|
+
a: common_vendor.t(style.label),
|
|
314
|
+
b: style.name,
|
|
315
|
+
c: selectedStyle.value === style.name ? 1 : "",
|
|
316
|
+
d: common_vendor.o(($event) => selectedStyle.value = style.name, style.name)
|
|
317
|
+
};
|
|
318
|
+
}),
|
|
319
|
+
w: selectedColor.value,
|
|
320
|
+
x: common_vendor.o(() => {
|
|
321
|
+
}),
|
|
322
|
+
y: showStylePanel.value,
|
|
323
|
+
z: common_vendor.o(($event) => showStylePanel.value = false),
|
|
324
|
+
A: common_vendor.o(($event) => showCategoryNav.value = false),
|
|
325
|
+
B: common_vendor.f(faCategories, (category, index, i0) => {
|
|
326
|
+
return {
|
|
327
|
+
a: common_vendor.t(index + 1),
|
|
328
|
+
b: common_vendor.t(category.name),
|
|
329
|
+
c: common_vendor.t(category.icons.length),
|
|
330
|
+
d: index,
|
|
331
|
+
e: currentCategoryIndex.value === index ? 1 : "",
|
|
332
|
+
f: common_vendor.o(($event) => {
|
|
333
|
+
scrollToCategory(index);
|
|
334
|
+
showCategoryNav.value = false;
|
|
335
|
+
}, index)
|
|
336
|
+
};
|
|
337
|
+
}),
|
|
338
|
+
C: navbarHeight.value + 20 + "px",
|
|
339
|
+
D: common_vendor.o(($event) => showCategoryNav.value = false),
|
|
340
|
+
E: showCategoryNav.value,
|
|
341
|
+
F: common_vendor.p({
|
|
342
|
+
current: "/pages/icons/icons"
|
|
343
|
+
}),
|
|
344
|
+
G: common_vendor.unref(appStore).isDarkMode ? 1 : ""
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
};
|
|
349
|
+
wx.createPage(_sfc_main);
|
|
350
|
+
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/icons/icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<view class="{{['prism-page', G && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="3e4c9098-0" bind:__l="__l" u-p="{{a}}"/><view class="search-header" style="{{'padding-top:' + h}}"><view class="search-box"><view class="prism-input-box"><text class="fa fa-search search-icon"></text><input placeholder="搜索图标..." value="{{b}}" bindinput="{{c}}"/></view><view class="{{['prism-icon-btn', 'prism-icon-btn--md', d && 'active']}}" bindtap="{{e}}"><text class="fa fa-palette"></text></view><view class="prism-icon-btn prism-icon-btn--md" hidden="{{!f}}" bindtap="{{g}}"><text class="fa fa-list"></text></view></view></view><scroll-view class="prism-main" scroll-y scroll-into-view="{{r}}" style="{{'padding-top:' + s}}"><prism-tabs wx:if="{{k}}" bindchange="{{i}}" u-i="3e4c9098-1" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"/><view hidden="{{!n}}"><view wx:for="{{l}}" wx:for-item="category" wx:key="d" class="icon-section" id="{{category.e}}"><view class="section-title">{{category.a}}</view><view class="icon-grid"><view wx:for="{{category.b}}" wx:for-item="icon" wx:key="c" class="icon-item" bindtap="{{icon.d}}"><view class="{{['icon-box', m]}}"><text class="{{[category.c, icon.a]}}"></text></view><text class="icon-name">{{icon.b}}</text></view></view></view></view><view hidden="{{!q}}"><view wx:for="{{o}}" wx:for-item="category" wx:key="c" class="icon-section" id="{{category.d}}"><view class="section-title">{{category.a}}</view><view class="icon-grid"><view wx:for="{{category.b}}" wx:for-item="icon" wx:key="c" class="icon-item" bindtap="{{icon.d}}"><view class="{{['icon-box', p]}}"><text class="{{['iconfont', icon.a]}}"></text></view><text class="icon-name">{{icon.b}}</text></view></view></view></view><view class="prism-bottom-placeholder"></view></scroll-view><view class="style-sheet-wrapper" hidden="{{!y}}" bindtap="{{z}}"><view class="style-sheet" catchtap="{{x}}"><view class="sheet-handle"></view><view class="sheet-header"><text class="sheet-title">图标样式</text></view><view class="sheet-body"><view class="sheet-section"><text class="sheet-label">颜色</text><view class="color-grid"><view wx:for="{{t}}" wx:for-item="color" wx:key="c" class="{{['color-item', color.d && 'active']}}" bindtap="{{color.e}}"><view class="color-circle" style="{{'background:' + color.a}}"></view><text class="color-label">{{color.b}}</text></view></view></view><view class="sheet-section" hidden="{{!w}}"><text class="sheet-label">形态</text><view class="style-grid"><view wx:for="{{v}}" wx:for-item="style" wx:key="b" class="{{['style-item', style.c && 'active']}}" bindtap="{{style.d}}">{{style.a}}</view></view></view></view><view class="prism-safe-area-bottom" style="min-height:40rpx"></view></view></view><view class="category-nav-wrapper" hidden="{{!E}}"><view class="category-nav-drawer show" style="{{'top:' + C}}"><view class="drawer-header"><text>选择分类</text><text class="drawer-close" bindtap="{{A}}"><text class="fa fa-xmark"></text></text></view><scroll-view scroll-y class="drawer-content"><view wx:for="{{B}}" wx:for-item="category" wx:key="d" class="{{['drawer-item', category.e && 'active']}}" bindtap="{{category.f}}"><text class="drawer-item-index">{{category.a}}</text><text class="drawer-item-name">{{category.b}}</text><text class="drawer-item-count">{{category.c}}</text></view></scroll-view></view><view class="category-nav-mask" bindtap="{{D}}"></view></view><prism-tab-bar wx:if="{{F}}" u-i="3e4c9098-2" bind:__l="__l" u-p="{{F}}"/></view>
|