@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
@@ -18,11 +18,11 @@
18
18
  :session-from="sessionFrom"
19
19
  :send-message-img="sendMessageImg"
20
20
  :show-message-card="showMessageCard"
21
- @getphonenumber="onGetPhoneNumber"
22
- @getuserinfo="onGetUserInfo"
23
- @error="onError"
24
- @opensetting="onOpenSetting"
25
- @launchapp="onLaunchApp"
21
+ @getphonenumber="getphonenumber"
22
+ @getuserinfo="getuserinfo"
23
+ @error="error"
24
+ @opensetting="opensetting"
25
+ @launchapp="launchapp"
26
26
  @contact="onContact"
27
27
  @chooseavatar="onChooseavatar"
28
28
  @addgroupapp="onAddgroupapp"
@@ -108,8 +108,8 @@
108
108
  !disabled && !loading && !color && (plain || type === 'info')
109
109
  ? 'u-button--active--plain'
110
110
  : !disabled && !loading && !plain
111
- ? 'u-button--active'
112
- : ''
111
+ ? 'u-button--active'
112
+ : ''
113
113
  "
114
114
  @tap="clickHandler"
115
115
  :class="bemClass"
@@ -157,6 +157,7 @@ import { props } from '../u-button/props.js';
157
157
  * button 按钮
158
158
  * @description Button 按钮
159
159
  * @tutorial https://uview-plus.jiangruyi.com/components/button.html
160
+ *
160
161
  * @property {Boolean} hairline 是否显示按钮的细边框 (默认 true )
161
162
  * @property {String} type 按钮的预置样式,info,primary,error,warning,success (默认 'info' )
162
163
  * @value info 默认按钮
@@ -168,7 +169,7 @@ import { props } from '../u-button/props.js';
168
169
  * @value large 超大尺寸
169
170
  * @value normal 普通尺寸
170
171
  * @value mini 迷你尺寸
171
- * @property {String} shape 按钮形状,circle(两边为半圆),square(带有一定的圆角) (默认 'square' )
172
+ * @property {String} shape 按钮形状,circle(两边为半圆),square(带圆角) (默认 'square' )
172
173
  * @value circle 两边为半圆
173
174
  * @value square 带有一定的圆角
174
175
  * @property {Boolean} plain 按钮是否镂空,背景色透明 (默认 false)
@@ -196,16 +197,18 @@ import { props } from '../u-button/props.js';
196
197
  * @property {String} iconColor 按钮图标颜色
197
198
  * @property {String} color 按钮颜色,支持传入linear-gradient渐变色
198
199
  * @property {Object} customStyle 定义需要用到的外部样式
200
+ *
199
201
  * @event {Function} click 非禁止并且非加载中,才能点击
200
202
  * @event {Function} getphonenumber open-type="getPhoneNumber"时有效
201
203
  * @event {Function} getuserinfo 用户点击该按钮时,会返回获取到的用户信息,从返回参数的detail中获取到的值同uni.getUserInfo
202
204
  * @event {Function} error 当使用开放能力时,发生错误的回调
203
205
  * @event {Function} opensetting 在打开授权设置页并关闭后回调
204
206
  * @event {Function} launchapp 打开 APP 成功的回调
205
- * @example <up-button>千金散尽还复来</up-button>
207
+ * @event {Function} agreeprivacyauthorization 用户同意隐私协议事件回调
208
+ * @example <up-button>月落</up-button>
206
209
  */
