@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.
Files changed (396) hide show
  1. package/README.md +6 -2
  2. package/dist/build/h5/assets/PrismCode-D1lrgx1M.css +1 -0
  3. package/dist/build/h5/assets/PrismCode.CNOtat_X.js +1 -0
  4. package/dist/build/h5/assets/PrismGroupSticky-CBFeo0AB.css +1 -0
  5. package/dist/build/h5/assets/PrismGroupSticky.CmJXt6ws.js +1 -0
  6. package/dist/build/h5/assets/PrismMusicPlayer-CHVtYDn7.css +1 -0
  7. package/dist/build/h5/assets/PrismMusicPlayer.DAW3y5Km.js +1 -0
  8. package/dist/build/h5/assets/PrismNavBar-CYetauMR.css +1 -0
  9. package/dist/build/h5/assets/PrismNavBar.CFM58fal.js +1 -0
  10. package/dist/build/h5/assets/PrismSwiper-CDtZrfyq.css +1 -0
  11. package/dist/build/h5/assets/PrismSwiper.DTGFNn5Q.js +1 -0
  12. package/dist/build/h5/assets/PrismTabBar-BW0exu0j.css +1 -0
  13. package/dist/build/h5/assets/PrismTabBar.DPe-iC_F.js +1 -0
  14. package/dist/build/h5/assets/basic-tn0RQdqM.css +0 -0
  15. package/dist/build/h5/assets/card-layout-BZuodKCJ.css +1 -0
  16. package/dist/build/h5/assets/colors-RgTfwcKp.css +1 -0
  17. package/dist/build/h5/assets/data-DSHiB3Xs.css +1 -0
  18. package/dist/build/h5/assets/effects-CNFDtZjf.css +1 -0
  19. package/dist/build/h5/assets/examples-CSzKlb8B.css +1 -0
  20. package/dist/build/h5/assets/fa-brands-400-C99Yv4gD.woff2 +0 -0
  21. package/dist/build/h5/assets/fa-regular-400-OOsPf1xj.woff2 +0 -0
  22. package/dist/build/h5/assets/fa-solid-900-DAI24fNt.woff2 +0 -0
  23. package/dist/build/h5/assets/feedback-BaC8qSUp.css +1 -0
  24. package/dist/build/h5/assets/form-va-eFD7k.css +1 -0
  25. package/dist/build/h5/assets/group-CDa_hQkB.css +1 -0
  26. package/dist/build/h5/assets/iconfont-CW81RyG4.ttf +0 -0
  27. package/dist/build/h5/assets/icons-83wAdmdh.css +1 -0
  28. package/dist/build/h5/assets/index-BQ-qpvZH.css +1 -0
  29. package/dist/build/h5/assets/index-BQnv3xQ8.css +1 -0
  30. package/dist/build/h5/assets/index-C83xA4hX.css +1 -0
  31. package/dist/build/h5/assets/index-Cvc14mto.css +1 -0
  32. package/dist/build/h5/assets/index-D2djL_pA.js +32 -0
  33. package/dist/build/h5/assets/navigation-D0rlyjtK.css +1 -0
  34. package/dist/build/h5/assets/pages-demo-basic.BsC9sqol.js +1 -0
  35. package/dist/build/h5/assets/pages-demo-code-index.BXECig1w.js +1 -0
  36. package/dist/build/h5/assets/pages-demo-colors.Dl__3Mv9.js +1 -0
  37. package/dist/build/h5/assets/pages-demo-container.Cy-M9f41.js +1 -0
  38. package/dist/build/h5/assets/pages-demo-data.CK2JdeBK.js +1 -0
  39. package/dist/build/h5/assets/pages-demo-effects.CV0rqKht.js +1 -0
  40. package/dist/build/h5/assets/pages-demo-feedback.BO-G3E1J.js +1 -0
  41. package/dist/build/h5/assets/pages-demo-form.CsUNLqqe.js +1 -0
  42. package/dist/build/h5/assets/pages-demo-layout-card-layout.CQ6fF8IK.js +1 -0
  43. package/dist/build/h5/assets/pages-demo-layout.261GXW2o.js +1 -0
  44. package/dist/build/h5/assets/pages-demo-navigation.C5hFijVt.js +1 -0
  45. package/dist/build/h5/assets/pages-demo-other.CVdLVU3_.js +1 -0
  46. package/dist/build/h5/assets/pages-demo-sticky-group.MDzv6I5L.js +1 -0
  47. package/dist/build/h5/assets/pages-demo-sticky-index.D2UJUdon.js +1 -0
  48. package/dist/build/h5/assets/pages-examples-examples.hyUWuu8C.js +1 -0
  49. package/dist/build/h5/assets/pages-icons-icons.R2erKYQX.js +1 -0
  50. package/dist/build/h5/assets/pages-index-index.BlfkIjJo.js +1 -0
  51. package/dist/build/h5/assets/pages-tools-tools.tm3Y1cFN.js +1 -0
  52. package/dist/build/h5/assets/tools-C1YBcrWJ.css +1 -0
  53. package/dist/build/h5/assets/uni-app.es.DfNmMcUd.js +1 -0
  54. package/dist/build/h5/assets/uni.e2868147.css +1 -0
  55. package/dist/build/h5/assets/useNavbar.BdajVjjC.js +1 -0
  56. package/dist/build/h5/index.html +23 -0
  57. package/dist/build/h5/static/fonts/all-icons.txt +453 -0
  58. package/dist/build/h5/static/fonts/fa-brands-400.woff2 +0 -0
  59. package/dist/build/h5/static/fonts/fa-regular-400.woff2 +0 -0
  60. package/dist/build/h5/static/fonts/fa-solid-900.woff2 +0 -0
  61. package/dist/build/h5/static/fonts/fa-v4compatibility.woff2 +0 -0
  62. package/dist/build/h5/static/fonts/font-awesome.css +943 -0
  63. package/dist/build/h5/static/fonts/iconfont.css +62 -0
  64. package/dist/build/h5/static/fonts/iconfont.js +1 -0
  65. package/dist/build/h5/static/fonts/iconfont.json +79 -0
  66. package/dist/build/h5/static/fonts/iconfont.ttf +0 -0
  67. package/dist/build/h5/static/fonts/iconfont.woff +0 -0
  68. package/dist/build/h5/static/fonts/iconfont.woff2 +0 -0
  69. package/dist/build/h5/static/fonts/icons-list.txt +453 -0
  70. package/dist/build/h5/static/tabbar/examples-active.png +0 -0
  71. package/dist/build/h5/static/tabbar/examples.png +0 -0
  72. package/dist/build/h5/static/tabbar/home-active.png +0 -0
  73. package/dist/build/h5/static/tabbar/home.png +0 -0
  74. package/dist/build/h5/static/tabbar/icons-active.png +0 -0
  75. package/dist/build/h5/static/tabbar/icons.png +0 -0
  76. package/dist/build/h5/static/tabbar/tools-active.png +0 -0
  77. package/dist/build/h5/static/tabbar/tools.png +0 -0
  78. package/dist/dev/.nvue/app.css.js +11 -0
  79. package/dist/dev/.nvue/app.js +2 -0
  80. package/dist/dev/.sourcemap/mp-weixin/app.js.map +1 -0
  81. package/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map +1 -0
  82. package/dist/dev/.sourcemap/mp-weixin/components/PrismAddressInput/PrismAddressInput.js.map +1 -0
  83. package/dist/dev/.sourcemap/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.js.map +1 -0
  84. package/dist/dev/.sourcemap/mp-weixin/components/PrismCityPicker/PrismCityPicker.js.map +1 -0
  85. package/dist/dev/.sourcemap/mp-weixin/components/PrismCitySelect/PrismCitySelect.js.map +1 -0
  86. package/dist/dev/.sourcemap/mp-weixin/components/PrismCode/PrismCode.js.map +1 -0
  87. package/dist/dev/.sourcemap/mp-weixin/components/PrismCodeInput/PrismCodeInput.js.map +1 -0
  88. package/dist/dev/.sourcemap/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.js.map +1 -0
  89. package/dist/dev/.sourcemap/mp-weixin/components/PrismDropdown/PrismDropdown.js.map +1 -0
  90. package/dist/dev/.sourcemap/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.js.map +1 -0
  91. package/dist/dev/.sourcemap/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.js.map +1 -0
  92. package/dist/dev/.sourcemap/mp-weixin/components/PrismIndexBar/PrismIndexBar.js.map +1 -0
  93. package/dist/dev/.sourcemap/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.js.map +1 -0
  94. package/dist/dev/.sourcemap/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.js.map +1 -0
  95. package/dist/dev/.sourcemap/mp-weixin/components/PrismNavBar/PrismNavBar.js.map +1 -0
  96. package/dist/dev/.sourcemap/mp-weixin/components/PrismSecureInput/PrismSecureInput.js.map +1 -0
  97. package/dist/dev/.sourcemap/mp-weixin/components/PrismSticky/PrismSticky.js.map +1 -0
  98. package/dist/dev/.sourcemap/mp-weixin/components/PrismSwiper/PrismSwiper.js.map +1 -0
  99. package/dist/dev/.sourcemap/mp-weixin/components/PrismSwitch/PrismSwitch.js.map +1 -0
  100. package/dist/dev/.sourcemap/mp-weixin/components/PrismTabBar/PrismTabBar.js.map +1 -0
  101. package/dist/dev/.sourcemap/mp-weixin/components/PrismTabs/PrismTabs.js.map +1 -0
  102. package/dist/dev/.sourcemap/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.js.map +1 -0
  103. package/dist/dev/.sourcemap/mp-weixin/composables/useNavbar.js.map +1 -0
  104. package/dist/dev/.sourcemap/mp-weixin/config/theme-colors.js.map +1 -0
  105. package/dist/dev/.sourcemap/mp-weixin/pages/demo/basic.js.map +1 -0
  106. package/dist/dev/.sourcemap/mp-weixin/pages/demo/card.js.map +1 -0
  107. package/dist/dev/.sourcemap/mp-weixin/pages/demo/code/index.js.map +1 -0
  108. package/dist/dev/.sourcemap/mp-weixin/pages/demo/colors.js.map +1 -0
  109. package/dist/dev/.sourcemap/mp-weixin/pages/demo/container.js.map +1 -0
  110. package/dist/dev/.sourcemap/mp-weixin/pages/demo/data.js.map +1 -0
  111. package/dist/dev/.sourcemap/mp-weixin/pages/demo/effects.js.map +1 -0
  112. package/dist/dev/.sourcemap/mp-weixin/pages/demo/feedback.js.map +1 -0
  113. package/dist/dev/.sourcemap/mp-weixin/pages/demo/form.js.map +1 -0
  114. package/dist/dev/.sourcemap/mp-weixin/pages/demo/layout/card-layout.js.map +1 -0
  115. package/dist/dev/.sourcemap/mp-weixin/pages/demo/layout.js.map +1 -0
  116. package/dist/dev/.sourcemap/mp-weixin/pages/demo/navigation.js.map +1 -0
  117. package/dist/dev/.sourcemap/mp-weixin/pages/demo/other.js.map +1 -0
  118. package/dist/dev/.sourcemap/mp-weixin/pages/demo/sticky/group.js.map +1 -0
  119. package/dist/dev/.sourcemap/mp-weixin/pages/demo/sticky/index.js.map +1 -0
  120. package/dist/dev/.sourcemap/mp-weixin/pages/examples/examples.js.map +1 -0
  121. package/dist/dev/.sourcemap/mp-weixin/pages/icons/icons.js.map +1 -0
  122. package/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map +1 -0
  123. package/dist/dev/.sourcemap/mp-weixin/pages/tools/tools.js.map +1 -0
  124. package/dist/dev/.sourcemap/mp-weixin/store/app.js.map +1 -0
  125. package/dist/dev/.sourcemap/mp-weixin/utils/lunar.js.map +1 -0
  126. package/dist/dev/.sourcemap/mp-weixin/utils/system.js.map +1 -0
  127. package/dist/dev/app-plus/__uniappautomator.js +16 -0
  128. package/dist/dev/app-plus/__uniappchooselocation.js +32 -0
  129. package/dist/dev/app-plus/__uniapperror.png +0 -0
  130. package/dist/dev/app-plus/__uniappopenlocation.js +32 -0
  131. package/dist/dev/app-plus/__uniapppicker.js +33 -0
  132. package/dist/dev/app-plus/__uniappquill.js +8 -0
  133. package/dist/dev/app-plus/__uniappquillimageresize.js +1 -0
  134. package/dist/dev/app-plus/__uniappscan.js +32 -0
  135. package/dist/dev/app-plus/__uniappsuccess.png +0 -0
  136. package/dist/dev/app-plus/__uniappview.html +24 -0
  137. package/dist/dev/app-plus/app-config-service.js +11 -0
  138. package/dist/dev/app-plus/app-config.js +1 -0
  139. package/dist/dev/app-plus/app-service.js +23663 -0
  140. package/dist/dev/app-plus/app.css +8955 -0
  141. package/dist/dev/app-plus/manifest.json +91 -0
  142. package/dist/dev/app-plus/pages/demo/basic.css +524 -0
  143. package/dist/dev/app-plus/pages/demo/code/index.css +541 -0
  144. package/dist/dev/app-plus/pages/demo/colors.css +4008 -0
  145. package/dist/dev/app-plus/pages/demo/container.css +524 -0
  146. package/dist/dev/app-plus/pages/demo/data.css +705 -0
  147. package/dist/dev/app-plus/pages/demo/effects.css +530 -0
  148. package/dist/dev/app-plus/pages/demo/feedback.css +590 -0
  149. package/dist/dev/app-plus/pages/demo/form.css +3422 -0
  150. package/dist/dev/app-plus/pages/demo/layout/card-layout.css +785 -0
  151. package/dist/dev/app-plus/pages/demo/layout.css +524 -0
  152. package/dist/dev/app-plus/pages/demo/navigation.css +769 -0
  153. package/dist/dev/app-plus/pages/demo/other.css +524 -0
  154. package/dist/dev/app-plus/pages/demo/sticky/group.css +788 -0
  155. package/dist/dev/app-plus/pages/demo/sticky/index.css +894 -0
  156. package/dist/dev/app-plus/pages/examples/examples.css +1031 -0
  157. package/dist/dev/app-plus/pages/icons/icons.css +3310 -0
  158. package/dist/dev/app-plus/pages/index/index.css +696 -0
  159. package/dist/dev/app-plus/pages/tools/tools.css +378 -0
  160. package/dist/dev/app-plus/static/fonts/all-icons.txt +453 -0
  161. package/dist/dev/app-plus/static/fonts/fa-brands-400.woff2 +0 -0
  162. package/dist/dev/app-plus/static/fonts/fa-regular-400.woff2 +0 -0
  163. package/dist/dev/app-plus/static/fonts/fa-solid-900.woff2 +0 -0
  164. package/dist/dev/app-plus/static/fonts/fa-v4compatibility.woff2 +0 -0
  165. package/dist/dev/app-plus/static/fonts/font-awesome.css +943 -0
  166. package/dist/dev/app-plus/static/fonts/iconfont.css +62 -0
  167. package/dist/dev/app-plus/static/fonts/iconfont.js +1 -0
  168. package/dist/dev/app-plus/static/fonts/iconfont.json +79 -0
  169. package/dist/dev/app-plus/static/fonts/iconfont.ttf +0 -0
  170. package/dist/dev/app-plus/static/fonts/iconfont.woff +0 -0
  171. package/dist/dev/app-plus/static/fonts/iconfont.woff2 +0 -0
  172. package/dist/dev/app-plus/static/fonts/icons-list.txt +453 -0
  173. package/dist/dev/app-plus/static/tabbar/examples-active.png +0 -0
  174. package/dist/dev/app-plus/static/tabbar/examples.png +0 -0
  175. package/dist/dev/app-plus/static/tabbar/home-active.png +0 -0
  176. package/dist/dev/app-plus/static/tabbar/home.png +0 -0
  177. package/dist/dev/app-plus/static/tabbar/icons-active.png +0 -0
  178. package/dist/dev/app-plus/static/tabbar/icons.png +0 -0
  179. package/dist/dev/app-plus/static/tabbar/tools-active.png +0 -0
  180. package/dist/dev/app-plus/static/tabbar/tools.png +0 -0
  181. package/dist/dev/app-plus/uni-app-view.umd.js +7 -0
  182. package/dist/dev/mp-weixin/app.js +49 -0
  183. package/dist/dev/mp-weixin/app.json +29 -0
  184. package/dist/dev/mp-weixin/app.wxss +9072 -0
  185. package/dist/dev/mp-weixin/common/vendor.js +15968 -0
  186. package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.js +200 -0
  187. package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.json +4 -0
  188. package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.wxml +1 -0
  189. package/dist/dev/mp-weixin/components/PrismAddressInput/PrismAddressInput.wxss +327 -0
  190. package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.js +449 -0
  191. package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.json +4 -0
  192. package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.wxml +1 -0
  193. package/dist/dev/mp-weixin/components/PrismCityCascadeSelect/PrismCityCascadeSelect.wxss +264 -0
  194. package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.js +531 -0
  195. package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.json +4 -0
  196. package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.wxml +1 -0
  197. package/dist/dev/mp-weixin/components/PrismCityPicker/PrismCityPicker.wxss +309 -0
  198. package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.js +200 -0
  199. package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.json +6 -0
  200. package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.wxml +1 -0
  201. package/dist/dev/mp-weixin/components/PrismCitySelect/PrismCitySelect.wxss +225 -0
  202. package/dist/dev/mp-weixin/components/PrismCode/PrismCode.js +337 -0
  203. package/dist/dev/mp-weixin/components/PrismCode/PrismCode.json +4 -0
  204. package/dist/dev/mp-weixin/components/PrismCode/PrismCode.wxml +1 -0
  205. package/dist/dev/mp-weixin/components/PrismCode/PrismCode.wxss +345 -0
  206. package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.js +70 -0
  207. package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.json +4 -0
  208. package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.wxml +1 -0
  209. package/dist/dev/mp-weixin/components/PrismCodeInput/PrismCodeInput.wxss +115 -0
  210. package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.js +468 -0
  211. package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.json +4 -0
  212. package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.wxml +1 -0
  213. package/dist/dev/mp-weixin/components/PrismDateTimePicker/PrismDateTimePicker.wxss +309 -0
  214. package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.js +63 -0
  215. package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.json +4 -0
  216. package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.wxml +1 -0
  217. package/dist/dev/mp-weixin/components/PrismDropdown/PrismDropdown.wxss +0 -0
  218. package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.js +128 -0
  219. package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.json +4 -0
  220. package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.wxml +1 -0
  221. package/dist/dev/mp-weixin/components/PrismGroupSticky/PrismGroupSticky.wxss +191 -0
  222. package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.js +123 -0
  223. package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.json +4 -0
  224. package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.wxml +1 -0
  225. package/dist/dev/mp-weixin/components/PrismIdCardInput/PrismIdCardInput.wxss +114 -0
  226. package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.js +108 -0
  227. package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.json +4 -0
  228. package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.wxml +1 -0
  229. package/dist/dev/mp-weixin/components/PrismIndexBar/PrismIndexBar.wxss +135 -0
  230. package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.js +449 -0
  231. package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.json +4 -0
  232. package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.wxml +1 -0
  233. package/dist/dev/mp-weixin/components/PrismLicensePlateInput/PrismLicensePlateInput.wxss +445 -0
  234. package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.js +200 -0
  235. package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.json +4 -0
  236. package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.wxml +1 -0
  237. package/dist/dev/mp-weixin/components/PrismMusicPlayer/PrismMusicPlayer.wxss +334 -0
  238. package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.js +71 -0
  239. package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.json +4 -0
  240. package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.wxml +1 -0
  241. package/dist/dev/mp-weixin/components/PrismNavBar/PrismNavBar.wxss +150 -0
  242. package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.js +140 -0
  243. package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.json +4 -0
  244. package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.wxml +1 -0
  245. package/dist/dev/mp-weixin/components/PrismSecureInput/PrismSecureInput.wxss +215 -0
  246. package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.js +120 -0
  247. package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.json +4 -0
  248. package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.wxml +1 -0
  249. package/dist/dev/mp-weixin/components/PrismSticky/PrismSticky.wxss +62 -0
  250. package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.js +163 -0
  251. package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.json +4 -0
  252. package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.wxml +1 -0
  253. package/dist/dev/mp-weixin/components/PrismSwiper/PrismSwiper.wxss +203 -0
  254. package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.js +69 -0
  255. package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.json +4 -0
  256. package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.wxml +1 -0
  257. package/dist/dev/mp-weixin/components/PrismSwitch/PrismSwitch.wxss +151 -0
  258. package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.js +58 -0
  259. package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.json +4 -0
  260. package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.wxml +1 -0
  261. package/dist/dev/mp-weixin/components/PrismTabBar/PrismTabBar.wxss +119 -0
  262. package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.js +51 -0
  263. package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.json +4 -0
  264. package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.wxml +1 -0
  265. package/dist/dev/mp-weixin/components/PrismTabs/PrismTabs.wxss +51 -0
  266. package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.js +182 -0
  267. package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.json +4 -0
  268. package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.wxml +1 -0
  269. package/dist/dev/mp-weixin/components/PrismVoiceInput/PrismVoiceInput.wxss +329 -0
  270. package/dist/dev/mp-weixin/composables/useNavbar.js +19 -0
  271. package/dist/dev/mp-weixin/config/theme-colors.js +73 -0
  272. package/dist/dev/mp-weixin/pages/demo/basic.js +77 -0
  273. package/dist/dev/mp-weixin/pages/demo/basic.json +7 -0
  274. package/dist/dev/mp-weixin/pages/demo/basic.wxml +1 -0
  275. package/dist/dev/mp-weixin/pages/demo/basic.wxss +54 -0
  276. package/dist/dev/mp-weixin/pages/demo/code/index.js +190 -0
  277. package/dist/dev/mp-weixin/pages/demo/code/index.json +7 -0
  278. package/dist/dev/mp-weixin/pages/demo/code/index.wxml +1 -0
  279. package/dist/dev/mp-weixin/pages/demo/code/index.wxss +71 -0
  280. package/dist/dev/mp-weixin/pages/demo/colors.js +130 -0
  281. package/dist/dev/mp-weixin/pages/demo/colors.json +7 -0
  282. package/dist/dev/mp-weixin/pages/demo/colors.wxml +1 -0
  283. package/dist/dev/mp-weixin/pages/demo/colors.wxss +3793 -0
  284. package/dist/dev/mp-weixin/pages/demo/container.js +65 -0
  285. package/dist/dev/mp-weixin/pages/demo/container.json +7 -0
  286. package/dist/dev/mp-weixin/pages/demo/container.wxml +1 -0
  287. package/dist/dev/mp-weixin/pages/demo/container.wxss +54 -0
  288. package/dist/dev/mp-weixin/pages/demo/data.js +398 -0
  289. package/dist/dev/mp-weixin/pages/demo/data.json +7 -0
  290. package/dist/dev/mp-weixin/pages/demo/data.wxml +1 -0
  291. package/dist/dev/mp-weixin/pages/demo/data.wxss +235 -0
  292. package/dist/dev/mp-weixin/pages/demo/effects.js +62 -0
  293. package/dist/dev/mp-weixin/pages/demo/effects.json +7 -0
  294. package/dist/dev/mp-weixin/pages/demo/effects.wxml +1 -0
  295. package/dist/dev/mp-weixin/pages/demo/effects.wxss +60 -0
  296. package/dist/dev/mp-weixin/pages/demo/feedback.js +256 -0
  297. package/dist/dev/mp-weixin/pages/demo/feedback.json +7 -0
  298. package/dist/dev/mp-weixin/pages/demo/feedback.wxml +1 -0
  299. package/dist/dev/mp-weixin/pages/demo/feedback.wxss +120 -0
  300. package/dist/dev/mp-weixin/pages/demo/form.js +689 -0
  301. package/dist/dev/mp-weixin/pages/demo/form.json +18 -0
  302. package/dist/dev/mp-weixin/pages/demo/form.wxml +1 -0
  303. package/dist/dev/mp-weixin/pages/demo/form.wxss +54 -0
  304. package/dist/dev/mp-weixin/pages/demo/layout/card-layout.js +61 -0
  305. package/dist/dev/mp-weixin/pages/demo/layout/card-layout.json +7 -0
  306. package/dist/dev/mp-weixin/pages/demo/layout/card-layout.wxml +1 -0
  307. package/dist/dev/mp-weixin/pages/demo/layout/card-layout.wxss +326 -0
  308. package/dist/dev/mp-weixin/pages/demo/layout.js +96 -0
  309. package/dist/dev/mp-weixin/pages/demo/layout.json +7 -0
  310. package/dist/dev/mp-weixin/pages/demo/layout.wxml +1 -0
  311. package/dist/dev/mp-weixin/pages/demo/layout.wxss +54 -0
  312. package/dist/dev/mp-weixin/pages/demo/navigation.js +142 -0
  313. package/dist/dev/mp-weixin/pages/demo/navigation.json +10 -0
  314. package/dist/dev/mp-weixin/pages/demo/navigation.wxml +1 -0
  315. package/dist/dev/mp-weixin/pages/demo/navigation.wxss +61 -0
  316. package/dist/dev/mp-weixin/pages/demo/other.js +50 -0
  317. package/dist/dev/mp-weixin/pages/demo/other.json +7 -0
  318. package/dist/dev/mp-weixin/pages/demo/other.wxml +1 -0
  319. package/dist/dev/mp-weixin/pages/demo/other.wxss +54 -0
  320. package/dist/dev/mp-weixin/pages/demo/sticky/group.js +212 -0
  321. package/dist/dev/mp-weixin/pages/demo/sticky/group.json +8 -0
  322. package/dist/dev/mp-weixin/pages/demo/sticky/group.wxml +1 -0
  323. package/dist/dev/mp-weixin/pages/demo/sticky/group.wxss +135 -0
  324. package/dist/dev/mp-weixin/pages/demo/sticky/index.js +90 -0
  325. package/dist/dev/mp-weixin/pages/demo/sticky/index.json +9 -0
  326. package/dist/dev/mp-weixin/pages/demo/sticky/index.wxml +1 -0
  327. package/dist/dev/mp-weixin/pages/demo/sticky/index.wxss +175 -0
  328. package/dist/dev/mp-weixin/pages/examples/examples.js +65 -0
  329. package/dist/dev/mp-weixin/pages/examples/examples.json +8 -0
  330. package/dist/dev/mp-weixin/pages/examples/examples.wxml +1 -0
  331. package/dist/dev/mp-weixin/pages/examples/examples.wxss +461 -0
  332. package/dist/dev/mp-weixin/pages/icons/icons.js +350 -0
  333. package/dist/dev/mp-weixin/pages/icons/icons.json +8 -0
  334. package/dist/dev/mp-weixin/pages/icons/icons.wxml +1 -0
  335. package/dist/dev/mp-weixin/pages/icons/icons.wxss +3079 -0
  336. package/dist/dev/mp-weixin/pages/index/index.js +118 -0
  337. package/dist/dev/mp-weixin/pages/index/index.json +8 -0
  338. package/dist/dev/mp-weixin/pages/index/index.wxml +1 -0
  339. package/dist/dev/mp-weixin/pages/index/index.wxss +123 -0
  340. package/dist/dev/mp-weixin/pages/tools/tools.js +37 -0
  341. package/dist/dev/mp-weixin/pages/tools/tools.json +7 -0
  342. package/dist/dev/mp-weixin/pages/tools/tools.wxml +1 -0
  343. package/dist/dev/mp-weixin/pages/tools/tools.wxss +134 -0
  344. package/dist/dev/mp-weixin/project.config.json +36 -0
  345. package/dist/dev/mp-weixin/project.private.config.json +23 -0
  346. package/dist/dev/mp-weixin/static/fonts/all-icons.txt +453 -0
  347. package/dist/dev/mp-weixin/static/fonts/fa-brands-400.woff2 +0 -0
  348. package/dist/dev/mp-weixin/static/fonts/fa-regular-400.woff2 +0 -0
  349. package/dist/dev/mp-weixin/static/fonts/fa-solid-900.woff2 +0 -0
  350. package/dist/dev/mp-weixin/static/fonts/fa-v4compatibility.woff2 +0 -0
  351. package/dist/dev/mp-weixin/static/fonts/font-awesome.css +943 -0
  352. package/dist/dev/mp-weixin/static/fonts/iconfont.css +62 -0
  353. package/dist/dev/mp-weixin/static/fonts/iconfont.js +1 -0
  354. package/dist/dev/mp-weixin/static/fonts/iconfont.json +79 -0
  355. package/dist/dev/mp-weixin/static/fonts/iconfont.ttf +0 -0
  356. package/dist/dev/mp-weixin/static/fonts/iconfont.woff +0 -0
  357. package/dist/dev/mp-weixin/static/fonts/iconfont.woff2 +0 -0
  358. package/dist/dev/mp-weixin/static/fonts/icons-list.txt +453 -0
  359. package/dist/dev/mp-weixin/static/tabbar/examples-active.png +0 -0
  360. package/dist/dev/mp-weixin/static/tabbar/examples.png +0 -0
  361. package/dist/dev/mp-weixin/static/tabbar/home-active.png +0 -0
  362. package/dist/dev/mp-weixin/static/tabbar/home.png +0 -0
  363. package/dist/dev/mp-weixin/static/tabbar/icons-active.png +0 -0
  364. package/dist/dev/mp-weixin/static/tabbar/icons.png +0 -0
  365. package/dist/dev/mp-weixin/static/tabbar/tools-active.png +0 -0
  366. package/dist/dev/mp-weixin/static/tabbar/tools.png +0 -0
  367. package/dist/dev/mp-weixin/store/app.js +64 -0
  368. package/dist/dev/mp-weixin/utils/lunar.js +330 -0
  369. package/dist/dev/mp-weixin/utils/system.js +18 -0
  370. package/dist/index.d.ts +26 -0
  371. package/dist/index.esm.js +33 -0
  372. package/dist/index.js +33 -0
  373. package/dist/prism-ui.css +7776 -0
  374. package/dist/prism-ui.min.css +1 -0
  375. package/dist/styles/base.scss +213 -0
  376. package/dist/styles/button.scss +120 -0
  377. package/dist/styles/card.scss +306 -0
  378. package/dist/styles/data.scss +1229 -0
  379. package/dist/styles/effects.scss +407 -0
  380. package/dist/styles/feedback.scss +698 -0
  381. package/dist/styles/form.scss +1574 -0
  382. package/dist/styles/index.scss +43 -0
  383. package/dist/styles/list.scss +184 -0
  384. package/dist/styles/navigation.scss +501 -0
  385. package/dist/styles/overlay.scss +182 -0
  386. package/dist/styles/utilities.scss +134 -0
  387. package/dist/styles/variables.scss +154 -0
  388. package/package.json +2 -5
  389. package/styles/base.scss +0 -1
  390. package/styles/card.scss +0 -1
  391. package/styles/colors.scss +0 -1
  392. package/styles/effects.scss +0 -1
  393. package/styles/form.scss +0 -1
  394. package/styles/index.scss +13 -13
  395. package/styles/navigation.scss +0 -1
  396. package/styles/variables.scss +1 -1
