@10yun/cv-mobile-ui 0.5.56 → 0.5.58

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 (368) hide show
  1. package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/config-ucharts.js +605 -605
  2. package/{ui-sdks → other}/qiun-data-charts/package.json +2 -1
  3. package/other/qiun-data-charts_2.5.0-20230101_example/App.vue +20 -0
  4. package/other/qiun-data-charts_2.5.0-20230101_example/common/uni-icons.css +542 -0
  5. package/other/qiun-data-charts_2.5.0-20230101_example/common/uni.css +246 -0
  6. package/other/qiun-data-charts_2.5.0-20230101_example/components/qiun-title-bar/qiun-title-bar.vue +51 -0
  7. package/other/qiun-data-charts_2.5.0-20230101_example/components/test-charts/test-charts.vue +48 -0
  8. package/other/qiun-data-charts_2.5.0-20230101_example/main.js +13 -0
  9. package/other/qiun-data-charts_2.5.0-20230101_example/manifest.json +75 -0
  10. package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/demodata.json +448 -0
  11. package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/mapdata.json +1 -0
  12. package/other/qiun-data-charts_2.5.0-20230101_example/pages/canvas/canvas.vue +142 -0
  13. package/other/qiun-data-charts_2.5.0-20230101_example/pages/echarts/echarts.vue +228 -0
  14. package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-e/format-e.vue +113 -0
  15. package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-u/format-u.vue +110 -0
  16. package/other/qiun-data-charts_2.5.0-20230101_example/pages/index/index.vue +58 -0
  17. package/other/qiun-data-charts_2.5.0-20230101_example/pages/layout/layout.vue +174 -0
  18. package/other/qiun-data-charts_2.5.0-20230101_example/pages/other/other.vue +233 -0
  19. package/other/qiun-data-charts_2.5.0-20230101_example/pages/tab/tab.vue +115 -0
  20. package/other/qiun-data-charts_2.5.0-20230101_example/pages/ucharts/ucharts.vue +339 -0
  21. package/other/qiun-data-charts_2.5.0-20230101_example/pages/unicloud/unicloud.vue +117 -0
  22. package/other/qiun-data-charts_2.5.0-20230101_example/pages/updata/updata.vue +212 -0
  23. package/other/qiun-data-charts_2.5.0-20230101_example/pages.json +79 -0
  24. package/other/qiun-data-charts_2.5.0-20230101_example/static/logo.png +0 -0
  25. package/other/qiun-data-charts_2.5.0-20230101_example/uni.scss +76 -0
  26. package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/db_init.json +455 -0
  27. package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/qiun-charts-demo.schema.json +76 -0
  28. package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate0.vue +2 -1
  29. package/other/{u-parse-2019 → u-parse}/libs/html2json.js +2 -2
  30. package/other/{uParse → u-parse}/libs/wxDiscode.js +1 -1
  31. package/other/u-parse/readme.md +102 -0
  32. package/other/{u-parse-2019 → u-parse}/u-parse.vue +1 -6
  33. package/other/u-parse2026/libs/html2json.js +2 -2
  34. package/other/u-parse2026/libs/wxDiscode.js +1 -1
  35. package/other/u-parse2026/u-parse.css +1 -0
  36. package/other/u-parse2026/u-parse.vue +1 -3
  37. package/other/uParse2/components/wxParseAudio.vue +1 -0
  38. package/other/{uParse → uParse2}/components/wxParseImg.vue +4 -4
  39. package/other/{uParse → uParse2}/components/wxParseTable.vue +15 -6
  40. package/other/{uParse → uParse2}/components/wxParseTemplate0.vue +7 -6
  41. package/other/{uParse → uParse2}/components/wxParseTemplate1.vue +10 -0
  42. package/other/{uParse → uParse2}/libs/html2json.js +2 -2
  43. package/other/{u-parse-2019 → uParse2}/libs/wxDiscode.js +1 -1
  44. package/other/{uParse/wxParse.css → uParse2/u-parse.css} +4 -4
  45. package/other/{uParse/wxParse.vue → uParse2/u-parse.vue} +18 -11
  46. package/other/uParse2/u-parse2.css +264 -0
  47. package/package.json +1 -1
  48. package/ui-cv/components/cv-dialog-bottom/cv-dialog-bottom.vue +35 -58
  49. package/ui-cv/components/cv-dialog-full/cv-dialog-full.vue +55 -62
  50. package/ui-cv/components/cv-dialog-share/cv-dialog-share.vue +7 -7
  51. package/ui-cv/components/cv-dialog-share/share.vue +1 -10
  52. package/ui-cv/components/cv-dialog-share/tui-share.vue +2 -2
  53. package/ui-cv/components/cv-filter-hm/cv-filter-hm.vue +8 -6
  54. package/ui-cv/components/cv-geo-local/cv-geo-local.vue +1 -1
  55. package/ui-cv/components/cv-icons/cv-icons.vue +29 -62
  56. package/ui-cv/components/cv-icons/iconfont/font-default-icons.js +127 -131
  57. package/ui-cv/components/cv-input-password/cv-input-password.vue +1 -1
  58. package/ui-cv/components/cv-mask-svg/cv-mask-svg.vue +1 -1
  59. package/ui-cv/components/cv-mask-svg/mixins.js +16 -12
  60. package/ui-cv/components/cv-upload-image/cv-upload-image.vue +4 -4
  61. package/ui-cv/components/cv-upload-image/demo.vue +1 -1
  62. package/ui-fireui/components/u-share-model/u-share-model.vue +1 -1
  63. package/ui-fireui/components/u-uploadsamll/u-uploadsamll.vue +1 -1
  64. package/uview-plus/components/u-button/props-old.js +159 -0
  65. package/uview-plus/components/u-button/props.js +7 -0
  66. package/uview-plus/components/u-button/u-button-old.vue +476 -0
  67. package/uview-plus/components/u-button/u-button-wu.vue +13 -10
  68. package/uview-plus/components/u-button/u-button.vue +47 -14
  69. package/uview-plus/components/u-form/form.js +13 -12
  70. package/uview-plus/components/u-parse/README.md +192 -0
  71. package/uview-plus/components/u-parse/changelog.md +163 -0
  72. package/uview-plus/components/u-parse/node/node.vue +37 -3
  73. package/{uni-ui/lib/uni-breadcrumb → uview-plus/components/u-parse}/package.json +24 -29
  74. package/uview-plus/components/u-parse/parser.js +8 -3
  75. package/uview-plus/components/u-parse/static/app-plus/up-parse/js/handler.js +1 -0
  76. package/uview-plus/components/u-parse/static/app-plus/up-parse/local-2.5.2.html +29 -0
  77. package/uview-plus/components/u-parse/u-parse.vue +29 -1
  78. package/uview-plus/components/u-upload/file.js +186 -0
  79. package/uview-plus/components/u-upload/props-old.js +176 -0
  80. package/uview-plus/components/u-upload/props.js +12 -0
  81. package/uview-plus/components/u-upload/u-upload.vue +100 -15
  82. package/uview-plus/components/u-upload/u-upload2.vue +854 -0
  83. package/uview-plus/libs/mixin/openType.js +35 -0
  84. package/other/lime-painter2/README2.md +0 -576
  85. package/other/lime-painter2/changelog.md +0 -225
  86. package/other/lime-painter2/package.json +0 -93
  87. package/other/lime-painter2/readme.md +0 -758
  88. package/other/lime-painter2/test.md +0 -45
  89. package/other/qiun-data-charts/qiun-data-charts.vue +0 -1618
  90. package/other/u-parse-2019/readme.md +0 -99
  91. package/other/uParse/components/style.css +0 -1
  92. package/other/uParse/components/wxParseAudio.vue +0 -1
  93. package/other/xt-parse/changelog.md +0 -41
  94. package/other/xt-parse/node/node.vue +0 -752
  95. package/other/xt-parse/package.json +0 -129
  96. package/other/xt-parse/parser.js +0 -1461
  97. package/other/xt-parse/props.js +0 -49
  98. package/other/xt-parse/readme.md +0 -145
  99. package/other/xt-parse/static/app-plus/u-parse/js/handler.js +0 -1
  100. package/other/xt-parse/u-parse.vue +0 -510
  101. package/plugins/luch-request/adapters/index.js +0 -131
  102. package/plugins/luch-request/core/InterceptorManager.js +0 -50
  103. package/plugins/luch-request/core/Request.js +0 -199
  104. package/plugins/luch-request/core/buildFullPath.js +0 -20
  105. package/plugins/luch-request/core/defaults.js +0 -32
  106. package/plugins/luch-request/core/dispatchRequest.js +0 -5
  107. package/plugins/luch-request/core/mergeConfig.js +0 -125
  108. package/plugins/luch-request/core/settle.js +0 -16
  109. package/plugins/luch-request/helpers/buildURL.js +0 -71
  110. package/plugins/luch-request/helpers/combineURLs.js +0 -12
  111. package/plugins/luch-request/helpers/isAbsoluteURL.js +0 -14
  112. package/plugins/luch-request/index.d.ts +0 -197
  113. package/plugins/luch-request/index.js +0 -2
  114. package/plugins/luch-request/readme.md +0 -3
  115. package/plugins/luch-request/utils/clone.js +0 -260
  116. package/plugins/luch-request/utils.js +0 -131
  117. package/ui-cv/components/cv-cell-row/cv-cell-row.vue +0 -220
  118. package/ui-cv/components/cv-dialog-share/uni-popup-share.vue +0 -139
  119. package/ui-cv/components/cv-icons/iconfont/font-action-icons.js +0 -73
  120. package/ui-cv/components/cv-icons/iconfont/font-action.css +0 -7
  121. package/ui-cv/components/cv-icons/iconfont/font-action.js +0 -5
  122. package/ui-cv/components/cv-icons/iconfont/font-arrow-icons.js +0 -47
  123. package/ui-cv/components/cv-icons/iconfont/font-arrow.css +0 -6
  124. package/ui-cv/components/cv-icons/iconfont/font-arrow.js +0 -5
  125. package/ui-cv/components/cv-icons/iconfont/font-base-icons.js +0 -92
  126. package/ui-cv/components/cv-icons/iconfont/font-base.css +0 -6
  127. package/ui-cv/components/cv-icons/iconfont/font-base.js +0 -5
  128. package/ui-cv/components/cv-icons/iconfont/font-mall-icons.js +0 -35
  129. package/ui-cv/components/cv-icons/iconfont/font-mall.css +0 -7
  130. package/ui-cv/components/cv-icons/iconfont/font-mall.js +0 -5
  131. package/ui-cv/components/cv-icons/iconfont/font-media-icons.js +0 -45
  132. package/ui-cv/components/cv-icons/iconfont/font-media.css +0 -7
  133. package/ui-cv/components/cv-icons/iconfont/font-media.js +0 -5
  134. package/ui-cv/components/cv-icons/iconfont/font-order-icons.js +0 -34
  135. package/ui-cv/components/cv-icons/iconfont/font-order.css +0 -6
  136. package/ui-cv/components/cv-icons/iconfont/font-order.js +0 -5
  137. package/ui-cv/components/cv-icons/iconfont/font-people-icons.js +0 -49
  138. package/ui-cv/components/cv-icons/iconfont/font-people.css +0 -7
  139. package/ui-cv/components/cv-icons/iconfont/font-people.js +0 -5
  140. package/ui-cv/components/cv-icons/iconfont/font-status-icons.js +0 -34
  141. package/ui-cv/components/cv-icons/iconfont/font-status.css +0 -6
  142. package/ui-cv/components/cv-icons/iconfont/font-status.js +0 -5
  143. package/ui-cv/components/cv-icons/iconfont/font-wallet-icons.js +0 -17
  144. package/ui-cv/components/cv-icons/iconfont/font-wallet.css +0 -6
  145. package/ui-cv/components/cv-icons/iconfont/font-wallet.js +0 -5
  146. package/ui-cv/components/cv-icons/icons/default-icons.js +0 -132
  147. package/ui-cv/components/cv-icons/icons/icons-action.js +0 -72
  148. package/ui-cv/components/cv-icons/icons/icons-arrow.js +0 -46
  149. package/ui-cv/components/cv-icons/icons/icons-base.js +0 -89
  150. package/ui-cv/components/cv-icons/icons/icons-mall.js +0 -34
  151. package/ui-cv/components/cv-icons/icons/icons-media.js +0 -44
  152. package/ui-cv/components/cv-icons/icons/icons-order.js +0 -33
  153. package/ui-cv/components/cv-icons/icons/icons-people.js +0 -46
  154. package/ui-cv/components/cv-icons/icons/icons-status.js +0 -32
  155. package/ui-cv/components/cv-icons/icons/icons-wallet.js +0 -15
  156. package/ui-sdks/sdk-app-update/img/logo.png +0 -0
  157. package/ui-sdks/sdk-app-update/img/update_bg.png +0 -0
  158. package/ui-sdks/sdk-app-update/img/update_bg_top.png +0 -0
  159. package/ui-sdks/sdk-app-update/sdk-app-update.vue +0 -396
  160. package/ui-sdks/sdk-app-update/xxxx +0 -62
  161. package/ui-sdks/sdk-privacy-policy/sdk-privacy-policy.vue +0 -113
  162. package/ui-sdks/sdk-u-charts/config-echarts.js +0 -420
  163. package/ui-sdks/sdk-u-charts/config-ucharts.js +0 -630
  164. package/ui-sdks/sdk-u-charts/u-charts.js +0 -7398
  165. package/ui-sdks/sdk-u-charts/u-charts.min.js +0 -1
  166. package/ui-sdks/sdk-webview-main/WebViewMain.vue +0 -1
  167. package/ui-sdks/sdk-webview-main/main.js +0 -0
  168. package/ui-sdks/sdk-webview-main/mixin.js +0 -0
  169. package/uni-ui/lib/uni-badge/changelog.md +0 -33
  170. package/uni-ui/lib/uni-badge/package.json +0 -107
  171. package/uni-ui/lib/uni-badge/readme.md +0 -8
  172. package/uni-ui/lib/uni-breadcrumb/changelog.md +0 -6
  173. package/uni-ui/lib/uni-breadcrumb/readme.md +0 -66
  174. package/uni-ui/lib/uni-calendar/changelog.md +0 -30
  175. package/uni-ui/lib/uni-calendar/package.json +0 -105
  176. package/uni-ui/lib/uni-calendar/readme.md +0 -103
  177. package/uni-ui/lib/uni-card/changelog.md +0 -26
  178. package/uni-ui/lib/uni-card/package.json +0 -107
  179. package/uni-ui/lib/uni-card/readme.md +0 -10
  180. package/uni-ui/lib/uni-collapse/changelog.md +0 -48
  181. package/uni-ui/lib/uni-collapse/package.json +0 -106
  182. package/uni-ui/lib/uni-collapse/readme.md +0 -11
  183. package/uni-ui/lib/uni-combox/changelog.md +0 -17
  184. package/uni-ui/lib/uni-combox/package.json +0 -107
  185. package/uni-ui/lib/uni-combox/readme.md +0 -10
  186. package/uni-ui/lib/uni-countdown/changelog.md +0 -30
  187. package/uni-ui/lib/uni-countdown/package.json +0 -105
  188. package/uni-ui/lib/uni-countdown/readme.md +0 -9
  189. package/uni-ui/lib/uni-data-checkbox/changelog.md +0 -51
  190. package/uni-ui/lib/uni-data-checkbox/package.json +0 -107
  191. package/uni-ui/lib/uni-data-checkbox/readme.md +0 -17
  192. package/uni-ui/lib/uni-data-picker/changelog.md +0 -81
  193. package/uni-ui/lib/uni-data-picker/package.json +0 -109
  194. package/uni-ui/lib/uni-data-picker/readme.md +0 -21
  195. package/uni-ui/lib/uni-data-select/changelog.md +0 -51
  196. package/uni-ui/lib/uni-data-select/package.json +0 -106
  197. package/uni-ui/lib/uni-data-select/readme.md +0 -7
  198. package/uni-ui/lib/uni-dateformat/changelog.md +0 -10
  199. package/uni-ui/lib/uni-dateformat/package.json +0 -107
  200. package/uni-ui/lib/uni-dateformat/readme.md +0 -10
  201. package/uni-ui/lib/uni-datetime-picker/changelog.md +0 -177
  202. package/uni-ui/lib/uni-datetime-picker/package.json +0 -107
  203. package/uni-ui/lib/uni-datetime-picker/readme.md +0 -20
  204. package/uni-ui/lib/uni-drawer/changelog.md +0 -13
  205. package/uni-ui/lib/uni-drawer/package.json +0 -106
  206. package/uni-ui/lib/uni-drawer/readme.md +0 -9
  207. package/uni-ui/lib/uni-easyinput/changelog.md +0 -121
  208. package/uni-ui/lib/uni-easyinput/package.json +0 -107
  209. package/uni-ui/lib/uni-easyinput/readme.md +0 -10
  210. package/uni-ui/lib/uni-fab/changelog.md +0 -25
  211. package/uni-ui/lib/uni-fab/package.json +0 -107
  212. package/uni-ui/lib/uni-fab/readme.md +0 -8
  213. package/uni-ui/lib/uni-fav/changelog.md +0 -19
  214. package/uni-ui/lib/uni-fav/package.json +0 -106
  215. package/uni-ui/lib/uni-fav/readme.md +0 -9
  216. package/uni-ui/lib/uni-file-picker/changelog.md +0 -91
  217. package/uni-ui/lib/uni-file-picker/package.json +0 -105
  218. package/uni-ui/lib/uni-file-picker/readme.md +0 -10
  219. package/uni-ui/lib/uni-forms/changelog.md +0 -100
  220. package/uni-ui/lib/uni-forms/package.json +0 -107
  221. package/uni-ui/lib/uni-forms/readme.md +0 -22
  222. package/uni-ui/lib/uni-goods-nav/changelog.md +0 -18
  223. package/uni-ui/lib/uni-goods-nav/package.json +0 -105
  224. package/uni-ui/lib/uni-goods-nav/readme.md +0 -9
  225. package/uni-ui/lib/uni-grid/changelog.md +0 -13
  226. package/uni-ui/lib/uni-grid/package.json +0 -106
  227. package/uni-ui/lib/uni-grid/readme.md +0 -10
  228. package/uni-ui/lib/uni-group/changelog.md +0 -16
  229. package/uni-ui/lib/uni-group/package.json +0 -106
  230. package/uni-ui/lib/uni-group/readme.md +0 -8
  231. package/uni-ui/lib/uni-icons/changelog.md +0 -44
  232. package/uni-ui/lib/uni-icons/package.json +0 -111
  233. package/uni-ui/lib/uni-icons/readme.md +0 -7
  234. package/uni-ui/lib/uni-indexed-list/changelog.md +0 -19
  235. package/uni-ui/lib/uni-indexed-list/package.json +0 -107
  236. package/uni-ui/lib/uni-indexed-list/readme.md +0 -10
  237. package/uni-ui/lib/uni-link/changelog.md +0 -17
  238. package/uni-ui/lib/uni-link/package.json +0 -106
  239. package/uni-ui/lib/uni-link/readme.md +0 -10
  240. package/uni-ui/lib/uni-list/changelog.md +0 -52
  241. package/uni-ui/lib/uni-list/package.json +0 -108
  242. package/uni-ui/lib/uni-list/readme.md +0 -44
  243. package/uni-ui/lib/uni-load-more/changelog.md +0 -27
  244. package/uni-ui/lib/uni-load-more/package.json +0 -105
  245. package/uni-ui/lib/uni-load-more/readme.md +0 -12
  246. package/uni-ui/lib/uni-nav-bar/changelog.md +0 -64
  247. package/uni-ui/lib/uni-nav-bar/package.json +0 -106
  248. package/uni-ui/lib/uni-nav-bar/readme.md +0 -13
  249. package/uni-ui/lib/uni-notice-bar/changelog.md +0 -22
  250. package/uni-ui/lib/uni-notice-bar/package.json +0 -107
  251. package/uni-ui/lib/uni-notice-bar/readme.md +0 -11
  252. package/uni-ui/lib/uni-number-box/changelog.md +0 -39
  253. package/uni-ui/lib/uni-number-box/package.json +0 -104
  254. package/uni-ui/lib/uni-number-box/readme.md +0 -11
  255. package/uni-ui/lib/uni-pagination/changelog.md +0 -27
  256. package/uni-ui/lib/uni-pagination/package.json +0 -106
  257. package/uni-ui/lib/uni-pagination/readme.md +0 -10
  258. package/uni-ui/lib/uni-popup/changelog.md +0 -102
  259. package/uni-ui/lib/uni-popup/package.json +0 -107
  260. package/uni-ui/lib/uni-popup/readme.md +0 -15
  261. package/uni-ui/lib/uni-rate/changelog.md +0 -27
  262. package/uni-ui/lib/uni-rate/package.json +0 -106
  263. package/uni-ui/lib/uni-rate/readme.md +0 -11
  264. package/uni-ui/lib/uni-row/changelog.md +0 -10
  265. package/uni-ui/lib/uni-row/package.json +0 -106
  266. package/uni-ui/lib/uni-row/readme.md +0 -9
  267. package/uni-ui/lib/uni-scss/changelog.md +0 -8
  268. package/uni-ui/lib/uni-scss/package.json +0 -99
  269. package/uni-ui/lib/uni-scss/readme.md +0 -3
  270. package/uni-ui/lib/uni-search-bar/changelog.md +0 -47
  271. package/uni-ui/lib/uni-search-bar/package.json +0 -106
  272. package/uni-ui/lib/uni-search-bar/readme.md +0 -12
  273. package/uni-ui/lib/uni-section/changelog.md +0 -2
  274. package/uni-ui/lib/uni-section/package.json +0 -104
  275. package/uni-ui/lib/uni-section/readme.md +0 -7
  276. package/uni-ui/lib/uni-segmented-control/changelog.md +0 -15
  277. package/uni-ui/lib/uni-segmented-control/package.json +0 -106
  278. package/uni-ui/lib/uni-segmented-control/readme.md +0 -11
  279. package/uni-ui/lib/uni-steps/changelog.md +0 -18
  280. package/uni-ui/lib/uni-steps/package.json +0 -106
  281. package/uni-ui/lib/uni-steps/readme.md +0 -11
  282. package/uni-ui/lib/uni-swipe-action/changelog.md +0 -60
  283. package/uni-ui/lib/uni-swipe-action/package.json +0 -113
  284. package/uni-ui/lib/uni-swipe-action/readme.md +0 -10
  285. package/uni-ui/lib/uni-swiper-dot/changelog.md +0 -12
  286. package/uni-ui/lib/uni-swiper-dot/package.json +0 -106
  287. package/uni-ui/lib/uni-swiper-dot/readme.md +0 -10
  288. package/uni-ui/lib/uni-table/changelog.md +0 -35
  289. package/uni-ui/lib/uni-table/package.json +0 -106
  290. package/uni-ui/lib/uni-table/readme.md +0 -11
  291. package/uni-ui/lib/uni-tag/changelog.md +0 -25
  292. package/uni-ui/lib/uni-tag/package.json +0 -106
  293. package/uni-ui/lib/uni-tag/readme.md +0 -11
  294. package/uni-ui/lib/uni-title/changelog.md +0 -10
  295. package/uni-ui/lib/uni-title/package.json +0 -107
  296. package/uni-ui/lib/uni-title/readme.md +0 -12
  297. package/uni-ui/lib/uni-tooltip/changelog.md +0 -16
  298. package/uni-ui/lib/uni-tooltip/package.json +0 -104
  299. package/uni-ui/lib/uni-tooltip/readme.md +0 -7
  300. package/uni-ui/lib/uni-transition/changelog.md +0 -31
  301. package/uni-ui/lib/uni-transition/package.json +0 -112
  302. package/uni-ui/lib/uni-transition/readme.md +0 -10
  303. package/uni-ui/lib/uni-ui/changelog.md +0 -639
  304. package/uni-ui/lib/uni-ui/package.json +0 -148
  305. package/uni-ui/lib/uni-ui/readme.md +0 -247
  306. package/uview-plus/libs/mixin/openType2.js +0 -60
  307. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/canvas.js +0 -0
  308. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/draw.js +0 -0
  309. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/draw2.js +0 -0
  310. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/gradient.js +0 -0
  311. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/index.vue +0 -0
  312. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/index2.vue +0 -0
  313. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/layout.js +0 -0
  314. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/qrcode.js +0 -0
  315. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/utils.js +0 -0
  316. /package/{ui-sdks → other}/qiun-data-charts/changelog.md +0 -0
  317. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue +0 -0
  318. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-error/qiun-error.vue +0 -0
  319. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading1.vue +0 -0
  320. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading2.vue +0 -0
  321. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading3.vue +0 -0
  322. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading4.vue +0 -0
  323. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading5.vue +0 -0
  324. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/qiun-loading.vue +0 -0
  325. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/config-echarts.js +0 -0
  326. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/readme.md +0 -0
  327. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/u-charts.js +0 -0
  328. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/u-charts.min.js +0 -0
  329. /package/{ui-sdks/sdk-u-charts → other/qiun-data-charts/js_sdk2}/app-echarts.min.js +0 -0
  330. /package/{ui-sdks/sdk-u-charts → other/qiun-data-charts/js_sdk2}/h5-echarts.min.js +0 -0
  331. /package/{ui-sdks → other}/qiun-data-charts/license.md +0 -0
  332. /package/{ui-sdks → other}/qiun-data-charts/readme.md +0 -0
  333. /package/{ui-sdks → other}/qiun-data-charts/static/app-plus/echarts.min.js +0 -0
  334. /package/{ui-sdks → other}/qiun-data-charts/static/h5/echarts.min.js +0 -0
  335. /package/{ui-sdks → other}/tui-clipboard/tui-clipboard.js +0 -0
  336. /package/other/{u-parse-2019 → u-parse}/components/wxParseAudio.vue +0 -0
  337. /package/other/{u-parse-2019 → u-parse}/components/wxParseImg.vue +0 -0
  338. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate1.vue +0 -0
  339. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate10.vue +0 -0
  340. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate11.vue +0 -0
  341. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate2.vue +0 -0
  342. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate3.vue +0 -0
  343. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate4.vue +0 -0
  344. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate5.vue +0 -0
  345. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate6.vue +0 -0
  346. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate7.vue +0 -0
  347. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate8.vue +0 -0
  348. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate9.vue +0 -0
  349. /package/other/{u-parse-2019 → u-parse}/components/wxParseVideo.vue +0 -0
  350. /package/other/{u-parse-2019 → u-parse}/libs/htmlparser.js +0 -0
  351. /package/other/{u-parse-2019 → u-parse}/u-parse.css +0 -0
  352. /package/other/{uParse → uParse2}/components/wxParseTemplate10.vue +0 -0
  353. /package/other/{uParse → uParse2}/components/wxParseTemplate11.vue +0 -0
  354. /package/other/{uParse → uParse2}/components/wxParseTemplate2.vue +0 -0
  355. /package/other/{uParse → uParse2}/components/wxParseTemplate3.vue +0 -0
  356. /package/other/{uParse → uParse2}/components/wxParseTemplate4.vue +0 -0
  357. /package/other/{uParse → uParse2}/components/wxParseTemplate5.vue +0 -0
  358. /package/other/{uParse → uParse2}/components/wxParseTemplate6.vue +0 -0
  359. /package/other/{uParse → uParse2}/components/wxParseTemplate7.vue +0 -0
  360. /package/other/{uParse → uParse2}/components/wxParseTemplate8.vue +0 -0
  361. /package/other/{uParse → uParse2}/components/wxParseTemplate9.vue +0 -0
  362. /package/other/{uParse → uParse2}/components/wxParseVideo.vue +0 -0
  363. /package/other/{uParse → uParse2}/editor.css +0 -0
  364. /package/other/{uParse → uParse2}/libs/htmlparser.js +0 -0
  365. /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/handler2.js +0 -0
  366. /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/uni.webview.min.js +0 -0
  367. /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/uni.webview.min2.js +0 -0
  368. /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/local.html +0 -0
