@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 @@
1
+ <view class="{{['prism-page', o && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="6b618909-0" bind:__l="__l" u-p="{{a}}"/><scroll-view class="prism-main" scroll-y style="{{'padding-top:' + n}}"><view class="prism-section"><view class="section-title">布局组件</view><view class="flex flex-col gap-_a_16rpx_a_"><view class="prism-list-item" bindtap="{{b}}"><view class="list-item-icon prism-icon blue round"><text class="fa fa-anchor"></text></view><view class="list-item-content"><text class="list-item-title">Sticky 吸顶</text><text class="list-item-desc">通用吸顶组件</text></view><text class="fa fa-angle-right list-item-arrow"></text></view><view class="prism-list-item" bindtap="{{c}}"><view class="list-item-icon prism-icon green"><text class="fa fa-list"></text></view><view class="list-item-content"><text class="list-item-title">GroupSticky 分组吸顶</text><text class="list-item-desc">分组吸顶,支持索引条</text></view><text class="fa fa-angle-right list-item-arrow"></text></view><view class="prism-list-item" bindtap="{{d}}"><view class="list-item-icon prism-icon violet"><text class="fa fa-id-card"></text></view><view class="list-item-content"><text class="list-item-title">卡片案例</text><text class="list-item-desc">多种卡片布局展示</text></view><text class="fa fa-angle-right list-item-arrow"></text></view></view></view><view class="prism-section"><view class="section-title">Section 区块</view><view class="section-desc">页面区块容器,透明背景,用于分组内容</view><view class="prism-card glass p-_a_20rpx_a_"><text class="prism-text-secondary">prism-section 包含 section-title、section-desc 和内容</text><prism-code wx:if="{{e}}" u-i="6b618909-1" bind:__l="__l" u-p="{{e}}"/></view></view><view class="prism-section"><view class="section-title">Flex 布局</view><view class="prism-card glass p-_a_20rpx_a_"><view class="flex flex-row mb-_a_20rpx_a_ gap-_a_20rpx_a_"><view class="prism-icon blue solid sm">1</view><view class="prism-icon blue solid sm">2</view><view class="prism-icon blue solid sm">3</view></view><text class="prism-text-placeholder">flex-row 水平排列</text><prism-code wx:if="{{f}}" u-i="6b618909-2" bind:__l="__l" u-p="{{f}}"/></view><view class="prism-card glass p-_a_20rpx_a_ mt-_a_20rpx_a_"><view class="flex flex-col mb-_a_20rpx_a_ gap-_a_20rpx_a_"><view class="prism-icon blue solid sm">1</view><view class="prism-icon blue solid sm">2</view></view><text class="prism-text-placeholder">flex-col 垂直排列</text><prism-code wx:if="{{g}}" u-i="6b618909-3" bind:__l="__l" u-p="{{g}}"/></view></view><view class="prism-section"><view class="section-title">间距</view><view class="prism-card glass flex flex-col gap-_a_16rpx_a_"><view class="p-_a_10rpx_a_ prism-bg-blue-light" style="border-radius:8rpx"><text class="prism-text-secondary">p-_a_10rpx_a_</text></view><view class="p-_a_20rpx_a_ prism-bg-blue-light" style="border-radius:8rpx"><text class="prism-text-secondary">p-_a_20rpx_a_</text></view><view class="p-_a_30rpx_a_ prism-bg-blue-light" style="border-radius:8rpx"><text class="prism-text-secondary">p-_a_30rpx_a_</text></view><prism-code wx:if="{{h}}" u-i="6b618909-4" bind:__l="__l" u-p="{{h}}"/></view></view><view class="prism-section"><view class="section-title">SafeArea 安全区</view><view class="prism-card glass p-_a_20rpx_a_"><text class="prism-text-secondary">底部安全区用于适配全面屏手机</text><prism-code wx:if="{{i}}" u-i="6b618909-5" bind:__l="__l" u-p="{{i}}"/></view></view><view class="prism-section"><view class="section-title">SectionHeader 区块头部</view><view class="prism-section-header"><text class="prism-section-title">最近项目</text><view class="prism-more-link"><text class="more-text">查看更多</text><text class="more-icon fa fa-angle-right"></text></view></view><view class="prism-card glass"><view class="p-_a_30rpx_a_"><text class="prism-text-secondary">这里是内容区域</text></view></view><prism-code wx:if="{{j}}" u-i="6b618909-6" bind:__l="__l" u-p="{{j}}"/></view><view class="prism-section"><view class="section-title">Grid 宫格</view><view class="subsection-title">prism-quick-actions (固定4列,用于快捷入口)</view><view class="prism-card glass prism-quick-actions"><view wx:for="{{k}}" wx:for-item="item" wx:key="f" class="quick-item"><view class="{{['quick-icon', 'prism-icon', item.b]}}"><text class="{{['fa', item.a]}}"></text></view><text class="quick-text">{{item.c}}</text><view wx:if="{{item.d}}" class="prism-number-badge">{{item.e}}</view></view></view><view class="subsection-title mt-_a_20rpx_a_">prism-grid (可配置列数,通用宫格)</view><view class="prism-grid col-4 glass"><view wx:for="{{l}}" wx:for-item="item" wx:key="f" class="grid-item"><view class="{{['prism-icon', item.b]}}"><text class="{{['fa', item.a]}}"></text></view><text class="grid-label">{{item.c}}</text><view wx:if="{{item.d}}" class="prism-number-badge">{{item.e}}</view></view></view><prism-code wx:if="{{m}}" u-i="6b618909-7" bind:__l="__l" u-p="{{m}}"/></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,142 @@
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 + PrismTabs + PrismDropdown + PrismSwiper)();
11
+ }
12
+ const PrismCode = () => "../../components/PrismCode/PrismCode.js";
13
+ const PrismDropdown = () => "../../components/PrismDropdown/PrismDropdown.js";
14
+ const PrismSwiper = () => "../../components/PrismSwiper/PrismSwiper.js";
15
+ const PrismTabs = () => "../../components/PrismTabs/PrismTabs.js";
16
+ const _sfc_main = {
17
+ __name: "navigation",
18
+ setup(__props) {
19
+ const appStore = store_app.useAppStore();
20
+ const navbarHeight = common_vendor.computed(() => {
21
+ return appStore.statusBarHeight + 44;
22
+ });
23
+ const activeTab = common_vendor.ref(0);
24
+ const activeCapsule = common_vendor.ref(0);
25
+ const chromeTab = common_vendor.ref(0);
26
+ const lineTabs = ["全部", "进行中", "已完成"];
27
+ const chromeTabs = ["我创建的", "我参与的"];
28
+ const swiperList = common_vendor.ref([
29
+ { image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/banner/1.jpg" },
30
+ { image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/banner/2.jpg" },
31
+ { image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/banner/3.jpg" },
32
+ { image: "https://ruixinkeji.oss-cn-hangzhou.aliyuncs.com/awesome/prism-ui/banner/4.jpg" }
33
+ ]);
34
+ const dropdownMenus = common_vendor.ref([
35
+ {
36
+ title: "排序",
37
+ value: "综合排序",
38
+ options: ["综合排序", "销量优先", "价格从低到高", "价格从高到低"]
39
+ },
40
+ {
41
+ title: "分类",
42
+ value: "全部分类",
43
+ options: ["全部分类", "手机数码", "电脑办公", "家用电器", "服饰鞋包", "美妆护肤"]
44
+ }
45
+ ]);
46
+ function onDropdownChange({ index, value, menu }) {
47
+ common_vendor.index.__f__("log", "at pages/demo/navigation.vue:258", "下拉菜单变化:", index, value);
48
+ }
49
+ return (_ctx, _cache) => {
50
+ return {
51
+ a: common_vendor.p({
52
+ title: "导航组件",
53
+ icon: "fa-compass",
54
+ ["icon-color"]: "green",
55
+ ["show-back"]: true
56
+ }),
57
+ b: common_vendor.p({
58
+ code: "<PrismNavBar title='标题' icon='fa-xxx' />"
59
+ }),
60
+ c: common_vendor.o(($event) => activeTab.value = $event),
61
+ d: common_vendor.p({
62
+ tabs: lineTabs,
63
+ type: "line",
64
+ modelValue: activeTab.value
65
+ }),
66
+ e: common_vendor.p({
67
+ code: "<PrismTabs v-model='active' :tabs='tabs' type='line' />"
68
+ }),
69
+ f: activeCapsule.value === 0 ? 1 : "",
70
+ g: common_vendor.o(($event) => activeCapsule.value = 0),
71
+ h: activeCapsule.value === 1 ? 1 : "",
72
+ i: common_vendor.o(($event) => activeCapsule.value = 1),
73
+ j: activeCapsule.value === 2 ? 1 : "",
74
+ k: common_vendor.o(($event) => activeCapsule.value = 2),
75
+ l: activeCapsule.value === 3 ? 1 : "",
76
+ m: common_vendor.o(($event) => activeCapsule.value = 3),
77
+ n: common_vendor.p({
78
+ code: "prism-capsule-tabs > prism-capsule-tab.active"
79
+ }),
80
+ o: common_vendor.p({
81
+ code: "prism-steps > prism-step--finished/process/wait"
82
+ }),
83
+ p: common_vendor.p({
84
+ code: "prism-breadcrumb > prism-breadcrumb__item"
85
+ }),
86
+ q: common_vendor.p({
87
+ code: "<PrismTabs v-model='active' :tabs='tabs' type='chrome' />"
88
+ }),
89
+ r: common_vendor.o(($event) => chromeTab.value = $event),
90
+ s: common_vendor.p({
91
+ tabs: chromeTabs,
92
+ type: "chrome",
93
+ modelValue: chromeTab.value
94
+ }),
95
+ t: common_vendor.o(onDropdownChange),
96
+ v: common_vendor.p({
97
+ menus: dropdownMenus.value
98
+ }),
99
+ w: common_vendor.p({
100
+ code: "<PrismDropdown :menus='menus' @change='onChange' />"
101
+ }),
102
+ x: common_vendor.p({
103
+ code: "prism-menu-list > menu-item > menu-icon.prism-icon.{color}"
104
+ }),
105
+ y: common_vendor.p({
106
+ list: swiperList.value,
107
+ height: "300rpx",
108
+ indicatorType: "dots",
109
+ ["is-dark-mode"]: common_vendor.unref(appStore).isDarkMode
110
+ }),
111
+ z: common_vendor.p({
112
+ list: swiperList.value,
113
+ height: "300rpx",
114
+ indicatorType: "number",
115
+ ["is-dark-mode"]: common_vendor.unref(appStore).isDarkMode
116
+ }),
117
+ A: common_vendor.p({
118
+ list: swiperList.value,
119
+ height: "300rpx",
120
+ indicatorType: "thumbnails",
121
+ ["is-dark-mode"]: common_vendor.unref(appStore).isDarkMode
122
+ }),
123
+ B: common_vendor.p({
124
+ list: swiperList.value,
125
+ height: "300rpx",
126
+ displayMode: "preview",
127
+ previousMargin: "60rpx",
128
+ nextMargin: "60rpx",
129
+ indicatorType: "dots",
130
+ ["is-dark-mode"]: common_vendor.unref(appStore).isDarkMode
131
+ }),
132
+ C: common_vendor.p({
133
+ code: "<PrismSwiper :list='list' height='300rpx' indicatorType='dots|number|thumbnails|accordion' displayMode='preview' />"
134
+ }),
135
+ D: navbarHeight.value + "px",
136
+ E: common_vendor.unref(appStore).isDarkMode ? 1 : ""
137
+ };
138
+ };
139
+ }
140
+ };
141
+ wx.createPage(_sfc_main);
142
+ //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/demo/navigation.js.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "navigationStyle": "custom",
3
+ "usingComponents": {
4
+ "prism-nav-bar": "../../components/PrismNavBar/PrismNavBar",
5
+ "prism-code": "../../components/PrismCode/PrismCode",
6
+ "prism-dropdown": "../../components/PrismDropdown/PrismDropdown",
7
+ "prism-swiper": "../../components/PrismSwiper/PrismSwiper",
8
+ "prism-tabs": "../../components/PrismTabs/PrismTabs"
9
+ }
10
+ }
@@ -0,0 +1 @@
1
+ <view class="{{['prism-page', E && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="4340d11a-0" bind:__l="__l" u-p="{{a}}"/><scroll-view class="prism-main" scroll-y style="{{'padding-top:' + D}}"><view class="prism-section"><view class="section-title">NavBar 导航栏</view><view class="prism-card"><view class="card-title">基础用法</view><text class="prism-text-secondary">当前页面顶部即为 PrismNavBar 组件</text><prism-code wx:if="{{b}}" u-i="4340d11a-1" bind:__l="__l" u-p="{{b}}"/></view></view><view class="prism-section"><view class="section-title">Tabs 标签页</view><view class="prism-card"><view class="card-title">基础用法</view><prism-tabs wx:if="{{d}}" u-i="4340d11a-2" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/><prism-code wx:if="{{e}}" u-i="4340d11a-3" bind:__l="__l" u-p="{{e}}"/></view></view><view class="prism-section"><view class="section-title">CapsuleTabs 胶囊选项卡</view><view class="prism-card"><view class="card-title">基础用法</view><scroll-view class="prism-capsule-tabs-scroll" scroll-x><view class="prism-capsule-tabs"><view class="{{['prism-capsule-tab', f && 'active']}}" bindtap="{{g}}">日</view><view class="{{['prism-capsule-tab', h && 'active']}}" bindtap="{{i}}">周</view><view class="{{['prism-capsule-tab', j && 'active']}}" bindtap="{{k}}">月</view><view class="{{['prism-capsule-tab', l && 'active']}}" bindtap="{{m}}">年</view></view></scroll-view><prism-code wx:if="{{n}}" u-i="4340d11a-4" bind:__l="__l" u-p="{{n}}"/></view></view><view class="prism-section"><view class="section-title">Steps 步骤条</view><view class="prism-card"><view class="card-title">基础用法</view><view class="prism-steps prism-steps--horizontal"><view class="prism-step prism-step--finished"><view class="prism-step__icon"><text class="fa fa-check"></text></view><view class="prism-step__title">提交订单</view><view class="prism-step__line"></view></view><view class="prism-step prism-step--process"><view class="prism-step__icon">2</view><view class="prism-step__title">付款</view><view class="prism-step__line"></view></view><view class="prism-step prism-step--wait"><view class="prism-step__icon">3</view><view class="prism-step__title">发货</view><view class="prism-step__line"></view></view><view class="prism-step prism-step--wait"><view class="prism-step__icon">4</view><view class="prism-step__title">完成</view></view></view><prism-code wx:if="{{o}}" u-i="4340d11a-5" bind:__l="__l" u-p="{{o}}"/></view></view><view class="prism-section"><view class="section-title">Breadcrumb 面包屑</view><view class="prism-card"><view class="card-title">基础用法</view><view class="prism-breadcrumb"><view class="prism-breadcrumb__item prism-breadcrumb__item--link"><text>首页</text><text class="prism-breadcrumb__separator fa fa-chevron-right"></text></view><view class="prism-breadcrumb__item prism-breadcrumb__item--link"><text>组件</text><text class="prism-breadcrumb__separator fa fa-chevron-right"></text></view><view class="prism-breadcrumb__item"><text>导航</text></view></view><prism-code wx:if="{{p}}" u-i="4340d11a-6" bind:__l="__l" u-p="{{p}}"/></view></view><view class="prism-section"><view class="section-title">ChromeTabs Chrome风格标签页</view><view class="prism-card chrome-tabs-container"><view class="card-title">基础用法</view><prism-tabs wx:if="{{s}}" u-s="{{['d']}}" u-i="4340d11a-7" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"><prism-code wx:if="{{q}}" u-i="4340d11a-8,4340d11a-7" bind:__l="__l" u-p="{{q}}"/></prism-tabs></view></view><view class="prism-section"><view class="section-title">DropdownMenu 下拉菜单</view><view class="prism-card"><view class="card-title">基础用法</view><prism-dropdown wx:if="{{v}}" bindchange="{{t}}" u-i="4340d11a-9" bind:__l="__l" u-p="{{v}}"/><prism-code wx:if="{{w}}" u-i="4340d11a-10" bind:__l="__l" u-p="{{w}}"/></view></view><view class="prism-section"><view class="section-title">MenuList 菜单列表</view><view class="prism-menu-list prism-card glass"><view class="menu-item"><view class="menu-left"><view class="menu-icon prism-icon blue"><text class="fa fa-user"></text></view><text class="menu-text">个人信息</text></view><view class="menu-right"><text class="fa fa-angle-right arrow"></text></view></view><view class="menu-item"><view class="menu-left"><view class="menu-icon prism-icon orange"><text class="fa fa-bell"></text></view><text class="menu-text">消息通知</text></view><view class="menu-right"><text class="menu-value">已开启</text><text class="fa fa-angle-right arrow"></text></view></view><view class="menu-item"><view class="menu-left"><view class="menu-icon prism-icon green"><text class="fa fa-gear"></text></view><text class="menu-text">系统设置</text></view><view class="menu-right"><text class="fa fa-angle-right arrow"></text></view></view></view><prism-code wx:if="{{x}}" u-i="4340d11a-11" bind:__l="__l" u-p="{{x}}"/></view><view class="prism-section"><view class="section-title">Swiper 轮播图</view><view class="card-title">圆点指示器</view><prism-swiper wx:if="{{y}}" class="mb-_a_20rpx_a_" u-i="4340d11a-12" bind:__l="__l" u-p="{{y}}"/><view class="card-title">数字指示器</view><prism-swiper wx:if="{{z}}" class="mb-_a_20rpx_a_" u-i="4340d11a-13" bind:__l="__l" u-p="{{z}}"/><view class="card-title">预览图指示器</view><prism-swiper wx:if="{{A}}" class="mb-_a_20rpx_a_" u-i="4340d11a-14" bind:__l="__l" u-p="{{A}}"/><view class="card-title">预览模式 - 中间显示完整,两边显示一半</view><prism-swiper wx:if="{{B}}" class="mb-_a_20rpx_a_" u-i="4340d11a-15" bind:__l="__l" u-p="{{B}}"/><prism-code wx:if="{{C}}" u-i="4340d11a-16" bind:__l="__l" u-p="{{C}}"/></view><view class="prism-safe-area-bottom"></view></scroll-view></view>
@@ -0,0 +1,61 @@
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
+ /* Chrome 标签容器样式 */
56
+ .prism-section .prism-card.chrome-tabs-container {
57
+ background: #ffffff !important;
58
+ }
59
+ .dark-mode .prism-section .prism-card.chrome-tabs-container {
60
+ background: rgba(255, 255, 255, 0.12) !important;
61
+ }
@@ -0,0 +1,50 @@
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 sampleCode = `<template>
14
+ <PrismCode code="hello" />
15
+ </template>`;
16
+ const _sfc_main = {
17
+ __name: "other",
18
+ setup(__props) {
19
+ const appStore = store_app.useAppStore();
20
+ const navbarHeight = common_vendor.computed(() => {
21
+ return appStore.statusBarHeight + 44;
22
+ });
23
+ const goTo = (url) => {
24
+ common_vendor.index.navigateTo({ url });
25
+ };
26
+ return (_ctx, _cache) => {
27
+ return {
28
+ a: common_vendor.p({
29
+ title: "其他组件",
30
+ icon: "fa-ellipsis",
31
+ ["icon-color"]: "indigo",
32
+ ["show-back"]: true
33
+ }),
34
+ b: common_vendor.o(($event) => goTo("/pages/demo/code/index")),
35
+ c: common_vendor.p({
36
+ code: "npm install @ruixin/prism-ui"
37
+ }),
38
+ d: common_vendor.p({
39
+ code: sampleCode,
40
+ language: "vue",
41
+ copyable: true
42
+ }),
43
+ e: navbarHeight.value + "px",
44
+ f: common_vendor.unref(appStore).isDarkMode ? 1 : ""
45
+ };
46
+ };
47
+ }
48
+ };
49
+ wx.createPage(_sfc_main);
50
+ //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/demo/other.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "navigationStyle": "custom",
3
+ "usingComponents": {
4
+ "prism-nav-bar": "../../components/PrismNavBar/PrismNavBar",
5
+ "prism-code": "../../components/PrismCode/PrismCode"
6
+ }
7
+ }
@@ -0,0 +1 @@
1
+ <view class="{{['prism-page', f && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="2ccdf6fe-0" bind:__l="__l" u-p="{{a}}"/><scroll-view class="prism-main" scroll-y style="{{'padding-top:' + e}}"><view class="prism-section"><view class="prism-section-header"><view class="section-title">代码展示</view><view class="prism-more-link" bindtap="{{b}}"><text class="more-text">更多用法</text><text class="more-icon fa fa-angle-right"></text></view></view><view class="section-desc">基础用法示例</view><view class="prism-card"><prism-code wx:if="{{c}}" u-i="2ccdf6fe-1" bind:__l="__l" u-p="{{c}}"/></view><view class="prism-card"><prism-code wx:if="{{d}}" u-i="2ccdf6fe-2" bind:__l="__l" u-p="{{d}}"/></view></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,212 @@
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 + PrismGroupSticky + PrismCode)();
11
+ }
12
+ const PrismGroupSticky = () => "../../../components/PrismGroupSticky/PrismGroupSticky.js";
13
+ const PrismCode = () => "../../../components/PrismCode/PrismCode.js";
14
+ const _sfc_main = {
15
+ __name: "group",
16
+ setup(__props) {
17
+ const appStore = store_app.useAppStore();
18
+ const navbarHeight = common_vendor.computed(() => {
19
+ return appStore.statusBarHeight + 44;
20
+ });
21
+ const indexList = ["A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "Q", "S", "T", "W", "X", "Y", "Z"];
22
+ const contactGroups = [
23
+ {
24
+ index: "A",
25
+ items: [
26
+ { name: "阿里巴巴", desc: "杭州市余杭区" },
27
+ { name: "爱奇艺", desc: "北京市海淀区" },
28
+ { name: "OPPO", desc: "广东省东莞市" }
29
+ ]
30
+ },
31
+ {
32
+ index: "B",
33
+ items: [
34
+ { name: "百度", desc: "北京市海淀区" },
35
+ { name: "哔哩哔哩", desc: "上海市杨浦区" },
36
+ { name: "比亚迪", desc: "深圳市坪山区" },
37
+ { name: "贝壳找房", desc: "北京市朝阳区" }
38
+ ]
39
+ },
40
+ {
41
+ index: "C",
42
+ items: [
43
+ { name: "长城汽车", desc: "河北省保定市" },
44
+ { name: "传音控股", desc: "深圳市南山区" }
45
+ ]
46
+ },
47
+ {
48
+ index: "D",
49
+ items: [
50
+ { name: "滴滴出行", desc: "北京市海淀区" },
51
+ { name: "大疆创新", desc: "深圳市南山区" },
52
+ { name: "得物", desc: "上海市杨浦区" }
53
+ ]
54
+ },
55
+ {
56
+ index: "E",
57
+ items: [
58
+ { name: "饿了么", desc: "上海市普陀区" }
59
+ ]
60
+ },
61
+ {
62
+ index: "F",
63
+ items: [
64
+ { name: "飞书", desc: "北京市海淀区" },
65
+ { name: "富士康", desc: "深圳市龙华区" }
66
+ ]
67
+ },
68
+ {
69
+ index: "G",
70
+ items: [
71
+ { name: "高德地图", desc: "北京市朝阳区" },
72
+ { name: "广汽集团", desc: "广州市天河区" }
73
+ ]
74
+ },
75
+ {
76
+ index: "H",
77
+ items: [
78
+ { name: "华为", desc: "深圳市龙岗区" },
79
+ { name: "海尔智家", desc: "青岛市崂山区" },
80
+ { name: "海康威视", desc: "杭州市滨江区" },
81
+ { name: "货拉拉", desc: "深圳市南山区" }
82
+ ]
83
+ },
84
+ {
85
+ index: "J",
86
+ items: [
87
+ { name: "京东", desc: "北京市亦庄" },
88
+ { name: "极氪汽车", desc: "杭州市滨江区" }
89
+ ]
90
+ },
91
+ {
92
+ index: "K",
93
+ items: [
94
+ { name: "快手", desc: "北京市海淀区" },
95
+ { name: "科大讯飞", desc: "合肥市高新区" }
96
+ ]
97
+ },
98
+ {
99
+ index: "L",
100
+ items: [
101
+ { name: "理想汽车", desc: "北京市顺义区" },
102
+ { name: "联想集团", desc: "北京市海淀区" }
103
+ ]
104
+ },
105
+ {
106
+ index: "M",
107
+ items: [
108
+ { name: "美团", desc: "北京市朝阳区" },
109
+ { name: "蚂蚁集团", desc: "杭州市西湖区" },
110
+ { name: "米哈游", desc: "上海市徐汇区" }
111
+ ]
112
+ },
113
+ {
114
+ index: "N",
115
+ items: [
116
+ { name: "蔚来汽车", desc: "上海市嘉定区" },
117
+ { name: "宁德时代", desc: "福建省宁德市" }
118
+ ]
119
+ },
120
+ {
121
+ index: "Q",
122
+ items: [
123
+ { name: "腾讯", desc: "深圳市南山区" },
124
+ { name: "去哪儿", desc: "北京市海淀区" }
125
+ ]
126
+ },
127
+ {
128
+ index: "S",
129
+ items: [
130
+ { name: "顺丰速运", desc: "深圳市福田区" },
131
+ { name: "商汤科技", desc: "上海市徐汇区" },
132
+ { name: "三一重工", desc: "长沙市经开区" }
133
+ ]
134
+ },
135
+ {
136
+ index: "T",
137
+ items: [
138
+ { name: "抖音", desc: "北京市海淀区" },
139
+ { name: "特斯拉中国", desc: "上海市浦东新区" }
140
+ ]
141
+ },
142
+ {
143
+ index: "W",
144
+ items: [
145
+ { name: "网易", desc: "杭州市滨江区" },
146
+ { name: "微信", desc: "广州市海珠区" },
147
+ { name: "蔚来汽车", desc: "上海市嘉定区" }
148
+ ]
149
+ },
150
+ {
151
+ index: "X",
152
+ items: [
153
+ { name: "小米", desc: "北京市海淀区" },
154
+ { name: "小鹏汽车", desc: "广州市天河区" },
155
+ { name: "携程旅行", desc: "上海市长宁区" }
156
+ ]
157
+ },
158
+ {
159
+ index: "Y",
160
+ items: [
161
+ { name: "阅文集团", desc: "上海市浦东新区" },
162
+ { name: "云从科技", desc: "广州市南沙区" }
163
+ ]
164
+ },
165
+ {
166
+ index: "Z",
167
+ items: [
168
+ { name: "字节跳动", desc: "北京市海淀区" },
169
+ { name: "中兴通讯", desc: "深圳市南山区" },
170
+ { name: "中芯国际", desc: "上海市浦东新区" }
171
+ ]
172
+ }
173
+ ];
174
+ return (_ctx, _cache) => {
175
+ return {
176
+ a: common_vendor.p({
177
+ title: "GroupSticky 分组吸顶",
178
+ icon: "fa-list",
179
+ ["icon-color"]: "green",
180
+ ["show-back"]: true
181
+ }),
182
+ b: common_vendor.f(contactGroups, (group, k0, i0) => {
183
+ return {
184
+ a: common_vendor.t(group.index),
185
+ b: common_vendor.f(group.items, (item, k1, i1) => {
186
+ return {
187
+ a: common_vendor.t(item.name[0]),
188
+ b: common_vendor.t(item.name),
189
+ c: common_vendor.t(item.desc),
190
+ d: item.name
191
+ };
192
+ }),
193
+ c: group.index,
194
+ d: "group-" + group.index
195
+ };
196
+ }),
197
+ c: common_vendor.p({
198
+ height: "100%",
199
+ ["show-index-bar"]: true,
200
+ ["index-list"]: indexList
201
+ }),
202
+ d: common_vendor.p({
203
+ code: "<PrismGroupSticky show-index-bar :index-list>"
204
+ }),
205
+ e: navbarHeight.value + "px",
206
+ f: common_vendor.unref(appStore).isDarkMode ? 1 : ""
207
+ };
208
+ };
209
+ }
210
+ };
211
+ wx.createPage(_sfc_main);
212
+ //# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/demo/sticky/group.js.map
@@ -0,0 +1,8 @@
1
+ {
2
+ "navigationStyle": "custom",
3
+ "usingComponents": {
4
+ "prism-nav-bar": "../../../components/PrismNavBar/PrismNavBar",
5
+ "prism-group-sticky": "../../../components/PrismGroupSticky/PrismGroupSticky",
6
+ "prism-code": "../../../components/PrismCode/PrismCode"
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ <view class="{{['prism-page', f && 'dark-mode']}}"><prism-nav-bar wx:if="{{a}}" u-i="7c76b010-0" bind:__l="__l" u-p="{{a}}"/><scroll-view class="prism-main" scroll-y style="{{'padding-top:' + e}}"><view class="demo-container"><prism-group-sticky wx:if="{{c}}" u-s="{{['d']}}" u-i="7c76b010-1" bind:__l="__l" u-p="{{c}}"><view wx:for="{{b}}" wx:for-item="group" wx:key="c" id="{{group.d}}"><view class="group-index">{{group.a}}</view><view wx:for="{{group.b}}" wx:for-item="item" wx:key="d" class="group-item"><view class="group-avatar">{{item.a}}</view><view class="group-info"><view class="group-title">{{item.b}}</view><view class="group-desc">{{item.c}}</view></view></view></view></prism-group-sticky></view><view class="code-float-bottom prism-card"><prism-code wx:if="{{d}}" u-i="7c76b010-2" bind:__l="__l" u-p="{{d}}"/></view><view class="prism-safe-area-bottom"></view></scroll-view></view>