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

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 (349) 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-share/cv-dialog-share.vue +7 -7
  49. package/ui-cv/components/cv-geo-local/cv-geo-local.vue +1 -1
  50. package/ui-cv/components/cv-icons/cv-icons.vue +18 -62
  51. package/ui-cv/components/cv-icons/iconfont/font-default-icons.js +127 -131
  52. package/ui-cv/components/cv-input-password/cv-input-password.vue +1 -1
  53. package/ui-cv/components/cv-mask-svg/cv-mask-svg.vue +1 -1
  54. package/ui-cv/components/cv-mask-svg/mixins.js +16 -12
  55. package/ui-cv/components/cv-upload-image/cv-upload-image.vue +4 -4
  56. package/ui-fireui/components/u-share-model/u-share-model.vue +1 -1
  57. package/ui-fireui/components/u-uploadsamll/u-uploadsamll.vue +1 -1
  58. package/uview-plus/components/u-form/form.js +13 -12
  59. package/uview-plus/components/u-parse/README.md +192 -0
  60. package/uview-plus/components/u-parse/changelog.md +163 -0
  61. package/uview-plus/components/u-parse/node/node.vue +37 -3
  62. package/{uni-ui/lib/uni-breadcrumb → uview-plus/components/u-parse}/package.json +24 -29
  63. package/uview-plus/components/u-parse/parser.js +8 -3
  64. package/uview-plus/components/u-parse/static/app-plus/up-parse/js/handler.js +1 -0
  65. package/uview-plus/components/u-parse/static/app-plus/up-parse/local-2.5.2.html +29 -0
  66. package/uview-plus/components/u-parse/u-parse.vue +29 -1
  67. package/other/lime-painter2/README2.md +0 -576
  68. package/other/lime-painter2/changelog.md +0 -225
  69. package/other/lime-painter2/package.json +0 -93
  70. package/other/lime-painter2/readme.md +0 -758
  71. package/other/lime-painter2/test.md +0 -45
  72. package/other/qiun-data-charts/qiun-data-charts.vue +0 -1618
  73. package/other/u-parse-2019/readme.md +0 -99
  74. package/other/uParse/components/style.css +0 -1
  75. package/other/uParse/components/wxParseAudio.vue +0 -1
  76. package/other/xt-parse/changelog.md +0 -41
  77. package/other/xt-parse/node/node.vue +0 -752
  78. package/other/xt-parse/package.json +0 -129
  79. package/other/xt-parse/parser.js +0 -1461
  80. package/other/xt-parse/props.js +0 -49
  81. package/other/xt-parse/readme.md +0 -145
  82. package/other/xt-parse/static/app-plus/u-parse/js/handler.js +0 -1
  83. package/other/xt-parse/u-parse.vue +0 -510
  84. package/plugins/luch-request/adapters/index.js +0 -131
  85. package/plugins/luch-request/core/InterceptorManager.js +0 -50
  86. package/plugins/luch-request/core/Request.js +0 -199
  87. package/plugins/luch-request/core/buildFullPath.js +0 -20
  88. package/plugins/luch-request/core/defaults.js +0 -32
  89. package/plugins/luch-request/core/dispatchRequest.js +0 -5
  90. package/plugins/luch-request/core/mergeConfig.js +0 -125
  91. package/plugins/luch-request/core/settle.js +0 -16
  92. package/plugins/luch-request/helpers/buildURL.js +0 -71
  93. package/plugins/luch-request/helpers/combineURLs.js +0 -12
  94. package/plugins/luch-request/helpers/isAbsoluteURL.js +0 -14
  95. package/plugins/luch-request/index.d.ts +0 -197
  96. package/plugins/luch-request/index.js +0 -2
  97. package/plugins/luch-request/readme.md +0 -3
  98. package/plugins/luch-request/utils/clone.js +0 -260
  99. package/plugins/luch-request/utils.js +0 -131
  100. package/ui-cv/components/cv-cell-row/cv-cell-row.vue +0 -220
  101. package/ui-cv/components/cv-icons/iconfont/font-action-icons.js +0 -73
  102. package/ui-cv/components/cv-icons/iconfont/font-action.css +0 -7
  103. package/ui-cv/components/cv-icons/iconfont/font-action.js +0 -5
  104. package/ui-cv/components/cv-icons/iconfont/font-arrow-icons.js +0 -47
  105. package/ui-cv/components/cv-icons/iconfont/font-arrow.css +0 -6
  106. package/ui-cv/components/cv-icons/iconfont/font-arrow.js +0 -5
  107. package/ui-cv/components/cv-icons/iconfont/font-base-icons.js +0 -92
  108. package/ui-cv/components/cv-icons/iconfont/font-base.css +0 -6
  109. package/ui-cv/components/cv-icons/iconfont/font-base.js +0 -5
  110. package/ui-cv/components/cv-icons/iconfont/font-mall-icons.js +0 -35
  111. package/ui-cv/components/cv-icons/iconfont/font-mall.css +0 -7
  112. package/ui-cv/components/cv-icons/iconfont/font-mall.js +0 -5
  113. package/ui-cv/components/cv-icons/iconfont/font-media-icons.js +0 -45
  114. package/ui-cv/components/cv-icons/iconfont/font-media.css +0 -7
  115. package/ui-cv/components/cv-icons/iconfont/font-media.js +0 -5
  116. package/ui-cv/components/cv-icons/iconfont/font-order-icons.js +0 -34
  117. package/ui-cv/components/cv-icons/iconfont/font-order.css +0 -6
  118. package/ui-cv/components/cv-icons/iconfont/font-order.js +0 -5
  119. package/ui-cv/components/cv-icons/iconfont/font-people-icons.js +0 -49
  120. package/ui-cv/components/cv-icons/iconfont/font-people.css +0 -7
  121. package/ui-cv/components/cv-icons/iconfont/font-people.js +0 -5
  122. package/ui-cv/components/cv-icons/iconfont/font-status-icons.js +0 -34
  123. package/ui-cv/components/cv-icons/iconfont/font-status.css +0 -6
  124. package/ui-cv/components/cv-icons/iconfont/font-status.js +0 -5
  125. package/ui-cv/components/cv-icons/iconfont/font-wallet-icons.js +0 -17
  126. package/ui-cv/components/cv-icons/iconfont/font-wallet.css +0 -6
  127. package/ui-cv/components/cv-icons/iconfont/font-wallet.js +0 -5
  128. package/ui-cv/components/cv-icons/icons/default-icons.js +0 -132
  129. package/ui-cv/components/cv-icons/icons/icons-action.js +0 -72
  130. package/ui-cv/components/cv-icons/icons/icons-arrow.js +0 -46
  131. package/ui-cv/components/cv-icons/icons/icons-base.js +0 -89
  132. package/ui-cv/components/cv-icons/icons/icons-mall.js +0 -34
  133. package/ui-cv/components/cv-icons/icons/icons-media.js +0 -44
  134. package/ui-cv/components/cv-icons/icons/icons-order.js +0 -33
  135. package/ui-cv/components/cv-icons/icons/icons-people.js +0 -46
  136. package/ui-cv/components/cv-icons/icons/icons-status.js +0 -32
  137. package/ui-cv/components/cv-icons/icons/icons-wallet.js +0 -15
  138. package/ui-sdks/sdk-app-update/img/logo.png +0 -0
  139. package/ui-sdks/sdk-app-update/img/update_bg.png +0 -0
  140. package/ui-sdks/sdk-app-update/img/update_bg_top.png +0 -0
  141. package/ui-sdks/sdk-app-update/sdk-app-update.vue +0 -396
  142. package/ui-sdks/sdk-app-update/xxxx +0 -62
  143. package/ui-sdks/sdk-privacy-policy/sdk-privacy-policy.vue +0 -113
  144. package/ui-sdks/sdk-u-charts/config-echarts.js +0 -420
  145. package/ui-sdks/sdk-u-charts/config-ucharts.js +0 -630
  146. package/ui-sdks/sdk-u-charts/u-charts.js +0 -7398
  147. package/ui-sdks/sdk-u-charts/u-charts.min.js +0 -1
  148. package/ui-sdks/sdk-webview-main/WebViewMain.vue +0 -1
  149. package/ui-sdks/sdk-webview-main/main.js +0 -0
  150. package/ui-sdks/sdk-webview-main/mixin.js +0 -0
  151. package/uni-ui/lib/uni-badge/changelog.md +0 -33
  152. package/uni-ui/lib/uni-badge/package.json +0 -107
  153. package/uni-ui/lib/uni-badge/readme.md +0 -8
  154. package/uni-ui/lib/uni-breadcrumb/changelog.md +0 -6
  155. package/uni-ui/lib/uni-breadcrumb/readme.md +0 -66
  156. package/uni-ui/lib/uni-calendar/changelog.md +0 -30
  157. package/uni-ui/lib/uni-calendar/package.json +0 -105
  158. package/uni-ui/lib/uni-calendar/readme.md +0 -103
  159. package/uni-ui/lib/uni-card/changelog.md +0 -26
  160. package/uni-ui/lib/uni-card/package.json +0 -107
  161. package/uni-ui/lib/uni-card/readme.md +0 -10
  162. package/uni-ui/lib/uni-collapse/changelog.md +0 -48
  163. package/uni-ui/lib/uni-collapse/package.json +0 -106
  164. package/uni-ui/lib/uni-collapse/readme.md +0 -11
  165. package/uni-ui/lib/uni-combox/changelog.md +0 -17
  166. package/uni-ui/lib/uni-combox/package.json +0 -107
  167. package/uni-ui/lib/uni-combox/readme.md +0 -10
  168. package/uni-ui/lib/uni-countdown/changelog.md +0 -30
  169. package/uni-ui/lib/uni-countdown/package.json +0 -105
  170. package/uni-ui/lib/uni-countdown/readme.md +0 -9
  171. package/uni-ui/lib/uni-data-checkbox/changelog.md +0 -51
  172. package/uni-ui/lib/uni-data-checkbox/package.json +0 -107
  173. package/uni-ui/lib/uni-data-checkbox/readme.md +0 -17
  174. package/uni-ui/lib/uni-data-picker/changelog.md +0 -81
  175. package/uni-ui/lib/uni-data-picker/package.json +0 -109
  176. package/uni-ui/lib/uni-data-picker/readme.md +0 -21
  177. package/uni-ui/lib/uni-data-select/changelog.md +0 -51
  178. package/uni-ui/lib/uni-data-select/package.json +0 -106
  179. package/uni-ui/lib/uni-data-select/readme.md +0 -7
  180. package/uni-ui/lib/uni-dateformat/changelog.md +0 -10
  181. package/uni-ui/lib/uni-dateformat/package.json +0 -107
  182. package/uni-ui/lib/uni-dateformat/readme.md +0 -10
  183. package/uni-ui/lib/uni-datetime-picker/changelog.md +0 -177
  184. package/uni-ui/lib/uni-datetime-picker/package.json +0 -107
  185. package/uni-ui/lib/uni-datetime-picker/readme.md +0 -20
  186. package/uni-ui/lib/uni-drawer/changelog.md +0 -13
  187. package/uni-ui/lib/uni-drawer/package.json +0 -106
  188. package/uni-ui/lib/uni-drawer/readme.md +0 -9
  189. package/uni-ui/lib/uni-easyinput/changelog.md +0 -121
  190. package/uni-ui/lib/uni-easyinput/package.json +0 -107
  191. package/uni-ui/lib/uni-easyinput/readme.md +0 -10
  192. package/uni-ui/lib/uni-fab/changelog.md +0 -25
  193. package/uni-ui/lib/uni-fab/package.json +0 -107
  194. package/uni-ui/lib/uni-fab/readme.md +0 -8
  195. package/uni-ui/lib/uni-fav/changelog.md +0 -19
  196. package/uni-ui/lib/uni-fav/package.json +0 -106
  197. package/uni-ui/lib/uni-fav/readme.md +0 -9
  198. package/uni-ui/lib/uni-file-picker/changelog.md +0 -91
  199. package/uni-ui/lib/uni-file-picker/package.json +0 -105
  200. package/uni-ui/lib/uni-file-picker/readme.md +0 -10
  201. package/uni-ui/lib/uni-forms/changelog.md +0 -100
  202. package/uni-ui/lib/uni-forms/package.json +0 -107
  203. package/uni-ui/lib/uni-forms/readme.md +0 -22
  204. package/uni-ui/lib/uni-goods-nav/changelog.md +0 -18
  205. package/uni-ui/lib/uni-goods-nav/package.json +0 -105
  206. package/uni-ui/lib/uni-goods-nav/readme.md +0 -9
  207. package/uni-ui/lib/uni-grid/changelog.md +0 -13
  208. package/uni-ui/lib/uni-grid/package.json +0 -106
  209. package/uni-ui/lib/uni-grid/readme.md +0 -10
  210. package/uni-ui/lib/uni-group/changelog.md +0 -16
  211. package/uni-ui/lib/uni-group/package.json +0 -106
  212. package/uni-ui/lib/uni-group/readme.md +0 -8
  213. package/uni-ui/lib/uni-icons/changelog.md +0 -44
  214. package/uni-ui/lib/uni-icons/package.json +0 -111
  215. package/uni-ui/lib/uni-icons/readme.md +0 -7
  216. package/uni-ui/lib/uni-indexed-list/changelog.md +0 -19
  217. package/uni-ui/lib/uni-indexed-list/package.json +0 -107
  218. package/uni-ui/lib/uni-indexed-list/readme.md +0 -10
  219. package/uni-ui/lib/uni-link/changelog.md +0 -17
  220. package/uni-ui/lib/uni-link/package.json +0 -106
  221. package/uni-ui/lib/uni-link/readme.md +0 -10
  222. package/uni-ui/lib/uni-list/changelog.md +0 -52
  223. package/uni-ui/lib/uni-list/package.json +0 -108
  224. package/uni-ui/lib/uni-list/readme.md +0 -44
  225. package/uni-ui/lib/uni-load-more/changelog.md +0 -27
  226. package/uni-ui/lib/uni-load-more/package.json +0 -105
  227. package/uni-ui/lib/uni-load-more/readme.md +0 -12
  228. package/uni-ui/lib/uni-nav-bar/changelog.md +0 -64
  229. package/uni-ui/lib/uni-nav-bar/package.json +0 -106
  230. package/uni-ui/lib/uni-nav-bar/readme.md +0 -13
  231. package/uni-ui/lib/uni-notice-bar/changelog.md +0 -22
  232. package/uni-ui/lib/uni-notice-bar/package.json +0 -107
  233. package/uni-ui/lib/uni-notice-bar/readme.md +0 -11
  234. package/uni-ui/lib/uni-number-box/changelog.md +0 -39
  235. package/uni-ui/lib/uni-number-box/package.json +0 -104
  236. package/uni-ui/lib/uni-number-box/readme.md +0 -11
  237. package/uni-ui/lib/uni-pagination/changelog.md +0 -27
  238. package/uni-ui/lib/uni-pagination/package.json +0 -106
  239. package/uni-ui/lib/uni-pagination/readme.md +0 -10
  240. package/uni-ui/lib/uni-popup/changelog.md +0 -102
  241. package/uni-ui/lib/uni-popup/package.json +0 -107
  242. package/uni-ui/lib/uni-popup/readme.md +0 -15
  243. package/uni-ui/lib/uni-rate/changelog.md +0 -27
  244. package/uni-ui/lib/uni-rate/package.json +0 -106
  245. package/uni-ui/lib/uni-rate/readme.md +0 -11
  246. package/uni-ui/lib/uni-row/changelog.md +0 -10
  247. package/uni-ui/lib/uni-row/package.json +0 -106
  248. package/uni-ui/lib/uni-row/readme.md +0 -9
  249. package/uni-ui/lib/uni-scss/changelog.md +0 -8
  250. package/uni-ui/lib/uni-scss/package.json +0 -99
  251. package/uni-ui/lib/uni-scss/readme.md +0 -3
  252. package/uni-ui/lib/uni-search-bar/changelog.md +0 -47
  253. package/uni-ui/lib/uni-search-bar/package.json +0 -106
  254. package/uni-ui/lib/uni-search-bar/readme.md +0 -12
  255. package/uni-ui/lib/uni-section/changelog.md +0 -2
  256. package/uni-ui/lib/uni-section/package.json +0 -104
  257. package/uni-ui/lib/uni-section/readme.md +0 -7
  258. package/uni-ui/lib/uni-segmented-control/changelog.md +0 -15
  259. package/uni-ui/lib/uni-segmented-control/package.json +0 -106
  260. package/uni-ui/lib/uni-segmented-control/readme.md +0 -11
  261. package/uni-ui/lib/uni-steps/changelog.md +0 -18
  262. package/uni-ui/lib/uni-steps/package.json +0 -106
  263. package/uni-ui/lib/uni-steps/readme.md +0 -11
  264. package/uni-ui/lib/uni-swipe-action/changelog.md +0 -60
  265. package/uni-ui/lib/uni-swipe-action/package.json +0 -113
  266. package/uni-ui/lib/uni-swipe-action/readme.md +0 -10
  267. package/uni-ui/lib/uni-swiper-dot/changelog.md +0 -12
  268. package/uni-ui/lib/uni-swiper-dot/package.json +0 -106
  269. package/uni-ui/lib/uni-swiper-dot/readme.md +0 -10
  270. package/uni-ui/lib/uni-table/changelog.md +0 -35
  271. package/uni-ui/lib/uni-table/package.json +0 -106
  272. package/uni-ui/lib/uni-table/readme.md +0 -11
  273. package/uni-ui/lib/uni-tag/changelog.md +0 -25
  274. package/uni-ui/lib/uni-tag/package.json +0 -106
  275. package/uni-ui/lib/uni-tag/readme.md +0 -11
  276. package/uni-ui/lib/uni-title/changelog.md +0 -10
  277. package/uni-ui/lib/uni-title/package.json +0 -107
  278. package/uni-ui/lib/uni-title/readme.md +0 -12
  279. package/uni-ui/lib/uni-tooltip/changelog.md +0 -16
  280. package/uni-ui/lib/uni-tooltip/package.json +0 -104
  281. package/uni-ui/lib/uni-tooltip/readme.md +0 -7
  282. package/uni-ui/lib/uni-transition/changelog.md +0 -31
  283. package/uni-ui/lib/uni-transition/package.json +0 -112
  284. package/uni-ui/lib/uni-transition/readme.md +0 -10
  285. package/uni-ui/lib/uni-ui/changelog.md +0 -639
  286. package/uni-ui/lib/uni-ui/package.json +0 -148
  287. package/uni-ui/lib/uni-ui/readme.md +0 -247
  288. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/canvas.js +0 -0
  289. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/draw.js +0 -0
  290. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/draw2.js +0 -0
  291. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/gradient.js +0 -0
  292. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/index.vue +0 -0
  293. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/index2.vue +0 -0
  294. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/layout.js +0 -0
  295. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/qrcode.js +0 -0
  296. /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/utils.js +0 -0
  297. /package/{ui-sdks → other}/qiun-data-charts/changelog.md +0 -0
  298. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue +0 -0
  299. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-error/qiun-error.vue +0 -0
  300. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading1.vue +0 -0
  301. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading2.vue +0 -0
  302. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading3.vue +0 -0
  303. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading4.vue +0 -0
  304. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading5.vue +0 -0
  305. /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/qiun-loading.vue +0 -0
  306. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/config-echarts.js +0 -0
  307. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/readme.md +0 -0
  308. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/u-charts.js +0 -0
  309. /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/u-charts.min.js +0 -0
  310. /package/{ui-sdks/sdk-u-charts → other/qiun-data-charts/js_sdk2}/app-echarts.min.js +0 -0
  311. /package/{ui-sdks/sdk-u-charts → other/qiun-data-charts/js_sdk2}/h5-echarts.min.js +0 -0
  312. /package/{ui-sdks → other}/qiun-data-charts/license.md +0 -0
  313. /package/{ui-sdks → other}/qiun-data-charts/readme.md +0 -0
  314. /package/{ui-sdks → other}/qiun-data-charts/static/app-plus/echarts.min.js +0 -0
  315. /package/{ui-sdks → other}/qiun-data-charts/static/h5/echarts.min.js +0 -0
  316. /package/{ui-sdks → other}/tui-clipboard/tui-clipboard.js +0 -0
  317. /package/other/{u-parse-2019 → u-parse}/components/wxParseAudio.vue +0 -0
  318. /package/other/{u-parse-2019 → u-parse}/components/wxParseImg.vue +0 -0
  319. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate1.vue +0 -0
  320. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate10.vue +0 -0
  321. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate11.vue +0 -0
  322. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate2.vue +0 -0
  323. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate3.vue +0 -0
  324. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate4.vue +0 -0
  325. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate5.vue +0 -0
  326. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate6.vue +0 -0
  327. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate7.vue +0 -0
  328. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate8.vue +0 -0
  329. /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate9.vue +0 -0
  330. /package/other/{u-parse-2019 → u-parse}/components/wxParseVideo.vue +0 -0
  331. /package/other/{u-parse-2019 → u-parse}/libs/htmlparser.js +0 -0
  332. /package/other/{u-parse-2019 → u-parse}/u-parse.css +0 -0
  333. /package/other/{uParse → uParse2}/components/wxParseTemplate10.vue +0 -0
  334. /package/other/{uParse → uParse2}/components/wxParseTemplate11.vue +0 -0
  335. /package/other/{uParse → uParse2}/components/wxParseTemplate2.vue +0 -0
  336. /package/other/{uParse → uParse2}/components/wxParseTemplate3.vue +0 -0
  337. /package/other/{uParse → uParse2}/components/wxParseTemplate4.vue +0 -0
  338. /package/other/{uParse → uParse2}/components/wxParseTemplate5.vue +0 -0
  339. /package/other/{uParse → uParse2}/components/wxParseTemplate6.vue +0 -0
  340. /package/other/{uParse → uParse2}/components/wxParseTemplate7.vue +0 -0
  341. /package/other/{uParse → uParse2}/components/wxParseTemplate8.vue +0 -0
  342. /package/other/{uParse → uParse2}/components/wxParseTemplate9.vue +0 -0
  343. /package/other/{uParse → uParse2}/components/wxParseVideo.vue +0 -0
  344. /package/other/{uParse → uParse2}/editor.css +0 -0
  345. /package/other/{uParse → uParse2}/libs/htmlparser.js +0 -0
  346. /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/handler2.js +0 -0
  347. /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
  348. /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
  349. /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/local.html +0 -0
