@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,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const common_vendor = require("../../common/vendor.js");
|
|
3
|
+
const store_app = require("../../store/app.js");
|
|
4
|
+
if (!Array) {
|
|
5
|
+
const _easycom_PrismNavBar2 = common_vendor.resolveComponent("PrismNavBar");
|
|
6
|
+
_easycom_PrismNavBar2();
|
|
7
|
+
}
|
|
8
|
+
const _easycom_PrismNavBar = () => "../../components/PrismNavBar/PrismNavBar.js";
|
|
9
|
+
if (!Math) {
|
|
10
|
+
(_easycom_PrismNavBar + PrismCode)();
|
|
11
|
+
}
|
|
12
|
+
const PrismCode = () => "../../components/PrismCode/PrismCode.js";
|
|
13
|
+
const _sfc_main = {
|
|
14
|
+
__name: "container",
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const appStore = store_app.useAppStore();
|
|
17
|
+
const navbarHeight = common_vendor.computed(() => {
|
|
18
|
+
return appStore.statusBarHeight + 44;
|
|
19
|
+
});
|
|
20
|
+
const collapseItems = common_vendor.reactive([
|
|
21
|
+
{ title: "什么是 Prism UI?", content: "Prism UI 是一个现代化的 uni-app 组件库,支持深浅主题切换。", open: true },
|
|
22
|
+
{ title: "如何使用?", content: "直接引入样式文件,使用对应的 CSS 类名即可。", open: false },
|
|
23
|
+
{ title: "支持哪些平台?", content: "支持 H5、微信小程序、App 等多端平台。", open: false }
|
|
24
|
+
]);
|
|
25
|
+
function toggleCollapse(index) {
|
|
26
|
+
collapseItems[index].open = !collapseItems[index].open;
|
|
27
|
+
}
|
|
28
|
+
return (_ctx, _cache) => {
|
|
29
|
+
return {
|
|
30
|
+
a: common_vendor.p({
|
|
31
|
+
title: "容器组件",
|
|
32
|
+
icon: "fa-layer-group",
|
|
33
|
+
["icon-color"]: "purple",
|
|
34
|
+
["show-back"]: true
|
|
35
|
+
}),
|
|
36
|
+
b: common_vendor.p({
|
|
37
|
+
code: "prism-card glass"
|
|
38
|
+
}),
|
|
39
|
+
c: common_vendor.p({
|
|
40
|
+
code: "prism-card blue glass"
|
|
41
|
+
}),
|
|
42
|
+
d: common_vendor.p({
|
|
43
|
+
code: "prism-list-item > list-item-icon + list-item-content + list-item-arrow"
|
|
44
|
+
}),
|
|
45
|
+
e: common_vendor.f(collapseItems, (item, index, i0) => {
|
|
46
|
+
return {
|
|
47
|
+
a: common_vendor.t(item.title),
|
|
48
|
+
b: item.open ? 1 : "",
|
|
49
|
+
c: common_vendor.o(($event) => toggleCollapse(index), index),
|
|
50
|
+
d: common_vendor.t(item.content),
|
|
51
|
+
e: item.open ? 1 : "",
|
|
52
|
+
f: index
|
|
53
|
+
};
|
|
54
|
+
}),
|
|
55
|
+
f: common_vendor.p({
|
|
56
|
+
code: "prism-collapse > prism-collapse-item"
|
|
57
|
+
}),
|
|
58
|
+
g: navbarHeight.value + "px",
|
|
59
|
+
h: common_vendor.unref(appStore).isDarkMode ? 1 : ""
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
wx.createPage(_sfc_main);
|
|
65
|
+
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/demo/container.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<view class="{{['prism-page', h && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="f772c61c-0" bind:__l="__l" u-p="{{a}}"/><scroll-view class="prism-main" scroll-y style="{{'padding-top:' + g}}"><view class="prism-section"><view class="section-title">Card 卡片</view><view class="prism-card glass mb-_a_20rpx_a_"><view class="p-_a_30rpx_a_"><text class="prism-text-primary text-_a_32rpx_a_ font-bold">毛玻璃卡片</text><text class="card-desc">这是一个毛玻璃效果的卡片组件</text></view></view><prism-code wx:if="{{b}}" u-i="f772c61c-1" bind:__l="__l" u-p="{{b}}"/><view class="prism-card blue glass mt-_a_20rpx_a_"><view class="p-_a_30rpx_a_"><text class="prism-text-primary text-_a_32rpx_a_ font-bold">蓝色毛玻璃卡片</text><text class="card-desc">带有蓝色渐变效果的卡片</text></view></view><prism-code wx:if="{{c}}" u-i="f772c61c-2" bind:__l="__l" u-p="{{c}}"/></view><view class="prism-section"><view class="section-title">ListItem 列表项</view><view class="prism-list-item mb-_a_20rpx_a_"><view class="list-item-icon prism-icon blue"><text class="fa fa-folder"></text></view><view class="list-item-content"><text class="list-item-title">项目文档</text><text class="list-item-desc">包含所有项目相关的文档资料</text></view><text class="list-item-arrow fa fa-angle-right"></text></view><view class="prism-list-item mb-_a_20rpx_a_"><view class="list-item-icon prism-icon green"><text class="fa fa-circle-check"></text></view><view class="list-item-content"><text class="list-item-title">已完成任务</text><text class="list-item-desc">查看所有已完成的任务列表</text></view><text class="list-item-arrow fa fa-angle-right"></text></view><view class="prism-list-item"><view class="list-item-icon prism-icon orange"><text class="fa fa-clock"></text></view><view class="list-item-content"><text class="list-item-title">待处理事项</text><text class="list-item-desc">需要尽快处理的紧急事项</text></view><text class="list-item-arrow fa fa-angle-right"></text></view><prism-code wx:if="{{d}}" u-i="f772c61c-3" bind:__l="__l" u-p="{{d}}"/></view><view class="prism-section"><view class="section-title">Collapse 折叠面板</view><view class="prism-collapse mb-_a_20rpx_a_"><view wx:for="{{e}}" wx:for-item="item" wx:key="f" class="prism-collapse-item"><view class="prism-collapse-item__header" bindtap="{{item.c}}"><text>{{item.a}}</text><text class="{{['prism-collapse-item__arrow', 'fa', 'fa-chevron-down', item.b && 'prism-collapse-item__arrow--active']}}"></text></view><view class="{{['prism-collapse-item__content', item.e && 'prism-collapse-item__content--show']}}"><view class="prism-collapse-item__body">{{item.d}}</view></view></view></view><prism-code wx:if="{{f}}" u-i="f772c61c-4" bind:__l="__l" u-p="{{f}}"/></view><view class="prism-safe-area-bottom"></view></scroll-view></view>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prism UI - SCSS 变量定义
|
|
3
|
+
* 此文件包含所有设计令牌和变量
|
|
4
|
+
* 所有变量使用 $prism- 前缀,避免与用户项目冲突
|
|
5
|
+
*
|
|
6
|
+
* 主题切换:修改下面的引入文件即可切换主题
|
|
7
|
+
* 可选主题:blue(默认) / green / purple / orange / red / cyan
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Prism UI - 蓝色主题(默认)
|
|
11
|
+
*
|
|
12
|
+
* 使用方式:在 variables.scss 中修改引入
|
|
13
|
+
* @import '../theme/blue.scss';
|
|
14
|
+
*
|
|
15
|
+
* 颜色值来自 colors.scss 中的 $prism-blue-* 变量
|
|
16
|
+
*/
|
|
17
|
+
/* ============================================================
|
|
18
|
+
一、浅色模式变量(使用 !default,允许主题文件覆盖)
|
|
19
|
+
============================================================ */
|
|
20
|
+
/* -------------------- 主题色 -------------------- */
|
|
21
|
+
/* -------------------- 状态色 -------------------- */
|
|
22
|
+
/* -------------------- 文字颜色 -------------------- */
|
|
23
|
+
/* -------------------- 边框颜色 -------------------- */
|
|
24
|
+
/* -------------------- 背景颜色 -------------------- */
|
|
25
|
+
/* ============================================================
|
|
26
|
+
二、深色模式变量
|
|
27
|
+
============================================================ */
|
|
28
|
+
/* -------------------- 主题色(深色) -------------------- */
|
|
29
|
+
/* -------------------- 状态色(深色) -------------------- */
|
|
30
|
+
/* -------------------- 文字颜色(深色) -------------------- */
|
|
31
|
+
/* -------------------- 边框颜色(深色) -------------------- */
|
|
32
|
+
/* -------------------- 背景颜色(深色) -------------------- */
|
|
33
|
+
/* ============================================================
|
|
34
|
+
三、主题色透明度(使用 !default,允许主题文件覆盖)
|
|
35
|
+
============================================================ */
|
|
36
|
+
/* ============================================================
|
|
37
|
+
主题色渐变(使用 !default,允许主题文件覆盖)
|
|
38
|
+
============================================================ */
|
|
39
|
+
/* ============================================================
|
|
40
|
+
四、白色透明度
|
|
41
|
+
============================================================ */
|
|
42
|
+
/* ============================================================
|
|
43
|
+
六、第三方品牌色
|
|
44
|
+
============================================================ */
|
|
45
|
+
/* ============================================================
|
|
46
|
+
八、常用阴影(使用 !default,允许主题文件覆盖)
|
|
47
|
+
============================================================ */
|
|
48
|
+
/* ============================================================
|
|
49
|
+
九、统一间距
|
|
50
|
+
============================================================ */
|
|
51
|
+
/* Demo 页面通用样式 */
|
|
52
|
+
/* 注意:.page-container 和 .main-content 基础样式已在 @/styles/base.scss 中定义 */
|
|
53
|
+
/* 注意:导航栏已统一使用 PrismNavBar 组件 */
|
|
54
|
+
/* 注意:.card-desc 已统一在 @/styles/card.scss 中定义 */
|
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const common_vendor = require("../../common/vendor.js");
|
|
3
|
+
const store_app = require("../../store/app.js");
|
|
4
|
+
if (!Array) {
|
|
5
|
+
const _easycom_PrismNavBar2 = common_vendor.resolveComponent("PrismNavBar");
|
|
6
|
+
_easycom_PrismNavBar2();
|
|
7
|
+
}
|
|
8
|
+
const _easycom_PrismNavBar = () => "../../components/PrismNavBar/PrismNavBar.js";
|
|
9
|
+
if (!Math) {
|
|
10
|
+
(_easycom_PrismNavBar + PrismCode)();
|
|
11
|
+
}
|
|
12
|
+
const PrismCode = () => "../../components/PrismCode/PrismCode.js";
|
|
13
|
+
const _sfc_main = {
|
|
14
|
+
__name: "data",
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const appStore = store_app.useAppStore();
|
|
17
|
+
const instance = common_vendor.getCurrentInstance();
|
|
18
|
+
const charts = {};
|
|
19
|
+
const navbarHeight = common_vendor.computed(() => {
|
|
20
|
+
return appStore.statusBarHeight + 44;
|
|
21
|
+
});
|
|
22
|
+
const coreMetrics = common_vendor.reactive([
|
|
23
|
+
{
|
|
24
|
+
label: "睡眠时长",
|
|
25
|
+
value: "7.2",
|
|
26
|
+
unit: "h",
|
|
27
|
+
status: "正常",
|
|
28
|
+
level: "success",
|
|
29
|
+
icon: "fa-moon",
|
|
30
|
+
type: "sleep",
|
|
31
|
+
chartType: "column",
|
|
32
|
+
trendData: [7.5, 6.8, 7.2, 8, 7.1, 6.5, 7.8, 7.2, 8.2, 6.9, 7.5, 7, 7.3, 7.2],
|
|
33
|
+
colors: ["#C4B5FD", "#8B5CF6"]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
label: "血氧 SpO₂",
|
|
37
|
+
value: "98",
|
|
38
|
+
unit: "%",
|
|
39
|
+
status: "正常",
|
|
40
|
+
level: "success",
|
|
41
|
+
icon: "fa-droplet",
|
|
42
|
+
type: "oxygen",
|
|
43
|
+
chartType: "area",
|
|
44
|
+
trendData: [97, 98, 96, 99, 98, 97, 98, 99, 96, 98, 97, 98, 99, 98],
|
|
45
|
+
colors: ["#6EE7B7", "#10B981"]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
label: "血压",
|
|
49
|
+
value: "118/75",
|
|
50
|
+
unit: "mmHg",
|
|
51
|
+
status: "正常",
|
|
52
|
+
level: "success",
|
|
53
|
+
icon: "fa-heart-circle-check",
|
|
54
|
+
type: "pressure",
|
|
55
|
+
chartType: "column",
|
|
56
|
+
trendData: [115, 118, 120, 116, 119, 117, 118, 122, 115, 119, 117, 120, 118, 118],
|
|
57
|
+
colors: ["#93C5FD", "#3B82F6"]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
label: "心率",
|
|
61
|
+
value: "72",
|
|
62
|
+
unit: "bpm",
|
|
63
|
+
status: "正常",
|
|
64
|
+
level: "success",
|
|
65
|
+
icon: "fa-heart",
|
|
66
|
+
type: "heart",
|
|
67
|
+
chartType: "line",
|
|
68
|
+
trendData: [72, 85, 62, 78, 95, 68, 72, 80, 65, 88, 70, 75, 82, 69],
|
|
69
|
+
colors: ["#FCA5A5", "#EF4444"]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
label: "HRV",
|
|
73
|
+
value: "45",
|
|
74
|
+
unit: "ms",
|
|
75
|
+
status: "偏低",
|
|
76
|
+
level: "warning",
|
|
77
|
+
icon: "fa-chart-line",
|
|
78
|
+
type: "hrv",
|
|
79
|
+
chartType: "area",
|
|
80
|
+
trendData: [42, 45, 43, 48, 44, 41, 46, 45, 40, 47, 43, 46, 44, 45],
|
|
81
|
+
colors: ["#FDE68A", "#F59E0B"]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
label: "体温",
|
|
85
|
+
value: "36.5",
|
|
86
|
+
unit: "°C",
|
|
87
|
+
status: "正常",
|
|
88
|
+
level: "success",
|
|
89
|
+
icon: "fa-thermometer-half",
|
|
90
|
+
type: "temp",
|
|
91
|
+
chartType: "line",
|
|
92
|
+
trendData: [36.3, 36.5, 36.4, 36.6, 36.5, 36.4, 36.5, 36.7, 36.4, 36.5, 36.6, 36.4, 36.5, 36.5],
|
|
93
|
+
colors: ["#FBCFE8", "#EC4899"]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
label: "步数",
|
|
97
|
+
value: "8,562",
|
|
98
|
+
unit: "步",
|
|
99
|
+
status: "达标",
|
|
100
|
+
level: "success",
|
|
101
|
+
icon: "fa-shoe-prints",
|
|
102
|
+
type: "steps",
|
|
103
|
+
chartType: "column",
|
|
104
|
+
trendData: [6500, 8200, 7800, 9500, 5200, 10200, 8562, 7200, 8900, 6800, 9200, 7500, 8100, 8562],
|
|
105
|
+
colors: ["#A5F3FC", "#06B6D4"]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
label: "卡路里",
|
|
109
|
+
value: "1,856",
|
|
110
|
+
unit: "kcal",
|
|
111
|
+
status: "正常",
|
|
112
|
+
level: "success",
|
|
113
|
+
icon: "fa-fire",
|
|
114
|
+
type: "calories",
|
|
115
|
+
chartType: "area",
|
|
116
|
+
trendData: [1650, 1920, 1780, 2100, 1450, 2250, 1856, 1720, 1980, 1580, 2050, 1750, 1890, 1856],
|
|
117
|
+
colors: ["#FED7AA", "#F97316"]
|
|
118
|
+
}
|
|
119
|
+
]);
|
|
120
|
+
function initMetricChart(metric, index) {
|
|
121
|
+
const canvasId = "trend-" + metric.type + "-" + index;
|
|
122
|
+
try {
|
|
123
|
+
const context = common_vendor.index.createCanvasContext(canvasId, instance.proxy);
|
|
124
|
+
if (!context) return;
|
|
125
|
+
const categories = metric.trendData.map((_, i) => String(i + 1));
|
|
126
|
+
charts[metric.type] = new common_vendor.uCharts({
|
|
127
|
+
$this: instance.proxy,
|
|
128
|
+
canvasId,
|
|
129
|
+
context,
|
|
130
|
+
type: metric.chartType,
|
|
131
|
+
fontSize: 0,
|
|
132
|
+
padding: [5, 5, 5, 5],
|
|
133
|
+
legend: { show: false },
|
|
134
|
+
dataLabel: false,
|
|
135
|
+
dataPointShape: false,
|
|
136
|
+
background: "transparent",
|
|
137
|
+
pixelRatio: 1,
|
|
138
|
+
enableMarkLine: false,
|
|
139
|
+
categories,
|
|
140
|
+
series: [{
|
|
141
|
+
name: metric.label,
|
|
142
|
+
data: metric.trendData,
|
|
143
|
+
color: metric.colors[1]
|
|
144
|
+
}],
|
|
145
|
+
animation: true,
|
|
146
|
+
animationDuration: 300,
|
|
147
|
+
enableScroll: false,
|
|
148
|
+
xAxis: {
|
|
149
|
+
disabled: true,
|
|
150
|
+
disableGrid: true,
|
|
151
|
+
axisLine: false
|
|
152
|
+
},
|
|
153
|
+
yAxis: {
|
|
154
|
+
disabled: true,
|
|
155
|
+
disableGrid: true,
|
|
156
|
+
axisLine: false
|
|
157
|
+
},
|
|
158
|
+
width: common_vendor.index.upx2px(280),
|
|
159
|
+
height: common_vendor.index.upx2px(100),
|
|
160
|
+
extra: {
|
|
161
|
+
column: {
|
|
162
|
+
type: "group",
|
|
163
|
+
width: 8,
|
|
164
|
+
linearType: "custom",
|
|
165
|
+
linearOpacity: 0.9,
|
|
166
|
+
barBorderCircle: true,
|
|
167
|
+
customColor: metric.colors
|
|
168
|
+
},
|
|
169
|
+
line: {
|
|
170
|
+
type: "curve",
|
|
171
|
+
width: 2
|
|
172
|
+
},
|
|
173
|
+
area: {
|
|
174
|
+
type: "curve",
|
|
175
|
+
opacity: 0.4,
|
|
176
|
+
gradient: true,
|
|
177
|
+
addLine: true,
|
|
178
|
+
width: 2,
|
|
179
|
+
gradientColor: metric.colors
|
|
180
|
+
},
|
|
181
|
+
tooltip: { show: false }
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
} catch (error) {
|
|
185
|
+
common_vendor.index.__f__("error", "at pages/demo/data.vue:546", "图表初始化失败:", metric.label, error);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
function initAllCharts() {
|
|
189
|
+
coreMetrics.forEach((metric, index) => {
|
|
190
|
+
initMetricChart(metric, index);
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
const milestoneData = common_vendor.reactive([
|
|
194
|
+
{
|
|
195
|
+
title: "项目启动",
|
|
196
|
+
time: "2024-01-15",
|
|
197
|
+
desc: "项目需求确认,团队组建完成",
|
|
198
|
+
completed: true,
|
|
199
|
+
active: false
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
title: "设计阶段",
|
|
203
|
+
time: "2024-02-20",
|
|
204
|
+
desc: "UI/UX 设计完成,原型评审通过",
|
|
205
|
+
completed: true,
|
|
206
|
+
active: false
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
title: "开发阶段",
|
|
210
|
+
time: "2024-03-10",
|
|
211
|
+
desc: "核心功能开发进行中",
|
|
212
|
+
completed: false,
|
|
213
|
+
active: true
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
title: "测试上线",
|
|
217
|
+
time: "2024-04-05",
|
|
218
|
+
desc: "测试完成后正式发布",
|
|
219
|
+
completed: false,
|
|
220
|
+
active: false
|
|
221
|
+
}
|
|
222
|
+
]);
|
|
223
|
+
const countdownTime = common_vendor.reactive({ hours: "02", minutes: "30", seconds: "00" });
|
|
224
|
+
let countdownTimer = null;
|
|
225
|
+
const projectLogs = common_vendor.reactive([
|
|
226
|
+
{
|
|
227
|
+
type: "status",
|
|
228
|
+
title: "状态变更",
|
|
229
|
+
content: '项目状态从"设计中"变更为"施工中"',
|
|
230
|
+
time: "10分钟前",
|
|
231
|
+
user: "王经理"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
type: "progress",
|
|
235
|
+
title: "进度更新",
|
|
236
|
+
content: "水电阶段进度更新至 80%,预计明天完成验收",
|
|
237
|
+
time: "2小时前",
|
|
238
|
+
user: "李工"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
type: "task",
|
|
242
|
+
title: "任务完成",
|
|
243
|
+
content: '完成任务"水电管线铺设",用时3天',
|
|
244
|
+
time: "昨天",
|
|
245
|
+
user: "张师傅"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
type: "stage",
|
|
249
|
+
title: "阶段完成",
|
|
250
|
+
content: "拆改阶段已完成,进入水电阶段",
|
|
251
|
+
time: "3天前",
|
|
252
|
+
user: "系统"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
type: "member",
|
|
256
|
+
title: "成员变动",
|
|
257
|
+
content: '添加新成员"赵师傅",负责泥瓦工程',
|
|
258
|
+
time: "5天前",
|
|
259
|
+
user: "王经理"
|
|
260
|
+
}
|
|
261
|
+
]);
|
|
262
|
+
function getLogIcon(type) {
|
|
263
|
+
const icons = {
|
|
264
|
+
status: "fa-exchange-alt",
|
|
265
|
+
// 状态变更
|
|
266
|
+
progress: "fa-chart-line",
|
|
267
|
+
// 进度更新
|
|
268
|
+
task: "fa-check-circle",
|
|
269
|
+
// 任务完成
|
|
270
|
+
stage: "fa-flag",
|
|
271
|
+
// 阶段完成
|
|
272
|
+
member: "fa-user-plus",
|
|
273
|
+
// 成员变动
|
|
274
|
+
file: "fa-file-alt",
|
|
275
|
+
// 文件上传
|
|
276
|
+
comment: "fa-comment",
|
|
277
|
+
// 评论
|
|
278
|
+
default: "fa-info-circle"
|
|
279
|
+
};
|
|
280
|
+
return icons[type] || icons.default;
|
|
281
|
+
}
|
|
282
|
+
function startCountdown() {
|
|
283
|
+
let total = 2 * 3600 + 30 * 60;
|
|
284
|
+
countdownTimer = setInterval(() => {
|
|
285
|
+
if (total <= 0) {
|
|
286
|
+
clearInterval(countdownTimer);
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
total--;
|
|
290
|
+
const h = Math.floor(total / 3600);
|
|
291
|
+
const m = Math.floor(total % 3600 / 60);
|
|
292
|
+
const s = total % 60;
|
|
293
|
+
countdownTime.hours = String(h).padStart(2, "0");
|
|
294
|
+
countdownTime.minutes = String(m).padStart(2, "0");
|
|
295
|
+
countdownTime.seconds = String(s).padStart(2, "0");
|
|
296
|
+
}, 1e3);
|
|
297
|
+
}
|
|
298
|
+
common_vendor.onMounted(() => {
|
|
299
|
+
startCountdown();
|
|
300
|
+
setTimeout(() => {
|
|
301
|
+
initAllCharts();
|
|
302
|
+
}, 500);
|
|
303
|
+
});
|
|
304
|
+
common_vendor.onUnmounted(() => {
|
|
305
|
+
if (countdownTimer) clearInterval(countdownTimer);
|
|
306
|
+
});
|
|
307
|
+
return (_ctx, _cache) => {
|
|
308
|
+
return {
|
|
309
|
+
a: common_vendor.p({
|
|
310
|
+
title: "数据展示",
|
|
311
|
+
icon: "fa-chart-bar",
|
|
312
|
+
["icon-color"]: "orange",
|
|
313
|
+
["show-back"]: true
|
|
314
|
+
}),
|
|
315
|
+
b: common_vendor.p({
|
|
316
|
+
code: "prism-avatar xs/sm/md/lg/xl + bordered/square/blue/green/orange/purple/red"
|
|
317
|
+
}),
|
|
318
|
+
c: common_vendor.p({
|
|
319
|
+
code: "prism-progress + --success/--warning/--danger/--lg"
|
|
320
|
+
}),
|
|
321
|
+
d: common_vendor.p({
|
|
322
|
+
code: "prism-stats-grid > prism-stat-card"
|
|
323
|
+
}),
|
|
324
|
+
e: common_vendor.f(coreMetrics, (metric, index, i0) => {
|
|
325
|
+
return common_vendor.e({
|
|
326
|
+
a: common_vendor.n("fa " + metric.icon),
|
|
327
|
+
b: common_vendor.n("icon-bg-" + metric.type),
|
|
328
|
+
c: common_vendor.t(metric.status),
|
|
329
|
+
d: common_vendor.n(metric.level),
|
|
330
|
+
e: common_vendor.t(metric.value),
|
|
331
|
+
f: metric.unit
|
|
332
|
+
}, metric.unit ? {
|
|
333
|
+
g: common_vendor.t(metric.unit)
|
|
334
|
+
} : {}, {
|
|
335
|
+
h: common_vendor.n("text-" + metric.level),
|
|
336
|
+
i: common_vendor.t(metric.label),
|
|
337
|
+
j: metric.trendData
|
|
338
|
+
}, metric.trendData ? {
|
|
339
|
+
k: "trend-" + metric.type + "-" + index,
|
|
340
|
+
l: "trend-" + metric.type + "-" + index
|
|
341
|
+
} : {}, {
|
|
342
|
+
m: index
|
|
343
|
+
});
|
|
344
|
+
}),
|
|
345
|
+
f: common_vendor.p({
|
|
346
|
+
code: "prism-metric-grid > prism-metric-card"
|
|
347
|
+
}),
|
|
348
|
+
g: common_vendor.p({
|
|
349
|
+
code: "prism-placeholder"
|
|
350
|
+
}),
|
|
351
|
+
h: common_vendor.f(milestoneData, (item, index, i0) => {
|
|
352
|
+
return common_vendor.e({
|
|
353
|
+
a: common_vendor.n(item.completed ? "fa-check" : "fa-regular fa-circle"),
|
|
354
|
+
b: common_vendor.t(item.title),
|
|
355
|
+
c: common_vendor.t(item.time),
|
|
356
|
+
d: item.desc
|
|
357
|
+
}, item.desc ? {
|
|
358
|
+
e: common_vendor.t(item.desc)
|
|
359
|
+
} : {}, {
|
|
360
|
+
f: index,
|
|
361
|
+
g: item.completed ? 1 : "",
|
|
362
|
+
h: item.active ? 1 : ""
|
|
363
|
+
});
|
|
364
|
+
}),
|
|
365
|
+
i: common_vendor.p({
|
|
366
|
+
code: "prism-milestone > prism-milestone-item"
|
|
367
|
+
}),
|
|
368
|
+
j: common_vendor.f(projectLogs, (log, index, i0) => {
|
|
369
|
+
return common_vendor.e({
|
|
370
|
+
a: common_vendor.n(getLogIcon(log.type)),
|
|
371
|
+
b: common_vendor.n("log-icon--" + log.type),
|
|
372
|
+
c: common_vendor.t(log.title),
|
|
373
|
+
d: common_vendor.t(log.time),
|
|
374
|
+
e: common_vendor.t(log.content),
|
|
375
|
+
f: log.user
|
|
376
|
+
}, log.user ? {
|
|
377
|
+
g: common_vendor.t(log.user)
|
|
378
|
+
} : {}, {
|
|
379
|
+
h: index
|
|
380
|
+
});
|
|
381
|
+
}),
|
|
382
|
+
k: common_vendor.p({
|
|
383
|
+
code: "log-item > log-icon--{type} + log-content"
|
|
384
|
+
}),
|
|
385
|
+
l: common_vendor.t(countdownTime.hours),
|
|
386
|
+
m: common_vendor.t(countdownTime.minutes),
|
|
387
|
+
n: common_vendor.t(countdownTime.seconds),
|
|
388
|
+
o: common_vendor.p({
|
|
389
|
+
code: "prism-countdown > prism-countdown__block"
|
|
390
|
+
}),
|
|
391
|
+
p: navbarHeight.value + "px",
|
|
392
|
+
q: common_vendor.unref(appStore).isDarkMode ? 1 : ""
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
};
|
|
397
|
+
wx.createPage(_sfc_main);
|
|
398
|
+
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/demo/data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<view class="{{['prism-page', q && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="33c8a349-0" bind:__l="__l" u-p="{{a}}"/><scroll-view class="prism-main" scroll-y style="{{'padding-top:' + p}}"><view class="prism-section"><view class="section-title">头像</view><view class="prism-card"><view class="card-title">尺寸</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap mb-_a_24rpx_a_" style="align-items:center"><view class="prism-avatar xs"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/1.png" mode="aspectFill"/></view><view class="prism-avatar sm"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/2.jpg" mode="aspectFill"/></view><view class="prism-avatar md"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/3.png" mode="aspectFill"/></view><view class="prism-avatar lg"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/4.png" mode="aspectFill"/></view><view class="prism-avatar xl"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/5.png" mode="aspectFill"/></view></view><view class="card-title">带边框</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap mb-_a_24rpx_a_"><view class="prism-avatar lg bordered"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/6.png" mode="aspectFill"/></view></view><view class="card-title">方形头像</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap mb-_a_24rpx_a_"><view class="prism-avatar lg square"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/7.jpg" mode="aspectFill"/></view></view><view class="card-title">在线状态</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap mb-_a_24rpx_a_"><view class="prism-avatar lg"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/8.png" mode="aspectFill"/><view class="avatar-status online"></view></view><view class="prism-avatar lg"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/9.png" mode="aspectFill"/><view class="avatar-status busy"></view></view><view class="prism-avatar lg"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/10.png" mode="aspectFill"/><view class="avatar-status offline"></view></view></view><view class="card-title">头像组</view><view class="prism-avatar-group"><view class="prism-avatar sm"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/1.png" mode="aspectFill"/></view><view class="prism-avatar sm"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/2.jpg" mode="aspectFill"/></view><view class="prism-avatar sm"><image class="avatar-image" src="https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/avatar/3.png" mode="aspectFill"/></view><view class="avatar-more">+5</view></view><view class="card-title">文字头像</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap mb-_a_24rpx_a_"><view class="prism-avatar xs blue"><text class="avatar-text">张</text></view><view class="prism-avatar sm green"><text class="avatar-text">李</text></view><view class="prism-avatar md orange"><text class="avatar-text">王</text></view><view class="prism-avatar lg purple"><text class="avatar-text">赵</text></view><view class="prism-avatar xl red"><text class="avatar-text">刘</text></view></view><view class="card-title">文字头像 - 多色</view><view class="flex flex-row gap-_a_15rpx_a_ flex-wrap mb-_a_24rpx_a_"><view class="prism-avatar md blue"><text class="avatar-text">A</text></view><view class="prism-avatar md cyan"><text class="avatar-text">B</text></view><view class="prism-avatar md green"><text class="avatar-text">C</text></view><view class="prism-avatar md orange"><text class="avatar-text">D</text></view><view class="prism-avatar md pink"><text class="avatar-text">E</text></view><view class="prism-avatar md purple"><text class="avatar-text">F</text></view><view class="prism-avatar md indigo"><text class="avatar-text">G</text></view><view class="prism-avatar md red"><text class="avatar-text">H</text></view></view><prism-code wx:if="{{b}}" u-i="33c8a349-1" bind:__l="__l" u-p="{{b}}"/></view></view><view class="prism-section"><view class="section-title">进度条</view><view class="prism-card"><view class="card-title">基础进度条</view><view class="prism-progress mb-_a_24rpx_a_"><view class="progress-bar" style="width:60%"></view></view><view class="card-title">颜色</view><view class="prism-progress mb-_a_10rpx_a_"><view class="progress-bar" style="width:80%"></view></view><view class="prism-progress prism-progress--success mb-_a_10rpx_a_"><view class="progress-bar" style="width:70%"></view></view><view class="prism-progress prism-progress--warning mb-_a_10rpx_a_"><view class="progress-bar" style="width:50%"></view></view><view class="prism-progress prism-progress--danger mb-_a_24rpx_a_"><view class="progress-bar" style="width:30%"></view></view><view class="card-title">大尺寸</view><view class="prism-progress prism-progress--lg"><view class="progress-bar" style="width:65%"></view></view><prism-code wx:if="{{c}}" u-i="33c8a349-2" bind:__l="__l" u-p="{{c}}"/></view></view><view class="prism-section"><view class="section-title">统计卡片</view><view class="prism-stats-grid"><view class="prism-card glass prism-stat-card"><view class="stat-icon prism-icon blue"><text class="fa fa-folder-open"></text></view><view class="stat-info"><text class="stat-value">12</text><text class="stat-label">项目总数</text></view><view class="stat-trend up"><text class="fa fa-arrow-trend-up"></text><text>5进行中</text></view></view><view class="prism-card glass prism-stat-card"><view class="stat-icon prism-icon orange"><text class="fa fa-list-check"></text></view><view class="stat-info"><text class="stat-value">48</text><text class="stat-label">任务总数</text></view><view class="stat-trend down"><text class="fa fa-triangle-exclamation"></text><text>2个逾期</text></view></view><view class="prism-card glass prism-stat-card"><view class="stat-icon prism-icon green"><text class="fa fa-chart-pie"></text></view><view class="stat-info"><text class="stat-value">85%</text><text class="stat-label">完成率</text></view></view><view class="prism-card glass prism-stat-card"><view class="stat-icon prism-icon purple"><text class="fa fa-users"></text></view><view class="stat-info"><text class="stat-value">8</text><text class="stat-label">团队成员</text></view><view class="stat-trend up"><text class="fa fa-user-plus"></text><text>协作中</text></view></view></view><prism-code wx:if="{{d}}" u-i="33c8a349-3" bind:__l="__l" u-p="{{d}}"/></view><view class="prism-section"><view class="section-title">核心指标</view><view class="prism-metric-grid"><view wx:for="{{e}}" wx:for-item="metric" wx:key="m" class="prism-card glass prism-metric-card"><view class="metric-header"><view class="{{['metric-icon-wrapper', metric.b]}}"><text class="{{metric.a}}"></text></view><view class="{{['prism-badge', metric.d]}}">{{metric.c}}</view></view><view class="metric-body"><view class="{{['metric-value', metric.h]}}">{{metric.e}} <text wx:if="{{metric.f}}" class="metric-unit">{{metric.g}}</text></view><view class="metric-label">{{metric.i}}</view><view wx:if="{{metric.j}}" class="metric-sparkline"><block wx:if="{{r0}}"><canvas canvas-id="{{metric.k}}" id="{{metric.l}}" class="trend-canvas"></canvas></block></view></view></view></view><prism-code wx:if="{{f}}" u-i="33c8a349-4" bind:__l="__l" u-p="{{f}}"/></view><view class="prism-section"><view class="section-title">空状态</view><view class="prism-placeholder"><text class="placeholder-icon fa fa-inbox"></text><text class="placeholder-text">暂无数据</text><view class="placeholder-action"><view class="prism-btn primary sm"><text>刷新</text></view></view></view><prism-code wx:if="{{g}}" u-i="33c8a349-5" bind:__l="__l" u-p="{{g}}"/></view><view class="prism-section"><view class="section-title">Milestone 里程碑</view><view class="prism-card glass"><view class="prism-milestone"><view wx:for="{{h}}" wx:for-item="item" wx:key="f" class="{{['prism-milestone-item', item.g && 'completed', item.h && 'active']}}"><view class="milestone-dot"><text class="{{['fa', item.a]}}"></text></view><view class="milestone-content"><view class="milestone-title">{{item.b}}</view><view class="milestone-time">{{item.c}}</view><view wx:if="{{item.d}}" class="milestone-desc">{{item.e}}</view></view></view></view></view><prism-code wx:if="{{i}}" u-i="33c8a349-6" bind:__l="__l" u-p="{{i}}"/></view><view class="prism-section"><view class="section-title">Project Logs 项目日志</view><view class="prism-card glass"><view class="card-header"><view class="card-title">活动日志</view><view class="add-log-btn"><text class="fa fa-plus"></text><text>写日志</text></view></view><view class="logs-card"><view wx:for="{{j}}" wx:for-item="log" wx:key="h" class="log-item"><view class="{{['log-icon', log.b]}}"><text class="{{['fa', log.a]}}"></text></view><view class="log-content"><view class="log-header"><text class="log-title">{{log.c}}</text><text class="log-time">{{log.d}}</text></view><text class="log-desc">{{log.e}}</text><view wx:if="{{log.f}}" class="log-user"><text class="fa fa-user"></text><text>{{log.g}}</text></view></view></view></view><prism-code wx:if="{{k}}" u-i="33c8a349-7" bind:__l="__l" u-p="{{k}}"/></view></view><view class="prism-section"><view class="section-title">CountDown 倒计时</view><view class="prism-countdown mb-_a_20rpx_a_"><view class="prism-countdown__block">{{l}}</view><text class="prism-countdown__colon">:</text><view class="prism-countdown__block">{{m}}</view><text class="prism-countdown__colon">:</text><view class="prism-countdown__block">{{n}}</view></view><prism-code wx:if="{{o}}" u-i="33c8a349-8" bind:__l="__l" u-p="{{o}}"/></view><view class="prism-safe-area-bottom"></view></scroll-view></view>
|