@@ -0,0 +1,135 @@
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 中定义 */
55
+ .demo-container {
56
+ height: calc(100vh - 240rpx);
57
+ overflow: hidden;
58
+ margin: 0 30rpx;
59
+ }
60
+ .code-float-bottom {
61
+ position: fixed;
62
+ left: 30rpx;
63
+ right: 30rpx;
64
+ bottom: calc(8rpx + env(safe-area-inset-bottom));
65
+ z-index: 100;
66
+ }
67
+ .group-index {
68
+ padding: 16rpx 24rpx;
69
+ background: var(--prism-bg-color, #F7F8FA);
70
+ font-size: 26rpx;
71
+ font-weight: 600;
72
+ color: var(--prism-text-secondary, #86909C);
73
+ position: sticky;
74
+ top: 0;
75
+ z-index: 10;
76
+ }
77
+ .group-item {
78
+ display: flex;
79
+ align-items: center;
80
+ padding: 24rpx;
81
+ background: var(--prism-bg-color-card, #FFFFFF);
82
+ border-bottom: 1rpx solid var(--prism-border-color-light, #F2F3F5);
83
+ }
84
+ .group-item:active {
85
+ background: var(--prism-bg-color, #F7F8FA);
86
+ }
87
+ .group-avatar {
88
+ width: 80rpx;
89
+ height: 80rpx;
90
+ border-radius: 50%;
91
+ background: rgba(52, 120, 246, 0.1);
92
+ color: var(--prism-primary-color, #3478F6);
93
+ display: flex;
94
+ align-items: center;
95
+ justify-content: center;
96
+ font-size: 32rpx;
97
+ font-weight: 600;
98
+ margin-right: 24rpx;
99
+ flex-shrink: 0;
100
+ }
101
+ .group-info {
102
+ flex: 1;
103
+ min-width: 0;
104
+ }
105
+ .group-title {
106
+ font-size: 30rpx;
107
+ font-weight: 500;
108
+ color: var(--prism-text-primary, #1D2129);
109
+ margin-bottom: 8rpx;
110
+ }
111
+ .group-desc {
112
+ font-size: 24rpx;
113
+ color: var(--prism-text-secondary, #86909C);
114
+ }
115
+ .dark-mode .group-index {
116
+ background: var(--prism-bg-color, #1A1A1A);
117
+ color: var(--prism-text-secondary, #A9AEB8);
118
+ }
119
+ .dark-mode .group-item {
120
+ background: var(--prism-bg-color-card, #242424);
121
+ border-bottom-color: rgba(255, 255, 255, 0.08);
122
+ }
123
+ .dark-mode .group-item:active {
124
+ background: var(--prism-bg-color, #1A1A1A);
125
+ }
126
+ .dark-mode .group-avatar {
127
+ background: rgba(52, 120, 246, 0.2);
128
+ color: var(--prism-primary-color, #3478F6);
129
+ }
130
+ .dark-mode .group-title {
131
+ color: var(--prism-text-primary, #E5E6EB);
132
+ }
133
+ .dark-mode .group-desc {
134
+ color: var(--prism-text-secondary, #A9AEB8);
135
+ }
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ const common_vendor = require("../../../common/vendor.js");
3
+ const store_app = require("../../../store/app.js");
4
+ const composables_useNavbar = require("../../../composables/useNavbar.js");
5
+ if (!Array) {
6
+ const _easycom_PrismNavBar2 = common_vendor.resolveComponent("PrismNavBar");
7
+ _easycom_PrismNavBar2();
8
+ }
9
+ const _easycom_PrismNavBar = () => "../../../components/PrismNavBar/PrismNavBar.js";
10
+ if (!Math) {
11
+ (_easycom_PrismNavBar + PrismSwiper + PrismSticky + PrismCode)();
12
+ }
13
+ const PrismSticky = () => "../../../components/PrismSticky/PrismSticky.js";
14
+ const PrismSwiper = () => "../../../components/PrismSwiper/PrismSwiper.js";
15
+ const PrismCode = () => "../../../components/PrismCode/PrismCode.js";
16
+ const _sfc_main = {
17
+ __name: "index",
18
+ setup(__props) {
19
+ const appStore = store_app.useAppStore();
20
+ const { navbarHeight } = composables_useNavbar.useNavbar();
21
+ const activeTab = common_vendor.ref(0);
22
+ const isGridView = common_vendor.ref(true);
23
+ function toggleViewMode() {
24
+ isGridView.value = !isGridView.value;
25
+ }
26
+ const bannerList = common_vendor.ref([
27
+ { image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/banner/1.jpg" },
28
+ { image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/banner/2.jpg" },
29
+ { image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/banner/3.jpg" },
30
+ { image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/banner/4.jpg" }
31
+ ]);
32
+ const products = [
33
+ { id: 1, title: "时尚休闲双肩包", desc: "大容量防水面料", price: "129.00", image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/product/p1.jpg" },
34
+ { id: 2, title: "简约商务手提包", desc: "头层牛皮材质", price: "299.00", image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/product/p2.jpg" },
35
+ { id: 3, title: "复古帆布斜挎包", desc: "文艺范十足", price: "89.00", image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/product/p3.jpg" },
36
+ { id: 4, title: "运动健身背包", desc: "透气网面设计", price: "159.00", image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/product/p4.jpg" },
37
+ { id: 5, title: "迷你链条小包", desc: "精致小巧百搭", price: "199.00", image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/product/p5.jpg" },
38
+ { id: 6, title: "大容量旅行包", desc: "出行必备神器", price: "259.00", image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/product/p6.jpg" },
39
+ { id: 7, title: "学生书包双肩包", desc: "减负护脊设计", price: "149.00", image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/product/p7.jpg" },
40
+ { id: 8, title: "女士手拿包", desc: "优雅气质之选", price: "179.00", image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/product/p8.jpg" },
41
+ { id: 9, title: "男士公文包", desc: "商务精英首选", price: "399.00", image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/product/p9.jpg" },
42
+ { id: 10, title: "户外登山包", desc: "专业户外装备", price: "329.00", image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/product/p10.jpg" }
43
+ ];
44
+ return (_ctx, _cache) => {
45
+ return {
46
+ a: common_vendor.p({
47
+ title: "Sticky 吸顶",
48
+ icon: "fa-anchor",
49
+ ["icon-color"]: "blue",
50
+ ["show-back"]: true
51
+ }),
52
+ b: common_vendor.p({
53
+ list: bannerList.value,
54
+ height: "300rpx",
55
+ radius: "0"
56
+ }),
57
+ c: activeTab.value === 0 ? 1 : "",
58
+ d: common_vendor.o(($event) => activeTab.value = 0),
59
+ e: activeTab.value === 1 ? 1 : "",
60
+ f: common_vendor.o(($event) => activeTab.value = 1),
61
+ g: activeTab.value === 2 ? 1 : "",
62
+ h: common_vendor.o(($event) => activeTab.value = 2),
63
+ i: activeTab.value === 3 ? 1 : "",
64
+ j: common_vendor.o(($event) => activeTab.value = 3),
65
+ k: common_vendor.n(isGridView.value ? "fa-list" : "fa-table-cells"),
66
+ l: common_vendor.o(toggleViewMode),
67
+ m: common_vendor.p({
68
+ ["nav-height"]: common_vendor.unref(navbarHeight)
69
+ }),
70
+ n: common_vendor.p({
71
+ code: "<PrismSticky>内容</PrismSticky>"
72
+ }),
73
+ o: common_vendor.f(products, (item, k0, i0) => {
74
+ return {
75
+ a: item.image,
76
+ b: common_vendor.t(item.title),
77
+ c: common_vendor.t(item.desc),
78
+ d: common_vendor.t(item.price),
79
+ e: item.id
80
+ };
81
+ }),
82
+ p: !isGridView.value ? 1 : "",
83
+ q: common_vendor.unref(navbarHeight) + "px",
84
+ r: common_vendor.unref(appStore).isDarkMode ? 1 : ""
85
+ };
86
+ };
87
+ }
88
+ };
89
+ wx.createPage(_sfc_main);
90
+ //# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/demo/sticky/index.js.map
@@ -0,0 +1,9 @@
1
+ {
2
+ "navigationStyle": "custom",
3
+ "usingComponents": {
4
+ "prism-nav-bar": "../../../components/PrismNavBar/PrismNavBar",
5
+ "prism-sticky": "../../../components/PrismSticky/PrismSticky",
6
+ "prism-swiper": "../../../components/PrismSwiper/PrismSwiper",
7
+ "prism-code": "../../../components/PrismCode/PrismCode"
8
+ }
9
+ }
@@ -0,0 +1 @@
1
+ <view class="{{['prism-page', r && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="2bf10e6a-0" bind:__l="__l" u-p="{{a}}"/><view class="prism-main" style="{{'padding-top:' + q}}"><prism-swiper wx:if="{{b}}" u-i="2bf10e6a-1" bind:__l="__l" u-p="{{b}}"/><prism-sticky wx:if="{{m}}" u-s="{{['d']}}" u-i="2bf10e6a-2" bind:__l="__l" u-p="{{m}}"><view class="sticky-tabs-wrapper"><view class="prism-tabs"><view class="{{['tab-item', c && 'active']}}" bindtap="{{d}}">综合</view><view class="{{['tab-item', e && 'active']}}" bindtap="{{f}}">销量</view><view class="{{['tab-item', g && 'active']}}" bindtap="{{h}}">价格</view><view class="{{['tab-item', i && 'active']}}" bindtap="{{j}}">新品</view></view><view class="view-toggle" bindtap="{{l}}"><text class="{{['fa', k]}}"></text></view></view></prism-sticky><view class="p-_a_10rpx_a_"><prism-code wx:if="{{n}}" u-i="2bf10e6a-3" bind:__l="__l" u-p="{{n}}"/></view><view class="{{['demo-content', p && 'list-view']}}"><view wx:for="{{o}}" wx:for-item="item" wx:key="e" class="product-item"><image class="product-image" src="{{item.a}}" mode="aspectFill"/><view class="product-info"><view class="product-title">{{item.b}}</view><view class="product-desc">{{item.c}}</view><view class="product-footer"><view class="product-price">¥{{item.d}}</view><view class="product-btn">购买</view></view></view></view></view><view class="prism-safe-area-bottom"></view></view></view>
@@ -0,0 +1,175 @@
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 中定义 */
55
+ /* 覆盖页面容器样式,让 sticky 正常工作 */
56
+ .prism-page {
57
+ height: auto;
58
+ overflow: visible;
59
+ }
60
+ .prism-main {
61
+ height: auto;
62
+ min-height: 100vh;
63
+ overflow: visible;
64
+ }
65
+ .sticky-tabs-wrapper {
66
+ padding: 20rpx 30rpx;
67
+ background: var(--prism-bg-color-card, #fff);
68
+ display: flex;
69
+ align-items: center;
70
+ justify-content: space-between;
71
+ }
72
+ .dark-mode .sticky-tabs-wrapper {
73
+ background: var(--prism-bg-color-card, #242424);
74
+ }
75
+ .sticky-tabs-wrapper .prism-tabs {
76
+ margin-bottom: 0;
77
+ flex: 1;
78
+ }
79
+ .view-toggle {
80
+ width: 60rpx;
81
+ height: 60rpx;
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+ color: var(--prism-text-secondary, #86909C);
86
+ font-size: 36rpx;
87
+ }
88
+ .view-toggle:active {
89
+ opacity: 0.7;
90
+ }
91
+ .demo-content {
92
+ padding: 20rpx;
93
+ display: grid;
94
+ grid-template-columns: repeat(2, 1fr);
95
+ gap: 20rpx;
96
+ transition: all 0.3s ease;
97
+ /* 列表视图 */
98
+ }
99
+ .demo-content.list-view {
100
+ grid-template-columns: 1fr;
101
+ }
102
+ .demo-content.list-view .product-item {
103
+ display: flex;
104
+ flex-direction: row;
105
+ }
106
+ .demo-content.list-view .product-image {
107
+ width: 200rpx;
108
+ height: 200rpx;
109
+ flex-shrink: 0;
110
+ }
111
+ .demo-content.list-view .product-info {
112
+ flex: 1;
113
+ display: flex;
114
+ flex-direction: column;
115
+ justify-content: center;
116
+ }
117
+ .product-item {
118
+ background: var(--prism-bg-color-card, #FFFFFF);
119
+ border-radius: 12rpx;
120
+ overflow: hidden;
121
+ }
122
+ .product-item:active {
123
+ opacity: 0.9;
124
+ }
125
+ .dark-mode .product-item {
126
+ background: var(--prism-bg-color-card, #242424);
127
+ }
128
+ .product-image {
129
+ width: 100%;
130
+ height: 280rpx;
131
+ background: var(--prism-bg-color, #F7F8FA);
132
+ }
133
+ .dark-mode .product-image {
134
+ background: var(--prism-bg-color, #1A1A1A);
135
+ }
136
+ .product-info {
137
+ padding: 20rpx;
138
+ }
139
+ .product-title {
140
+ font-size: 28rpx;
141
+ font-weight: 500;
142
+ color: var(--prism-text-primary, #1D2129);
143
+ margin-bottom: 8rpx;
144
+ overflow: hidden;
145
+ text-overflow: ellipsis;
146
+ white-space: nowrap;
147
+ }
148
+ .dark-mode .product-title {
149
+ color: var(--prism-text-primary, #E5E6EB);
150
+ }
151
+ .product-desc {
152
+ font-size: 22rpx;
153
+ color: var(--prism-text-secondary, #86909C);
154
+ margin-bottom: 16rpx;
155
+ overflow: hidden;
156
+ text-overflow: ellipsis;
157
+ white-space: nowrap;
158
+ }
159
+ .product-footer {
160
+ display: flex;
161
+ align-items: center;
162
+ justify-content: space-between;
163
+ }
164
+ .product-price {
165
+ font-size: 32rpx;
166
+ font-weight: 700;
167
+ color: var(--prism-danger-color, #F53F3F);
168
+ }
169
+ .product-btn {
170
+ padding: 8rpx 24rpx;
171
+ background: var(--prism-primary-color, #3478F6);
172
+ color: #FFFFFF;
173
+ border-radius: 20rpx;
174
+ font-size: 24rpx;
175
+ }
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ const common_vendor = require("../../common/vendor.js");
3
+ const store_app = require("../../store/app.js");
4
+ const composables_useNavbar = require("../../composables/useNavbar.js");
5
+ if (!Array) {
6
+ const _easycom_PrismNavBar2 = common_vendor.resolveComponent("PrismNavBar");
7
+ const _easycom_PrismMusicPlayer2 = common_vendor.resolveComponent("PrismMusicPlayer");
8
+ const _easycom_PrismTabBar2 = common_vendor.resolveComponent("PrismTabBar");
9
+ (_easycom_PrismNavBar2 + _easycom_PrismMusicPlayer2 + _easycom_PrismTabBar2)();
10
+ }
11
+ const _easycom_PrismNavBar = () => "../../components/PrismNavBar/PrismNavBar.js";
12
+ const _easycom_PrismMusicPlayer = () => "../../components/PrismMusicPlayer/PrismMusicPlayer.js";
13
+ const _easycom_PrismTabBar = () => "../../components/PrismTabBar/PrismTabBar.js";
14
+ if (!Math) {
15
+ (_easycom_PrismNavBar + _easycom_PrismMusicPlayer + _easycom_PrismTabBar)();
16
+ }
17
+ const COVER_BASE = "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/music/covers/";
18
+ const _sfc_main = {
19
+ __name: "examples",
20
+ setup(__props) {
21
+ const appStore = store_app.useAppStore();
22
+ const { navbarHeight } = composables_useNavbar.useNavbar();
23
+ const musicSongs = {
24
+ "放松舒缓": [
25
+ { name: "01.僕は帰ろう", file: "http://music.ruixinkeji.com/1.mp3", cover: COVER_BASE + "僕は帰ろう.jpg", album: "1Y Music 大自然轻音乐/最好听" },
26
+ { name: "05.優しさは風のように", file: "http://music.ruixinkeji.com/5.mp3", cover: COVER_BASE + "優しさは風のように.jpg", album: "妹尾武 - 優しさは風のように" },
27
+ { name: "木兰诗", file: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/docs/Mulan_Poem.mp3", album: "古诗词吟唱" }
28
+ ],
29
+ "专注冥想": [
30
+ { name: "02.Yuunagi", file: "http://music.ruixinkeji.com/2.mp3", cover: COVER_BASE + "Yuunagi.jpg", album: "Paniyolo - Yuunagi" },
31
+ { name: "06.Music for Dreaming", file: "http://music.ruixinkeji.com/6.mp3", cover: COVER_BASE + "Music for Dreaming.jpg", album: "PianoPeace - Music for Dreaming" }
32
+ ],
33
+ "情绪提振": [
34
+ { name: "03.风の诗", file: "http://music.ruixinkeji.com/3.mp3", cover: COVER_BASE + "风の诗.jpg", album: "神山純一 - 风の诗" },
35
+ { name: "07.Memory Lane", file: "http://music.ruixinkeji.com/7.mp3", cover: COVER_BASE + "Memory Lane.jpg", album: "yutaka hirasaka - Memory Lane" },
36
+ { name: "09.南国之舞", file: "http://music.ruixinkeji.com/9.mp3", cover: COVER_BASE + "南国之舞.jpg", album: "梁翘柏 - 南国之舞" }
37
+ ],
38
+ "助眠安神": [
39
+ { name: "04.Inside the Hut", file: "http://music.ruixinkeji.com/4.mp3", cover: COVER_BASE + "Inside the Hut.jpg", album: "陈越龙 - Inside the Hut" },
40
+ { name: "08.Respite", file: "http://music.ruixinkeji.com/8.mp3", cover: COVER_BASE + "Respite.jpg", album: "Ólafur Arnalds - Respite" }
41
+ ]
42
+ };
43
+ return (_ctx, _cache) => {
44
+ return {
45
+ a: common_vendor.p({
46
+ title: "案例",
47
+ icon: "fa-layer-group",
48
+ ["icon-color"]: "green"
49
+ }),
50
+ b: common_vendor.p({
51
+ title: "疗愈音乐",
52
+ songs: musicSongs,
53
+ ["is-dark-mode"]: common_vendor.unref(appStore).isDarkMode
54
+ }),
55
+ c: common_vendor.unref(navbarHeight) + "px",
56
+ d: common_vendor.p({
57
+ current: "/pages/examples/examples"
58
+ }),
59
+ e: common_vendor.unref(appStore).isDarkMode ? 1 : ""
60
+ };
61
+ };
62
+ }
63
+ };
64
+ wx.createPage(_sfc_main);
65
+ //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/examples/examples.js.map
@@ -0,0 +1,8 @@
1
+ {
2
+ "navigationStyle": "custom",
3
+ "usingComponents": {
4
+ "prism-nav-bar": "../../components/PrismNavBar/PrismNavBar",
5
+ "prism-music-player": "../../components/PrismMusicPlayer/PrismMusicPlayer",
6
+ "prism-tab-bar": "../../components/PrismTabBar/PrismTabBar"
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ <view class="{{['prism-page', e && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="21e19ec2-0" bind:__l="__l" u-p="{{a}}"/><scroll-view class="prism-main" scroll-y style="{{'padding-top:' + c}}"><view class="example-section"><view class="section-title">精选案例</view><view class="example-grid"><view class="example-card" style="background:linear-gradient(135deg, #667eea 0%, #764ba2 100%)"><view class="card-cover"><text class="fa fa-lock"></text></view><view class="card-content"><text class="card-title">登录页面</text><text class="card-desc">玻璃态登录表单设计</text></view></view><view class="example-card" style="background:linear-gradient(135deg, #f093fb 0%, #f5576c 100%)"><view class="card-cover"><text class="fa fa-user"></text></view><view class="card-content"><text class="card-title">个人中心</text><text class="card-desc">用户信息展示页面</text></view></view><view class="example-card" style="background:linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)"><view class="card-cover"><text class="fa fa-chart-line"></text></view><view class="card-content"><text class="card-title">数据看板</text><text class="card-desc">数据统计可视化</text></view></view><view class="example-card" style="background:linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)"><view class="card-cover"><text class="fa fa-bag-shopping"></text></view><view class="card-content"><text class="card-title">商品列表</text><text class="card-desc">电商商品展示</text></view></view></view></view><view class="example-section"><view class="section-title">快速开始</view><view class="quick-actions-grid"><view class="quick-action-card cyan-gradient"><view class="action-icon-wrapper"><text class="fa fa-comments action-icon"></text></view><text class="action-title">聊天界面</text><text class="action-desc">即时通讯聊天</text></view><view class="quick-action-card orange-gradient"><view class="action-icon-wrapper"><text class="fa fa-bell action-icon"></text></view><text class="action-title">消息中心</text><text class="action-desc">通知消息列表</text></view><view class="quick-action-card green-gradient"><view class="action-icon-wrapper"><text class="fa fa-gear action-icon"></text></view><text class="action-title">设置页面</text><text class="action-desc">应用设置选项</text></view><view class="quick-action-card purple-gradient"><view class="action-icon-wrapper"><text class="fa fa-magnifying-glass action-icon"></text></view><text class="action-title">搜索页面</text><text class="action-desc">搜索与筛选功能</text></view></view></view><view class="example-section"><view class="section-title">快速功能</view><view class="quick-grid"><view class="quick-card"><view class="prism-icon cyan"><text class="fa fa-camera"></text></view><text class="quick-title">拍照上传</text></view><view class="quick-card"><view class="prism-icon orange"><text class="fa fa-qrcode"></text></view><text class="quick-title">扫一扫</text></view><view class="quick-card"><view class="prism-icon green"><text class="fa fa-location-dot"></text></view><text class="quick-title">定位签到</text></view><view class="quick-card"><view class="prism-icon purple"><text class="fa fa-share-nodes"></text></view><text class="quick-title">分享</text></view></view></view><view class="example-section"><view class="section-title">任务入口</view><view class="task-actions-grid"><view class="task-action-card primary-gradient"><view class="task-icon-wrapper"><text class="fa fa-plus task-icon"></text></view><text class="task-title">创建任务</text><text class="task-desc">新建施工、采购或验收任务</text></view><view class="task-action-card pink-gradient"><view class="task-icon-wrapper"><text class="fa fa-list-check task-icon"></text></view><text class="task-title">我的任务</text><text class="task-desc">查看分配给我的所有任务</text></view></view></view><view class="example-section"><view class="section-title">项目视图</view><view class="view-cards-grid"><view class="view-card"><view class="view-icon" style="background:rgba(52, 120, 246, 0.15)"><text class="fa fa-table" style="color:#3478F6"></text></view><text class="view-title">项目报表</text><text class="view-desc">数据统计与分析</text></view><view class="view-card"><view class="view-icon" style="background:rgba(0, 180, 42, 0.15)"><text class="fa fa-map" style="color:#00B42A"></text></view><text class="view-title">地图视图</text><text class="view-desc">项目地理分布</text></view><view class="view-card"><view class="view-icon" style="background:rgba(255, 125, 0, 0.15)"><text class="fa fa-filter" style="color:#FF7D00"></text></view><text class="view-title">数据筛选</text><text class="view-desc">多维度筛选查询</text></view><view class="view-card"><view class="view-icon" style="background:rgba(114, 46, 209, 0.15)"><text class="fa fa-calendar" style="color:#722ED1"></text></view><text class="view-title">日历视图</text><text class="view-desc">项目日程安排</text></view></view></view><view class="example-section"><view class="section-title">项目配置</view><view class="config-cards-grid"><view class="config-card"><view class="config-icon" style="background:rgba(52, 120, 246, 0.15)"><text class="fa fa-bars" style="color:#3478F6"></text></view><text class="config-title">阶段配置</text><text class="config-desc">项目阶段管理</text></view><view class="config-card"><view class="config-icon" style="background:rgba(0, 180, 42, 0.15)"><text class="fa fa-file-lines" style="color:#00B42A"></text></view><text class="config-title">项目模板</text><text class="config-desc">项目模板管理</text></view><view class="config-card"><view class="config-icon" style="background:rgba(255, 125, 0, 0.15)"><text class="fa fa-list" style="color:#FF7D00"></text></view><text class="config-title">任务模板</text><text class="config-desc">任务模板管理</text></view></view></view><view class="example-section"><view class="section-title">音乐播放器</view><prism-music-player wx:if="{{b}}" u-i="21e19ec2-1" bind:__l="__l" u-p="{{b}}"/></view><view class="prism-bottom-placeholder"></view></scroll-view><prism-tab-bar wx:if="{{d}}" u-i="21e19ec2-2" bind:__l="__l" u-p="{{d}}"/></view>