@ruixinkeji/prism-ui 1.0.16 → 1.0.17
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/package.json +3 -2
- package/dist/build/h5/assets/PrismCode-D1lrgx1M.css +0 -1
- package/dist/build/h5/assets/PrismCode.CNOtat_X.js +0 -1
- package/dist/build/h5/assets/PrismGroupSticky-CBFeo0AB.css +0 -1
- package/dist/build/h5/assets/PrismGroupSticky.CmJXt6ws.js +0 -1
- package/dist/build/h5/assets/PrismMusicPlayer-CHVtYDn7.css +0 -1
- package/dist/build/h5/assets/PrismMusicPlayer.DAW3y5Km.js +0 -1
- package/dist/build/h5/assets/PrismNavBar-CYetauMR.css +0 -1
- package/dist/build/h5/assets/PrismNavBar.CFM58fal.js +0 -1
- package/dist/build/h5/assets/PrismSwiper-CDtZrfyq.css +0 -1
- package/dist/build/h5/assets/PrismSwiper.DTGFNn5Q.js +0 -1
- package/dist/build/h5/assets/PrismTabBar-BW0exu0j.css +0 -1
- package/dist/build/h5/assets/PrismTabBar.DPe-iC_F.js +0 -1
- package/dist/build/h5/assets/basic-tn0RQdqM.css +0 -0
- package/dist/build/h5/assets/card-layout-BZuodKCJ.css +0 -1
- package/dist/build/h5/assets/colors-RgTfwcKp.css +0 -1
- package/dist/build/h5/assets/data-DSHiB3Xs.css +0 -1
- package/dist/build/h5/assets/effects-CNFDtZjf.css +0 -1
- package/dist/build/h5/assets/examples-CSzKlb8B.css +0 -1
- 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 +0 -1
- package/dist/build/h5/assets/form-va-eFD7k.css +0 -1
- package/dist/build/h5/assets/group-CDa_hQkB.css +0 -1
- package/dist/build/h5/assets/iconfont-CW81RyG4.ttf +0 -0
- package/dist/build/h5/assets/icons-83wAdmdh.css +0 -1
- package/dist/build/h5/assets/index-BQ-qpvZH.css +0 -1
- package/dist/build/h5/assets/index-BQnv3xQ8.css +0 -1
- package/dist/build/h5/assets/index-C83xA4hX.css +0 -1
- package/dist/build/h5/assets/index-Cvc14mto.css +0 -1
- package/dist/build/h5/assets/index-D2djL_pA.js +0 -32
- package/dist/build/h5/assets/navigation-D0rlyjtK.css +0 -1
- package/dist/build/h5/assets/pages-demo-basic.BsC9sqol.js +0 -1
- package/dist/build/h5/assets/pages-demo-code-index.BXECig1w.js +0 -1
- package/dist/build/h5/assets/pages-demo-colors.Dl__3Mv9.js +0 -1
- package/dist/build/h5/assets/pages-demo-container.Cy-M9f41.js +0 -1
- package/dist/build/h5/assets/pages-demo-data.CK2JdeBK.js +0 -1
- package/dist/build/h5/assets/pages-demo-effects.CV0rqKht.js +0 -1
- package/dist/build/h5/assets/pages-demo-feedback.BO-G3E1J.js +0 -1
- package/dist/build/h5/assets/pages-demo-form.CsUNLqqe.js +0 -1
- package/dist/build/h5/assets/pages-demo-layout-card-layout.CQ6fF8IK.js +0 -1
- package/dist/build/h5/assets/pages-demo-layout.261GXW2o.js +0 -1
- package/dist/build/h5/assets/pages-demo-navigation.C5hFijVt.js +0 -1
- package/dist/build/h5/assets/pages-demo-other.CVdLVU3_.js +0 -1
- package/dist/build/h5/assets/pages-demo-sticky-group.MDzv6I5L.js +0 -1
- package/dist/build/h5/assets/pages-demo-sticky-index.D2UJUdon.js +0 -1
- package/dist/build/h5/assets/pages-examples-examples.hyUWuu8C.js +0 -1
- package/dist/build/h5/assets/pages-icons-icons.R2erKYQX.js +0 -1
- package/dist/build/h5/assets/pages-index-index.BlfkIjJo.js +0 -1
- package/dist/build/h5/assets/pages-tools-tools.tm3Y1cFN.js +0 -1
- package/dist/build/h5/assets/tools-C1YBcrWJ.css +0 -1
- package/dist/build/h5/assets/uni-app.es.DfNmMcUd.js +0 -1
- package/dist/build/h5/assets/uni.e2868147.css +0 -1
- package/dist/build/h5/assets/useNavbar.BdajVjjC.js +0 -1
- package/dist/build/h5/index.html +0 -23
- package/dist/build/h5/static/fonts/all-icons.txt +0 -453
- 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 +0 -943
- package/dist/build/h5/static/fonts/iconfont.css +0 -62
- package/dist/build/h5/static/fonts/iconfont.js +0 -1
- package/dist/build/h5/static/fonts/iconfont.json +0 -79
- 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 +0 -453
- 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 +0 -11
- package/dist/dev/.nvue/app.js +0 -2
- package/dist/dev/.sourcemap/mp-weixin/app.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismAddressInput/PrismAddressInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCityPicker/PrismCityPicker.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCitySelect/PrismCitySelect.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCode/PrismCode.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismCodeInput/PrismCodeInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismDropdown/PrismDropdown.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismIndexBar/PrismIndexBar.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismNavBar/PrismNavBar.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSecureInput/PrismSecureInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSticky/PrismSticky.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSwiper/PrismSwiper.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismSwitch/PrismSwitch.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismTabBar/PrismTabBar.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismTabs/PrismTabs.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/composables/useNavbar.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/config/theme-colors.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/basic.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/card.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/code/index.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/colors.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/container.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/data.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/effects.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/feedback.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/form.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/layout/card-layout.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/layout.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/navigation.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/other.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/sticky/group.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/demo/sticky/index.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/examples/examples.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/icons/icons.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/pages/tools/tools.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/store/app.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/utils/lunar.js.map +0 -1
- package/dist/dev/.sourcemap/mp-weixin/utils/system.js.map +0 -1
- package/dist/dev/app-plus/__uniappautomator.js +0 -16
- package/dist/dev/app-plus/__uniappchooselocation.js +0 -32
- package/dist/dev/app-plus/__uniapperror.png +0 -0
- package/dist/dev/app-plus/__uniappopenlocation.js +0 -32
- package/dist/dev/app-plus/__uniapppicker.js +0 -33
- package/dist/dev/app-plus/__uniappquill.js +0 -8
- package/dist/dev/app-plus/__uniappquillimageresize.js +0 -1
- package/dist/dev/app-plus/__uniappscan.js +0 -32
- package/dist/dev/app-plus/__uniappsuccess.png +0 -0
- package/dist/dev/app-plus/__uniappview.html +0 -24
- package/dist/dev/app-plus/app-config-service.js +0 -11
- package/dist/dev/app-plus/app-config.js +0 -1
- package/dist/dev/app-plus/app-service.js +0 -23663
- package/dist/dev/app-plus/app.css +0 -8955
- package/dist/dev/app-plus/manifest.json +0 -91
- package/dist/dev/app-plus/pages/demo/basic.css +0 -524
- package/dist/dev/app-plus/pages/demo/code/index.css +0 -541
- package/dist/dev/app-plus/pages/demo/colors.css +0 -4008
- package/dist/dev/app-plus/pages/demo/container.css +0 -524
- package/dist/dev/app-plus/pages/demo/data.css +0 -705
- package/dist/dev/app-plus/pages/demo/effects.css +0 -530
- package/dist/dev/app-plus/pages/demo/feedback.css +0 -590
- package/dist/dev/app-plus/pages/demo/form.css +0 -3422
- package/dist/dev/app-plus/pages/demo/layout/card-layout.css +0 -785
- package/dist/dev/app-plus/pages/demo/layout.css +0 -524
- package/dist/dev/app-plus/pages/demo/navigation.css +0 -769
- package/dist/dev/app-plus/pages/demo/other.css +0 -524
- package/dist/dev/app-plus/pages/demo/sticky/group.css +0 -788
- package/dist/dev/app-plus/pages/demo/sticky/index.css +0 -894
- package/dist/dev/app-plus/pages/examples/examples.css +0 -1031
- package/dist/dev/app-plus/pages/icons/icons.css +0 -3310
- package/dist/dev/app-plus/pages/index/index.css +0 -696
- package/dist/dev/app-plus/pages/tools/tools.css +0 -378
- package/dist/dev/app-plus/static/fonts/all-icons.txt +0 -453
- 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 +0 -943
- package/dist/dev/app-plus/static/fonts/iconfont.css +0 -62
- package/dist/dev/app-plus/static/fonts/iconfont.js +0 -1
- package/dist/dev/app-plus/static/fonts/iconfont.json +0 -79
- 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 +0 -453
- 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 +0 -7
- package/dist/dev/mp-weixin/app.js +0 -49
- package/dist/dev/mp-weixin/app.json +0 -29
- package/dist/dev/mp-weixin/app.wxss +0 -9072
- package/dist/dev/mp-weixin/common/vendor.js +0 -15968
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.js +0 -200
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.wxss +0 -327
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.js +0 -449
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.json +0 -4
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.wxss +0 -264
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.js +0 -531
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.json +0 -4
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.wxss +0 -309
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.js +0 -200
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.json +0 -6
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.wxss +0 -225
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.js +0 -337
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.json +0 -4
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismCode/PrismCode.wxss +0 -345
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.js +0 -70
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.wxss +0 -115
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.js +0 -468
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.json +0 -4
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.wxss +0 -309
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.js +0 -63
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.json +0 -4
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.wxss +0 -0
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.js +0 -128
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.json +0 -4
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.wxss +0 -191
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.js +0 -123
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.wxss +0 -114
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.js +0 -108
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.json +0 -4
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.wxss +0 -135
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.js +0 -449
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.wxss +0 -445
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.js +0 -200
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.json +0 -4
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.wxss +0 -334
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.js +0 -71
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.json +0 -4
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.wxss +0 -150
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.js +0 -140
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.wxss +0 -215
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.js +0 -120
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.json +0 -4
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.wxss +0 -62
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.js +0 -163
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.json +0 -4
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.wxss +0 -203
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.js +0 -69
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.json +0 -4
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.wxss +0 -151
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.js +0 -58
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.json +0 -4
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.wxss +0 -119
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.js +0 -51
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.json +0 -4
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.wxss +0 -51
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.js +0 -182
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.json +0 -4
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.wxml +0 -1
- package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.wxss +0 -329
- package/dist/dev/mp-weixin/composables/useNavbar.js +0 -19
- package/dist/dev/mp-weixin/config/theme-colors.js +0 -73
- package/dist/dev/mp-weixin/pages/demo/basic.js +0 -77
- package/dist/dev/mp-weixin/pages/demo/basic.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/basic.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/basic.wxss +0 -54
- package/dist/dev/mp-weixin/pages/demo/code/index.js +0 -190
- package/dist/dev/mp-weixin/pages/demo/code/index.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/code/index.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/code/index.wxss +0 -71
- package/dist/dev/mp-weixin/pages/demo/colors.js +0 -130
- package/dist/dev/mp-weixin/pages/demo/colors.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/colors.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/colors.wxss +0 -3793
- package/dist/dev/mp-weixin/pages/demo/container.js +0 -65
- package/dist/dev/mp-weixin/pages/demo/container.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/container.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/container.wxss +0 -54
- package/dist/dev/mp-weixin/pages/demo/data.js +0 -398
- package/dist/dev/mp-weixin/pages/demo/data.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/data.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/data.wxss +0 -235
- package/dist/dev/mp-weixin/pages/demo/effects.js +0 -62
- package/dist/dev/mp-weixin/pages/demo/effects.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/effects.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/effects.wxss +0 -60
- package/dist/dev/mp-weixin/pages/demo/feedback.js +0 -256
- package/dist/dev/mp-weixin/pages/demo/feedback.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/feedback.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/feedback.wxss +0 -120
- package/dist/dev/mp-weixin/pages/demo/form.js +0 -689
- package/dist/dev/mp-weixin/pages/demo/form.json +0 -18
- package/dist/dev/mp-weixin/pages/demo/form.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/form.wxss +0 -54
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.js +0 -61
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/layout/card-layout.wxss +0 -326
- package/dist/dev/mp-weixin/pages/demo/layout.js +0 -96
- package/dist/dev/mp-weixin/pages/demo/layout.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/layout.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/layout.wxss +0 -54
- package/dist/dev/mp-weixin/pages/demo/navigation.js +0 -142
- package/dist/dev/mp-weixin/pages/demo/navigation.json +0 -10
- package/dist/dev/mp-weixin/pages/demo/navigation.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/navigation.wxss +0 -61
- package/dist/dev/mp-weixin/pages/demo/other.js +0 -50
- package/dist/dev/mp-weixin/pages/demo/other.json +0 -7
- package/dist/dev/mp-weixin/pages/demo/other.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/other.wxss +0 -54
- package/dist/dev/mp-weixin/pages/demo/sticky/group.js +0 -212
- package/dist/dev/mp-weixin/pages/demo/sticky/group.json +0 -8
- package/dist/dev/mp-weixin/pages/demo/sticky/group.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/sticky/group.wxss +0 -135
- package/dist/dev/mp-weixin/pages/demo/sticky/index.js +0 -90
- package/dist/dev/mp-weixin/pages/demo/sticky/index.json +0 -9
- package/dist/dev/mp-weixin/pages/demo/sticky/index.wxml +0 -1
- package/dist/dev/mp-weixin/pages/demo/sticky/index.wxss +0 -175
- package/dist/dev/mp-weixin/pages/examples/examples.js +0 -65
- package/dist/dev/mp-weixin/pages/examples/examples.json +0 -8
- package/dist/dev/mp-weixin/pages/examples/examples.wxml +0 -1
- package/dist/dev/mp-weixin/pages/examples/examples.wxss +0 -461
- package/dist/dev/mp-weixin/pages/icons/icons.js +0 -350
- package/dist/dev/mp-weixin/pages/icons/icons.json +0 -8
- package/dist/dev/mp-weixin/pages/icons/icons.wxml +0 -1
- package/dist/dev/mp-weixin/pages/icons/icons.wxss +0 -3079
- package/dist/dev/mp-weixin/pages/index/index.js +0 -118
- package/dist/dev/mp-weixin/pages/index/index.json +0 -8
- package/dist/dev/mp-weixin/pages/index/index.wxml +0 -1
- package/dist/dev/mp-weixin/pages/index/index.wxss +0 -123
- package/dist/dev/mp-weixin/pages/tools/tools.js +0 -37
- package/dist/dev/mp-weixin/pages/tools/tools.json +0 -7
- package/dist/dev/mp-weixin/pages/tools/tools.wxml +0 -1
- package/dist/dev/mp-weixin/pages/tools/tools.wxss +0 -134
- package/dist/dev/mp-weixin/project.config.json +0 -36
- package/dist/dev/mp-weixin/project.private.config.json +0 -23
- package/dist/dev/mp-weixin/static/fonts/all-icons.txt +0 -453
- 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 +0 -943
- package/dist/dev/mp-weixin/static/fonts/iconfont.css +0 -62
- package/dist/dev/mp-weixin/static/fonts/iconfont.js +0 -1
- package/dist/dev/mp-weixin/static/fonts/iconfont.json +0 -79
- 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 +0 -453
- 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 +0 -64
- package/dist/dev/mp-weixin/utils/lunar.js +0 -330
- package/dist/dev/mp-weixin/utils/system.js +0 -18
- package/dist/styles/base.scss +0 -213
- package/dist/styles/button.scss +0 -120
- package/dist/styles/card.scss +0 -306
- package/dist/styles/data.scss +0 -1229
- package/dist/styles/effects.scss +0 -407
- package/dist/styles/feedback.scss +0 -698
- package/dist/styles/form.scss +0 -1574
- package/dist/styles/index.scss +0 -43
- package/dist/styles/list.scss +0 -184
- package/dist/styles/navigation.scss +0 -501
- package/dist/styles/overlay.scss +0 -182
- package/dist/styles/utilities.scss +0 -134
- package/dist/styles/variables.scss +0 -154
|
@@ -1,191 +0,0 @@
|
|
|
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-group-sticky-wrapper {
|
|
52
|
-
position: relative;
|
|
53
|
-
height: 100%;
|
|
54
|
-
}
|
|
55
|
-
.prism-group-sticky {
|
|
56
|
-
height: 100%;
|
|
57
|
-
}
|
|
58
|
-
.prism-group-sticky .uni-scroll-view-content {
|
|
59
|
-
height: auto !important;
|
|
60
|
-
}
|
|
61
|
-
.prism-group-sticky .group-index {
|
|
62
|
-
position: sticky;
|
|
63
|
-
top: -1px;
|
|
64
|
-
z-index: 10;
|
|
65
|
-
margin: 0;
|
|
66
|
-
padding: 12rpx 24rpx;
|
|
67
|
-
padding-top: calc(12rpx + 1px);
|
|
68
|
-
font-size: 26rpx;
|
|
69
|
-
font-weight: 600;
|
|
70
|
-
color: var(--prism-primary-color, #3478F6);
|
|
71
|
-
background: var(--prism-bg-color-page, #F7F8FA);
|
|
72
|
-
}
|
|
73
|
-
.dark-mode .prism-group-sticky .group-index {
|
|
74
|
-
background: var(--prism-bg-color-page, #121212);
|
|
75
|
-
}
|
|
76
|
-
.prism-group-sticky .group-item {
|
|
77
|
-
display: flex;
|
|
78
|
-
align-items: center;
|
|
79
|
-
min-height: 88rpx;
|
|
80
|
-
padding: 24rpx 32rpx;
|
|
81
|
-
background: var(--prism-bg-color-card, #FFFFFF);
|
|
82
|
-
border-bottom: 1rpx solid var(--prism-border-color-light, #F2F3F5);
|
|
83
|
-
font-size: 28rpx;
|
|
84
|
-
color: var(--prism-text-primary, #1D2129);
|
|
85
|
-
}
|
|
86
|
-
.dark-mode .prism-group-sticky .group-item {
|
|
87
|
-
background: var(--prism-bg-color-card, #242424);
|
|
88
|
-
border-bottom-color: var(--prism-border-color-light, #2D2D2D);
|
|
89
|
-
}
|
|
90
|
-
.prism-group-sticky .group-item:has(+ .group-index),
|
|
91
|
-
.prism-group-sticky .group-item:last-child {
|
|
92
|
-
border-radius: 0 0 16rpx 16rpx;
|
|
93
|
-
border-bottom: none;
|
|
94
|
-
}
|
|
95
|
-
.prism-group-sticky .group-item:active {
|
|
96
|
-
background: var(--prism-bg-color, #F2F2F2);
|
|
97
|
-
}
|
|
98
|
-
.dark-mode .prism-group-sticky .group-item:active {
|
|
99
|
-
background: var(--prism-bg-color, #1A1A1A);
|
|
100
|
-
}
|
|
101
|
-
.prism-group-sticky .group-index + .group-item {
|
|
102
|
-
border-radius: 16rpx 16rpx 0 0;
|
|
103
|
-
}
|
|
104
|
-
.prism-group-sticky .group-index + .group-item:has(+ .group-index),
|
|
105
|
-
.prism-group-sticky .group-index + .group-item:last-child {
|
|
106
|
-
border-radius: 16rpx;
|
|
107
|
-
}
|
|
108
|
-
.prism-group-sticky .group-avatar {
|
|
109
|
-
width: 80rpx;
|
|
110
|
-
height: 80rpx;
|
|
111
|
-
border-radius: 50%;
|
|
112
|
-
margin-right: 24rpx;
|
|
113
|
-
background: var(--prism-primary-light, #EBF2FF);
|
|
114
|
-
display: flex;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
font-size: 28rpx;
|
|
118
|
-
font-weight: 600;
|
|
119
|
-
color: var(--prism-primary-color, #3478F6);
|
|
120
|
-
flex-shrink: 0;
|
|
121
|
-
}
|
|
122
|
-
.dark-mode .prism-group-sticky .group-avatar {
|
|
123
|
-
background: rgba(52, 120, 246, 0.15);
|
|
124
|
-
}
|
|
125
|
-
.prism-group-sticky .group-info {
|
|
126
|
-
flex: 1;
|
|
127
|
-
min-width: 0;
|
|
128
|
-
}
|
|
129
|
-
.prism-group-sticky .group-info .group-title {
|
|
130
|
-
font-size: 30rpx;
|
|
131
|
-
font-weight: 500;
|
|
132
|
-
color: var(--prism-text-primary, #1D2129);
|
|
133
|
-
margin-bottom: 4rpx;
|
|
134
|
-
}
|
|
135
|
-
.dark-mode .prism-group-sticky .group-info .group-title {
|
|
136
|
-
color: var(--prism-text-primary, #E5E6EB);
|
|
137
|
-
}
|
|
138
|
-
.prism-group-sticky .group-info .group-desc {
|
|
139
|
-
font-size: 24rpx;
|
|
140
|
-
color: var(--prism-text-secondary, #86909C);
|
|
141
|
-
overflow: hidden;
|
|
142
|
-
text-overflow: ellipsis;
|
|
143
|
-
white-space: nowrap;
|
|
144
|
-
}
|
|
145
|
-
.prism-index-bar {
|
|
146
|
-
position: absolute;
|
|
147
|
-
right: 0;
|
|
148
|
-
top: 50%;
|
|
149
|
-
transform: translateY(-50%);
|
|
150
|
-
z-index: 100;
|
|
151
|
-
display: flex;
|
|
152
|
-
flex-direction: column;
|
|
153
|
-
align-items: center;
|
|
154
|
-
padding: 12rpx 16rpx 12rpx 24rpx;
|
|
155
|
-
background: rgba(255, 255, 255, 0.02);
|
|
156
|
-
border-radius: 20rpx 0 0 20rpx;
|
|
157
|
-
backdrop-filter: blur(8px);
|
|
158
|
-
}
|
|
159
|
-
.prism-index-bar .index-item {
|
|
160
|
-
width: 36rpx;
|
|
161
|
-
height: 36rpx;
|
|
162
|
-
display: flex;
|
|
163
|
-
align-items: center;
|
|
164
|
-
justify-content: center;
|
|
165
|
-
font-size: 22rpx;
|
|
166
|
-
color: var(--prism-text-primary, #1D2129);
|
|
167
|
-
font-weight: 500;
|
|
168
|
-
background: transparent;
|
|
169
|
-
}
|
|
170
|
-
.prism-index-bar .index-item:active, .prism-index-bar .index-item.active {
|
|
171
|
-
color: var(--prism-primary-color, #3478F6);
|
|
172
|
-
font-weight: 600;
|
|
173
|
-
}
|
|
174
|
-
.index-indicator {
|
|
175
|
-
position: fixed;
|
|
176
|
-
right: 120rpx;
|
|
177
|
-
width: 100rpx;
|
|
178
|
-
height: 100rpx;
|
|
179
|
-
margin-top: -50rpx;
|
|
180
|
-
border-radius: 50%;
|
|
181
|
-
background: rgba(52, 120, 246, 0.8);
|
|
182
|
-
backdrop-filter: blur(10px);
|
|
183
|
-
color: #FFFFFF;
|
|
184
|
-
font-size: 48rpx;
|
|
185
|
-
font-weight: 600;
|
|
186
|
-
display: flex;
|
|
187
|
-
align-items: center;
|
|
188
|
-
justify-content: center;
|
|
189
|
-
box-shadow: 0 8rpx 32rpx rgba(52, 120, 246, 0.3);
|
|
190
|
-
z-index: 1000;
|
|
191
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
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: "PrismIdCardInput",
|
|
6
|
-
props: {
|
|
7
|
-
modelValue: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: ""
|
|
10
|
-
},
|
|
11
|
-
showInfo: {
|
|
12
|
-
type: Boolean,
|
|
13
|
-
default: true
|
|
14
|
-
},
|
|
15
|
-
placeholder: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: "请输入身份证号"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
emits: ["update:modelValue", "complete", "valid"],
|
|
21
|
-
setup(__props, { emit: __emit }) {
|
|
22
|
-
const props = __props;
|
|
23
|
-
const emit = __emit;
|
|
24
|
-
const appStore = store_app.useAppStore();
|
|
25
|
-
const idValue = common_vendor.ref(props.modelValue);
|
|
26
|
-
const lastDisplayLength = common_vendor.ref(0);
|
|
27
|
-
const displayValue = common_vendor.computed(() => {
|
|
28
|
-
const val = idValue.value;
|
|
29
|
-
if (!val) return "";
|
|
30
|
-
let result = "";
|
|
31
|
-
for (let i = 0; i < val.length; i++) {
|
|
32
|
-
if (i === 6 || i === 14) {
|
|
33
|
-
result += " ";
|
|
34
|
-
}
|
|
35
|
-
result += val[i];
|
|
36
|
-
}
|
|
37
|
-
return result;
|
|
38
|
-
});
|
|
39
|
-
const parsedInfo = common_vendor.computed(() => {
|
|
40
|
-
const id = idValue.value;
|
|
41
|
-
if (id.length !== 18) {
|
|
42
|
-
return { valid: false };
|
|
43
|
-
}
|
|
44
|
-
const weights = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2];
|
|
45
|
-
const checkCodes = ["1", "0", "X", "9", "8", "7", "6", "5", "4", "3", "2"];
|
|
46
|
-
let sum = 0;
|
|
47
|
-
for (let i = 0; i < 17; i++) {
|
|
48
|
-
sum += parseInt(id[i]) * weights[i];
|
|
49
|
-
}
|
|
50
|
-
const checkCode = checkCodes[sum % 11];
|
|
51
|
-
if (id[17].toUpperCase() !== checkCode) {
|
|
52
|
-
return { valid: false };
|
|
53
|
-
}
|
|
54
|
-
const year = id.substring(6, 10);
|
|
55
|
-
const month = id.substring(10, 12);
|
|
56
|
-
const day = id.substring(12, 14);
|
|
57
|
-
const birthday = `${year}年${month}月${day}日`;
|
|
58
|
-
const genderCode = parseInt(id[16]);
|
|
59
|
-
const gender = genderCode % 2 === 1 ? "男" : "女";
|
|
60
|
-
return {
|
|
61
|
-
valid: true,
|
|
62
|
-
region: "—",
|
|
63
|
-
birthday,
|
|
64
|
-
gender
|
|
65
|
-
};
|
|
66
|
-
});
|
|
67
|
-
function onFocus() {
|
|
68
|
-
}
|
|
69
|
-
function onBlur() {
|
|
70
|
-
}
|
|
71
|
-
function handleInput(e) {
|
|
72
|
-
const inputValue = e.detail.value;
|
|
73
|
-
const oldLength = lastDisplayLength.value;
|
|
74
|
-
const newLength = inputValue.length;
|
|
75
|
-
let value = inputValue.replace(/\s/g, "").toUpperCase().replace(/[^0-9X]/g, "");
|
|
76
|
-
if (newLength < oldLength) {
|
|
77
|
-
const deletedPos = oldLength - 1;
|
|
78
|
-
if (deletedPos === 7 || deletedPos === 16) {
|
|
79
|
-
const actualPos = deletedPos === 7 ? 6 : 14;
|
|
80
|
-
value = value.slice(0, actualPos - 1) + value.slice(actualPos);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
if (value.length < 18) {
|
|
84
|
-
value = value.replace(/X/g, "");
|
|
85
|
-
} else if (value.length === 18 && value[17] === "X") {
|
|
86
|
-
value = value.slice(0, 17).replace(/X/g, "") + "X";
|
|
87
|
-
} else {
|
|
88
|
-
value = value.replace(/X/g, "");
|
|
89
|
-
}
|
|
90
|
-
value = value.slice(0, 18);
|
|
91
|
-
idValue.value = value;
|
|
92
|
-
emit("update:modelValue", value);
|
|
93
|
-
lastDisplayLength.value = displayValue.value.length;
|
|
94
|
-
if (value.length === 18) {
|
|
95
|
-
emit("complete", value);
|
|
96
|
-
if (parsedInfo.value.valid) {
|
|
97
|
-
emit("valid", parsedInfo.value);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
common_vendor.watch(() => props.modelValue, (val) => {
|
|
102
|
-
idValue.value = val;
|
|
103
|
-
});
|
|
104
|
-
return (_ctx, _cache) => {
|
|
105
|
-
return common_vendor.e({
|
|
106
|
-
a: displayValue.value,
|
|
107
|
-
b: __props.placeholder,
|
|
108
|
-
c: common_vendor.o(handleInput),
|
|
109
|
-
d: common_vendor.o(onFocus),
|
|
110
|
-
e: common_vendor.o(onBlur),
|
|
111
|
-
f: __props.showInfo && parsedInfo.value.valid
|
|
112
|
-
}, __props.showInfo && parsedInfo.value.valid ? {
|
|
113
|
-
g: common_vendor.t(parsedInfo.value.region),
|
|
114
|
-
h: common_vendor.t(parsedInfo.value.birthday),
|
|
115
|
-
i: common_vendor.t(parsedInfo.value.gender)
|
|
116
|
-
} : {}, {
|
|
117
|
-
j: common_vendor.unref(appStore).isDarkMode ? 1 : ""
|
|
118
|
-
});
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
wx.createComponent(_sfc_main);
|
|
123
|
-
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<view class="{{['prism-id-card-input', j && 'dark-mode']}}"><view class="id-card-input-wrapper"><input class="id-card-input" type="idcard" value="{{a}}" placeholder="{{b}}" placeholder-class="id-placeholder" maxlength="{{21}}" bindinput="{{c}}" bindfocus="{{d}}" bindblur="{{e}}"/></view><view wx:if="{{f}}" class="id-info"><view class="info-item"><text class="info-label">地区:</text><text class="info-value">{{g}}</text></view><view class="info-item"><text class="info-label">出生日期:</text><text class="info-value">{{h}}</text></view><view class="info-item"><text class="info-label">性别:</text><text class="info-value">{{i}}</text></view></view></view>
|
|
@@ -1,114 +0,0 @@
|
|
|
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-id-card-input .id-card-input-wrapper {
|
|
52
|
-
background: var(--prism-input-bg, #EBEEF2);
|
|
53
|
-
border-radius: 12rpx;
|
|
54
|
-
padding: 0 24rpx;
|
|
55
|
-
height: 88rpx;
|
|
56
|
-
display: flex;
|
|
57
|
-
align-items: center;
|
|
58
|
-
transition: all 0.3s ease;
|
|
59
|
-
}
|
|
60
|
-
.prism-id-card-input .id-card-input-wrapper:focus-within {
|
|
61
|
-
background: var(--prism-primary-light, #E3EEFF);
|
|
62
|
-
}
|
|
63
|
-
.prism-id-card-input .id-card-input {
|
|
64
|
-
flex: 1;
|
|
65
|
-
font-size: 32rpx;
|
|
66
|
-
font-weight: 500;
|
|
67
|
-
color: var(--prism-text-primary, #1D2129);
|
|
68
|
-
letter-spacing: 2rpx;
|
|
69
|
-
}
|
|
70
|
-
.prism-id-card-input .id-placeholder {
|
|
71
|
-
color: var(--prism-text-placeholder, #86909C);
|
|
72
|
-
font-weight: 400;
|
|
73
|
-
}
|
|
74
|
-
.prism-id-card-input .id-info {
|
|
75
|
-
margin-top: 24rpx;
|
|
76
|
-
padding: 20rpx;
|
|
77
|
-
background: rgba(52, 120, 246, 0.08);
|
|
78
|
-
border-radius: 12rpx;
|
|
79
|
-
display: flex;
|
|
80
|
-
flex-wrap: wrap;
|
|
81
|
-
gap: 16rpx;
|
|
82
|
-
}
|
|
83
|
-
.prism-id-card-input .id-info .info-item {
|
|
84
|
-
display: flex;
|
|
85
|
-
align-items: center;
|
|
86
|
-
}
|
|
87
|
-
.prism-id-card-input .id-info .info-item .info-label {
|
|
88
|
-
font-size: 24rpx;
|
|
89
|
-
color: var(--prism-text-secondary, #86909C);
|
|
90
|
-
}
|
|
91
|
-
.prism-id-card-input .id-info .info-item .info-value {
|
|
92
|
-
font-size: 24rpx;
|
|
93
|
-
color: var(--prism-text-primary, #1D2129);
|
|
94
|
-
font-weight: 500;
|
|
95
|
-
}
|
|
96
|
-
.dark-mode .prism-id-card-input .id-card-input-wrapper {
|
|
97
|
-
background: var(--prism-input-bg, #2A2A2A);
|
|
98
|
-
}
|
|
99
|
-
.dark-mode .prism-id-card-input .id-card-input-wrapper:focus-within {
|
|
100
|
-
background: rgba(52, 120, 246, 0.12);
|
|
101
|
-
box-shadow: 0 0 0 2rpx rgba(52, 120, 246, 0.4), 0 4rpx 16rpx rgba(52, 120, 246, 0.15);
|
|
102
|
-
}
|
|
103
|
-
.dark-mode .prism-id-card-input .id-card-input {
|
|
104
|
-
color: var(--prism-text-primary, #E5E6EB);
|
|
105
|
-
}
|
|
106
|
-
.dark-mode .prism-id-card-input .id-placeholder {
|
|
107
|
-
color: var(--prism-text-placeholder, #6B7785);
|
|
108
|
-
}
|
|
109
|
-
.dark-mode .prism-id-card-input .id-info {
|
|
110
|
-
background: rgba(52, 120, 246, 0.15);
|
|
111
|
-
}
|
|
112
|
-
.dark-mode .prism-id-card-input .id-info .info-value {
|
|
113
|
-
color: var(--prism-text-primary, #E5E6EB);
|
|
114
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const common_vendor = require("../../common/vendor.js");
|
|
3
|
-
const _sfc_main = {
|
|
4
|
-
__name: "PrismIndexBar",
|
|
5
|
-
props: {
|
|
6
|
-
// 索引项列表 [{ value: 'key', label: '显示文字', background: '#fff' 或 'linear-gradient(...)' }]
|
|
7
|
-
items: {
|
|
8
|
-
type: Array,
|
|
9
|
-
default: () => []
|
|
10
|
-
},
|
|
11
|
-
// 是否深色模式
|
|
12
|
-
isDarkMode: {
|
|
13
|
-
type: Boolean,
|
|
14
|
-
default: false
|
|
15
|
-
},
|
|
16
|
-
// 当前选中的索引值(支持 v-model)
|
|
17
|
-
modelValue: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: ""
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
emits: ["update:modelValue", "change"],
|
|
23
|
-
setup(__props, { emit: __emit }) {
|
|
24
|
-
const props = __props;
|
|
25
|
-
const emit = __emit;
|
|
26
|
-
const instance = common_vendor.getCurrentInstance();
|
|
27
|
-
const currentIndex = common_vendor.ref(props.modelValue);
|
|
28
|
-
const showIndicator = common_vendor.ref(false);
|
|
29
|
-
const indicatorTop = common_vendor.ref(0);
|
|
30
|
-
let indexBarRect = null;
|
|
31
|
-
const currentItemLabel = common_vendor.computed(() => {
|
|
32
|
-
const item = props.items.find((i) => i.value === currentIndex.value);
|
|
33
|
-
return item ? item.label : "";
|
|
34
|
-
});
|
|
35
|
-
const currentItemBackground = common_vendor.computed(() => {
|
|
36
|
-
const item = props.items.find((i) => i.value === currentIndex.value);
|
|
37
|
-
return item ? item.background : "rgba(0, 0, 0, 0.85)";
|
|
38
|
-
});
|
|
39
|
-
const getItemByTouch = (touchY) => {
|
|
40
|
-
if (!indexBarRect || !props.items.length) return null;
|
|
41
|
-
const itemHeight = indexBarRect.height / props.items.length;
|
|
42
|
-
const relativeY = touchY - indexBarRect.top;
|
|
43
|
-
const index = Math.floor(relativeY / itemHeight);
|
|
44
|
-
if (index < 0) return props.items[0];
|
|
45
|
-
if (index >= props.items.length) return props.items[props.items.length - 1];
|
|
46
|
-
return props.items[index];
|
|
47
|
-
};
|
|
48
|
-
const updateIndex = (touchY) => {
|
|
49
|
-
indicatorTop.value = touchY;
|
|
50
|
-
const item = getItemByTouch(touchY);
|
|
51
|
-
if (item && item.value !== currentIndex.value) {
|
|
52
|
-
currentIndex.value = item.value;
|
|
53
|
-
emit("update:modelValue", item.value);
|
|
54
|
-
emit("change", item.value);
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
const onIndexTouchStart = (e) => {
|
|
58
|
-
showIndicator.value = true;
|
|
59
|
-
const touchY = e.touches[0].clientY;
|
|
60
|
-
indicatorTop.value = touchY;
|
|
61
|
-
common_vendor.index.createSelectorQuery().in(instance).select(".prism-index-bar").boundingClientRect((rect) => {
|
|
62
|
-
if (rect) {
|
|
63
|
-
indexBarRect = rect;
|
|
64
|
-
const item = getItemByTouch(touchY);
|
|
65
|
-
if (item) {
|
|
66
|
-
currentIndex.value = item.value;
|
|
67
|
-
emit("update:modelValue", item.value);
|
|
68
|
-
emit("change", item.value);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}).exec();
|
|
72
|
-
};
|
|
73
|
-
const onIndexTouchMove = (e) => {
|
|
74
|
-
const touchY = e.touches[0].clientY;
|
|
75
|
-
if (indexBarRect) {
|
|
76
|
-
updateIndex(touchY);
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
const onIndexTouchEnd = () => {
|
|
80
|
-
showIndicator.value = false;
|
|
81
|
-
};
|
|
82
|
-
return (_ctx, _cache) => {
|
|
83
|
-
return common_vendor.e({
|
|
84
|
-
a: common_vendor.f(__props.items, (item, k0, i0) => {
|
|
85
|
-
return {
|
|
86
|
-
a: item.value,
|
|
87
|
-
b: currentIndex.value === item.value ? 1 : "",
|
|
88
|
-
c: item.background
|
|
89
|
-
};
|
|
90
|
-
}),
|
|
91
|
-
b: __props.isDarkMode ? 1 : "",
|
|
92
|
-
c: common_vendor.o(onIndexTouchStart),
|
|
93
|
-
d: common_vendor.o(onIndexTouchMove),
|
|
94
|
-
e: common_vendor.o(onIndexTouchEnd),
|
|
95
|
-
f: showIndicator.value && currentIndex.value
|
|
96
|
-
}, showIndicator.value && currentIndex.value ? {
|
|
97
|
-
g: common_vendor.t(currentItemLabel.value),
|
|
98
|
-
h: currentItemBackground.value,
|
|
99
|
-
i: __props.isDarkMode ? 1 : "",
|
|
100
|
-
j: indicatorTop.value + "px",
|
|
101
|
-
k: currentItemBackground.value
|
|
102
|
-
} : {});
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-4b4fa71a"]]);
|
|
107
|
-
wx.createComponent(Component);
|
|
108
|
-
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/PrismIndexBar/PrismIndexBar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<view class="data-v-4b4fa71a"><view class="{{['prism-index-bar', 'data-v-4b4fa71a', b && 'dark-mode']}}" bindtouchstart="{{c}}" catchtouchmove="{{d}}" bindtouchend="{{e}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="a" class="{{['prism-index-item', 'data-v-4b4fa71a', item.b && 'active']}}" style="{{'background:' + item.c}}"></view></view><view wx:if="{{f}}" class="{{['prism-index-indicator', 'data-v-4b4fa71a', i && 'dark-mode']}}" style="{{'top:' + j + ';' + ('background:' + k)}}">{{g}} <view class="prism-index-indicator-arrow data-v-4b4fa71a" style="{{'border-left-color:' + h}}"></view></view></view>
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Prism UI - SCSS 变量定义
|
|
3
|
-
* 此文件包含所有设计令牌和变量
|
|
4
|
-
* 所有变量使用 $prism- 前缀,避免与用户项目冲突
|
|
5
|
-
*
|
|
6
|
-
* 主题切换:修改下面的引入文件即可切换主题
|
|
7
|
-
* 可选主题:blue(默认) / green / purple / orange / red / cyan
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Prism UI - 蓝色主题(默认)
|
|
11
|
-
*
|
|
12
|
-
* 使用方式:在 variables.scss 中修改引入
|
|
13
|
-
* @import '../theme/blue.scss';
|
|
14
|
-
*
|
|
15
|
-
* 颜色值来自 colors.scss 中的 $prism-blue-* 变量
|
|
16
|
-
*/
|
|
17
|
-
/* ============================================================
|
|
18
|
-
一、浅色模式变量(使用 !default,允许主题文件覆盖)
|
|
19
|
-
============================================================ */
|
|
20
|
-
/* -------------------- 主题色 -------------------- */
|
|
21
|
-
/* -------------------- 状态色 -------------------- */
|
|
22
|
-
/* -------------------- 文字颜色 -------------------- */
|
|
23
|
-
/* -------------------- 边框颜色 -------------------- */
|
|
24
|
-
/* -------------------- 背景颜色 -------------------- */
|
|
25
|
-
/* ============================================================
|
|
26
|
-
二、深色模式变量
|
|
27
|
-
============================================================ */
|
|
28
|
-
/* -------------------- 主题色(深色) -------------------- */
|
|
29
|
-
/* -------------------- 状态色(深色) -------------------- */
|
|
30
|
-
/* -------------------- 文字颜色(深色) -------------------- */
|
|
31
|
-
/* -------------------- 边框颜色(深色) -------------------- */
|
|
32
|
-
/* -------------------- 背景颜色(深色) -------------------- */
|
|
33
|
-
/* ============================================================
|
|
34
|
-
三、主题色透明度(使用 !default,允许主题文件覆盖)
|
|
35
|
-
============================================================ */
|
|
36
|
-
/* ============================================================
|
|
37
|
-
主题色渐变(使用 !default,允许主题文件覆盖)
|
|
38
|
-
============================================================ */
|
|
39
|
-
/* ============================================================
|
|
40
|
-
四、白色透明度
|
|
41
|
-
============================================================ */
|
|
42
|
-
/* ============================================================
|
|
43
|
-
六、第三方品牌色
|
|
44
|
-
============================================================ */
|
|
45
|
-
/* ============================================================
|
|
46
|
-
八、常用阴影(使用 !default,允许主题文件覆盖)
|
|
47
|
-
============================================================ */
|
|
48
|
-
/* ============================================================
|
|
49
|
-
九、统一间距
|
|
50
|
-
============================================================ */
|
|
51
|
-
/* 右侧索引条 */
|
|
52
|
-
.prism-index-bar.data-v-4b4fa71a {
|
|
53
|
-
position: fixed;
|
|
54
|
-
right: 8rpx;
|
|
55
|
-
top: 50%;
|
|
56
|
-
transform: translateY(-50%);
|
|
57
|
-
display: flex;
|
|
58
|
-
flex-direction: column;
|
|
59
|
-
align-items: center;
|
|
60
|
-
gap: 12rpx;
|
|
61
|
-
z-index: 999;
|
|
62
|
-
padding: 16rpx 12rpx;
|
|
63
|
-
background: rgba(255, 255, 255, 0.1);
|
|
64
|
-
border-radius: 24rpx;
|
|
65
|
-
backdrop-filter: blur(10px);
|
|
66
|
-
-webkit-backdrop-filter: blur(10px);
|
|
67
|
-
}
|
|
68
|
-
.prism-index-item.data-v-4b4fa71a {
|
|
69
|
-
width: 40rpx;
|
|
70
|
-
height: 40rpx;
|
|
71
|
-
border-radius: 50%;
|
|
72
|
-
border: 3rpx solid rgba(255, 255, 255, 0.8);
|
|
73
|
-
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.15);
|
|
74
|
-
transition: all 0.3s ease;
|
|
75
|
-
position: relative;
|
|
76
|
-
flex-shrink: 0;
|
|
77
|
-
}
|
|
78
|
-
.prism-index-item.data-v-4b4fa71a:active {
|
|
79
|
-
transform: scale(1.15);
|
|
80
|
-
}
|
|
81
|
-
.prism-index-item.active.data-v-4b4fa71a {
|
|
82
|
-
width: 48rpx;
|
|
83
|
-
height: 48rpx;
|
|
84
|
-
border-width: 4rpx;
|
|
85
|
-
border-color: #FFFFFF;
|
|
86
|
-
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.3);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* 气泡提示 */
|
|
90
|
-
.prism-index-indicator.data-v-4b4fa71a {
|
|
91
|
-
position: fixed;
|
|
92
|
-
right: 80rpx;
|
|
93
|
-
padding: 12rpx 20rpx;
|
|
94
|
-
color: #FFFFFF;
|
|
95
|
-
border-radius: 8rpx;
|
|
96
|
-
font-size: 24rpx;
|
|
97
|
-
white-space: nowrap;
|
|
98
|
-
backdrop-filter: blur(10px);
|
|
99
|
-
-webkit-backdrop-filter: blur(10px);
|
|
100
|
-
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.3);
|
|
101
|
-
animation: fadeIn-4b4fa71a 0.2s ease;
|
|
102
|
-
z-index: 1000;
|
|
103
|
-
transform: translateY(-50%);
|
|
104
|
-
pointer-events: none;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/* 气泡箭头 */
|
|
108
|
-
.prism-index-indicator-arrow.data-v-4b4fa71a {
|
|
109
|
-
position: absolute;
|
|
110
|
-
right: -8rpx;
|
|
111
|
-
top: 50%;
|
|
112
|
-
transform: translateY(-50%);
|
|
113
|
-
width: 0;
|
|
114
|
-
height: 0;
|
|
115
|
-
border-left: 8rpx solid;
|
|
116
|
-
border-top: 8rpx solid transparent;
|
|
117
|
-
border-bottom: 8rpx solid transparent;
|
|
118
|
-
}
|
|
119
|
-
@keyframes fadeIn-4b4fa71a {
|
|
120
|
-
from {
|
|
121
|
-
opacity: 0;
|
|
122
|
-
}
|
|
123
|
-
to {
|
|
124
|
-
opacity: 1;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
/* 深色模式适配 */
|
|
128
|
-
.dark-mode.prism-index-bar .prism-index-item.data-v-4b4fa71a {
|
|
129
|
-
border-color: rgba(0, 0, 0, 0.5);
|
|
130
|
-
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.4);
|
|
131
|
-
}
|
|
132
|
-
.dark-mode.prism-index-bar .prism-index-item.active.data-v-4b4fa71a {
|
|
133
|
-
border-color: rgba(255, 255, 255, 0.9);
|
|
134
|
-
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.6);
|
|
135
|
-
}
|