@@ -1,133 +1,129 @@
1
1
  /* 基础图标库 */
2
2
  export default {
3
- "pulldown": "\ue588",
4
- "refreshempty": "\ue461",
5
- "back": "\ue471",
6
- "forward": "\ue470",
7
- "more": "\ue507",
8
- "more-filled": "\ue537",
9
- "scan": "\ue612",
10
- "qq": "\ue264",
11
- "weibo": "\ue260",
12
- "weixin": "\ue261",
13
- "pengyouquan": "\ue262",
14
- "loop": "\ue565",
15
- "refresh": "\ue407",
16
- "refresh-filled": "\ue437",
17
- "arrowthindown": "\ue585",
18
- "arrowthinleft": "\ue586",
19
- "arrowthinright": "\ue587",
20
- "arrowthinup": "\ue584",
21
- "undo-filled": "\ue7d6",
22
- "undo": "\ue406",
23
- "redo": "\ue405",
24
- "redo-filled": "\ue7d9",
25
- "bars": "\ue563",
26
- "chatboxes": "\ue203",
27
- "camera": "\ue301",
28
- "chatboxes-filled": "\ue233",
29
- "camera-filled": "\ue7ef",
30
- "cart-filled": "\ue7f4",
31
- "cart": "\ue7f5",
32
- "checkbox-filled": "\ue442",
33
- "checkbox": "\ue7fa",
34
- "arrowleft": "\ue582",
35
- "arrowdown": "\ue581",
36
- "arrowright": "\ue583",
37
- "smallcircle-filled": "\ue801",
38
- "arrowup": "\ue580",
39
- "circle": "\ue411",
40
- "eye-filled": "\ue568",
41
- "eye-slash-filled": "\ue822",
42
- "eye-slash": "\ue823",
43
- "eye": "\ue824",
44
- "flag-filled": "\ue825",
45
- "flag": "\ue508",
46
- "gear-filled": "\ue532",
47
- "reload": "\ue462",
48
- "gear": "\ue502",
49
- "hand-thumbsdown-filled": "\ue83b",
50
- "hand-thumbsdown": "\ue83c",
51
- "hand-thumbsup-filled": "\ue83d",
52
- "heart-filled": "\ue83e",
53
- "hand-thumbsup": "\ue83f",
54
- "heart": "\ue840",
55
- "home": "\ue500",
56
- "info": "\ue504",
57
- "home-filled": "\ue530",
58
- "info-filled": "\ue534",
59
- "circle-filled": "\ue441",
60
- "chat-filled": "\ue847",
61
- "chat": "\ue263",
62
- "mail-open-filled": "\ue84d",
63
- "email-filled": "\ue231",
64
- "mail-open": "\ue84e",
65
- "email": "\ue201",
66
- "checkmarkempty": "\ue472",
67
- "list": "\ue562",
68
- "locked-filled": "\ue856",
69
- "locked": "\ue506",
70
- "map-filled": "\ue85c",
71
- "map-pin": "\ue85e",
72
- "map-pin-ellipse": "\ue864",
73
- "map": "\ue364",
74
- "minus-filled": "\ue440",
75
- "mic-filled": "\ue332",
76
- "minus": "\ue410",
77
- "micoff": "\ue360",
78
- "mic": "\ue302",
79
- "clear": "\ue434",
80
- "smallcircle": "\ue868",
81
- "close": "\ue404",
82
- "closeempty": "\ue460",
83
- "paperclip": "\ue567",
84
- "paperplane": "\ue503",
85
- "paperplane-filled": "\ue86e",
86
- "person-filled": "\ue131",
87
- "contact-filled": "\ue130",
88
- "person": "\ue101",
89
- "contact": "\ue100",
90
- "images-filled": "\ue87a",
91
- "phone": "\ue200",
92
- "images": "\ue87b",
93
- "image": "\ue363",
94
- "image-filled": "\ue877",
95
- "location-filled": "\ue333",
96
- "location": "\ue303",
97
- "plus-filled": "\ue439",
98
- "plus": "\ue409",
99
- "plusempty": "\ue468",
100
- "help-filled": "\ue535",
101
- "help": "\ue505",
102
- "navigate-filled": "\ue884",
103
- "navigate": "\ue501",
104
- "mic-slash-filled": "\ue892",
105
- "search": "\ue466",
106
- "settings": "\ue560",
107
- "sound": "\ue590",
108
- "sound-filled": "\ue8a1",
109
- "spinner-cycle": "\ue465",
110
- "download-filled": "\ue8a4",
111
- "personadd-filled": "\ue132",
112
- "videocam-filled": "\ue8af",
113
- "personadd": "\ue102",
114
- "upload": "\ue402",
115
- "upload-filled": "\ue8b1",
116
- "starhalf": "\ue463",
117
- "star-filled": "\ue438",
118
- "star": "\ue408",
119
- "trash": "\ue401",
120
- "phone-filled": "\ue230",
121
- "compose": "\ue400",
122
- "videocam": "\ue300",
123
- "trash-filled": "\ue8dc",
124
- "download": "\ue403",
125
- "chatbubble-filled": "\ue232",
126
- "chatbubble": "\ue202",
127
- "cloud-download": "\ue8e4",
128
- "cloud-upload-filled": "\ue8e5",
129
- "cloud-upload": "\ue8e6",
130
- "cloud-download-filled": "\ue8e9",
131
- "headphones": "\ue8bf",
132
- "shop": "\ue609"
133
- }
3
+ pulldown: '\ue588',
4
+ refreshempty: '\ue461',
5
+ back: '\ue471',
6
+ forward: '\ue470',
7
+ more: '\ue507',
8
+ 'more-filled': '\ue537',
9
+ scan: '\ue612',
10
+ qq: '\ue264',
11
+ weibo: '\ue260',
12
+ weixin: '\ue261',
13
+ pengyouquan: '\ue262',
14
+ loop: '\ue565',
15
+ refresh: '\ue407',
16
+ 'refresh-filled': '\ue437',
17
+ arrowthindown: '\ue585',
18
+ arrowthinleft: '\ue586',
19
+ arrowthinright: '\ue587',
20
+ arrowthinup: '\ue584',
21
+ 'undo-filled': '\ue7d6',
22
+ undo: '\ue406',
23
+ redo: '\ue405',
24
+ 'redo-filled': '\ue7d9',
25
+ bars: '\ue563',
26
+ chatboxes: '\ue203',
27
+ camera: '\ue301',
28
+ 'chatboxes-filled': '\ue233',
29
+ 'camera-filled': '\ue7ef',
30
+ 'cart-filled': '\ue7f4',
31
+ cart: '\ue7f5',
32
+ 'checkbox-filled': '\ue442',
33
+ checkbox: '\ue7fa',
34
+ arrowleft: '\ue582',
35
+ arrowdown: '\ue581',
36
+ arrowright: '\ue583',
37
+ 'smallcircle-filled': '\ue801',
38
+ arrowup: '\ue580',
39
+ circle: '\ue411',
40
+ 'eye-filled': '\ue568',
41
+ 'eye-slash-filled': '\ue822',
42
+ 'eye-slash': '\ue823',
43
+ eye: '\ue824',
44
+ 'flag-filled': '\ue825',
45
+ flag: '\ue508',
46
+ 'gear-filled': '\ue532',
47
+ reload: '\ue462',
48
+ gear: '\ue502',
49
+ 'hand-thumbsdown-filled': '\ue83b',
50
+ 'hand-thumbsdown': '\ue83c',
51
+ 'hand-thumbsup-filled': '\ue83d',
52
+ 'heart-filled': '\ue83e',
53
+ 'hand-thumbsup': '\ue83f',
54
+ heart: '\ue840',
55
+ home: '\ue500',
56
+ info: '\ue504',
57
+ 'home-filled': '\ue530',
58
+ 'info-filled': '\ue534',
59
+ 'circle-filled': '\ue441',
60
+ 'chat-filled': '\ue847',
61
+ chat: '\ue263',
62
+ 'mail-open-filled': '\ue84d',
63
+ 'email-filled': '\ue231',
64
+ 'mail-open': '\ue84e',
65
+ email: '\ue201',
66
+ checkmarkempty: '\ue472',
67
+ list: '\ue562',
68
+ 'locked-filled': '\ue856',
69
+ locked: '\ue506',
70
+ 'map-filled': '\ue85c',
71
+ 'map-pin': '\ue85e',
72
+ 'map-pin-ellipse': '\ue864',
73
+ map: '\ue364',
74
+ 'minus-filled': '\ue440',
75
+ 'mic-filled': '\ue332',
76
+ minus: '\ue410',
77
+ micoff: '\ue360',
78
+ mic: '\ue302',
79
+ clear: '\ue434',
80
+ smallcircle: '\ue868',
81
+ close: '\ue404',
82
+ closeempty: '\ue460',
83
+ paperclip: '\ue567',
84
+ paperplane: '\ue503',
85
+ 'paperplane-filled': '\ue86e',
86
+ 'person-filled': '\ue131',
87
+ 'contact-filled': '\ue130',
88
+ person: '\ue101',
89
+ contact: '\ue100',
90
+ 'images-filled': '\ue87a',
91
+ phone: '\ue200',
92
+ images: '\ue87b',
93
+ image: '\ue363',
94
+ 'image-filled': '\ue877',
95
+ 'location-filled': '\ue333',
96
+ location: '\ue303',
97
+ 'plus-filled': '\ue439',
98
+ plus: '\ue409',
99
+ plusempty: '\ue468',
100
+ 'help-filled': '\ue535',
101
+ help: '\ue505',
102
+ 'navigate-filled': '\ue884',
103
+ navigate: '\ue501',
104
+ 'mic-slash-filled': '\ue892',
105
+ search: '\ue466',
106
+ settings: '\ue560',
107
+ sound: '\ue590',
108
+ 'sound-filled': '\ue8a1',
109
+ 'spinner-cycle': '\ue465',
110
+ 'download-filled': '\ue8a4',
111
+ 'personadd-filled': '\ue132',
112
+ 'videocam-filled': '\ue8af',
113
+ personadd: '\ue102',
114
+ upload: '\ue402',
115
+ 'upload-filled': '\ue8b1',
116
+ starhalf: '\ue463',
117
+ 'star-filled': '\ue438',
118
+ star: '\ue408',
119
+ trash: '\ue401',
120
+ 'phone-filled': '\ue230',
121
+ compose: '\ue400',
122
+ videocam: '\ue300',
123
+ 'trash-filled': '\ue8dc',
124
+ download: '\ue403',
125
+ 'chatbubble-filled': '\ue232',
126
+ chatbubble: '\ue202',
127
+ headphones: '\ue8bf',
128
+ shop: '\ue609'
129
+ };
@@ -20,7 +20,7 @@
20
20
  <cv-icons