@@ -1,148 +0,0 @@
1
- {
2
- "id": "uni-ui",
3
- "displayName": "uni-ui",
4
- "version": "1.5.11",
5
- "description": "uni-ui 是基于uni-app的、全端兼容的、高性能UI框架",
6
- "keywords": [
7
- "uni-ui",
8
- "uniui",
9
- "UI组件库",
10
- "ui框架",
11
- "ui库"
12
- ],
13
- "repository": "https://github.com/dcloudio/uni-ui",
14
- "engines": {
15
- "HBuilderX": "^3.2.10",
16
- "uni-app": "^4.07",
17
- "uni-app-x": ""
18
- },
19
- "directories": {
20
- "example": "../../temps/example_temps"
21
- },
22
- "dcloudext": {
23
- "sale": {
24
- "regular": {
25
- "price": "0.00"
26
- },
27
- "sourcecode": {
28
- "price": "0.00"
29
- }
30
- },
31
- "contact": {
32
- "qq": ""
33
- },
34
- "declaration": {
35
- "ads": "无",
36
- "data": "无",
37
- "permissions": "无"
38
- },
39
- "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui",
40
- "type": "component-vue",
41
- "darkmode": "x",
42
- "i18n": "x",
43
- "widescreen": "x"
44
- },
45
- "uni_modules": {
46
- "dependencies": [
47
- "uni-badge",
48
- "uni-calendar",
49
- "uni-card",
50
- "uni-collapse",
51
- "uni-combox",
52
- "uni-countdown",
53
- "uni-data-checkbox",
54
- "uni-data-picker",
55
- "uni-data-select",
56
- "uni-dateformat",
57
- "uni-datetime-picker",
58
- "uni-drawer",
59
- "uni-easyinput",
60
- "uni-fab",
61
- "uni-fav",
62
- "uni-file-picker",
63
- "uni-forms",
64
- "uni-goods-nav",
65
- "uni-grid",
66
- "uni-group",
67
- "uni-icons",
68
- "uni-indexed-list",
69
- "uni-link",
70
- "uni-list",
71
- "uni-load-more",
72
- "uni-nav-bar",
73
- "uni-notice-bar",
74
- "uni-number-box",
75
- "uni-pagination",
76
- "uni-popup",
77
- "uni-rate",
78
- "uni-row",
79
- "uni-search-bar",
80
- "uni-section",
81
- "uni-segmented-control",
82
- "uni-steps",
83
- "uni-swipe-action",
84
- "uni-swiper-dot",
85
- "uni-table",
86
- "uni-tag",
87
- "uni-title",
88
- "uni-tooltip",
89
- "uni-transition"
90
- ],
91
- "encrypt": [],
92
- "platforms": {
93
- "cloud": {
94
- "tcb": "x",
95
- "aliyun": "x",
96
- "alipay": "x"
97
- },
98
- "client": {
99
- "uni-app": {
100
- "vue": {
101
- "vue2": "√",
102
- "vue3": "√"
103
- },
104
- "web": {
105
- "safari": "√",
106
- "chrome": "√"
107
- },
108
- "app": {
109
- "vue": "√",
110
- "nvue": "√",
111
- "android": "√",
112
- "ios": "√",
113
- "harmony": "√"
114
- },
115
- "mp": {
116
- "weixin": "√",
117
- "alipay": "√",
118
- "toutiao": "√",
119
- "baidu": "√",
120
- "kuaishou": "√",
121
- "jd": "-",
122
- "harmony": "√",
123
- "qq": "√",
124
- "lark": "-"
125
- },
126
- "quickapp": {
127
- "huawei": "-",
128
- "union": "-"
129
- }
130
- },
131
- "uni-app-x": {
132
- "web": {
133
- "safari": "-",
134
- "chrome": "-"
135
- },
136
- "app": {
137
- "android": "-",
138
- "ios": "-",
139
- "harmony": "-"
140
- },
141
- "mp": {
142
- "weixin": "-"
143
- }
144
- }
145
- }
146
- }
147
- }
148
- }
@@ -1,247 +0,0 @@
1
- > 当前插件不包含示例页面 ,如需示例请在 HBuiderX 中新建 `hello uni-app > 扩展组件` 中查看
2
- >
3
- > 代码示例地址 :[https://ext.dcloud.net.cn/plugin?id=4941](https://ext.dcloud.net.cn/plugin?id=4941)
4
- >
5
- > 组件演示地址:[https://hellouniapp.dcloud.net.cn](https://hellouniapp.dcloud.net.cn/pages/extUI/badge/badge)
6
- >
7
- > 组件文档地址:[https://uniapp.dcloud.io/component/uniui/uni-ui](https://uniapp.dcloud.io/component/uniui/uni-ui)
8
-
9
- # uni-ui 介绍
10
-
11
- ## uni-ui产品特点
12
-
13
- ### 1. 高性能
14
-
15
- 目前为止,在小程序和混合app领域,暂时还没有比 `uni-ui` 更高性能的框架。
16
- - 自动差量更新数据
17
-
18
- 虽然uni-app支持小程序自定义组件,所有小程序的ui库都可以用。但小程序自定义组件的ui库都需要使用setData手动更新数据,在大数据量时、或高频更新数据时,很容易产生性能问题。
19
-
20
- 而 `uni-ui` 属于vue组件,uni-app引擎底层自动diff更新数据。当然其实插件市场里众多vue组件都具备这个特点。
21
- - 优化逻辑层和视图层通讯折损
22
-
23
- 非H5,不管是小程序还是App,不管是app的webview渲染还是原生渲染,全都是逻辑层和视图层分离的。这里就有一个逻辑层和视图层通讯的折损问题。
24
- 比如在视图层拖动一个可跟手的组件,由于通讯的损耗,用js监听很难做到实时跟手。
25
-
26
- 这时就需要使用css动画以及平台底层提供的wxs、bindingx等技术。不过这些技术都比较复杂,所以 `uni-ui` 里做了封装,在需要跟手式操作的ui组件,比如swiperaction列表项左滑菜单,就在底层使用了这些技术,实现了高性能的交互体验
27
- - 背景停止
28
-
29
- 很多ui组件是会一直动的,比如轮播图、跑马灯。即便这个窗体被新窗体挡住,它在背景层仍然在消耗着硬件资源。在Android的webview版本为chrome66以上,背景操作ui会引发很严重的性能问题,造成前台界面明显卡顿。
30
-
31
- 而 `uni-ui` 的组件,会自动判断自己的显示状态,在组件不再可见时,不会再消耗硬件资源。
32
-
33
- ### 2. 全端
34
-
35
- `uni-ui` 的组件都是多端自适应的,底层会抹平很多小程序平台的差异或bug。
36
-
37
- 比如导航栏navbar组件,会自动处理不同端的状态栏。
38
- 比如swiperaction组件,在app和微信小程序上会使用交互体验更好的wxs技术,但在不支持wxs的其他小程序端会使用js模拟类似效果。
39
-
40
- `uni-ui` 还支持nvue原生渲染,[详见](https://github.com/dcloudio/uni-ui/tree/nvue-uni-ui)
41
-
42
- 未来 `uni-ui` 还会支持pc等大屏设备。
43
-
44
- ### 3. 与uni统计自动集成实现免打点
45
-
46
- uni统计是优秀的多端统计平台,见[tongji.dcloud.net.cn](https://tongji.dcloud.net.cn)。
47
-
48
- 除了一张报表看全端,它的另一个重要特点是免打点。
49
- 比如使用 `uni-ui` 的navbar标题栏、收藏、购物车等组件,均可实现自动打点,统计页面标题等各种行为数据。
50
- 当然你也可以关闭uni统计,这不是强制的。
51
-
52
- ### 4. 主题扩展
53
-
54
- `uni-ui` 支持[uni.scss](https://uniapp.dcloud.io/collocation/uni-scss),可以方便的切换App的风格。
55
-
56
- ui是一种需求非常发散的产品,DCloud官方也无意用 `uni-ui` 压制第三方ui插件的空间,但官方有义务在性能和多端方面提供一个开源的标杆给大家。
57
-
58
- 我们欢迎更多优秀的ui组件出现,也欢迎更多人贡献 `uni-ui` 的主题风格,满足更多用户的需求。
59
-
60
-
61
- ## 快速开始
62
-
63
- uni-ui支持 HBuilderX直接新建项目模板、npm安装和单独导入个别组件等多种使用方式
64
-
65
- ### 在HBuilderX 新建uni-app项目的模板中,选择uni-ui模板
66
- ![HBuilderX内创建uni-ui项目](https://img.cdn.aliyun.dcloud.net.cn/uni-app/doc/create-uni-ui-project.jpg)
67
-
68
- 由于uni-app独特的[easycom](https://uniapp.dcloud.io/collocation/pages?id=easycom)技术,可以免引用、注册,直接使用各种符合规则的vue组件。
69
-
70
- 在代码区键入`u`,拉出各种内置或uni-ui的组件列表,选择其中一个,即可使用该组件。
71
-
72
- 光标放在组件名称上,按F1,可以查阅组件的文档。
73
-
74
- ![uni-ui代码块](https://img.cdn.aliyun.dcloud.net.cn/uni-app/doc/uni-ui-snippet.jpg)
75
-
76
- ### 通过 uni_modules 单独安装组件
77
- 如果你没有创建uni-ui项目模板,也可以在你的工程里,通过 uni_modules 单独安装需要的某个组件。下表为uni-ui的扩展组件清单,点击每个组件在详情页面可以导入组件到项目下,导入后直接使用即可,无需import和注册。
78
-
79
- |组件名|组件说明|
80
- |---|---|
81
- |uni-badge|[数字角标](https://ext.dcloud.net.cn/plugin?name=uni-badge)|
82
- |uni-calendar|[日历](https://ext.dcloud.net.cn/plugin?name=uni-calendar)|
83
- |uni-card|[卡片](https://ext.dcloud.net.cn/plugin?name=uni-card)|
84
- |uni-collapse|[折叠面板](https://ext.dcloud.net.cn/plugin?name=uni-collapse)|
85
- |uni-combox|[组合框](https://ext.dcloud.net.cn/plugin?name=uni-combox)|
86
- |uni-countdown|[倒计时](https://ext.dcloud.net.cn/plugin?name=uni-countdown)|
87
- |uni-data-checkbox|[数据选择器](https://ext.dcloud.net.cn/plugin?name=uni-data-checkbox)|
88
- |uni-data-picker|[数据驱动的picker选择器](https://ext.dcloud.net.cn/plugin?name=uni-data-picker)|
89
- |uni-dateformat|[日期格式化](https://ext.dcloud.net.cn/plugin?name=uni-dateformat)|
90
- |uni-datetime-picker|[日期选择器](https://ext.dcloud.net.cn/plugin?name=uni-datetime-picker)|
91
- |uni-drawer|[抽屉](https://ext.dcloud.net.cn/plugin?name=uni-drawer)|
92
- |uni-easyinput|[增强输入框](https://ext.dcloud.net.cn/plugin?name=uni-easyinput)|
93
- |uni-fab|[悬浮按钮](https://ext.dcloud.net.cn/plugin?name=uni-fab)|
94
- |uni-fav|[收藏按钮](https://ext.dcloud.net.cn/plugin?name=uni-fav)|
95
- |uni-file-picker|[文件选择上传](https://ext.dcloud.net.cn/plugin?name=uni-file-picker)|
96
- |uni-forms|[表单](https://ext.dcloud.net.cn/plugin?name=uni-forms)|
97
- |uni-goods-nav|[商品导航](https://ext.dcloud.net.cn/plugin?name=uni-goods-nav)|
98
- |uni-grid|[宫格](https://ext.dcloud.net.cn/plugin?name=uni-grid)|
99
- |uni-group|[分组](https://ext.dcloud.net.cn/plugin?name=uni-group)|
100
- |uni-icons|[图标](https://ext.dcloud.net.cn/plugin?name=uni-icons)|
101
- |uni-indexed-list|[索引列表](https://ext.dcloud.net.cn/plugin?name=uni-indexed-list)|
102
- |uni-link|[超链接](https://ext.dcloud.net.cn/plugin?name=uni-link)|
103
- |uni-list|[列表](https://ext.dcloud.net.cn/plugin?name=uni-list)|
104
- |uni-load-more|[加载更多](https://ext.dcloud.net.cn/plugin?name=uni-load-more)|
105
- |uni-nav-bar|[自定义导航栏](https://ext.dcloud.net.cn/plugin?name=uni-nav-bar)|
106
- |uni-notice-bar|[通告栏](https://ext.dcloud.net.cn/plugin?name=uni-notice-bar)|
107
- |uni-number-box|[数字输入框](https://ext.dcloud.net.cn/plugin?name=uni-number-box)|
108
- |uni-pagination|[分页器](https://ext.dcloud.net.cn/plugin?name=uni-pagination)|
109
- |uni-popup|[弹出层](https://ext.dcloud.net.cn/plugin?name=uni-popup)|
110
- |uni-rate|[评分](https://ext.dcloud.net.cn/plugin?name=uni-rate)|
111
- |uni-row|[布局-行](https://ext.dcloud.net.cn/plugin?name=uni-row)|
112
- |uni-search-bar|[搜索栏](https://ext.dcloud.net.cn/plugin?name=uni-search-bar)|
113
- |uni-segmented-control|[分段器](https://ext.dcloud.net.cn/plugin?name=uni-segmented-control)|
114
- |uni-steps|[步骤条](https://ext.dcloud.net.cn/plugin?name=uni-steps)|
115
- |uni-swipe-action|[滑动操作](https://ext.dcloud.net.cn/plugin?name=uni-swipe-action)|
116
- |uni-swiper-dot|[轮播图指示点](https://ext.dcloud.net.cn/plugin?name=uni-swiper-dot)|
117
- |uni-table|[表格](https://ext.dcloud.net.cn/plugin?name=uni-table)|
118
- |uni-tag|[标签](https://ext.dcloud.net.cn/plugin?name=uni-tag)|
119
- |uni-title|[章节标题](https://ext.dcloud.net.cn/plugin?name=uni-title)|
120
- |uni-transition|[过渡动画](https://ext.dcloud.net.cn/plugin?name=uni-transition)|
121
-
122
-
123
- 使用 `uni_modules` 方式安装组件库,可以直接通过插件市场导入,通过右键菜单快速更新组件,不需要引用、注册,直接在页面中使用 `uni-ui` 组件。[点击安装 uni-ui 组件库](https://ext.dcloud.net.cn/plugin?id=55)
124
-
125
- **注意:下载最新的组件目前仅支持 uni_modules ,非 uni_modules 版本最高支持到组件的1.2.10版本**
126
-
127
- 如不能升级到 `uni_modules` 版本,可以使用 `uni_modules` 安装好对应组件,将组件拷贝到对应目录。
128
-
129
- 例如需更新 `uni-list`和`uni-badge` ,将 `uni_modules>uni-list>components`和`uni_modules>uni-badege>components`下所有目录拷贝到如下目录即可:
130
-
131
-
132
- **目录示例**
133
-
134
- ```json
135
- ┌─components 组件目录
136
- │ ├─uni-list list 列表目录
137
- │ │ └─uni-list.vue list 组件文件
138
- │ ├─uni-list-item list-item 列表目录
139
- │ │ └─uni-list-item.vue list 组件文件
140
- │ ├─uni-badge badge 角标目录
141
- │ │ └─uni-badge.vue badge 组件文件
142
- │ └─ //.... 更多组件文件
143
- ├─pages 业务页面文件存放的目录
144
- │ ├─index
145
- │ │ └─index.vue index示例页面
146
- ├─main.js Vue初始化入口文件
147
- ├─App.vue 应用配置,用来配置App全局样式以及监听 应用生命周期
148
- ├─manifest.json 配置应用名称、appid、logo、版本等打包信息,详见
149
- └─pages.json 配置页
150
-
151
- ```
152
-
153
- ### 通过 `uni_modules` 导入全部组件
154
- 如果想一次把所有uni-ui组件导入到项目中,只需要导入一个 `uni-ui` 组件即可 [点击去导入](https://ext.dcloud.net.cn/plugin?id=55)。
155
-
156
- 如果没有自动导入其他组件,可以在 uni-ui 组件目录上右键选择 `安装三方插件依赖` 即可。
157
-
158
-
159
-
160
- ### npm安装
161
- 在 `vue-cli` 项目中可以使用 `npm` 安装 `uni-ui` 库 ,或者直接在 `HBuilderX` 项目中使用 `npm` 。
162
-
163
- > **注意**
164
- > cli 项目默认是不编译 `node_modules` 下的组件的,导致条件编译等功能失效 ,导致组件异常
165
- > 需要在根目录创建 `vue.config.js` 文件 ,增加 `@dcloudio/uni-ui` 包的编译即可正常
166
- > ```javascript
167
- > // vue.config.js
168
- > module.exports = {
169
- > transpileDependencies:['@dcloudio/uni-ui']
170
- > }
171
- > ```
172
-
173
-
174
-
175
- **准备 sass**
176
-
177
- `vue-cli` 项目请先安装 sass 及 sass-loader,如在 HBuliderX 中使用,可跳过此步。
178
-
179
- - 安装 sass
180
- ```
181
- npm i sass -D 或 yarn add sass -D
182
- ```
183
-
184
- - 安装 sass-loader
185
- ```
186
- npm i sass-loader@10.1.1 -D 或 yarn add sass-loader@10.1.1 -D
187
- ```
188
-
189
- > 如果 `node` 版本小于 16 ,sass-loader 请使用低于 @11.0.0 的版本,[sass-loader@11.0.0 不支持 vue@2.6.12 ](https://stackoverflow.com/questions/66082397/typeerror-this-getoptions-is-not-a-function)
190
- > 如果 `node` 版本大于 16 , `sass-loader` 建议使用 `v8.x` 版本
191
-
192
- **安装 uni-ui**
193
-
194
- ```
195
- npm i @dcloudio/uni-ui 或 yarn add @dcloudio/uni-ui
196
- ```
197
-
198
-
199
-
200
- **配置easycom**
201
-
202
- 使用 `npm` 安装好 `uni-ui` 之后,需要配置 `easycom` 规则,让 `npm` 安装的组件支持 `easycom`
203
-
204
- 打开项目根目录下的 `pages.json` 并添加 `easycom` 节点:
205
-
206
- ```javascript
207
- // pages.json
208
- {
209
- "easycom": {
210
- "autoscan": true,
211
- "custom": {
212
- // uni-ui 规则如下配置
213
- "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
214
- }
215
- },
216
-
217
- // 其他内容
218
- pages:[
219
- // ...
220
- ]
221
- }
222
-
223
- ```
224
-
225
- 在 ``template`` 中使用组件:
226
-
227
- ```html
228
- <uni-badge text="1"></uni-badge>
229
- <uni-badge text="2" type="success" @click="bindClick"></uni-badge>
230
- <uni-badge text="3" type="primary" :inverted="true"></uni-badge>
231
- ```
232
-
233
- **注意**
234
- - uni-ui 现在只推荐使用 `easycom` ,如自己引用组件,可能会出现组件找不到的问题
235
- - 使用 npm 安装的组件,默认情况下 babel-loader 会忽略所有 node_modules 中的文件 ,导致条件编译失效,需要通过配置 `vue.config.js` 解决:
236
- ```javascript
237
- // 在根目录创建 vue.config.js 文件,并配置如下
238
- module.exports = {
239
- transpileDependencies: ['@dcloudio/uni-ui']
240
- }
241
- ```
242
- - uni-ui 是uni-app内置组件的扩展。注意与web开发不同,uni-ui不包括基础组件,它是基础组件的补充。web开发中有的开发者习惯用一个ui库完成所有开发,但在uni-app体系中,推荐开发者首先使用性能更高的基础组件,然后按需引入必要的扩展组件。
243
- - `uni-ui` 不支持使用 `Vue.use()` 的方式安装
244
-
245
-
246
- ### 贡献代码
247
- 在使用 `uni-ui` 中,如遇到无法解决的问题,请提 [Issues](https://github.com/dcloudio/uni-ui/issues) 给我们,假如您有更好的点子或更好的实现方式,也欢迎给我们提交 [PR](https://github.com/dcloudio/uni-ui/pulls)
@@ -1,60 +0,0 @@
1
- export default {
2
- props: {
3
- openType: String
4
- },
5
- emits: [
6
- 'getphonenumber',
7
- 'getuserinfo',
8
- 'error',
9
- 'opensetting',
10
- 'launchapp',
11
- 'contact',
12
- 'chooseavatar',
13
- 'addgroupapp',
14
- 'chooseaddress',
15
- 'subscribe',
16
- 'login',
17
- 'im'
18
- ],
19
- methods: {
20
- onGetPhoneNumber(event) {
21
- this.$emit('getphonenumber', event.detail);
22
- },
23
- onGetUserInfo(event) {
24
- this.$emit('getuserinfo', event.detail);
25
- },
26
- onError(event) {
27
- this.$emit('error', event.detail);
28
- },
29
- onOpenSetting(event) {
30
- this.$emit('opensetting', event.detail);
31
- },
32
- onLaunchApp(event) {
33
- this.$emit('launchapp', event.detail);
34
- },
35
- onContact(event) {
36
- this.$emit('contact', event.detail);
37
- },
38
- onChooseavatar(event) {
39
- this.$emit('chooseavatar', event.detail);
40
- },
41
- onAgreeprivacyauthorization(event) {
42
- this.$emit('agreeprivacyauthorization', event.detail);
43
- },
44
- onAddgroupapp(event) {
45
- this.$emit('addgroupapp', event.detail);
46
- },
47
- onChooseaddress(event) {
48
- this.$emit('chooseaddress', event.detail);
49
- },
50
- onSubscribe(event) {
51
- this.$emit('subscribe', event.detail);
52
- },
53
- onLogin(event) {
54
- this.$emit('login', event.detail);
55
- },
56
- onIm(event) {
57
- this.$emit('im', event.detail);
58
- }
59
- }
60
- };
File without changes
File without changes
File without changes
File without changes
File without changes