207
210
  export default {
208
- name: 'u-button-wu',
211
+ name: 'u-button',
209
212
  // #ifdef MP
210
213
  mixins: [mpMixin, mixin, buttonMixin, openType, props],
211
214
  // #endif
@@ -20,13 +20,13 @@
20
20
  @opensetting="opensetting"
21
21
  @launchapp="launchapp"
22
22
  @agreeprivacyauthorization="agreeprivacyauthorization"
23
- :hover-class="!disabled && !loading ? 'u-button--active' : ''"
23
+ :hover-class="!disabled && !localLoading ? 'u-button--active' : ''"
24
24
  class="u-button u-reset-button"
25
25
  :style="[baseColor, addStyle(customStyle)]"
26
26
  @tap="clickHandler"
27
27
  :class="bemClass"
28
28
  >
29
- <template v-if="loading">
29
+ <template v-if="localLoading">
30
30
  <up-loading-icon :mode="loadingMode" :size="loadingSize * 1.15" :color="loadingColor"></up-loading-icon>
31
31
  <text class="u-button__loading-text" :style="[{ fontSize: textSize + 'px' }]">{{ loadingText || text }}</text>
32
32
  </template>
@@ -50,9 +50,9 @@
50
50
  :hover-stay-time="Number(hoverStayTime)"
51
51
  class="u-button"
52
52
  :hover-class="
53
- !disabled && !loading && !color && (plain || type === 'info')
53
+ !disabled && !localLoading && !color && (plain || type === 'info')
54
54
  ? 'u-button--active--plain'
55
- : !disabled && !loading && !plain
55
+ : !disabled && !localLoading && !plain
56
56
  ? 'u-button--active'
57
57
  : ''
58
58
  "
@@ -60,7 +60,7 @@
60
60
  :class="bemClass"
61
61
  :style="[baseColor, addStyle(customStyle)]"
62
62
  >
63
- <template v-if="loading">
63
+ <template v-if="localLoading">
64
64
  <up-loading-icon :mode="loadingMode" :size="loadingSize * 1.15" :color="loadingColor"></up-loading-icon>
65
65
  <text class="u-button__loading-text" :style="[nvueTextStyle]" :class="[plain && `u-button__text--plain--${type}`]">
66
66
  {{ loadingText || text }}
@@ -100,8 +100,18 @@ import color from '../../libs/config/color';
100
100
  *
101
101
  * @property {Boolean} hairline 是否显示按钮的细边框 (默认 true )
102
102
  * @property {String} type 按钮的预置样式,info,primary,error,warning,success (默认 'info' )
103
+ * @value info 默认按钮
104
+ * @value primary 主题按钮
105
+ * @value error 危险按钮
106
+ * @value warning 警告按钮
107
+ * @value success 成功按钮
103
108
  * @property {String} size 按钮尺寸,large,normal,mini (默认 normal)
109
+ * @value large 超大尺寸
110
+ * @value normal 普通尺寸
111
+ * @value mini 迷你尺寸
104
112
  * @property {String} shape 按钮形状,circle(两边为半圆),square(带圆角) (默认 'square' )
113
+ * @value circle 两边为半圆
114
+ * @value square 带有一定的圆角
105
115
  * @property {Boolean} plain 按钮是否镂空,背景色透明 (默认 false)
106
116
  * @property {Boolean} disabled 是否禁用 (默认 false)
107
117
  * @property {Boolean} loading 按钮名称前是否带 loading 图标(App-nvue 平台,在 ios 上为雪花,Android上为圆圈) (默认 false)
@@ -146,9 +156,14 @@ export default {
146
156
  mixins: [mpMixin, mixin, props],
147
157
  // #endif
148
158
  data() {
149
- return {};
159
+ return {
160
+ loadingStatus: false
161
+ };
150
162
  },
151
163
  computed: {
164
+ localLoading() {
165
+ return this.loadingStatus || this.loading;
166
+ },
152
167
  // 生成bem风格的类名
153
168
  bemClass() {
154
169
  // this.bem为一个computed变量,在mixin中
@@ -236,15 +251,33 @@ export default {
236
251
  methods: {
237
252
  addStyle,
238
253
  clickHandler(e) {
239
- // 非禁止并且非加载中,才能点击
240
- if (!this.disabled && !this.loading) {
241
- // 进行节流控制,每this.throttle毫秒内,只在开始处执行
242
- throttle(() => {
243
- this.$emit('click', e);
244
- }, this.throttleTime);
254
+ if (this.autoLoading) {
255
+ if (!this.loadingStatus) {
256
+ this.loadingStatus = true;
257
+ // 进行节流控制,每this.throttle毫秒内,只在开始处执行
258
+ throttle(() => {
259
+ this.$emit(
260
+ 'click',
261
+ () => {
262
+ this.loadingStatus = false;
263
+ },
264
+ e
265
+ );
266
+ }, this.throttleTime);
267
+ // 是否阻止事件传播
268
+ this.stop && this.preventEvent(e);
269
+ }
270
+ } else {
271
+ // 非禁止并且非加载中,才能点击
272
+ if (!this.disabled && !this.loading) {
273
+ // 进行节流控制,每this.throttle毫秒内,只在开始处执行
274
+ throttle(() => {
275
+ this.$emit('click', e);
276
+ }, this.throttleTime);
277
+ }
278
+ // 是否阻止事件传播
279
+ this.stop && this.preventEvent(e);
245
280
  }
246
- // 是否阻止事件传播
247
- this.stop && this.preventEvent(e);
248
281
  },
249
282
  // 下面为对接uniapp官方按钮开放能力事件回调的对接
250
283
  getphonenumber(res) {
@@ -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) 了解更多
@@ -0,0 +1,163 @@
1
+ ## v2.5.2(2025-12-14)
2
+ 1. `A` 增加了音视频暂停 [pause](https://jin-yufeng.github.io/mp-html/#/basic/event?id=pause) 和视频全屏 [fullscreenchange](https://jin-yufeng.github.io/mp-html/#/basic/event?id=fullscreenchange) 事件 [#495](https://github.com/jin-yufeng/mp-html/issues/495) [#595](https://github.com/jin-yufeng/mp-html/issues/595)
3
+ 2. `U` 优化了 [流式输出](https://jin-yufeng.github.io/mp-html/#/overview/feature?id=stream) 效果,通过差量更新解决闪烁问题 [详细](https://github.com/jin-yufeng/mp-html/issues/657)
4
+ 3. `U` `latex` 插件更新字体文件 [详细](https://github.com/jin-yufeng/mp-html/pull/647) by [@JiuyeXD](https://github.com/JiuyeXD)
5
+ 4. `U` 更新 `markdown` 插件中 `marked.js` 版本 [详细](https://github.com/jin-yufeng/mp-html/issues/672)
6
+ 5. `U` 微信小程序替换遗漏的废弃 `api` `getSystemInfoSync` [详细](https://github.com/jin-yufeng/mp-html/pull/653) by [@zcSkr](https://github.com/zcSkr)
7
+ 6. `F` 修复了 `markdown` 插件加粗文本遇到中文符号无效的问题 [详细](https://github.com/jin-yufeng/mp-html/pull/664) by [@qp666](https://github.com/qp666)
8
+ ## v2.5.1(2025-04-20)
9
+ 1. `U` 适配鸿蒙 `APP` [详细](https://github.com/jin-yufeng/mp-html/issues/615)
10
+ 2. `U` 微信小程序替换废弃 `api` `getSystemInfoSync` [详细](https://github.com/jin-yufeng/mp-html/issues/613)
11
+ 3. `F` 修复了 `app` 端播放视频可能报错的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/617)
12
+ 4. `F` 修复了 `latex` 插件可能出现 `xxx can be used only in display mode` 的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/632)
13
+ 5. `F` 修复了 `uni-app` 包 `latex` 公式可能不显示的问题 [#599](https://github.com/jin-yufeng/mp-html/issues/599)、[#627](https://github.com/jin-yufeng/mp-html/issues/627)
14
+ ## v2.5.0(2024-04-22)
15
+ 1. `U` `play` 事件增加返回 `src` 等信息 [详细](https://github.com/jin-yufeng/mp-html/issues/526)
16
+ 2. `U` `preview-img` 属性支持设置为 `all` 开启 `base64` 图片预览 [详细](https://github.com/jin-yufeng/mp-html/issues/536)
17
+ 3. `U` `editable` 插件增加简易模式(点击文字直接编辑)
18
+ 4. `U` `latex` 插件支持块级公式 [详细](https://github.com/jin-yufeng/mp-html/issues/582)
19
+ 5. `F` 修复了表格部分情况下背景丢失的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/587)
20
+ 6. `F` 修复了部分 `svg` 无法显示的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/591)
21
+ 7. `F` 修复了 `h5` 和 `app` 端部分情况下样式无法识别的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/518)
22
+ 8. `F` 修复了 `latex` 插件部分情况下显示不正确的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/580)
23
+ 9. `F` 修复了 `editable` 插件表格无法删除的问题
24
+ 10. `F` 修复了 `editable` 插件 `vue3` `h5` 端点击图片报错的问题
25
+ 11. `F` 修复了 `editable` 插件点击表格没有菜单栏的问题
26
+ ## v2.4.3(2024-01-21)
27
+ 1. `A` 增加 [card](https://jin-yufeng.gitee.io/mp-html/#/advanced/plugin#card) 插件 [详细](https://github.com/jin-yufeng/mp-html/pull/533) by [@whoooami](https://github.com/whoooami)
28
+ 2. `F` 修复了 `svg` 中包含 `foreignobject` 可能不显示的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/523)
29
+ 3. `F` 修复了合并单元格的表格部分情况下显示不正确的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/561)
30
+ 4. `F` 修复了 `img` 标签设置 `object-fit` 无效的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/567)
31
+ 5. `F` 修复了 `latex` 插件公式会换行的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/540)
32
+ 6. `F` 修复了 `editable` 和 `audio` 插件共用时点击 `audio` 无法编辑的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/529) by [@whoooami](https://github.com/whoooami)
33
+ 7. `F` 修复了微信小程序部分情况下图片会报错 `replace of undefined` 的问题
34
+ 8. `F` 修复了快手小程序图片不显示的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/571)
35
+ ## v2.4.2(2023-05-14)
36
+ 1. `A` `editable` 插件支持修改文字颜色 [详细](https://github.com/jin-yufeng/mp-html/issues/254)
37
+ 2. `F` 修复了 `svg` 中有 `style` 不生效的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/505)
38
+ 3. `F` 修复了使用旧版编译器可能报错 `Bad attr nodes` 的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/472)
39
+ 4. `F` 修复了 `app` 端可能出现无法读取 `lazyLoad` 的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/513)
40
+ 5. `F` 修复了 `editable` 插件在点击换图时未拼接 `domain` 的问题 [详细](https://github.com/jin-yufeng/mp-html/pull/497) by [@TwoKe945](https://github.com/TwoKe945)
41
+ 6. `F` 修复了 `latex` 插件部分情况下不显示的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/515)
42
+ 7. `F` 修复了 `editable` 插件点击音视频时其他标签框不消失的问题
43
+ ## v2.4.1(2022-12-25)
44
+ 1. `F` 修复了没有图片时 `ready` 事件可能不触发的问题
45
+ 2. `F` 修复了加载过程中可能出现 `Root label not found` 错误的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/470)
46
+ 3. `F` 修复了 `audio` 插件退出页面可能会报错的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/457)
47
+ 4. `F` 修复了 `vue3` 运行到 `app` 在 `HBuilder X 3.6.10` 以上报错的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/480)
48
+ 5. `F` 修复了 `nvue` 端链接中包含 `%22` 时可能无法显示的问题
49
+ 6. `F` 修复了 `vue3` 使用 `highlight` 插件可能报错的问题
50
+ ## v2.4.0(2022-08-27)
51
+ 1. `A` 增加了 [setPlaybackRate](https://jin-yufeng.gitee.io/mp-html/#/advanced/api#setPlaybackRate) 的 `api`,可以设置音视频的播放速率 [详细](https://github.com/jin-yufeng/mp-html/issues/452)
52
+ 2. `A` 示例小程序代码开源 [详细](https://github.com/jin-yufeng/mp-html-demo)
53
+ 3. `U` 优化 `ready` 事件触发时机,未设置懒加载的情况下基本可以准确触发 [详细](https://github.com/jin-yufeng/mp-html/issues/195)
54
+ 4. `U` `highlight` 插件在编辑状态下不进行高亮处理,便于编辑
55
+ 5. `F` 修复了 `flex` 布局下图片大小可能不正确的问题
56
+ 6. `F` 修复了 `selectable` 属性没有设置 `force` 也可能出现渲染异常的问题
57
+ 7. `F` 修复了表格中的图片大小可能不正确的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/448)
58
+ 8. `F` 修复了含有合并单元格的表格可能无法设置竖直对齐的问题
59
+ 9. `F` 修复了 `editable` 插件在 `scroll-view` 中使用时工具条位置可能不正确的问题
60
+ 10. `F` 修复了 `vue3` 使用 [search](advanced/plugin#search) 插件可能导致错误换行的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/449)
61
+ ## v2.3.2(2022-08-13)
62
+ 1. `A` 增加 [latex](https://jin-yufeng.gitee.io/mp-html/#/advanced/plugin#latex) 插件,可以渲染数学公式 [详细](https://github.com/jin-yufeng/mp-html/pull/447) by [@Zeng-J](https://github.com/Zeng-J)
63
+ 2. `U` 优化根节点下有很多标签的长内容渲染速度
64
+ 3. `U` `highlight` 插件适配 `lang-xxx` 格式
65
+ 4. `F` 修复了 `table` 标签设置 `border` 属性后可能无法修改边框样式的问题 [详细](https://github.com/jin-yufeng/mp-html/pull/439) by [@zouxingjie](https://github.com/zouxingjie)
66
+ 5. `F` 修复了 `editable` 插件输入连续空格无效的问题
67
+ 6. `F` 修复了 `vue3` 图片设置 `inline` 会报错的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/438)
68
+ 7. `F` 修复了 `vue3` 使用 `table` 可能报错的问题
69
+ ## v2.3.1(2022-05-20)
70
+ 1. `U` `app` 端支持使用本地图片
71
+ 2. `U` 优化了微信小程序 `selectable` 属性在 `ios` 端的处理 [详细](https://jin-yufeng.gitee.io/mp-html/#/basic/prop#selectable)
72
+ 3. `F` 修复了 `editable` 插件不在顶部时 `tooltip` 位置可能错误的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/430)
73
+ 4. `F` 修复了 `vue3` 运行到微信小程序可能报错丢失内容的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/414)
74
+ 5. `F` 修复了 `vue3` 部分标签可能被错误换行的问题
75
+ 6. `F` 修复了 `editable` 插件 `app` 端插入视频无法预览的问题
76
+ ## v2.3.0(2022-04-01)
77
+ 1. `A` 增加了 `play` 事件,音视频播放时触发,可用于与页面其他音视频进行互斥播放 [详细](basic/event#play)
78
+ 2. `U` `show-img-menu` 属性支持控制预览时是否长按弹出菜单
79
+ 3. `U` 优化 `wxs` 处理,提高渲染性能 [详细](https://developers.weixin.qq.com/community/develop/article/doc/0006cc2b204740f601bd43fa25a413)
80
+ 4. `U` `video` 标签支持 `object-fit` 属性
81
+ 5. `U` 增加支持一些常用实体编码 [详细](https://github.com/jin-yufeng/mp-html/issues/418)
82
+ 6. `F` 修复了图片仅设置高度可能不显示的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/410)
83
+ 7. `F` 修复了 `video` 标签高度设置为 `auto` 不显示的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/411)
84
+ 8. `F` 修复了使用 `grid` 布局时可能样式错误的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/413)
85
+ 9. `F` 修复了含有合并单元格的表格部分情况下显示异常的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/417)
86
+ 10. `F` 修复了 `editable` 插件连续插入内容时顺序不正确的问题
87
+ 11. `F` 修复了 `uni-app` 包 `vue3` 使用 `audio` 插件报错的问题
88
+ 12. `F` 修复了 `uni-app` 包 `highlight` 插件使用自定义的 `prism.min.js` 报错的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/416)
89
+ ## v2.2.2(2022-02-26)
90
+ 1. `A` 增加了 [pauseMedia](https://jin-yufeng.gitee.io/mp-html/#/advanced/api#pauseMedia) 的 `api`,可用于暂停播放音视频 [详细](https://github.com/jin-yufeng/mp-html/issues/317)
91
+ 2. `U` 优化了长内容的加载速度
92
+ 3. `U` 适配 `vue3` [#389](https://github.com/jin-yufeng/mp-html/issues/389)、[#398](https://github.com/jin-yufeng/mp-html/pull/398) by [@zhouhuafei](https://github.com/zhouhuafei)、[#400](https://github.com/jin-yufeng/mp-html/issues/400)
93
+ 4. `F` 修复了小程序端图片高度设置为百分比时可能不显示的问题
94
+ 5. `F` 修复了 `highlight` 插件部分情况下可能显示不完整的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/403)
95
+ ## v2.2.1(2021-12-24)
96
+ 1. `A` `editable` 插件增加上下移动标签功能
97
+ 2. `U` `editable` 插件支持在文本中间光标处插入内容
98
+ 3. `F` 修复了 `nvue` 端设置 `margin` 后可能导致高度不正确的问题
99
+ 4. `F` 修复了 `highlight` 插件使用压缩版的 `prism.css` 可能导致背景失效的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/367)
100
+ 5. `F` 修复了编辑状态下使用 `emoji` 插件内容为空时可能报错的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/371)
101
+ 6. `F` 修复了使用 `editable` 插件后将 `selectable` 属性设置为 `force` 不生效的问题
102
+ ## v2.2.0(2021-10-12)
103
+ 1. `A` 增加 `customElements` 配置项,便于添加自定义功能性标签 [详细](https://github.com/jin-yufeng/mp-html/issues/350)
104
+ 2. `A` `editable` 插件增加切换音视频自动播放状态的功能 [详细](https://github.com/jin-yufeng/mp-html/pull/341) by [@leeseett](https://github.com/leeseett)
105
+ 3. `A` `editable` 插件删除媒体标签时触发 `remove` 事件,便于删除已上传的文件
106
+ 4. `U` `editable` 插件 `insertImg` 方法支持同时插入多张图片 [详细](https://github.com/jin-yufeng/mp-html/issues/342)
107
+ 5. `U` `editable` 插入图片和音视频时支持拼接 `domian` 主域名
108
+ 6. `F` 修复了内部链接参数中包含 `://` 时被认为是外部链接的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/356)
109
+ 7. `F` 修复了部分 `svg` 标签名或属性名大小写不正确时不生效的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/351)
110
+ 8. `F` 修复了 `nvue` 页面运行到非 `app` 平台时可能样式错误的问题
111
+ ## v2.1.5(2021-08-13)
112
+ 1. `A` 增加支持标签的 `dir` 属性
113
+ 2. `F` 修复了 `ruby` 标签文字与拼音没有居中对齐的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/325)
114
+ 3. `F` 修复了音视频标签内有 `a` 标签时可能无法播放的问题
115
+ 4. `F` 修复了 `externStyle` 中的 `class` 名包含下划线或数字时可能失效的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/326)
116
+ 5. `F` 修复了 `h5` 端引入 `externStyle` 可能不生效的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/326)
117
+ ## v2.1.4(2021-07-14)
118
+ 1. `F` 修复了 `rt` 标签无法设置样式的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/318)
119
+ 2. `F` 修复了表格中有单元格同时合并行和列时可能显示不正确的问题
120
+ 3. `F` 修复了 `app` 端无法关闭图片长按菜单的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/322)
121
+ 4. `F` 修复了 `editable` 插件只能添加图片链接不能修改的问题 [详细](https://github.com/jin-yufeng/mp-html/pull/312) by [@leeseett](https://github.com/leeseett)
122
+ ## v2.1.3(2021-06-12)
123
+ 1. `A` `editable` 插件增加 `insertTable` 方法
124
+ 2. `U` `editable` 插件支持编辑表格中的空白单元格 [详细](https://github.com/jin-yufeng/mp-html/issues/310)
125
+ 3. `F` 修复了 `externStyle` 中使用伪类可能失效的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/298)
126
+ 4. `F` 修复了多个组件同时使用时 `tag-style` 属性时可能互相影响的问题 [详细](https://github.com/jin-yufeng/mp-html/pull/305) by [@woodguoyu](https://github.com/woodguoyu)
127
+ 5. `F` 修复了包含 `linearGradient` 的 `svg` 可能无法显示的问题
128
+ 6. `F` 修复了编译到头条小程序时可能报错的问题
129
+ 7. `F` 修复了 `nvue` 端不触发 `click` 事件的问题
130
+ 8. `F` 修复了 `editable` 插件尾部插入时无法撤销的问题
131
+ 9. `F` 修复了 `editable` 插件的 `insertHtml` 方法只能在末尾插入的问题
132
+ 10. `F` 修复了 `editable` 插件插入音频不显示的问题
133
+ ## v2.1.2(2021-04-24)
134
+ 1. `A` 增加了 [img-cache](https://jin-yufeng.gitee.io/mp-html/#/advanced/plugin#img-cache) 插件,可以在 `app` 端缓存图片 [详细](https://github.com/jin-yufeng/mp-html/issues/292) by [@PentaTea](https://github.com/PentaTea)
135
+ 2. `U` 支持通过 `container-style` 属性设置 `white-space` 来保留连续空格和换行符 [详细](https://jin-yufeng.gitee.io/mp-html/#/question/faq#space)
136
+ 3. `U` 代码风格符合 [standard](https://standardjs.com) 标准
137
+ 4. `U` `editable` 插件编辑状态下支持预览视频 [详细](https://github.com/jin-yufeng/mp-html/issues/286)
138
+ 5. `F` 修复了 `svg` 标签内嵌 `svg` 时无法显示的问题
139
+ 6. `F` 修复了编译到支付宝和头条小程序时部分区域不可复制的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/291)
140
+ ## v2.1.1(2021-04-09)
141
+ 1. 修复了对 `p` 标签设置 `tag-style` 可能不生效的问题
142
+ 2. 修复了 `svg` 标签中的文本无法显示的问题
143
+ 3. 修复了使用 `editable` 插件编辑表格时可能报错的问题
144
+ 4. 修复了使用 `highlight` 插件运行到头条小程序时可能没有样式的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/280)
145
+ 5. 修复了使用 `editable` 插件 `editable` 属性为 `false` 时会报错的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/284)
146
+ 6. 修复了 `style` 插件连续子选择器失效的问题
147
+ 7. 修复了 `editable` 插件无法修改图片和字体大小的问题
148
+ ## v2.1.0.2(2021-03-21)
149
+ 修复了 `nvue` 端使用可能报错的问题
150
+ ## v2.1.0(2021-03-20)
151
+ 1. `A` 增加了 [container-style](https://jin-yufeng.gitee.io/mp-html/#/basic/prop#container-style) 属性 [详细](https://gitee.com/jin-yufeng/mp-html/pulls/1)
152
+ 2. `A` 增加支持 `strike` 标签
153
+ 3. `A` `editable` 插件增加 `placeholder` 属性 [详细](https://jin-yufeng.gitee.io/mp-html/#/advanced/plugin#editable)
154
+ 4. `A` `editable` 插件增加 `insertHtml` 方法 [详细](https://jin-yufeng.gitee.io/mp-html/#/advanced/plugin#editable)
155
+ 5. `U` 外部样式支持标签名选择器 [详细](https://jin-yufeng.gitee.io/mp-html/#/overview/quickstart#setting)
156
+ 6. `F` 修复了 `nvue` 端部分情况下可能不显示的问题
157
+ ## v2.0.5(2021-03-12)
158
+ 1. `U` [linktap](https://jin-yufeng.gitee.io/mp-html/#/basic/event#linktap) 事件增加返回内部文本内容 `innerText` [详细](https://github.com/jin-yufeng/mp-html/issues/271)
159
+ 2. `U` [selectable](https://jin-yufeng.gitee.io/mp-html/#/basic/prop#selectable) 属性设置为 `force` 时能够在微信 `iOS` 端生效(文本块会变成 `inline-block`) [详细](https://github.com/jin-yufeng/mp-html/issues/267)
160
+ 3. `F` 修复了部分情况下竖向无法滚动的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/182)
161
+ 4. `F` 修复了多次修改富文本数据时部分内容可能不显示的问题
162
+ 5. `F` 修复了 [腾讯视频](https://jin-yufeng.gitee.io/mp-html/#/advanced/plugin#txv-video) 插件可能无法播放的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/265)
163
+ 6. `F` 修复了 [highlight](https://jin-yufeng.gitee.io/mp-html/#/advanced/plugin#highlight) 插件没有设置高亮语言时没有应用默认样式的问题 [详细](https://github.com/jin-yufeng/mp-html/issues/276) by [@fuzui](https://github.com/fuzui)