21
21
  class="cv-input__eyes"
22
22
  v-if="localVal != '' && passwordIcon"
23
- :type="showPassword ? 'base-eyeslash-fill' : 'base-eye-fill'"
23
+ :type="showPassword ? 'viewEyeOff2' : 'viewEyeOpen2'"
24
24
  :size="18"
25
25
  color="rgba(0, 0, 0, 0.4)"
26
26
  @click="onEyes"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <view class="mask-icon" :style="iconStyle" @tap="$emit('click', $event)"></view>
2
+ <view class="mask-icon" :style="iconStyle" @click="$emit('click', $event)"></view>
3
3
  </template>
4
4
  <script>
5
5
  import maskMixin from './mixins.js';
@@ -20,7 +20,7 @@ export default {
20
20
  // 悬浮颜色
21
21
  hoverColor: {
22
22
  type: String,
23
- default: ''
23
+ default: 'currentColor'
24
24
  },
25
25
  // 开启悬浮效果
26
26
  hoverEffect: {
@@ -46,32 +46,36 @@ export default {
46
46
  // [A-Z] 匹配所有大写字母(驼峰的标识)
47
47
  // 替换为:'-' + 匹配到的大写字母(后续步骤2统一转小写,此处可先转小写也可后转)
48
48
  processedName = processedName.replace(/([A-Z])/g, (match) => `-${match.toLowerCase()}`);
49
- // 处理特殊情况:若字符串以-开头(如原名称以大写字母开头,如 Avatar → -avatar),去除首尾多余-
49
+ // 处理特殊情况:若字符串以-开头,去除首尾多余-
50
+ // 如:原名称以大写字母开头,如 Avatar → -avatar
50
51
  processedName = processedName.replace(/^-|-$/g, '');
51
52
 
52
- // 步骤2:全部转换为小写(兼容混合大小写场景,如 avatar-Filled → avatar-filled)
53
+ // 步骤2:全部转换为小写(兼容混合大小写场景)
54
+ // 如:avatar-Filled → avatar-filled
53
55
  processedName = processedName.toLowerCase().trim();
54
56
 
55
- // 步骤3:定义正则,匹配末尾的 -filled(确保是整体,不分割)
56
- const filledSuffixReg = /-filled$/;
57
- const isFilledSuffix = filledSuffixReg.test(processedName);
57
+ // 步骤3:定义正则,匹配末尾的 -filled 或 -bold(确保是整体,不分割)
58
+ const specialSuffixReg = /-(filled|bold)$/;
59
+ const isSpecialSuffix = specialSuffixReg.test(processedName);
58
60
 
59
- if (isFilledSuffix) {
61
+ if (isSpecialSuffix) {
60
62
  // 情况A:末尾带 -filled,需要拆分非-filled部分,保留-filled为整体
61
63
  // 步骤:先截取除了末尾-filled之外的字符串,再处理分割,最后拼接-filled
62
- const withoutFilled = processedName.slice(0, processedName.lastIndexOf('-filled'));
63
- if (withoutFilled) {
64
+ // 匹配并获取末尾的特殊后缀 filled/bold
65
+ const suffix = processedName.match(specialSuffixReg)[1];
66
+ const withoutSuffix = processedName.slice(0, processedName.lastIndexOf(`-${suffix}`));
67
+ if (withoutSuffix) {
64
68
  // 非-filled部分有内容(如 xxxx-avatar-filled → withoutFilled = xxxx-avatar)
65
69
  // 对非-filled部分按-分割,过滤空元素后拼接为路径
66
- const pathArr = withoutFilled.split('-').filter((item) => item.trim().length > 0);
70
+ const pathArr = withoutSuffix.split('-').filter((item) => item.trim().length > 0);
67
71
  // 拼接:非-filled部分路径 + / + filled整体(如 xxxx/avatar + / + filled → xxxx/avatar-filled)
68
- iconPath = `${pathArr.join('/')}-filled`;
72
+ iconPath = `${pathArr.join('/')}-${suffix}`;
69
73
  } else {
70
74
  // 非-filled部分无内容(如直接是 avatar-filled → withoutFilled 为空)
71
75
  iconPath = processedName; // 直接使用整体,如 avatar-filled
72
76
  }
73
77
  } else {
74
- // 情况B:末尾不带 -filled,正常按-分割拼接
78
+ // 情况B:末尾不带特殊后缀,正常按-分割拼接
75
79
  if (processedName.includes('-')) {
76
80
  const pathArr = processedName.split('-').filter((item) => item.trim().length > 0);
77
81
  iconPath = pathArr.join('/');
@@ -15,7 +15,7 @@
15
15
  </view>
16
16
  <view class="cv-upload-imgbig-right">
17
17
  <view class="cv-upload-imgbig-right__upload">
18
- <cv-icons type="action-quan-plus-filled" size="36" color="#999999"></cv-icons>
18
+ <cv-icons type="circlePlusFilled" size="36" color="#999999"></cv-icons>
19
19
  <view>添加图片</view>
20
20
  </view>
21
21
  </view>
@@ -32,7 +32,7 @@
32
32
  />
33
33
  <cv-icons
34
34
  class="cv-uoload-img-remove"
35
- type="action-quan-cha"
35
+ type="circleError"
36
36
  size="20"
37
37
  color="#FF0101"
38
38
  @tap="imgRemove(0)"
@@ -56,7 +56,7 @@
56
56
  />
57
57
  <cv-icons
58
58
  class="cv-uoload-img-remove"
59
- type="action-quan-cha"
59
+ type="circleError"
60
60
  size="20"
61
61
  color="#FF0101"
62
62
  @tap="imgRemove(index)"
@@ -159,7 +159,7 @@ export default {
159
159
  //icon颜色
160
160
  color: '#999999',
161
161
  //图标类型,默认相机
162
- icon: this.addType == 'camera' ? 'media-camera-filled' : 'media-image-filled',
162
+ icon: this.addType == 'camera' ? 'mediaCameraFilled' : 'media-image-filled',
163
163
  // 图标
164
164
  size: 26
165
165
  },
@@ -41,7 +41,7 @@ export default {
41
41
  share: [
42
42
  {
43
43
  name: '微信',
44
- icon: 'base-weixin',
44
+ icon: 'brandWeixin',
45
45
  color: '#80D640'
46
46
  }
47
47
  // , {
@@ -27,7 +27,7 @@
27
27
  <view v-if="isShowAdd" class="up-upload-addicon" @tap="chooseImage">
28
28
  <view class="up-upload-item">
29
29
  <image style="width: 45rpx; height: 45rpx" src="/static/images/img.png" mode="widthFix"></image>
30
- <!-- <cv-icons type="media-camera-filled" size="44" color="#262871" /> -->
30
+ <!-- <cv-icons type="mediaCameraFilled" size="44" color="#262871" /> -->
31
31
  <!-- <view class="fontS_15" :style="[{ fontSize: fontSize + 'rpx' }]" style="margin-top: 10upx; color: #4fb49b">
32
32
  请上传照片
33
33
  </view> -->
@@ -8,15 +8,16 @@
8
8
  * @FilePath : /u-view2.0/uview-ui/libs/config/props/form.js
9
9
  */
10
10
  export default {
11
- // form 组件
12
- form: {
13
- model: {},
14
- rules: {},
15
- errorType: 'message',
16
- borderBottom: true,
17
- labelPosition: 'left',
18
- labelWidth: 45,
19
- labelAlign: 'left',
20
- labelStyle: {}
21
- }
22
- }
11
+ // form 组件
12
+ form: {
13
+ model: {},
14
+ rules: {},
15
+ errorType: 'message',
16
+ borderBottom: true,
17
+ labelPosition: 'left',
18
+ // labelWidth: 45,
19
+ labelWidth: 80,
20
+ labelAlign: 'left',
21
+ labelStyle: {}
22
+ }
23
+ };
@@ -0,0 +1,192 @@
1
+ ## 为减小组件包的大小,默认组件包中不包含编辑、latex 公式等扩展功能,需要使用扩展功能的请参考下方的 插件扩展 栏的说明
2
+
3
+ ## 功能介绍
4
+ - 全端支持(含 `v3、NVUE`)
5
+ - 支持丰富的标签(包括 `table`、`video`、`svg` 等)
6
+ - 支持丰富的事件效果(自动预览图片、链接处理等)
7
+ - 支持设置占位图(加载中、出错时、预览时)
8
+ - 支持锚点跳转、长按复制等丰富功能
9
+ - 支持大部分 *html* 实体
10
+ - 丰富的插件(关键词搜索、内容编辑、`latex` 公式等)
11
+ - 效率高、容错性强且轻量化
12
+
13
+ 查看 [功能介绍](https://jin-yufeng.github.io/mp-html/#/overview/feature) 了解更多
14
+
15
+ ## 使用方法
16
+ - `uni_modules` 方式
17
+ 1. 点击右上角的 `使用 HBuilder X 导入插件` 按钮直接导入项目或点击 `下载插件 ZIP` 按钮下载插件包并解压到项目的 `uni_modules/mp-html` 目录下
18
+ 2. 在需要使用页面的 `(n)vue` 文件中添加
19
+ ```html
20
+ <!-- 不需要引入,可直接使用 -->
21
+ <mp-html :content="html" />
22
+ ```
23
+ ```javascript
24
+ export default {
25
+ data() {
26
+ return {
27
+ html: '<div>Hello World!</div>'
28
+ }
29
+ }
30
+ }
31
+ ```
32
+ 3. 需要更新版本时在 `HBuilder X` 中右键 `uni_modules/mp-html` 目录选择 `从插件市场更新` 即可
33
+
34
+ - 源码方式
35
+ 1. 从 [github](https://github.com/jin-yufeng/mp-html/tree/master/dist/uni-app) 或 [gitee](https://gitee.com/jin-yufeng/mp-html/tree/master/dist/uni-app) 下载源码
36
+ 插件市场的 **非 uni_modules 版本** 无法更新,不建议从插件市场获取
37
+ 2. 在需要使用页面的 `(n)vue` 文件中添加
38
+ ```html
39
+ <mp-html :content="html" />
40
+ ```
41
+ ```javascript
42
+ import mpHtml from '@/components/mp-html/mp-html'
43
+ export default {
44
+ // HBuilderX 2.5.5+ 可以通过 easycom 自动引入
45
+ components: {
46
+ mpHtml
47
+ },
48
+ data() {
49
+ return {
50
+ html: '<div>Hello World!</div>'
51
+ }
52
+ }
53
+ }
54
+ ```
55
+
56
+ - npm 方式
57
+ 1. 在项目根目录下执行
58
+ ```bash
59
+ npm install mp-html
60
+ ```
61
+ 2. 在需要使用页面的 `(n)vue` 文件中添加
62
+ ```html
63
+ <mp-html :content="html" />
64
+ ```
65
+ ```javascript
66
+ import mpHtml from 'mp-html/dist/uni-app/components/mp-html/mp-html'
67
+ export default {
68
+ // 不可省略
69
+ components: {
70
+ mpHtml
71
+ },
72
+ data() {
73
+ return {
74
+ html: '<div>Hello World!</div>'
75
+ }
76
+ }
77
+ }
78
+ ```
79
+ 3. 需要更新版本时执行以下命令即可
80
+ ```bash
81
+ npm update mp-html
82
+ ```
83
+
84
+ 使用 *cli* 方式运行的项目,通过 *npm* 方式引入时,需要在 *vue.config.js* 中配置 *transpileDependencies*,详情可见 [#330](https://github.com/jin-yufeng/mp-html/issues/330#issuecomment-913617687)
85
+ 如果在 **nvue** 中使用还要将 `dist/uni-app/static` 目录下的内容拷贝到项目的 `static` 目录下,否则无法运行
86
+
87
+ 查看 [快速开始](https://jin-yufeng.github.io/mp-html/#/overview/quickstart) 了解更多
88
+
89
+ ## 组件属性
90
+
91
+ | 属性 | 类型 | 默认值 | 说明 |
92
+ |:---:|:---:|:---:|---|
93
+ | container-style | String | | 容器的样式([2.1.0+](https://jin-yufeng.github.io/mp-html/#/changelog/changelog#v210)) |
94
+ | content | String | | 用于渲染的 html 字符串 |
95
+ | copy-link | Boolean | true | 是否允许外部链接被点击时自动复制 |
96
+ | domain | String | | 主域名(用于链接拼接) |
97
+ | error-img | String | | 图片出错时的占位图链接 |
98
+ | lazy-load | Boolean | false | 是否开启图片懒加载 |
99
+ | loading-img | String | | 图片加载过程中的占位图链接 |
100
+ | pause-video | Boolean | true | 是否在播放一个视频时自动暂停其他视频 |
101
+ | preview-img | Boolean | true | 是否允许图片被点击时自动预览 |
102
+ | scroll-table | Boolean | false | 是否给每个表格添加一个滚动层使其能单独横向滚动 |
103
+ | selectable | Boolean | false | 是否开启文本长按复制 |
104
+ | set-title | Boolean | true | 是否将 title 标签的内容设置到页面标题 |
105
+ | show-img-menu | Boolean | true | 是否允许图片被长按时显示菜单 |
106
+ | tag-style | Object | | 设置标签的默认样式 |
107
+ | use-anchor | Boolean | false | 是否使用锚点链接 |
108
+
109
+ 查看 [属性](https://jin-yufeng.github.io/mp-html/#/basic/prop) 了解更多
110
+
111
+ ## 组件事件
112
+
113
+ | 名称 | 触发时机 |
114
+ |:---:|---|
115
+ | load | dom 树加载完毕时 |
116
+ | ready | 图片加载完毕时 |
117
+ | error | 发生渲染错误时 |
118
+ | imgtap | 图片被点击时 |
119
+ | linktap | 链接被点击时 |
120
+ | play | 音视频播放时 |
121
+
122
+ 查看 [事件](https://jin-yufeng.github.io/mp-html/#/basic/event) 了解更多
123
+
124
+ ## api
125
+ 组件实例上提供了一些 `api` 方法可供调用
126
+
127
+ | 名称 | 作用 |
128
+ |:---:|---|
129
+ | in | 将锚点跳转的范围限定在一个 scroll-view 内 |
130
+ | navigateTo | 锚点跳转 |
131
+ | getText | 获取文本内容 |
132
+ | getRect | 获取富文本内容的位置和大小 |
133
+ | setContent | 设置富文本内容 |
134
+ | imgList | 获取所有图片的数组 |
135
+ | pauseMedia | 暂停播放音视频([2.2.2+](https://jin-yufeng.github.io/mp-html/#/changelog/changelog#v222)) |
136
+ | setPlaybackRate | 设置音视频播放速率([2.4.0+](https://jin-yufeng.github.io/mp-html/#/changelog/changelog#v240)) |
137
+
138
+ 查看 [api](https://jin-yufeng.github.io/mp-html/#/advanced/api) 了解更多
139
+
140
+ ## 插件扩展
141
+ 除基本功能外,本组件还提供了丰富的扩展,可按照需要选用
142
+
143
+ | 名称 | 作用 |
144
+ |:---:|---|
145
+ | audio | 音乐播放器 |
146
+ | editable | 富文本 **编辑**([示例项目](https://mp-html.oss-cn-hangzhou.aliyuncs.com/editable.zip)) |
147
+ | emoji | 解析 emoji |
148
+ | highlight | 代码块高亮显示 |
149
+ | markdown | 渲染 markdown |
150
+ | search | 关键词搜索 |
151
+ | style | 匹配 style 标签中的样式 |
152
+ | txv-video | 使用腾讯视频 |
153
+ | img-cache | 图片缓存 by [@PentaTea](https://github.com/PentaTea) |
154
+ | latex | 渲染 latex 公式 by [@Zeng-J](https://github.com/Zeng-J) |
155
+
156
+ 从插件市场导入的包中 **不含有** 扩展插件,使用插件需通过微信小程序 `富文本插件` 获取或参考以下方法进行打包:
157
+ 1. 获取完整组件包
158
+ ```bash
159
+ npm install mp-html
160
+ ```
161
+ 2. 编辑 `tools/config.js` 中的 `plugins` 项,选择需要的插件
162
+ 3. 生成新的组件包
163
+ 在 `node_modules/mp-html` 目录下执行
164
+ ```bash
165
+ npm install
166
+ npm run build:uni-app
167
+ ```
168
+ 4. 拷贝 `dist/uni-app` 中的内容到项目根目录
169
+
170
+ 查看 [插件](https://jin-yufeng.github.io/mp-html/#/advanced/plugin) 了解更多
171
+
172
+ ## 关于 nvue
173
+ `nvue` 使用原生渲染,不支持部分 `css` 样式,为实现和 `html` 相同的效果,组件内部通过 `web-view` 进行渲染,性能上差于原生,根据 `weex` 官方建议,`web` 标签仅应用在非常规的降级场景。因此,如果通过原生的方式(如 `richtext`)能够满足需要,则不建议使用本组件,如果有较多的富文本内容,则可以直接使用 `vue` 页面
174
+ 由于渲染方式与其他端不同,有以下限制:
175
+ 1. 不支持 `lazy-load` 属性
176
+ 2. 视频不支持全屏播放
177
+ 3. 如果在 `flex-direction: row` 的容器中使用,需要给组件设置宽度或设置 `flex: 1` 占满剩余宽度
178
+
179
+ 纯 `nvue` 模式下,[此问题](https://ask.dcloud.net.cn/question/119678) 修复前,不支持通过 `uni_modules` 引入,需要本地引入(将 [dist/uni-app](https://github.com/jin-yufeng/mp-html/tree/master/dist/uni-app) 中的内容拷贝到项目根目录下)
180
+
181
+
182
+ ## 问题反馈
183
+ 遇到问题时,请先查阅 [常见问题](https://jin-yufeng.github.io/mp-html/#/question/faq) 和 [issue](https://github.com/jin-yufeng/mp-html/issues) 中是否已有相同的问题
184
+ 可通过 [issue](https://github.com/jin-yufeng/mp-html/issues/new/choose) 、插件问答或发送邮件到 [mp_html@126.com](mailto:mp_html@126.com) 提问,不建议在评论区提问(不方便回复)
185
+ 提问请严格按照 [issue 模板](https://github.com/jin-yufeng/mp-html/issues/new/choose) ,描述清楚使用环境、`html` 内容或可复现的 `demo` 项目以及复现方式,对于 **描述不清**、**无法复现** 或重复的问题将不予回复
186
+
187
+ 欢迎加入 `QQ` 交流群:
188
+ 群1(已满):`699734691`
189
+ 群2(已满):`778239129`
190
+ 群3:`960265313`
191
+
192
+ 查看 [问题反馈](https://jin-yufeng.github.io/mp-html/#/question/feedback) 了解更多