@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,689 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const common_vendor = require("../../common/vendor.js");
|
|
3
|
+
const store_app = require("../../store/app.js");
|
|
4
|
+
if (!Array) {
|
|
5
|
+
const _easycom_PrismNavBar2 = common_vendor.resolveComponent("PrismNavBar");
|
|
6
|
+
_easycom_PrismNavBar2();
|
|
7
|
+
}
|
|
8
|
+
const _easycom_PrismNavBar = () => "../../components/PrismNavBar/PrismNavBar.js";
|
|
9
|
+
if (!Math) {
|
|
10
|
+
(_easycom_PrismNavBar + PrismCode + PrismCodeInput + PrismSecureInput + PrismLicensePlateInput + PrismIdCardInput + PrismAddressInput + PrismSwitch + PrismCityPicker + PrismCityCascadeSelect + PrismCitySelect + PrismDateTimePicker + PrismVoiceInput)();
|
|
11
|
+
}
|
|
12
|
+
const PrismCode = () => "../../components/PrismCode/PrismCode.js";
|
|
13
|
+
const PrismCodeInput = () => "../../components/PrismCodeInput/PrismCodeInput.js";
|
|
14
|
+
const PrismSecureInput = () => "../../components/PrismSecureInput/PrismSecureInput.js";
|
|
15
|
+
const PrismVoiceInput = () => "../../components/PrismVoiceInput/PrismVoiceInput.js";
|
|
16
|
+
const PrismLicensePlateInput = () => "../../components/PrismLicensePlateInput/PrismLicensePlateInput.js";
|
|
17
|
+
const PrismIdCardInput = () => "../../components/PrismIdCardInput/PrismIdCardInput.js";
|
|
18
|
+
const PrismAddressInput = () => "../../components/PrismAddressInput/PrismAddressInput.js";
|
|
19
|
+
const PrismSwitch = () => "../../components/PrismSwitch/PrismSwitch.js";
|
|
20
|
+
const PrismCityPicker = () => "../../components/PrismCityPicker/PrismCityPicker.js";
|
|
21
|
+
const PrismCityCascadeSelect = () => "../../components/PrismCityCascadeSelect/PrismCityCascadeSelect.js";
|
|
22
|
+
const PrismCitySelect = () => "../../components/PrismCitySelect/PrismCitySelect.js";
|
|
23
|
+
const PrismDateTimePicker = () => "../../components/PrismDateTimePicker/PrismDateTimePicker.js";
|
|
24
|
+
const _sfc_main = {
|
|
25
|
+
__name: "form",
|
|
26
|
+
setup(__props) {
|
|
27
|
+
const appStore = store_app.useAppStore();
|
|
28
|
+
const navbarHeight = common_vendor.computed(() => {
|
|
29
|
+
return appStore.statusBarHeight + 44;
|
|
30
|
+
});
|
|
31
|
+
const inputValue = common_vendor.ref("");
|
|
32
|
+
const voiceInputValue = common_vendor.ref("");
|
|
33
|
+
const showPassword = common_vendor.ref(false);
|
|
34
|
+
const countdown = common_vendor.ref(0);
|
|
35
|
+
const checked1 = common_vendor.ref(true);
|
|
36
|
+
const checked2 = common_vendor.ref(false);
|
|
37
|
+
const switchValue = common_vendor.ref(true);
|
|
38
|
+
const switchSquareValue = common_vendor.ref(false);
|
|
39
|
+
const switchSquareTextValue = common_vendor.ref(true);
|
|
40
|
+
const switchTextValue = common_vendor.ref(true);
|
|
41
|
+
const switchTextValue2 = common_vendor.ref(false);
|
|
42
|
+
const showVoicePanel = common_vendor.ref(false);
|
|
43
|
+
const voiceTexts = [
|
|
44
|
+
"这是语音识别的结果文本",
|
|
45
|
+
"用户通过语音输入的内容",
|
|
46
|
+
"语音转文字示例",
|
|
47
|
+
"测试语音输入功能",
|
|
48
|
+
"你好,这是一段测试文字"
|
|
49
|
+
];
|
|
50
|
+
const code4Value = common_vendor.ref("");
|
|
51
|
+
const code6Value = common_vendor.ref("");
|
|
52
|
+
const securePassword = common_vendor.ref("");
|
|
53
|
+
const securePasswordRandom = common_vendor.ref("");
|
|
54
|
+
const licensePlate = common_vendor.ref("");
|
|
55
|
+
const idCardNumber = common_vendor.ref("");
|
|
56
|
+
const textareaValue = common_vendor.ref("");
|
|
57
|
+
const searchValue = common_vendor.ref("");
|
|
58
|
+
const radioValue = common_vendor.ref(1);
|
|
59
|
+
const pickerValue = common_vendor.ref("");
|
|
60
|
+
const stepperValue = common_vendor.ref(1);
|
|
61
|
+
const rateValue = common_vendor.ref(3);
|
|
62
|
+
const dateValue = common_vendor.ref("");
|
|
63
|
+
const timeValue = common_vendor.ref("");
|
|
64
|
+
common_vendor.ref([]);
|
|
65
|
+
const cityValue = common_vendor.ref([]);
|
|
66
|
+
const cityValue2 = common_vendor.ref([]);
|
|
67
|
+
common_vendor.ref([]);
|
|
68
|
+
const cityValue4 = common_vendor.ref([]);
|
|
69
|
+
const cityValue5 = common_vendor.ref(null);
|
|
70
|
+
const dateTimeValue = common_vendor.ref("");
|
|
71
|
+
const dateTimeValue2 = common_vendor.ref("");
|
|
72
|
+
const dateTimeValue3 = common_vendor.ref("");
|
|
73
|
+
const dateTimeValue4 = common_vendor.ref("");
|
|
74
|
+
const dateRangeValue = common_vendor.ref([]);
|
|
75
|
+
const dateRangeValue2 = common_vendor.ref([]);
|
|
76
|
+
const addressValue = common_vendor.ref("");
|
|
77
|
+
const addressValue2 = common_vendor.ref("");
|
|
78
|
+
const locationData = common_vendor.reactive({
|
|
79
|
+
latitude: 0,
|
|
80
|
+
longitude: 0
|
|
81
|
+
});
|
|
82
|
+
const locationData2 = common_vendor.reactive({
|
|
83
|
+
latitude: 0,
|
|
84
|
+
longitude: 0
|
|
85
|
+
});
|
|
86
|
+
const staticMapUrl = common_vendor.computed(() => {
|
|
87
|
+
if (!locationData.latitude || !locationData.longitude) return "";
|
|
88
|
+
const lat = locationData.latitude;
|
|
89
|
+
const lng = locationData.longitude;
|
|
90
|
+
const style = appStore.isDarkMode ? "&style=4" : "";
|
|
91
|
+
return `https://apis.map.qq.com/ws/staticmap/v2/?center=${lat},${lng}&zoom=16&size=600*300&maptype=roadmap${style}&markers=size:large|color:0x3478F6|label:A|${lat},${lng}&key=H3QBZ-6KT3B-O5YU7-NLGYT-OKNJZ-NKBTJ`;
|
|
92
|
+
});
|
|
93
|
+
const tagOptions = common_vendor.ref([
|
|
94
|
+
{ label: "紧急", value: "urgent" },
|
|
95
|
+
{ label: "重点", value: "important" },
|
|
96
|
+
{ label: "普通", value: "normal" },
|
|
97
|
+
{ label: "长期", value: "longterm" },
|
|
98
|
+
{ label: "VIP客户", value: "vip" }
|
|
99
|
+
]);
|
|
100
|
+
const selectedTags = common_vendor.ref(["important"]);
|
|
101
|
+
const selectedSquareTags = common_vendor.ref(["urgent"]);
|
|
102
|
+
const iconTagOptions = common_vendor.ref([
|
|
103
|
+
{ label: "住宅", value: "residential", icon: "fa-home" },
|
|
104
|
+
{ label: "商业", value: "commercial", icon: "fa-store" },
|
|
105
|
+
{ label: "办公", value: "office", icon: "fa-building" },
|
|
106
|
+
{ label: "别墅", value: "villa", icon: "fa-house-chimney" }
|
|
107
|
+
]);
|
|
108
|
+
const selectedIconTags = common_vendor.ref(["residential"]);
|
|
109
|
+
const colorTagOptions = common_vendor.ref([
|
|
110
|
+
{ label: "进行中", value: "processing", color: "#3478F6", bgColor: "rgba(52, 120, 246, 0.1)" },
|
|
111
|
+
{ label: "已完成", value: "completed", color: "#00B42A", bgColor: "rgba(0, 180, 42, 0.1)" },
|
|
112
|
+
{ label: "已逾期", value: "overdue", color: "#F53F3F", bgColor: "rgba(245, 63, 63, 0.1)" },
|
|
113
|
+
{ label: "待确认", value: "pending", color: "#FF7D00", bgColor: "rgba(255, 125, 0, 0.1)" }
|
|
114
|
+
]);
|
|
115
|
+
const selectedColorTags = common_vendor.ref(["processing"]);
|
|
116
|
+
const descriptionValue = common_vendor.ref("");
|
|
117
|
+
const sliderValue = common_vendor.ref(65);
|
|
118
|
+
const uploadedImages = common_vendor.ref([]);
|
|
119
|
+
const avatarUrl = common_vendor.ref("");
|
|
120
|
+
const defaultAvatars = common_vendor.ref([
|
|
121
|
+
"https://api.dicebear.com/7.x/avataaars/svg?seed=Felix",
|
|
122
|
+
"https://api.dicebear.com/7.x/avataaars/svg?seed=Aneka",
|
|
123
|
+
"https://api.dicebear.com/7.x/avataaars/svg?seed=Jasmine",
|
|
124
|
+
"https://api.dicebear.com/7.x/avataaars/svg?seed=Max",
|
|
125
|
+
"https://api.dicebear.com/7.x/avataaars/svg?seed=Sophie",
|
|
126
|
+
"https://api.dicebear.com/7.x/avataaars/svg?seed=Jack",
|
|
127
|
+
"https://api.dicebear.com/7.x/avataaars/svg?seed=Emma",
|
|
128
|
+
"https://api.dicebear.com/7.x/avataaars/svg?seed=Oliver"
|
|
129
|
+
]);
|
|
130
|
+
function sendCode() {
|
|
131
|
+
if (countdown.value > 0) return;
|
|
132
|
+
countdown.value = 60;
|
|
133
|
+
const timer = setInterval(() => {
|
|
134
|
+
countdown.value--;
|
|
135
|
+
if (countdown.value <= 0) {
|
|
136
|
+
clearInterval(timer);
|
|
137
|
+
}
|
|
138
|
+
}, 1e3);
|
|
139
|
+
}
|
|
140
|
+
function onCode4Complete(code) {
|
|
141
|
+
common_vendor.index.showToast({ title: `4位验证码: ${code}`, icon: "none" });
|
|
142
|
+
}
|
|
143
|
+
function onCode6Complete(code) {
|
|
144
|
+
common_vendor.index.showToast({ title: `6位验证码: ${code}`, icon: "none" });
|
|
145
|
+
}
|
|
146
|
+
function onSecureComplete(password) {
|
|
147
|
+
common_vendor.index.showToast({ title: "密码输入完成", icon: "success" });
|
|
148
|
+
}
|
|
149
|
+
function onLicenseComplete(plate) {
|
|
150
|
+
common_vendor.index.showToast({ title: `车牌号: ${plate}`, icon: "none" });
|
|
151
|
+
}
|
|
152
|
+
function onIdCardComplete(idCard) {
|
|
153
|
+
common_vendor.index.showToast({ title: "身份证号输入完成", icon: "success" });
|
|
154
|
+
}
|
|
155
|
+
function handleVoiceInput() {
|
|
156
|
+
showVoicePanel.value = true;
|
|
157
|
+
}
|
|
158
|
+
function onVoiceConfirm(data) {
|
|
159
|
+
const randomText = voiceTexts[Math.floor(Math.random() * voiceTexts.length)];
|
|
160
|
+
voiceInputValue.value = randomText;
|
|
161
|
+
}
|
|
162
|
+
function handleAIAssist() {
|
|
163
|
+
common_vendor.index.showToast({ title: "AI正在优化...", icon: "none" });
|
|
164
|
+
}
|
|
165
|
+
function handleCamera() {
|
|
166
|
+
common_vendor.index.chooseImage({
|
|
167
|
+
count: 1,
|
|
168
|
+
sourceType: ["camera"],
|
|
169
|
+
success: () => {
|
|
170
|
+
common_vendor.index.showToast({ title: "拍照成功", icon: "success" });
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
function onDateChange(e) {
|
|
175
|
+
dateValue.value = e.detail.value;
|
|
176
|
+
}
|
|
177
|
+
function onTimeChange(e) {
|
|
178
|
+
timeValue.value = e.detail.value;
|
|
179
|
+
}
|
|
180
|
+
function onCityChange(val) {
|
|
181
|
+
common_vendor.index.__f__("log", "at pages/demo/form.vue:920", "城市选择:", val);
|
|
182
|
+
}
|
|
183
|
+
function handleLocation() {
|
|
184
|
+
common_vendor.index.showToast({ title: "正在获取位置...", icon: "loading" });
|
|
185
|
+
setTimeout(() => {
|
|
186
|
+
addressValue.value = "北京市朝阳区建国路88号";
|
|
187
|
+
locationData.latitude = 39.9087;
|
|
188
|
+
locationData.longitude = 116.4716;
|
|
189
|
+
common_vendor.index.showToast({ title: "定位成功", icon: "success" });
|
|
190
|
+
}, 1e3);
|
|
191
|
+
}
|
|
192
|
+
function onLocationChange(data) {
|
|
193
|
+
common_vendor.index.__f__("log", "at pages/demo/form.vue:937", "位置已选择:", data);
|
|
194
|
+
common_vendor.index.showToast({ title: "位置已选择", icon: "success" });
|
|
195
|
+
}
|
|
196
|
+
function toggleTag(value) {
|
|
197
|
+
const index = selectedTags.value.indexOf(value);
|
|
198
|
+
if (index > -1) {
|
|
199
|
+
selectedTags.value.splice(index, 1);
|
|
200
|
+
} else {
|
|
201
|
+
selectedTags.value.push(value);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
function toggleSquareTag(value) {
|
|
205
|
+
const index = selectedSquareTags.value.indexOf(value);
|
|
206
|
+
if (index > -1) {
|
|
207
|
+
selectedSquareTags.value.splice(index, 1);
|
|
208
|
+
} else {
|
|
209
|
+
selectedSquareTags.value.push(value);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
function toggleIconTag(value) {
|
|
213
|
+
const index = selectedIconTags.value.indexOf(value);
|
|
214
|
+
if (index > -1) {
|
|
215
|
+
selectedIconTags.value.splice(index, 1);
|
|
216
|
+
} else {
|
|
217
|
+
selectedIconTags.value.push(value);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
function toggleColorTag(value) {
|
|
221
|
+
const index = selectedColorTags.value.indexOf(value);
|
|
222
|
+
if (index > -1) {
|
|
223
|
+
selectedColorTags.value.splice(index, 1);
|
|
224
|
+
} else {
|
|
225
|
+
selectedColorTags.value.push(value);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
function onSliderChange(e) {
|
|
229
|
+
sliderValue.value = e.detail.value;
|
|
230
|
+
}
|
|
231
|
+
function uploadImage() {
|
|
232
|
+
common_vendor.index.showActionSheet({
|
|
233
|
+
itemList: ["从相册选择", "拍照"],
|
|
234
|
+
success: (res) => {
|
|
235
|
+
const sourceType = res.tapIndex === 0 ? ["album"] : ["camera"];
|
|
236
|
+
common_vendor.index.chooseImage({
|
|
237
|
+
count: 9 - uploadedImages.value.length,
|
|
238
|
+
sizeType: ["compressed"],
|
|
239
|
+
sourceType,
|
|
240
|
+
success: (res2) => {
|
|
241
|
+
uploadedImages.value = [...uploadedImages.value, ...res2.tempFilePaths];
|
|
242
|
+
common_vendor.index.showToast({ title: "上传成功", icon: "success" });
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
function removeImage(index) {
|
|
249
|
+
uploadedImages.value.splice(index, 1);
|
|
250
|
+
}
|
|
251
|
+
function uploadAvatar() {
|
|
252
|
+
common_vendor.index.showActionSheet({
|
|
253
|
+
itemList: ["从相册选择", "拍照"],
|
|
254
|
+
success: (res) => {
|
|
255
|
+
const sourceType = res.tapIndex === 0 ? ["album"] : ["camera"];
|
|
256
|
+
common_vendor.index.chooseImage({
|
|
257
|
+
count: 1,
|
|
258
|
+
sizeType: ["compressed"],
|
|
259
|
+
sourceType,
|
|
260
|
+
success: (res2) => {
|
|
261
|
+
avatarUrl.value = res2.tempFilePaths[0];
|
|
262
|
+
common_vendor.index.showToast({ title: "头像已更新", icon: "success" });
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
function selectDefaultAvatar(img) {
|
|
269
|
+
avatarUrl.value = img;
|
|
270
|
+
common_vendor.index.showToast({ title: "头像已更新", icon: "success" });
|
|
271
|
+
}
|
|
272
|
+
return (_ctx, _cache) => {
|
|
273
|
+
return common_vendor.e({
|
|
274
|
+
a: common_vendor.p({
|
|
275
|
+
title: "表单组件",
|
|
276
|
+
icon: "fa-keyboard",
|
|
277
|
+
["icon-color"]: "teal",
|
|
278
|
+
["show-back"]: true
|
|
279
|
+
}),
|
|
280
|
+
b: inputValue.value,
|
|
281
|
+
c: common_vendor.o(($event) => inputValue.value = $event.detail.value),
|
|
282
|
+
d: inputValue.value
|
|
283
|
+
}, inputValue.value ? {
|
|
284
|
+
e: common_vendor.o(($event) => inputValue.value = "")
|
|
285
|
+
} : {}, {
|
|
286
|
+
f: voiceInputValue.value,
|
|
287
|
+
g: common_vendor.o(($event) => voiceInputValue.value = $event.detail.value),
|
|
288
|
+
h: common_vendor.o(handleVoiceInput),
|
|
289
|
+
i: showPassword.value ? "text" : "password",
|
|
290
|
+
j: common_vendor.n(showPassword.value ? "fa-eye" : "fa-eye-slash"),
|
|
291
|
+
k: common_vendor.o(($event) => showPassword.value = !showPassword.value),
|
|
292
|
+
l: common_vendor.t(countdown.value > 0 ? `${countdown.value}s后重发` : "获取验证码"),
|
|
293
|
+
m: countdown.value > 0 ? 1 : "",
|
|
294
|
+
n: common_vendor.o(sendCode),
|
|
295
|
+
o: common_vendor.p({
|
|
296
|
+
code: "prism-input-box"
|
|
297
|
+
}),
|
|
298
|
+
p: common_vendor.o(onCode4Complete),
|
|
299
|
+
q: common_vendor.o(($event) => code4Value.value = $event),
|
|
300
|
+
r: common_vendor.p({
|
|
301
|
+
length: 4,
|
|
302
|
+
modelValue: code4Value.value
|
|
303
|
+
}),
|
|
304
|
+
s: common_vendor.t(code4Value.value || "空"),
|
|
305
|
+
t: common_vendor.o(onCode6Complete),
|
|
306
|
+
v: common_vendor.o(($event) => code6Value.value = $event),
|
|
307
|
+
w: common_vendor.p({
|
|
308
|
+
length: 6,
|
|
309
|
+
modelValue: code6Value.value
|
|
310
|
+
}),
|
|
311
|
+
x: common_vendor.t(code6Value.value || "空"),
|
|
312
|
+
y: common_vendor.p({
|
|
313
|
+
code: "<PrismCodeInput :length='6' v-model='code' />"
|
|
314
|
+
}),
|
|
315
|
+
z: common_vendor.o(onSecureComplete),
|
|
316
|
+
A: common_vendor.o(($event) => securePassword.value = $event),
|
|
317
|
+
B: common_vendor.p({
|
|
318
|
+
length: 6,
|
|
319
|
+
modelValue: securePassword.value
|
|
320
|
+
}),
|
|
321
|
+
C: common_vendor.t(securePassword.value ? "******" : "空"),
|
|
322
|
+
D: common_vendor.o(($event) => securePasswordRandom.value = $event),
|
|
323
|
+
E: common_vendor.p({
|
|
324
|
+
length: 6,
|
|
325
|
+
randomOrder: true,
|
|
326
|
+
title: "请输入交易密码",
|
|
327
|
+
modelValue: securePasswordRandom.value
|
|
328
|
+
}),
|
|
329
|
+
F: common_vendor.p({
|
|
330
|
+
code: "<PrismSecureInput :length='6' :randomOrder='true' />"
|
|
331
|
+
}),
|
|
332
|
+
G: common_vendor.o(onLicenseComplete),
|
|
333
|
+
H: common_vendor.o(($event) => licensePlate.value = $event),
|
|
334
|
+
I: common_vendor.p({
|
|
335
|
+
modelValue: licensePlate.value
|
|
336
|
+
}),
|
|
337
|
+
J: common_vendor.t(licensePlate.value || "空"),
|
|
338
|
+
K: common_vendor.p({
|
|
339
|
+
code: "<PrismLicensePlateInput v-model='plate' />"
|
|
340
|
+
}),
|
|
341
|
+
L: common_vendor.o(onIdCardComplete),
|
|
342
|
+
M: common_vendor.o(($event) => idCardNumber.value = $event),
|
|
343
|
+
N: common_vendor.p({
|
|
344
|
+
modelValue: idCardNumber.value
|
|
345
|
+
}),
|
|
346
|
+
O: common_vendor.p({
|
|
347
|
+
code: "<PrismIdCardInput v-model='idCard' />"
|
|
348
|
+
}),
|
|
349
|
+
P: searchValue.value,
|
|
350
|
+
Q: common_vendor.o(($event) => searchValue.value = $event.detail.value),
|
|
351
|
+
R: searchValue.value
|
|
352
|
+
}, searchValue.value ? {
|
|
353
|
+
S: common_vendor.o(($event) => searchValue.value = "")
|
|
354
|
+
} : {}, {
|
|
355
|
+
T: common_vendor.p({
|
|
356
|
+
code: "prism-search"
|
|
357
|
+
}),
|
|
358
|
+
U: common_vendor.o(onLocationChange),
|
|
359
|
+
V: common_vendor.o(($event) => addressValue2.value = $event),
|
|
360
|
+
W: common_vendor.o(($event) => locationData2.latitude = $event),
|
|
361
|
+
X: common_vendor.o(($event) => locationData2.longitude = $event),
|
|
362
|
+
Y: common_vendor.p({
|
|
363
|
+
placeholder: "点击右侧按钮选择位置",
|
|
364
|
+
showMap: false,
|
|
365
|
+
modelValue: addressValue2.value,
|
|
366
|
+
latitude: locationData2.latitude,
|
|
367
|
+
longitude: locationData2.longitude
|
|
368
|
+
}),
|
|
369
|
+
Z: common_vendor.t(addressValue2.value || "未选择"),
|
|
370
|
+
aa: common_vendor.p({
|
|
371
|
+
code: "<PrismAddressInput v-model='address' />"
|
|
372
|
+
}),
|
|
373
|
+
ab: addressValue.value,
|
|
374
|
+
ac: common_vendor.o(($event) => addressValue.value = $event.detail.value),
|
|
375
|
+
ad: common_vendor.o(handleLocation),
|
|
376
|
+
ae: locationData.latitude && locationData.longitude
|
|
377
|
+
}, locationData.latitude && locationData.longitude ? {
|
|
378
|
+
af: staticMapUrl.value,
|
|
379
|
+
ag: common_vendor.o(handleLocation)
|
|
380
|
+
} : {}, {
|
|
381
|
+
ah: common_vendor.p({
|
|
382
|
+
code: "prism-address-wrapper + prism-map-container"
|
|
383
|
+
}),
|
|
384
|
+
ai: textareaValue.value,
|
|
385
|
+
aj: common_vendor.o(($event) => textareaValue.value = $event.detail.value),
|
|
386
|
+
ak: common_vendor.t(textareaValue.value.length),
|
|
387
|
+
al: descriptionValue.value,
|
|
388
|
+
am: common_vendor.o(($event) => descriptionValue.value = $event.detail.value),
|
|
389
|
+
an: common_vendor.o(handleAIAssist),
|
|
390
|
+
ao: common_vendor.o(handleVoiceInput),
|
|
391
|
+
ap: common_vendor.o(handleCamera),
|
|
392
|
+
aq: common_vendor.t(descriptionValue.value.length),
|
|
393
|
+
ar: common_vendor.p({
|
|
394
|
+
code: "prism-textarea-wrapper / prism-textarea-tools-wrapper"
|
|
395
|
+
}),
|
|
396
|
+
as: common_vendor.p({
|
|
397
|
+
code: "prism-form-item + .label"
|
|
398
|
+
}),
|
|
399
|
+
at: common_vendor.p({
|
|
400
|
+
code: "prism-divider > .text"
|
|
401
|
+
}),
|
|
402
|
+
av: checked1.value
|
|
403
|
+
}, checked1.value ? {} : {}, {
|
|
404
|
+
aw: checked1.value ? 1 : "",
|
|
405
|
+
ax: common_vendor.o(($event) => checked1.value = !checked1.value),
|
|
406
|
+
ay: checked2.value
|
|
407
|
+
}, checked2.value ? {} : {}, {
|
|
408
|
+
az: checked2.value ? 1 : "",
|
|
409
|
+
aA: common_vendor.o(($event) => checked2.value = !checked2.value),
|
|
410
|
+
aB: common_vendor.p({
|
|
411
|
+
code: "prism-checkbox + .checked"
|
|
412
|
+
}),
|
|
413
|
+
aC: common_vendor.o(($event) => switchValue.value = $event),
|
|
414
|
+
aD: common_vendor.p({
|
|
415
|
+
modelValue: switchValue.value
|
|
416
|
+
}),
|
|
417
|
+
aE: common_vendor.o(($event) => switchSquareValue.value = $event),
|
|
418
|
+
aF: common_vendor.p({
|
|
419
|
+
square: true,
|
|
420
|
+
modelValue: switchSquareValue.value
|
|
421
|
+
}),
|
|
422
|
+
aG: common_vendor.o(($event) => switchSquareTextValue.value = $event),
|
|
423
|
+
aH: common_vendor.p({
|
|
424
|
+
square: true,
|
|
425
|
+
showText: true,
|
|
426
|
+
onText: "是",
|
|
427
|
+
offText: "否",
|
|
428
|
+
modelValue: switchSquareTextValue.value
|
|
429
|
+
}),
|
|
430
|
+
aI: common_vendor.o(($event) => switchTextValue.value = $event),
|
|
431
|
+
aJ: common_vendor.p({
|
|
432
|
+
showText: true,
|
|
433
|
+
modelValue: switchTextValue.value
|
|
434
|
+
}),
|
|
435
|
+
aK: common_vendor.o(($event) => switchTextValue2.value = $event),
|
|
436
|
+
aL: common_vendor.p({
|
|
437
|
+
showText: true,
|
|
438
|
+
onText: "开",
|
|
439
|
+
offText: "关",
|
|
440
|
+
modelValue: switchTextValue2.value
|
|
441
|
+
}),
|
|
442
|
+
aM: common_vendor.p({
|
|
443
|
+
modelValue: false,
|
|
444
|
+
disabled: true
|
|
445
|
+
}),
|
|
446
|
+
aN: common_vendor.p({
|
|
447
|
+
modelValue: true,
|
|
448
|
+
disabled: true
|
|
449
|
+
}),
|
|
450
|
+
aO: common_vendor.p({
|
|
451
|
+
code: "<PrismSwitch v-model='value' :showText='true' />"
|
|
452
|
+
}),
|
|
453
|
+
aP: radioValue.value === 1 ? 1 : "",
|
|
454
|
+
aQ: common_vendor.o(($event) => radioValue.value = 1),
|
|
455
|
+
aR: radioValue.value === 2 ? 1 : "",
|
|
456
|
+
aS: common_vendor.o(($event) => radioValue.value = 2),
|
|
457
|
+
aT: radioValue.value === 3 ? 1 : "",
|
|
458
|
+
aU: common_vendor.o(($event) => radioValue.value = 3),
|
|
459
|
+
aV: common_vendor.p({
|
|
460
|
+
code: "prism-radio + .checked"
|
|
461
|
+
}),
|
|
462
|
+
aW: common_vendor.f(tagOptions.value, (tag, k0, i0) => {
|
|
463
|
+
return {
|
|
464
|
+
a: common_vendor.t(tag.label),
|
|
465
|
+
b: tag.value,
|
|
466
|
+
c: selectedTags.value.includes(tag.value) ? 1 : "",
|
|
467
|
+
d: common_vendor.o(($event) => toggleTag(tag.value), tag.value)
|
|
468
|
+
};
|
|
469
|
+
}),
|
|
470
|
+
aX: common_vendor.f(tagOptions.value, (tag, k0, i0) => {
|
|
471
|
+
return {
|
|
472
|
+
a: common_vendor.t(tag.label),
|
|
473
|
+
b: tag.value,
|
|
474
|
+
c: selectedSquareTags.value.includes(tag.value) ? 1 : "",
|
|
475
|
+
d: common_vendor.o(($event) => toggleSquareTag(tag.value), tag.value)
|
|
476
|
+
};
|
|
477
|
+
}),
|
|
478
|
+
aY: common_vendor.f(iconTagOptions.value, (tag, k0, i0) => {
|
|
479
|
+
return {
|
|
480
|
+
a: common_vendor.n(tag.icon),
|
|
481
|
+
b: common_vendor.t(tag.label),
|
|
482
|
+
c: tag.value,
|
|
483
|
+
d: selectedIconTags.value.includes(tag.value) ? 1 : "",
|
|
484
|
+
e: common_vendor.o(($event) => toggleIconTag(tag.value), tag.value)
|
|
485
|
+
};
|
|
486
|
+
}),
|
|
487
|
+
aZ: common_vendor.f(colorTagOptions.value, (tag, k0, i0) => {
|
|
488
|
+
return {
|
|
489
|
+
a: common_vendor.t(tag.label),
|
|
490
|
+
b: tag.value,
|
|
491
|
+
c: selectedColorTags.value.includes(tag.value) ? 1 : "",
|
|
492
|
+
d: common_vendor.s(selectedColorTags.value.includes(tag.value) ? {
|
|
493
|
+
background: tag.bgColor,
|
|
494
|
+
borderColor: tag.color,
|
|
495
|
+
color: tag.color
|
|
496
|
+
} : {}),
|
|
497
|
+
e: common_vendor.o(($event) => toggleColorTag(tag.value), tag.value)
|
|
498
|
+
};
|
|
499
|
+
}),
|
|
500
|
+
ba: common_vendor.p({
|
|
501
|
+
code: "prism-tag-option / prism-tag-option.square"
|
|
502
|
+
}),
|
|
503
|
+
bb: pickerValue.value
|
|
504
|
+
}, pickerValue.value ? {
|
|
505
|
+
bc: common_vendor.t(pickerValue.value)
|
|
506
|
+
} : {}, {
|
|
507
|
+
bd: common_vendor.p({
|
|
508
|
+
code: "prism-picker"
|
|
509
|
+
}),
|
|
510
|
+
be: common_vendor.t(dateValue.value || "请选择日期"),
|
|
511
|
+
bf: !dateValue.value ? 1 : "",
|
|
512
|
+
bg: dateValue.value ? 1 : "",
|
|
513
|
+
bh: dateValue.value,
|
|
514
|
+
bi: common_vendor.o(onDateChange),
|
|
515
|
+
bj: common_vendor.t(timeValue.value || "请选择时间"),
|
|
516
|
+
bk: !timeValue.value ? 1 : "",
|
|
517
|
+
bl: timeValue.value ? 1 : "",
|
|
518
|
+
bm: timeValue.value,
|
|
519
|
+
bn: common_vendor.o(onTimeChange),
|
|
520
|
+
bo: common_vendor.o(onCityChange),
|
|
521
|
+
bp: common_vendor.o(($event) => cityValue.value = $event),
|
|
522
|
+
bq: common_vendor.p({
|
|
523
|
+
mode: "picker",
|
|
524
|
+
level: 3,
|
|
525
|
+
placeholder: "请选择城市",
|
|
526
|
+
modelValue: cityValue.value
|
|
527
|
+
}),
|
|
528
|
+
br: cityValue.value.length
|
|
529
|
+
}, cityValue.value.length ? {
|
|
530
|
+
bs: common_vendor.t(cityValue.value.map((c) => c.name).join(" "))
|
|
531
|
+
} : {}, {
|
|
532
|
+
bt: common_vendor.o(($event) => cityValue2.value = $event),
|
|
533
|
+
bv: common_vendor.p({
|
|
534
|
+
mode: "cascade",
|
|
535
|
+
level: 3,
|
|
536
|
+
placeholder: "请选择城市",
|
|
537
|
+
modelValue: cityValue2.value
|
|
538
|
+
}),
|
|
539
|
+
bw: cityValue2.value.length
|
|
540
|
+
}, cityValue2.value.length ? {
|
|
541
|
+
bx: common_vendor.t(cityValue2.value.map((c) => c.name).join(" "))
|
|
542
|
+
} : {}, {
|
|
543
|
+
by: common_vendor.p({
|
|
544
|
+
code: "<PrismCityPicker mode='picker/cascade' />"
|
|
545
|
+
}),
|
|
546
|
+
bz: common_vendor.o(($event) => cityValue4.value = $event),
|
|
547
|
+
bA: common_vendor.p({
|
|
548
|
+
placeholder: "请选择城市",
|
|
549
|
+
modelValue: cityValue4.value
|
|
550
|
+
}),
|
|
551
|
+
bB: cityValue4.value.length
|
|
552
|
+
}, cityValue4.value.length ? {
|
|
553
|
+
bC: common_vendor.t(cityValue4.value.map((c) => c.name).join("/"))
|
|
554
|
+
} : {}, {
|
|
555
|
+
bD: common_vendor.o(($event) => cityValue5.value = $event),
|
|
556
|
+
bE: common_vendor.p({
|
|
557
|
+
placeholder: "请选择城市",
|
|
558
|
+
modelValue: cityValue5.value
|
|
559
|
+
}),
|
|
560
|
+
bF: cityValue5.value
|
|
561
|
+
}, cityValue5.value ? {
|
|
562
|
+
bG: common_vendor.t(cityValue5.value.name),
|
|
563
|
+
bH: common_vendor.t(cityValue5.value.provinceName)
|
|
564
|
+
} : {}, {
|
|
565
|
+
bI: common_vendor.o(($event) => dateTimeValue.value = $event),
|
|
566
|
+
bJ: common_vendor.p({
|
|
567
|
+
mode: "picker",
|
|
568
|
+
placeholder: "请选择日期",
|
|
569
|
+
modelValue: dateTimeValue.value
|
|
570
|
+
}),
|
|
571
|
+
bK: common_vendor.o(($event) => dateTimeValue2.value = $event),
|
|
572
|
+
bL: common_vendor.p({
|
|
573
|
+
mode: "picker",
|
|
574
|
+
showTime: true,
|
|
575
|
+
placeholder: "请选择日期时间",
|
|
576
|
+
modelValue: dateTimeValue2.value
|
|
577
|
+
}),
|
|
578
|
+
bM: common_vendor.o(($event) => dateTimeValue3.value = $event),
|
|
579
|
+
bN: common_vendor.p({
|
|
580
|
+
mode: "calendar",
|
|
581
|
+
placeholder: "请选择日期",
|
|
582
|
+
modelValue: dateTimeValue3.value
|
|
583
|
+
}),
|
|
584
|
+
bO: common_vendor.o(($event) => dateTimeValue4.value = $event),
|
|
585
|
+
bP: common_vendor.p({
|
|
586
|
+
mode: "calendar",
|
|
587
|
+
showLunar: true,
|
|
588
|
+
placeholder: "请选择日期",
|
|
589
|
+
modelValue: dateTimeValue4.value
|
|
590
|
+
}),
|
|
591
|
+
bQ: dateTimeValue4.value
|
|
592
|
+
}, dateTimeValue4.value ? {
|
|
593
|
+
bR: common_vendor.t(dateTimeValue4.value)
|
|
594
|
+
} : {}, {
|
|
595
|
+
bS: common_vendor.o(($event) => dateRangeValue.value = $event),
|
|
596
|
+
bT: common_vendor.p({
|
|
597
|
+
mode: "calendar",
|
|
598
|
+
range: true,
|
|
599
|
+
placeholder: "请选择日期范围",
|
|
600
|
+
modelValue: dateRangeValue.value
|
|
601
|
+
}),
|
|
602
|
+
bU: dateRangeValue.value && dateRangeValue.value.length === 2
|
|
603
|
+
}, dateRangeValue.value && dateRangeValue.value.length === 2 ? {
|
|
604
|
+
bV: common_vendor.t(dateRangeValue.value[0]),
|
|
605
|
+
bW: common_vendor.t(dateRangeValue.value[1])
|
|
606
|
+
} : {}, {
|
|
607
|
+
bX: common_vendor.o(($event) => dateRangeValue2.value = $event),
|
|
608
|
+
bY: common_vendor.p({
|
|
609
|
+
mode: "calendar",
|
|
610
|
+
range: true,
|
|
611
|
+
showLunar: true,
|
|
612
|
+
placeholder: "请选择日期范围",
|
|
613
|
+
modelValue: dateRangeValue2.value
|
|
614
|
+
}),
|
|
615
|
+
bZ: dateRangeValue2.value && dateRangeValue2.value.length === 2
|
|
616
|
+
}, dateRangeValue2.value && dateRangeValue2.value.length === 2 ? {
|
|
617
|
+
ca: common_vendor.t(dateRangeValue2.value[0]),
|
|
618
|
+
cb: common_vendor.t(dateRangeValue2.value[1])
|
|
619
|
+
} : {}, {
|
|
620
|
+
cc: common_vendor.p({
|
|
621
|
+
code: "<PrismDateTimePicker mode='picker/calendar' />"
|
|
622
|
+
}),
|
|
623
|
+
cd: stepperValue.value <= 1 ? 1 : "",
|
|
624
|
+
ce: common_vendor.o(($event) => stepperValue.value > 1 && stepperValue.value--),
|
|
625
|
+
cf: stepperValue.value,
|
|
626
|
+
cg: common_vendor.o(($event) => stepperValue.value = $event.detail.value),
|
|
627
|
+
ch: common_vendor.o(($event) => stepperValue.value++),
|
|
628
|
+
ci: common_vendor.p({
|
|
629
|
+
code: "prism-stepper"
|
|
630
|
+
}),
|
|
631
|
+
cj: common_vendor.t(sliderValue.value),
|
|
632
|
+
ck: sliderValue.value,
|
|
633
|
+
cl: common_vendor.o(onSliderChange),
|
|
634
|
+
cm: common_vendor.p({
|
|
635
|
+
code: "prism-slider-wrapper + slider"
|
|
636
|
+
}),
|
|
637
|
+
cn: common_vendor.f(5, (i, k0, i0) => {
|
|
638
|
+
return {
|
|
639
|
+
a: i,
|
|
640
|
+
b: i <= rateValue.value ? 1 : "",
|
|
641
|
+
c: common_vendor.o(($event) => rateValue.value = i, i)
|
|
642
|
+
};
|
|
643
|
+
}),
|
|
644
|
+
co: common_vendor.p({
|
|
645
|
+
code: "prism-rate > prism-rate__item--active"
|
|
646
|
+
}),
|
|
647
|
+
cp: common_vendor.f(uploadedImages.value, (img, index, i0) => {
|
|
648
|
+
return common_vendor.e({
|
|
649
|
+
a: img,
|
|
650
|
+
b: common_vendor.o(($event) => removeImage(index), index),
|
|
651
|
+
c: index === 0
|
|
652
|
+
}, index === 0 ? {} : {}, {
|
|
653
|
+
d: index
|
|
654
|
+
});
|
|
655
|
+
}),
|
|
656
|
+
cq: uploadedImages.value.length < 9
|
|
657
|
+
}, uploadedImages.value.length < 9 ? {
|
|
658
|
+
cr: common_vendor.o(uploadImage)
|
|
659
|
+
} : {}, {
|
|
660
|
+
cs: avatarUrl.value
|
|
661
|
+
}, avatarUrl.value ? {
|
|
662
|
+
ct: avatarUrl.value
|
|
663
|
+
} : {}, {
|
|
664
|
+
cv: common_vendor.o(uploadAvatar),
|
|
665
|
+
cw: common_vendor.f(defaultAvatars.value, (img, index, i0) => {
|
|
666
|
+
return {
|
|
667
|
+
a: img,
|
|
668
|
+
b: avatarUrl.value === img ? 1 : "",
|
|
669
|
+
c: index,
|
|
670
|
+
d: common_vendor.o(($event) => selectDefaultAvatar(img), index)
|
|
671
|
+
};
|
|
672
|
+
}),
|
|
673
|
+
cx: common_vendor.p({
|
|
674
|
+
code: "prism-avatar-selector"
|
|
675
|
+
}),
|
|
676
|
+
cy: navbarHeight.value + "px",
|
|
677
|
+
cz: common_vendor.o(onVoiceConfirm),
|
|
678
|
+
cA: common_vendor.o(($event) => showVoicePanel.value = $event),
|
|
679
|
+
cB: common_vendor.p({
|
|
680
|
+
mode: "modal",
|
|
681
|
+
visible: showVoicePanel.value
|
|
682
|
+
}),
|
|
683
|
+
cC: common_vendor.unref(appStore).isDarkMode ? 1 : ""
|
|
684
|
+
});
|
|
685
|
+
};
|
|
686
|
+
}
|
|
687
|
+
};
|
|
688
|
+
wx.createPage(_sfc_main);
|
|
689
|
+
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/demo/form.js.map
|