@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,200 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const common_vendor = require("../../common/vendor.js");
|
|
3
|
+
const store_app = require("../../store/app.js");
|
|
4
|
+
const _sfc_main = {
|
|
5
|
+
__name: "PrismAddressInput",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: ""
|
|
10
|
+
},
|
|
11
|
+
// 输入模式:textarea(多行)或 input(单行)
|
|
12
|
+
mode: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: "textarea",
|
|
15
|
+
validator: (val) => ["textarea", "input"].includes(val)
|
|
16
|
+
},
|
|
17
|
+
// 选择模式:map(地图选择)或 list(位置列表)或 both(都支持)
|
|
18
|
+
selectMode: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "map",
|
|
21
|
+
validator: (val) => ["map", "list", "both"].includes(val)
|
|
22
|
+
},
|
|
23
|
+
// 位置列表数据(selectMode为list或both时使用)
|
|
24
|
+
locationList: {
|
|
25
|
+
type: Array,
|
|
26
|
+
default: () => []
|
|
27
|
+
},
|
|
28
|
+
latitude: {
|
|
29
|
+
type: [Number, String],
|
|
30
|
+
default: null
|
|
31
|
+
},
|
|
32
|
+
longitude: {
|
|
33
|
+
type: [Number, String],
|
|
34
|
+
default: null
|
|
35
|
+
},
|
|
36
|
+
placeholder: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: "请输入地址"
|
|
39
|
+
},
|
|
40
|
+
disabled: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: false
|
|
43
|
+
},
|
|
44
|
+
showMap: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: true
|
|
47
|
+
},
|
|
48
|
+
mapKey: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: ""
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
emits: ["update:modelValue", "update:latitude", "update:longitude", "location-change"],
|
|
54
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
55
|
+
const props = __props;
|
|
56
|
+
const emit = __emit;
|
|
57
|
+
const appStore = store_app.useAppStore();
|
|
58
|
+
const addressValue = common_vendor.ref(props.modelValue);
|
|
59
|
+
const showListPopup = common_vendor.ref(false);
|
|
60
|
+
const showSelectPopup = common_vendor.ref(false);
|
|
61
|
+
const staticMapUrl = common_vendor.computed(() => {
|
|
62
|
+
if (!props.latitude || !props.longitude || !props.mapKey) return "";
|
|
63
|
+
const lat = props.latitude;
|
|
64
|
+
const lng = props.longitude;
|
|
65
|
+
const style = appStore.isDarkMode ? "&style=4" : "";
|
|
66
|
+
return `https://apis.map.qq.com/ws/staticmap/v2/?center=${lat},${lng}&zoom=16&size=600*300&maptype=roadmap&markers=size:large|color:red|${lat},${lng}&key=${props.mapKey}${style}`;
|
|
67
|
+
});
|
|
68
|
+
function handleInput(e) {
|
|
69
|
+
const value = e.detail.value;
|
|
70
|
+
addressValue.value = value;
|
|
71
|
+
emit("update:modelValue", value);
|
|
72
|
+
}
|
|
73
|
+
function chooseLocation() {
|
|
74
|
+
if (props.disabled) return;
|
|
75
|
+
if (props.selectMode === "map") {
|
|
76
|
+
openMapPicker();
|
|
77
|
+
} else if (props.selectMode === "list") {
|
|
78
|
+
showListPopup.value = true;
|
|
79
|
+
} else {
|
|
80
|
+
showSelectPopup.value = true;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
function openMapPicker() {
|
|
84
|
+
common_vendor.index.chooseLocation({
|
|
85
|
+
latitude: props.latitude || void 0,
|
|
86
|
+
longitude: props.longitude || void 0,
|
|
87
|
+
success: (res) => {
|
|
88
|
+
if (res.name || res.address) {
|
|
89
|
+
const fullAddress = res.name ? res.address ? `${res.name}(${res.address})` : res.name : res.address;
|
|
90
|
+
addressValue.value = fullAddress;
|
|
91
|
+
emit("update:modelValue", fullAddress);
|
|
92
|
+
}
|
|
93
|
+
emit("update:latitude", res.latitude);
|
|
94
|
+
emit("update:longitude", res.longitude);
|
|
95
|
+
emit("location-change", {
|
|
96
|
+
address: addressValue.value,
|
|
97
|
+
latitude: res.latitude,
|
|
98
|
+
longitude: res.longitude,
|
|
99
|
+
name: res.name
|
|
100
|
+
});
|
|
101
|
+
},
|
|
102
|
+
fail: (err) => {
|
|
103
|
+
common_vendor.index.__f__("log", "at components/PrismAddressInput/PrismAddressInput.vue:213", "选择位置失败", err);
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
function selectLocationItem(item) {
|
|
108
|
+
addressValue.value = item.address || item.name;
|
|
109
|
+
emit("update:modelValue", addressValue.value);
|
|
110
|
+
emit("update:latitude", item.latitude);
|
|
111
|
+
emit("update:longitude", item.longitude);
|
|
112
|
+
emit("location-change", {
|
|
113
|
+
address: addressValue.value,
|
|
114
|
+
latitude: item.latitude,
|
|
115
|
+
longitude: item.longitude,
|
|
116
|
+
name: item.name
|
|
117
|
+
});
|
|
118
|
+
showListPopup.value = false;
|
|
119
|
+
}
|
|
120
|
+
function closePopup() {
|
|
121
|
+
showListPopup.value = false;
|
|
122
|
+
showSelectPopup.value = false;
|
|
123
|
+
}
|
|
124
|
+
function handleSelectMode(mode) {
|
|
125
|
+
showSelectPopup.value = false;
|
|
126
|
+
if (mode === "map") {
|
|
127
|
+
openMapPicker();
|
|
128
|
+
} else {
|
|
129
|
+
showListPopup.value = true;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
common_vendor.watch(() => props.modelValue, (val) => {
|
|
133
|
+
addressValue.value = val;
|
|
134
|
+
});
|
|
135
|
+
__expose({
|
|
136
|
+
chooseLocation,
|
|
137
|
+
openMapPicker
|
|
138
|
+
});
|
|
139
|
+
return (_ctx, _cache) => {
|
|
140
|
+
return common_vendor.e({
|
|
141
|
+
a: __props.mode === "textarea"
|
|
142
|
+
}, __props.mode === "textarea" ? {
|
|
143
|
+
b: __props.placeholder,
|
|
144
|
+
c: __props.disabled,
|
|
145
|
+
d: common_vendor.o([($event) => addressValue.value = $event.detail.value, handleInput]),
|
|
146
|
+
e: addressValue.value,
|
|
147
|
+
f: common_vendor.o(chooseLocation)
|
|
148
|
+
} : __props.mode === "input" ? {
|
|
149
|
+
h: __props.placeholder,
|
|
150
|
+
i: __props.disabled,
|
|
151
|
+
j: common_vendor.o([($event) => addressValue.value = $event.detail.value, handleInput]),
|
|
152
|
+
k: addressValue.value,
|
|
153
|
+
l: common_vendor.o(chooseLocation)
|
|
154
|
+
} : {}, {
|
|
155
|
+
g: __props.mode === "input",
|
|
156
|
+
m: __props.showMap && __props.latitude && __props.longitude
|
|
157
|
+
}, __props.showMap && __props.latitude && __props.longitude ? {
|
|
158
|
+
n: staticMapUrl.value,
|
|
159
|
+
o: common_vendor.o(chooseLocation)
|
|
160
|
+
} : {}, {
|
|
161
|
+
p: showSelectPopup.value
|
|
162
|
+
}, showSelectPopup.value ? {
|
|
163
|
+
q: common_vendor.o(($event) => handleSelectMode("map")),
|
|
164
|
+
r: common_vendor.o(($event) => handleSelectMode("list")),
|
|
165
|
+
s: common_vendor.o(closePopup),
|
|
166
|
+
t: common_vendor.o(() => {
|
|
167
|
+
}),
|
|
168
|
+
v: common_vendor.o(closePopup)
|
|
169
|
+
} : {}, {
|
|
170
|
+
w: showListPopup.value
|
|
171
|
+
}, showListPopup.value ? common_vendor.e({
|
|
172
|
+
x: common_vendor.o(closePopup),
|
|
173
|
+
y: common_vendor.f(__props.locationList, (item, index, i0) => {
|
|
174
|
+
return common_vendor.e({
|
|
175
|
+
a: common_vendor.t(item.name),
|
|
176
|
+
b: item.address
|
|
177
|
+
}, item.address ? {
|
|
178
|
+
c: common_vendor.t(item.address)
|
|
179
|
+
} : {}, {
|
|
180
|
+
d: index,
|
|
181
|
+
e: common_vendor.o(($event) => selectLocationItem(item), index)
|
|
182
|
+
});
|
|
183
|
+
}),
|
|
184
|
+
z: !__props.locationList.length
|
|
185
|
+
}, !__props.locationList.length ? {} : {}, {
|
|
186
|
+
A: __props.selectMode === "both"
|
|
187
|
+
}, __props.selectMode === "both" ? {
|
|
188
|
+
B: common_vendor.o(($event) => handleSelectMode("map"))
|
|
189
|
+
} : {}, {
|
|
190
|
+
C: common_vendor.o(() => {
|
|
191
|
+
}),
|
|
192
|
+
D: common_vendor.o(closePopup)
|
|
193
|
+
}) : {}, {
|
|
194
|
+
E: common_vendor.unref(appStore).isDarkMode ? 1 : ""
|
|
195
|
+
});
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
wx.createComponent(_sfc_main);
|
|
200
|
+
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/PrismAddressInput/PrismAddressInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<view class="{{['prism-address-input', E && 'dark-mode']}}"><view wx:if="{{a}}" class="address-wrapper"><block wx:if="{{r0}}"><textarea class="address-textarea" placeholder="{{b}}" placeholder-class="address-placeholder" auto-height="{{true}}" disabled="{{c}}" bindinput="{{d}}" value="{{e}}"></textarea></block><view class="location-btn" bindtap="{{f}}"><text class="fa fa-location-dot"></text></view></view><view wx:elif="{{g}}" class="address-wrapper input-mode"><view class="prism-input-box"><input placeholder="{{h}}" disabled="{{i}}" bindinput="{{j}}" value="{{k}}"/></view><view class="location-btn" bindtap="{{l}}"><text class="fa fa-location-crosshairs"></text></view></view><view wx:if="{{m}}" class="map-container" bindtap="{{o}}"><image class="location-map" src="{{n}}" mode="aspectFill"></image><view class="relocate-tip"><text class="fa fa-location-crosshairs"></text><text>点击重新选择位置</text></view></view><view wx:if="{{p}}" class="select-popup" bindtap="{{v}}"><view class="select-content" catchtap="{{t}}"><view class="select-title">选择方式</view><view class="select-options"><view class="select-option" bindtap="{{q}}"><text class="fa fa-map-location-dot"></text><text>地图选择</text></view><view class="select-option" bindtap="{{r}}"><text class="fa fa-list-ul"></text><text>位置列表</text></view></view><view class="select-cancel" bindtap="{{s}}">取消</view></view></view><view wx:if="{{w}}" class="list-popup" bindtap="{{D}}"><view class="list-content" catchtap="{{C}}"><view class="list-header"><text class="list-title">选择位置</text><text class="fa fa-times list-close" bindtap="{{x}}"></text></view><scroll-view class="list-scroll" scroll-y><view wx:for="{{y}}" wx:for-item="item" wx:key="d" class="list-item" bindtap="{{item.e}}"><view class="item-icon"><text class="fa fa-location-dot"></text></view><view class="item-info"><view class="item-name">{{item.a}}</view><view wx:if="{{item.b}}" class="item-address">{{item.c}}</view></view></view><view wx:if="{{z}}" class="list-empty"><text class="fa fa-inbox"></text><text>暂无位置数据</text></view></scroll-view><view wx:if="{{A}}" class="list-footer" bindtap="{{B}}"><text class="fa fa-map-location-dot"></text><text>从地图选择</text></view></view></view></view>
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prism UI - SCSS 变量定义
|
|
3
|
+
* 此文件包含所有设计令牌和变量
|
|
4
|
+
* 所有变量使用 $prism- 前缀,避免与用户项目冲突
|
|
5
|
+
*
|
|
6
|
+
* 主题切换:修改下面的引入文件即可切换主题
|
|
7
|
+
* 可选主题:blue(默认) / green / purple / orange / red / cyan
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Prism UI - 蓝色主题(默认)
|
|
11
|
+
*
|
|
12
|
+
* 使用方式:在 variables.scss 中修改引入
|
|
13
|
+
* @import '../theme/blue.scss';
|
|
14
|
+
*
|
|
15
|
+
* 颜色值来自 colors.scss 中的 $prism-blue-* 变量
|
|
16
|
+
*/
|
|
17
|
+
/* ============================================================
|
|
18
|
+
一、浅色模式变量(使用 !default,允许主题文件覆盖)
|
|
19
|
+
============================================================ */
|
|
20
|
+
/* -------------------- 主题色 -------------------- */
|
|
21
|
+
/* -------------------- 状态色 -------------------- */
|
|
22
|
+
/* -------------------- 文字颜色 -------------------- */
|
|
23
|
+
/* -------------------- 边框颜色 -------------------- */
|
|
24
|
+
/* -------------------- 背景颜色 -------------------- */
|
|
25
|
+
/* ============================================================
|
|
26
|
+
二、深色模式变量
|
|
27
|
+
============================================================ */
|
|
28
|
+
/* -------------------- 主题色(深色) -------------------- */
|
|
29
|
+
/* -------------------- 状态色(深色) -------------------- */
|
|
30
|
+
/* -------------------- 文字颜色(深色) -------------------- */
|
|
31
|
+
/* -------------------- 边框颜色(深色) -------------------- */
|
|
32
|
+
/* -------------------- 背景颜色(深色) -------------------- */
|
|
33
|
+
/* ============================================================
|
|
34
|
+
三、主题色透明度(使用 !default,允许主题文件覆盖)
|
|
35
|
+
============================================================ */
|
|
36
|
+
/* ============================================================
|
|
37
|
+
主题色渐变(使用 !default,允许主题文件覆盖)
|
|
38
|
+
============================================================ */
|
|
39
|
+
/* ============================================================
|
|
40
|
+
四、白色透明度
|
|
41
|
+
============================================================ */
|
|
42
|
+
/* ============================================================
|
|
43
|
+
六、第三方品牌色
|
|
44
|
+
============================================================ */
|
|
45
|
+
/* ============================================================
|
|
46
|
+
八、常用阴影(使用 !default,允许主题文件覆盖)
|
|
47
|
+
============================================================ */
|
|
48
|
+
/* ============================================================
|
|
49
|
+
九、统一间距
|
|
50
|
+
============================================================ */
|
|
51
|
+
.prism-address-input .address-wrapper {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
min-height: 88rpx;
|
|
55
|
+
background: var(--prism-input-bg, #EBEEF2);
|
|
56
|
+
border-radius: 12rpx;
|
|
57
|
+
padding: 0 28rpx;
|
|
58
|
+
}
|
|
59
|
+
.prism-address-input .address-wrapper.input-mode {
|
|
60
|
+
padding: 0;
|
|
61
|
+
background: transparent;
|
|
62
|
+
gap: 16rpx;
|
|
63
|
+
}
|
|
64
|
+
.prism-address-input .address-wrapper.input-mode .prism-input-box {
|
|
65
|
+
flex: 1;
|
|
66
|
+
}
|
|
67
|
+
.prism-address-input .address-wrapper.input-mode .location-btn {
|
|
68
|
+
padding: 0;
|
|
69
|
+
width: 80rpx;
|
|
70
|
+
height: 80rpx;
|
|
71
|
+
background: var(--prism-primary-color, #3478F6);
|
|
72
|
+
border-radius: 12rpx;
|
|
73
|
+
flex-shrink: 0;
|
|
74
|
+
}
|
|
75
|
+
.prism-address-input .address-wrapper.input-mode .location-btn .fa {
|
|
76
|
+
color: #FFFFFF;
|
|
77
|
+
font-size: 36rpx;
|
|
78
|
+
}
|
|
79
|
+
.prism-address-input .address-wrapper.input-mode .location-btn:active {
|
|
80
|
+
opacity: 0.8;
|
|
81
|
+
}
|
|
82
|
+
.prism-address-input .address-textarea {
|
|
83
|
+
flex: 1;
|
|
84
|
+
min-height: 48rpx;
|
|
85
|
+
max-height: none;
|
|
86
|
+
font-size: 30rpx;
|
|
87
|
+
color: var(--prism-text-primary, #1D2129);
|
|
88
|
+
line-height: 1.5;
|
|
89
|
+
background: transparent;
|
|
90
|
+
}
|
|
91
|
+
.prism-address-input .address-placeholder {
|
|
92
|
+
color: var(--prism-text-placeholder, #86909C);
|
|
93
|
+
}
|
|
94
|
+
.prism-address-input .location-btn {
|
|
95
|
+
padding: 8rpx 0 8rpx 16rpx;
|
|
96
|
+
display: flex;
|
|
97
|
+
align-items: center;
|
|
98
|
+
justify-content: center;
|
|
99
|
+
flex-shrink: 0;
|
|
100
|
+
}
|
|
101
|
+
.prism-address-input .location-btn .fa {
|
|
102
|
+
font-size: 40rpx;
|
|
103
|
+
color: var(--prism-primary-color, #3478F6);
|
|
104
|
+
}
|
|
105
|
+
.prism-address-input .map-container {
|
|
106
|
+
margin-top: 16rpx;
|
|
107
|
+
position: relative;
|
|
108
|
+
border-radius: 16rpx;
|
|
109
|
+
overflow: hidden;
|
|
110
|
+
height: 300rpx;
|
|
111
|
+
}
|
|
112
|
+
.prism-address-input .location-map {
|
|
113
|
+
width: 100%;
|
|
114
|
+
height: 100%;
|
|
115
|
+
border-radius: 16rpx;
|
|
116
|
+
}
|
|
117
|
+
.prism-address-input .relocate-tip {
|
|
118
|
+
position: absolute;
|
|
119
|
+
bottom: 0;
|
|
120
|
+
left: 0;
|
|
121
|
+
right: 0;
|
|
122
|
+
background: var(--prism-mask-bg, rgba(0, 0, 0, 0.5));
|
|
123
|
+
padding: 16rpx;
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
gap: 8rpx;
|
|
128
|
+
}
|
|
129
|
+
.prism-address-input .relocate-tip text, .prism-address-input .relocate-tip .fa {
|
|
130
|
+
font-size: 24rpx;
|
|
131
|
+
color: #FFFFFF;
|
|
132
|
+
}
|
|
133
|
+
.prism-address-input .select-popup,
|
|
134
|
+
.prism-address-input .list-popup {
|
|
135
|
+
position: fixed;
|
|
136
|
+
top: 0;
|
|
137
|
+
left: 0;
|
|
138
|
+
right: 0;
|
|
139
|
+
bottom: 0;
|
|
140
|
+
background: var(--prism-mask-bg, rgba(0, 0, 0, 0.5));
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: flex-end;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
z-index: 9999;
|
|
145
|
+
}
|
|
146
|
+
.prism-address-input .select-content {
|
|
147
|
+
width: 100%;
|
|
148
|
+
background: var(--prism-bg-color-card, #FFFFFF);
|
|
149
|
+
border-radius: 24rpx 24rpx 0 0;
|
|
150
|
+
padding: 32rpx;
|
|
151
|
+
padding-bottom: calc(32rpx + env(safe-area-inset-bottom));
|
|
152
|
+
}
|
|
153
|
+
.prism-address-input .select-title {
|
|
154
|
+
font-size: 32rpx;
|
|
155
|
+
font-weight: 600;
|
|
156
|
+
color: var(--prism-text-primary, #1D2129);
|
|
157
|
+
text-align: center;
|
|
158
|
+
margin-bottom: 32rpx;
|
|
159
|
+
}
|
|
160
|
+
.prism-address-input .select-options {
|
|
161
|
+
display: flex;
|
|
162
|
+
gap: 24rpx;
|
|
163
|
+
}
|
|
164
|
+
.prism-address-input .select-option {
|
|
165
|
+
flex: 1;
|
|
166
|
+
height: 160rpx;
|
|
167
|
+
background: var(--prism-bg-color-container, #F7F8FA);
|
|
168
|
+
border-radius: 16rpx;
|
|
169
|
+
display: flex;
|
|
170
|
+
flex-direction: column;
|
|
171
|
+
align-items: center;
|
|
172
|
+
justify-content: center;
|
|
173
|
+
gap: 16rpx;
|
|
174
|
+
transition: all 0.2s;
|
|
175
|
+
}
|
|
176
|
+
.prism-address-input .select-option .fa {
|
|
177
|
+
font-size: 48rpx;
|
|
178
|
+
color: var(--prism-primary-color, #3478F6);
|
|
179
|
+
}
|
|
180
|
+
.prism-address-input .select-option text:last-child {
|
|
181
|
+
font-size: 28rpx;
|
|
182
|
+
color: var(--prism-text-primary, #1D2129);
|
|
183
|
+
}
|
|
184
|
+
.prism-address-input .select-option:active {
|
|
185
|
+
background: var(--prism-primary-light, rgba(52, 120, 246, 0.1));
|
|
186
|
+
}
|
|
187
|
+
.prism-address-input .select-cancel {
|
|
188
|
+
margin-top: 24rpx;
|
|
189
|
+
height: 88rpx;
|
|
190
|
+
display: flex;
|
|
191
|
+
align-items: center;
|
|
192
|
+
justify-content: center;
|
|
193
|
+
font-size: 32rpx;
|
|
194
|
+
color: var(--prism-text-secondary, #86909C);
|
|
195
|
+
}
|
|
196
|
+
.prism-address-input .list-content {
|
|
197
|
+
width: 100%;
|
|
198
|
+
max-height: 70vh;
|
|
199
|
+
background: var(--prism-bg-color-card, #FFFFFF);
|
|
200
|
+
border-radius: 24rpx 24rpx 0 0;
|
|
201
|
+
display: flex;
|
|
202
|
+
flex-direction: column;
|
|
203
|
+
}
|
|
204
|
+
.prism-address-input .list-header {
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
justify-content: space-between;
|
|
208
|
+
padding: 32rpx;
|
|
209
|
+
border-bottom: 1rpx solid var(--prism-border-color-light, #E5E6EB);
|
|
210
|
+
}
|
|
211
|
+
.prism-address-input .list-title {
|
|
212
|
+
font-size: 32rpx;
|
|
213
|
+
font-weight: 600;
|
|
214
|
+
color: var(--prism-text-primary, #1D2129);
|
|
215
|
+
}
|
|
216
|
+
.prism-address-input .list-close {
|
|
217
|
+
font-size: 36rpx;
|
|
218
|
+
color: var(--prism-text-secondary, #86909C);
|
|
219
|
+
padding: 8rpx;
|
|
220
|
+
}
|
|
221
|
+
.prism-address-input .list-scroll {
|
|
222
|
+
flex: 1;
|
|
223
|
+
max-height: 600rpx;
|
|
224
|
+
}
|
|
225
|
+
.prism-address-input .list-item {
|
|
226
|
+
display: flex;
|
|
227
|
+
align-items: center;
|
|
228
|
+
padding: 24rpx 32rpx;
|
|
229
|
+
border-bottom: 1rpx solid var(--prism-border-color-light, #E5E6EB);
|
|
230
|
+
transition: all 0.2s;
|
|
231
|
+
}
|
|
232
|
+
.prism-address-input .list-item:active {
|
|
233
|
+
background: var(--prism-bg-color-container, #F7F8FA);
|
|
234
|
+
}
|
|
235
|
+
.prism-address-input .item-icon {
|
|
236
|
+
width: 64rpx;
|
|
237
|
+
height: 64rpx;
|
|
238
|
+
background: var(--prism-primary-light, rgba(52, 120, 246, 0.1));
|
|
239
|
+
border-radius: 50%;
|
|
240
|
+
display: flex;
|
|
241
|
+
align-items: center;
|
|
242
|
+
justify-content: center;
|
|
243
|
+
margin-right: 24rpx;
|
|
244
|
+
flex-shrink: 0;
|
|
245
|
+
}
|
|
246
|
+
.prism-address-input .item-icon .fa {
|
|
247
|
+
font-size: 28rpx;
|
|
248
|
+
color: var(--prism-primary-color, #3478F6);
|
|
249
|
+
}
|
|
250
|
+
.prism-address-input .item-info {
|
|
251
|
+
flex: 1;
|
|
252
|
+
min-width: 0;
|
|
253
|
+
}
|
|
254
|
+
.prism-address-input .item-name {
|
|
255
|
+
font-size: 30rpx;
|
|
256
|
+
color: var(--prism-text-primary, #1D2129);
|
|
257
|
+
margin-bottom: 8rpx;
|
|
258
|
+
}
|
|
259
|
+
.prism-address-input .item-address {
|
|
260
|
+
font-size: 24rpx;
|
|
261
|
+
color: var(--prism-text-secondary, #86909C);
|
|
262
|
+
overflow: hidden;
|
|
263
|
+
text-overflow: ellipsis;
|
|
264
|
+
white-space: nowrap;
|
|
265
|
+
}
|
|
266
|
+
.prism-address-input .list-empty {
|
|
267
|
+
padding: 80rpx 32rpx;
|
|
268
|
+
display: flex;
|
|
269
|
+
flex-direction: column;
|
|
270
|
+
align-items: center;
|
|
271
|
+
gap: 16rpx;
|
|
272
|
+
}
|
|
273
|
+
.prism-address-input .list-empty .fa {
|
|
274
|
+
font-size: 64rpx;
|
|
275
|
+
color: var(--prism-text-placeholder, #C9CDD4);
|
|
276
|
+
}
|
|
277
|
+
.prism-address-input .list-empty text:last-child {
|
|
278
|
+
font-size: 28rpx;
|
|
279
|
+
color: var(--prism-text-secondary, #86909C);
|
|
280
|
+
}
|
|
281
|
+
.prism-address-input .list-footer {
|
|
282
|
+
display: flex;
|
|
283
|
+
align-items: center;
|
|
284
|
+
justify-content: center;
|
|
285
|
+
gap: 12rpx;
|
|
286
|
+
padding: 24rpx 32rpx;
|
|
287
|
+
padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
|
|
288
|
+
border-top: 1rpx solid var(--prism-border-color-light, #E5E6EB);
|
|
289
|
+
background: var(--prism-bg-color-card, #FFFFFF);
|
|
290
|
+
}
|
|
291
|
+
.prism-address-input .list-footer .fa {
|
|
292
|
+
font-size: 32rpx;
|
|
293
|
+
color: var(--prism-primary-color, #3478F6);
|
|
294
|
+
}
|
|
295
|
+
.prism-address-input .list-footer text:last-child {
|
|
296
|
+
font-size: 28rpx;
|
|
297
|
+
color: var(--prism-primary-color, #3478F6);
|
|
298
|
+
}
|
|
299
|
+
.prism-address-input .list-footer:active {
|
|
300
|
+
opacity: 0.7;
|
|
301
|
+
}
|
|
302
|
+
.dark-mode .prism-address-input .address-wrapper {
|
|
303
|
+
background: var(--prism-input-bg, #2A2A2A);
|
|
304
|
+
}
|
|
305
|
+
.dark-mode .prism-address-input .address-wrapper.input-mode {
|
|
306
|
+
background: transparent;
|
|
307
|
+
}
|
|
308
|
+
.dark-mode .prism-address-input .address-textarea {
|
|
309
|
+
color: var(--prism-text-primary, #E5E6EB);
|
|
310
|
+
}
|
|
311
|
+
.dark-mode .prism-address-input .address-placeholder {
|
|
312
|
+
color: var(--prism-text-placeholder, #6B7785);
|
|
313
|
+
}
|
|
314
|
+
.dark-mode .prism-address-input .select-content,
|
|
315
|
+
.dark-mode .prism-address-input .list-content,
|
|
316
|
+
.dark-mode .prism-address-input .list-footer {
|
|
317
|
+
background: var(--prism-bg-color-card, #1A1A1A);
|
|
318
|
+
}
|
|
319
|
+
.dark-mode .prism-address-input .select-option {
|
|
320
|
+
background: var(--prism-bg-color-container, #2A2A2A);
|
|
321
|
+
}
|
|
322
|
+
.dark-mode .prism-address-input .select-option:active {
|
|
323
|
+
background: rgba(52, 120, 246, 0.15);
|
|
324
|
+
}
|
|
325
|
+
.dark-mode .prism-address-input .list-item:active {
|
|
326
|
+
background: var(--prism-bg-color-container, #2A2A2A);
|
|
327
|
+
}
|