@10yun/cv-mobile-ui 0.5.53 → 0.5.55

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 (1020) hide show
  1. package/build/parse-create.js +17 -5
  2. package/build/parse-pages-pkg.js +14 -5
  3. package/js-sdk/Sansnn-uQRCode/uqrcode.js +150 -75
  4. package/js-sdk/clipboard.min.js +9 -0
  5. package/js-sdk/gprint/encoding-indexes.js +47 -0
  6. package/js-sdk/gprint/encoding.js +3312 -0
  7. package/js-sdk/gprint/esc.js +548 -0
  8. package/js-sdk/gprint/tsc.js +222 -0
  9. package/js-sdk/ican-H5Api/ican-H5Api.js +68 -666
  10. package/other/api-set-tabbar.nvue +0 -3
  11. package/other/lime-painter/changelog.md +225 -0
  12. package/other/lime-painter/components/common/relation.js +150 -0
  13. package/other/lime-painter/components/l-painter/l-painter.vue +482 -0
  14. package/other/lime-painter/components/l-painter/nvue.js +203 -0
  15. package/other/lime-painter/components/l-painter/painter.js +1 -0
  16. package/other/lime-painter/components/l-painter/props.js +56 -0
  17. package/other/lime-painter/components/l-painter/single.js +1 -0
  18. package/other/lime-painter/components/l-painter/utils.js +382 -0
  19. package/other/lime-painter/components/l-painter-image/l-painter-image.vue +23 -0
  20. package/other/lime-painter/components/l-painter-qrcode/l-painter-qrcode.vue +22 -0
  21. package/other/lime-painter/components/l-painter-text/l-painter-text.vue +32 -0
  22. package/other/lime-painter/components/l-painter-view/l-painter-view.vue +28 -0
  23. package/other/lime-painter/components/lime-painter/lime-painter.vue +259 -0
  24. package/other/lime-painter/hybrid/html/index.html +117 -0
  25. package/other/lime-painter/hybrid/html/painter.js +1 -0
  26. package/other/lime-painter/hybrid/html/uni.webview.1.5.3.js +1 -0
  27. package/other/lime-painter/package.json +93 -0
  28. package/other/lime-painter/parser.js +388 -0
  29. package/other/lime-painter/readme.md +961 -0
  30. package/other/lime-painter2/README2.md +576 -0
  31. package/other/lime-painter2/changelog.md +225 -0
  32. package/other/lime-painter2/components/lime-painter/canvas.js +57 -0
  33. package/other/lime-painter2/components/lime-painter/draw.js +654 -0
  34. package/other/lime-painter2/components/lime-painter/draw2.js +709 -0
  35. package/other/lime-painter2/components/lime-painter/gradient.js +119 -0
  36. package/other/lime-painter2/components/lime-painter/index.vue +344 -0
  37. package/other/lime-painter2/components/lime-painter/index2.vue +197 -0
  38. package/other/lime-painter2/components/lime-painter/layout.js +374 -0
  39. package/other/lime-painter2/components/lime-painter/utils.js +420 -0
  40. package/other/lime-painter2/package.json +93 -0
  41. package/other/lime-painter2/readme.md +758 -0
  42. package/other/lime-painter2/test.md +45 -0
  43. package/other/mpvue-echarts/src/echarts.vue +116 -103
  44. package/other/mpvue-echarts/src/style.css +0 -6
  45. package/other/product.vue +45 -1
  46. package/other/qiun-data-charts/qiun-data-charts.vue +1618 -0
  47. package/other/u-parse-2019/components/wxParseAudio.vue +29 -0
  48. package/other/u-parse-2019/components/wxParseImg.vue +87 -0
  49. package/other/u-parse-2019/components/wxParseTemplate0.vue +105 -0
  50. package/other/u-parse-2019/components/wxParseTemplate1.vue +96 -0
  51. package/other/u-parse-2019/components/wxParseTemplate10.vue +95 -0
  52. package/other/u-parse-2019/components/wxParseTemplate11.vue +84 -0
  53. package/other/u-parse-2019/components/wxParseTemplate2.vue +95 -0
  54. package/other/u-parse-2019/components/wxParseTemplate3.vue +95 -0
  55. package/other/u-parse-2019/components/wxParseTemplate4.vue +95 -0
  56. package/other/u-parse-2019/components/wxParseTemplate5.vue +95 -0
  57. package/other/u-parse-2019/components/wxParseTemplate6.vue +95 -0
  58. package/other/u-parse-2019/components/wxParseTemplate7.vue +95 -0
  59. package/other/u-parse-2019/components/wxParseTemplate8.vue +95 -0
  60. package/other/u-parse-2019/components/wxParseTemplate9.vue +95 -0
  61. package/other/u-parse-2019/components/wxParseVideo.vue +15 -0
  62. package/other/u-parse-2019/libs/html2json.js +258 -0
  63. package/other/u-parse-2019/libs/htmlparser.js +163 -0
  64. package/other/u-parse-2019/libs/wxDiscode.js +195 -0
  65. package/other/u-parse-2019/readme.md +99 -0
  66. package/other/u-parse-2019/u-parse.css +240 -0
  67. package/other/u-parse-2019/u-parse.vue +114 -0
  68. package/other/u-parse2026/components/wxParseAudio.vue +29 -0
  69. package/other/u-parse2026/components/wxParseImg.vue +90 -0
  70. package/other/u-parse2026/components/wxParseTable.vue +51 -0
  71. package/other/u-parse2026/components/wxParseTemplate0.vue +93 -0
  72. package/other/u-parse2026/components/wxParseTemplate1.vue +92 -0
  73. package/other/u-parse2026/components/wxParseTemplate10.vue +82 -0
  74. package/other/u-parse2026/components/wxParseTemplate11.vue +79 -0
  75. package/other/u-parse2026/components/wxParseTemplate2.vue +92 -0
  76. package/other/u-parse2026/components/wxParseTemplate3.vue +92 -0
  77. package/other/u-parse2026/components/wxParseTemplate4.vue +92 -0
  78. package/other/u-parse2026/components/wxParseTemplate5.vue +92 -0
  79. package/other/u-parse2026/components/wxParseTemplate6.vue +92 -0
  80. package/other/u-parse2026/components/wxParseTemplate7.vue +92 -0
  81. package/other/u-parse2026/components/wxParseTemplate8.vue +92 -0
  82. package/other/u-parse2026/components/wxParseTemplate9.vue +82 -0
  83. package/other/u-parse2026/components/wxParseVideo.vue +15 -0
  84. package/other/u-parse2026/libs/html2json.js +258 -0
  85. package/other/u-parse2026/libs/htmlparser.js +163 -0
  86. package/other/u-parse2026/libs/wxDiscode.js +195 -0
  87. package/other/u-parse2026/readme.md +99 -0
  88. package/other/u-parse2026/u-parse.css +283 -0
  89. package/other/u-parse2026/u-parse.vue +114 -0
  90. package/other/uParse/components/wxParseVideo.vue +2 -1
  91. package/other/xt-parse/changelog.md +41 -0
  92. package/other/xt-parse/node/node.vue +752 -0
  93. package/other/xt-parse/package.json +129 -0
  94. package/other/xt-parse/parser.js +1461 -0
  95. package/other/xt-parse/props.js +49 -0
  96. package/other/xt-parse/readme.md +145 -0
  97. package/other/xt-parse/static/app-plus/u-parse/js/handler.js +1 -0
  98. package/other/xt-parse/static/app-plus/u-parse/js/handler2.js +224 -0
  99. package/other/xt-parse/static/app-plus/u-parse/js/uni.webview.min.js +1 -0
  100. package/other/xt-parse/static/app-plus/u-parse/js/uni.webview.min2.js +186 -0
  101. package/other/xt-parse/static/app-plus/u-parse/local.html +37 -0
  102. package/other/xt-parse/u-parse.vue +510 -0
  103. package/other/z-paging/changelog.md +52 -0
  104. package/other/z-paging/components/z-paging/components/z-paging-load-more.vue +182 -0
  105. package/other/z-paging/components/z-paging/components/z-paging-refresh.vue +214 -0
  106. package/other/z-paging/components/z-paging/config/index.js +3 -0
  107. package/other/z-paging/components/z-paging/css/z-paging-main.css +241 -0
  108. package/other/z-paging/components/z-paging/css/z-paging-static.css +50 -0
  109. package/other/z-paging/components/z-paging/i18n/en.json +23 -0
  110. package/other/z-paging/components/z-paging/i18n/index.js +8 -0
  111. package/other/z-paging/components/z-paging/i18n/zh-Hans.json +23 -0
  112. package/other/z-paging/components/z-paging/i18n/zh-Hant.json +23 -0
  113. package/other/z-paging/components/z-paging/js/hooks/useZPaging.js +25 -0
  114. package/other/z-paging/components/z-paging/js/hooks/useZPagingComp.js +25 -0
  115. package/other/z-paging/components/z-paging/js/modules/back-to-top.js +125 -0
  116. package/other/z-paging/components/z-paging/js/modules/chat-record-mode.js +149 -0
  117. package/other/z-paging/components/z-paging/js/modules/common-layout.js +152 -0
  118. package/other/z-paging/components/z-paging/js/modules/data-handle.js +736 -0
  119. package/other/z-paging/components/z-paging/js/modules/empty.js +144 -0
  120. package/other/z-paging/components/z-paging/js/modules/i18n.js +113 -0
  121. package/other/z-paging/components/z-paging/js/modules/load-more.js +374 -0
  122. package/other/z-paging/components/z-paging/js/modules/loading.js +95 -0
  123. package/other/z-paging/components/z-paging/js/modules/nvue.js +268 -0
  124. package/other/z-paging/components/z-paging/js/modules/refresher.js +831 -0
  125. package/other/z-paging/components/z-paging/js/modules/scroller.js +550 -0
  126. package/other/z-paging/components/z-paging/js/modules/virtual-list.js +555 -0
  127. package/other/z-paging/components/z-paging/js/z-paging-constant.js +19 -0
  128. package/other/z-paging/components/z-paging/js/z-paging-enum.js +45 -0
  129. package/other/z-paging/components/z-paging/js/z-paging-interceptor.js +97 -0
  130. package/other/z-paging/components/z-paging/js/z-paging-main.js +515 -0
  131. package/other/z-paging/components/z-paging/js/z-paging-mixin.js +22 -0
  132. package/other/z-paging/components/z-paging/js/z-paging-static.js +13 -0
  133. package/other/z-paging/components/z-paging/js/z-paging-utils.js +302 -0
  134. package/other/z-paging/components/z-paging/wxs/z-paging-renderjs.js +67 -0
  135. package/other/z-paging/components/z-paging/wxs/z-paging-wxs.wxs +382 -0
  136. package/other/z-paging/components/z-paging/z-paging.vue +538 -0
  137. package/other/z-paging/components/z-paging-cell/z-paging-cell.vue +47 -0
  138. package/other/z-paging/components/z-paging-empty-view/z-paging-empty-view.vue +209 -0
  139. package/other/z-paging/components/z-paging-swiper/z-paging-swiper.vue +176 -0
  140. package/other/z-paging/components/z-paging-swiper-item/z-paging-swiper-item.vue +171 -0
  141. package/other/z-paging/package.json +89 -0
  142. package/other/z-paging/readme.md +57 -0
  143. package/other/z-paging/types/comps/_common.d.ts +9 -0
  144. package/other/z-paging/types/comps/z-paging-cell.d.ts +29 -0
  145. package/other/z-paging/types/comps/z-paging-empty-view.d.ts +95 -0
  146. package/other/z-paging/types/comps/z-paging-swiper-item.d.ts +95 -0
  147. package/other/z-paging/types/comps/z-paging-swiper.d.ts +89 -0
  148. package/other/z-paging/types/comps/z-paging.d.ts +2083 -0
  149. package/other/z-paging/types/comps.d.ts +11 -0
  150. package/other/z-paging/types/index.d.ts +24 -0
  151. package/package.json +7 -7
  152. package/plugins/tui-validation.js +279 -0
  153. package/plugins/uni-async.js +28 -0
  154. package/ui-cv/components/cv-draw-gesture-lock/cv-draw-gesture-lock.vue +39 -1
  155. package/ui-cv/components/cv-draw-qrcode/cv-draw-qrcode.vue +18 -14
  156. package/ui-cv/components/cv-geo-region/mpvueCityPicker.vue +77 -1
  157. package/ui-cv/components/cv-lists-base/cv-lists-base.vue +2 -2
  158. package/ui-cv/components/cv-tab-lists/cv-tab-lists.vue +2 -2
  159. package/ui-fireui/components/u-icon/u-icon.vue +63 -1
  160. package/ui-sdks/qiun-data-charts/changelog.md +320 -0
  161. package/ui-sdks/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue +1618 -0
  162. package/ui-sdks/qiun-data-charts/components/qiun-error/qiun-error.vue +46 -0
  163. package/ui-sdks/qiun-data-charts/components/qiun-loading/loading1.vue +162 -0
  164. package/ui-sdks/qiun-data-charts/components/qiun-loading/loading2.vue +170 -0
  165. package/ui-sdks/qiun-data-charts/components/qiun-loading/loading3.vue +173 -0
  166. package/ui-sdks/qiun-data-charts/components/qiun-loading/loading4.vue +222 -0
  167. package/ui-sdks/qiun-data-charts/components/qiun-loading/loading5.vue +229 -0
  168. package/ui-sdks/qiun-data-charts/components/qiun-loading/qiun-loading.vue +36 -0
  169. package/ui-sdks/qiun-data-charts/js_sdk/u-charts/config-echarts.js +422 -0
  170. package/ui-sdks/qiun-data-charts/js_sdk/u-charts/config-ucharts.js +606 -0
  171. package/ui-sdks/qiun-data-charts/js_sdk/u-charts/readme.md +5 -0
  172. package/ui-sdks/qiun-data-charts/js_sdk/u-charts/u-charts.js +7706 -0
  173. package/ui-sdks/qiun-data-charts/js_sdk/u-charts/u-charts.min.js +18 -0
  174. package/ui-sdks/qiun-data-charts/license.md +201 -0
  175. package/ui-sdks/qiun-data-charts/package.json +80 -0
  176. package/ui-sdks/qiun-data-charts/readme.md +84 -0
  177. package/ui-sdks/qiun-data-charts/static/app-plus/echarts.min.js +23 -0
  178. package/ui-sdks/qiun-data-charts/static/h5/echarts.min.js +23 -0
  179. package/ui-sdks/tui-clipboard/tui-clipboard.js +53 -0
  180. package/uni-ui/lib/uni-badge/changelog.md +33 -0
  181. package/uni-ui/lib/uni-badge/package.json +107 -0
  182. package/uni-ui/lib/uni-badge/readme.md +8 -0
  183. package/uni-ui/lib/uni-badge/uni-badge.vue +87 -4
  184. package/uni-ui/lib/uni-breadcrumb/changelog.md +6 -0
  185. package/uni-ui/lib/uni-breadcrumb/package.json +104 -0
  186. package/uni-ui/lib/uni-breadcrumb/readme.md +66 -0
  187. package/uni-ui/lib/uni-breadcrumb/uni-breadcrumb.vue +8 -1
  188. package/uni-ui/lib/uni-breadcrumb-item/uni-breadcrumb-item.vue +38 -1
  189. package/uni-ui/lib/uni-calendar/calendar.js +0 -2
  190. package/uni-ui/lib/uni-calendar/changelog.md +30 -0
  191. package/uni-ui/lib/uni-calendar/package.json +105 -0
  192. package/uni-ui/lib/uni-calendar/readme.md +103 -0
  193. package/uni-ui/lib/uni-calendar/uni-calendar-item.vue +83 -1
  194. package/uni-ui/lib/uni-calendar/uni-calendar.vue +206 -8
  195. package/uni-ui/lib/uni-calendar/util.js +1 -1
  196. package/uni-ui/lib/uni-card/changelog.md +26 -0
  197. package/uni-ui/lib/uni-card/package.json +107 -0
  198. package/uni-ui/lib/uni-card/readme.md +10 -0
  199. package/uni-ui/lib/uni-card/uni-card.vue +127 -4
  200. package/uni-ui/lib/uni-col/uni-col.vue +2155 -2
  201. package/uni-ui/lib/uni-collapse/changelog.md +48 -0
  202. package/uni-ui/lib/uni-collapse/package.json +106 -0
  203. package/uni-ui/lib/uni-collapse/readme.md +11 -0
  204. package/uni-ui/lib/uni-collapse/uni-collapse.vue +13 -1
  205. package/uni-ui/lib/uni-collapse-item/uni-collapse-item.vue +127 -2
  206. package/uni-ui/lib/uni-combox/changelog.md +17 -0
  207. package/uni-ui/lib/uni-combox/package.json +107 -0
  208. package/uni-ui/lib/uni-combox/readme.md +10 -0
  209. package/uni-ui/lib/uni-combox/uni-combox.vue +145 -19
  210. package/uni-ui/lib/uni-countdown/changelog.md +30 -0
  211. package/uni-ui/lib/uni-countdown/package.json +105 -0
  212. package/uni-ui/lib/uni-countdown/readme.md +9 -0
  213. package/uni-ui/lib/uni-countdown/uni-countdown.vue +43 -16
  214. package/uni-ui/lib/uni-data-checkbox/changelog.md +51 -0
  215. package/uni-ui/lib/uni-data-checkbox/package.json +107 -0
  216. package/uni-ui/lib/uni-data-checkbox/readme.md +17 -0
  217. package/uni-ui/lib/uni-data-checkbox/uni-data-checkbox.vue +326 -5
  218. package/uni-ui/lib/uni-data-picker/changelog.md +81 -0
  219. package/uni-ui/lib/uni-data-picker/package.json +109 -0
  220. package/uni-ui/lib/uni-data-picker/readme.md +21 -0
  221. package/uni-ui/lib/uni-data-picker/uni-data-picker.uvue +380 -0
  222. package/uni-ui/lib/uni-data-picker/uni-data-picker.vue +52 -4
  223. package/uni-ui/lib/uni-data-pickerview/loading.uts +1 -0
  224. package/uni-ui/lib/uni-data-pickerview/uni-data-picker.js +150 -157
  225. package/uni-ui/lib/uni-data-pickerview/uni-data-picker.uts +693 -0
  226. package/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.css +76 -0
  227. package/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.uvue +69 -0
  228. package/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.vue +163 -1
  229. package/uni-ui/lib/uni-data-select/changelog.md +51 -0
  230. package/uni-ui/lib/uni-data-select/package.json +106 -0
  231. package/uni-ui/lib/uni-data-select/readme.md +7 -0
  232. package/uni-ui/lib/uni-data-select/uni-data-select.vue +555 -45
  233. package/uni-ui/lib/uni-dateformat/changelog.md +10 -0
  234. package/uni-ui/lib/uni-dateformat/package.json +107 -0
  235. package/uni-ui/lib/uni-dateformat/readme.md +10 -0
  236. package/uni-ui/lib/uni-dateformat/uni-dateformat.vue +2 -0
  237. package/uni-ui/lib/uni-datetime-picker/calendar-item.vue +113 -1
  238. package/uni-ui/lib/uni-datetime-picker/calendar.vue +340 -20
  239. package/uni-ui/lib/uni-datetime-picker/changelog.md +177 -0
  240. package/uni-ui/lib/uni-datetime-picker/keypress.js +45 -0
  241. package/uni-ui/lib/uni-datetime-picker/package.json +107 -0
  242. package/uni-ui/lib/uni-datetime-picker/readme.md +20 -0
  243. package/uni-ui/lib/uni-datetime-picker/time-picker.vue +200 -8
  244. package/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue +287 -9
  245. package/uni-ui/lib/uni-datetime-picker/util.js +102 -85
  246. package/uni-ui/lib/uni-drawer/changelog.md +13 -0
  247. package/uni-ui/lib/uni-drawer/package.json +106 -0
  248. package/uni-ui/lib/uni-drawer/readme.md +9 -0
  249. package/uni-ui/lib/uni-drawer/uni-drawer.vue +72 -2
  250. package/uni-ui/lib/uni-easyinput/changelog.md +121 -0
  251. package/uni-ui/lib/uni-easyinput/common.js +0 -2
  252. package/uni-ui/lib/uni-easyinput/package.json +107 -0
  253. package/uni-ui/lib/uni-easyinput/readme.md +10 -0
  254. package/uni-ui/lib/uni-easyinput/uni-easyinput.vue +247 -5
  255. package/uni-ui/lib/uni-fab/changelog.md +25 -0
  256. package/uni-ui/lib/uni-fab/package.json +107 -0
  257. package/uni-ui/lib/uni-fab/readme.md +8 -0
  258. package/uni-ui/lib/uni-fab/uni-fab.vue +255 -2
  259. package/uni-ui/lib/uni-fav/changelog.md +19 -0
  260. package/uni-ui/lib/uni-fav/package.json +106 -0
  261. package/uni-ui/lib/uni-fav/readme.md +9 -0
  262. package/uni-ui/lib/uni-fav/uni-fav.vue +45 -1
  263. package/uni-ui/lib/uni-file-picker/changelog.md +91 -0
  264. package/uni-ui/lib/uni-file-picker/choose-and-upload-file.js +67 -4
  265. package/uni-ui/lib/uni-file-picker/package.json +105 -0
  266. package/uni-ui/lib/uni-file-picker/readme.md +10 -0
  267. package/uni-ui/lib/uni-file-picker/uni-file-picker.vue +42 -22
  268. package/uni-ui/lib/uni-file-picker/upload-file.vue +152 -1
  269. package/uni-ui/lib/uni-file-picker/upload-image.vue +107 -5
  270. package/uni-ui/lib/uni-forms/changelog.md +100 -0
  271. package/uni-ui/lib/uni-forms/package.json +107 -0
  272. package/uni-ui/lib/uni-forms/readme.md +22 -0
  273. package/uni-ui/lib/uni-forms/uni-forms.vue +30 -3
  274. package/uni-ui/lib/uni-forms-item/uni-forms-item.vue +181 -6
  275. package/uni-ui/lib/uni-goods-nav/changelog.md +18 -0
  276. package/uni-ui/lib/uni-goods-nav/package.json +105 -0
  277. package/uni-ui/lib/uni-goods-nav/readme.md +9 -0
  278. package/uni-ui/lib/uni-goods-nav/uni-goods-nav.vue +124 -1
  279. package/uni-ui/lib/uni-grid/changelog.md +13 -0
  280. package/uni-ui/lib/uni-grid/package.json +106 -0
  281. package/uni-ui/lib/uni-grid/readme.md +10 -0
  282. package/uni-ui/lib/uni-grid/uni-grid.vue +36 -2
  283. package/uni-ui/lib/uni-grid-item/uni-grid-item.vue +57 -2
  284. package/uni-ui/lib/uni-group/changelog.md +16 -0
  285. package/uni-ui/lib/uni-group/package.json +106 -0
  286. package/uni-ui/lib/uni-group/readme.md +8 -0
  287. package/uni-ui/lib/uni-group/uni-group.vue +50 -1
  288. package/uni-ui/lib/uni-icons/changelog.md +22 -0
  289. package/uni-ui/lib/uni-icons/package.json +77 -8
  290. package/uni-ui/lib/uni-icons/readme.md +0 -1
  291. package/uni-ui/lib/uni-icons/uni-icons.uvue +91 -0
  292. package/uni-ui/lib/uni-icons/uni-icons.vue +37 -13
  293. package/uni-ui/lib/uni-icons/uniicons.css +32 -31
  294. package/uni-ui/lib/uni-icons/uniicons.ttf +0 -0
  295. package/uni-ui/lib/uni-icons/uniicons_file.ts +664 -0
  296. package/uni-ui/lib/uni-icons/uniicons_file_vue.js +649 -0
  297. package/uni-ui/lib/uni-indexed-list/changelog.md +19 -0
  298. package/uni-ui/lib/uni-indexed-list/package.json +107 -0
  299. package/uni-ui/lib/uni-indexed-list/readme.md +10 -0
  300. package/uni-ui/lib/uni-indexed-list/uni-indexed-list-item.vue +90 -2
  301. package/uni-ui/lib/uni-indexed-list/uni-indexed-list.vue +91 -3
  302. package/uni-ui/lib/uni-link/changelog.md +17 -0
  303. package/uni-ui/lib/uni-link/package.json +106 -0
  304. package/uni-ui/lib/uni-link/readme.md +10 -0
  305. package/uni-ui/lib/uni-link/uni-link.vue +3 -0
  306. package/uni-ui/lib/uni-list/changelog.md +52 -0
  307. package/uni-ui/lib/uni-list/package.json +108 -0
  308. package/uni-ui/lib/uni-list/readme.md +44 -0
  309. package/uni-ui/lib/uni-list/uni-list.vue +44 -1
  310. package/uni-ui/lib/uni-list/uni-refresh.vue +2 -0
  311. package/uni-ui/lib/uni-list/uni-refresh.wxs +1 -1
  312. package/uni-ui/lib/uni-list-ad/uni-list-ad.vue +33 -1
  313. package/uni-ui/lib/uni-list-chat/uni-list-chat.vue +265 -1
  314. package/uni-ui/lib/uni-list-item/uni-list-item.vue +185 -1
  315. package/uni-ui/lib/uni-load-more/changelog.md +27 -0
  316. package/uni-ui/lib/uni-load-more/package.json +105 -0
  317. package/uni-ui/lib/uni-load-more/readme.md +12 -0
  318. package/uni-ui/lib/uni-load-more/uni-load-more.vue +252 -1
  319. package/uni-ui/lib/uni-nav-bar/changelog.md +64 -0
  320. package/uni-ui/lib/uni-nav-bar/package.json +106 -0
  321. package/uni-ui/lib/uni-nav-bar/readme.md +13 -0
  322. package/uni-ui/lib/uni-nav-bar/uni-nav-bar.vue +199 -5
  323. package/uni-ui/lib/uni-nav-bar/uni-status-bar.vue +11 -1
  324. package/uni-ui/lib/uni-notice-bar/changelog.md +22 -0
  325. package/uni-ui/lib/uni-notice-bar/package.json +107 -0
  326. package/uni-ui/lib/uni-notice-bar/readme.md +11 -0
  327. package/uni-ui/lib/uni-notice-bar/uni-notice-bar.vue +136 -8
  328. package/uni-ui/lib/uni-number-box/changelog.md +39 -0
  329. package/uni-ui/lib/uni-number-box/package.json +104 -0
  330. package/uni-ui/lib/uni-number-box/readme.md +11 -0
  331. package/uni-ui/lib/uni-number-box/uni-number-box.vue +73 -4
  332. package/uni-ui/lib/uni-pagination/changelog.md +27 -0
  333. package/uni-ui/lib/uni-pagination/package.json +106 -0
  334. package/uni-ui/lib/uni-pagination/readme.md +10 -0
  335. package/uni-ui/lib/uni-pagination/uni-pagination.vue +157 -1
  336. package/uni-ui/lib/uni-popup/changelog.md +102 -0
  337. package/uni-ui/lib/uni-popup/package.json +107 -0
  338. package/uni-ui/lib/uni-popup/readme.md +15 -0
  339. package/uni-ui/lib/uni-popup/uni-popup.uvue +90 -0
  340. package/uni-ui/lib/uni-popup/uni-popup.vue +108 -15
  341. package/uni-ui/lib/uni-popup-dialog/uni-popup-dialog.vue +167 -11
  342. package/uni-ui/lib/uni-popup-message/uni-popup-message.vue +70 -1
  343. package/uni-ui/lib/uni-popup-share/uni-popup-share.vue +87 -6
  344. package/uni-ui/lib/uni-rate/changelog.md +27 -0
  345. package/uni-ui/lib/uni-rate/package.json +106 -0
  346. package/uni-ui/lib/uni-rate/readme.md +11 -0
  347. package/uni-ui/lib/uni-rate/uni-rate.vue +64 -29
  348. package/uni-ui/lib/uni-row/changelog.md +10 -0
  349. package/uni-ui/lib/uni-row/package.json +106 -0
  350. package/uni-ui/lib/uni-row/readme.md +9 -0
  351. package/uni-ui/lib/uni-row/uni-row.vue +66 -1
  352. package/uni-ui/lib/uni-row/uni-row2.vue +144 -0
  353. package/uni-ui/lib/uni-scss/package.json +56 -39
  354. package/uni-ui/lib/uni-scss/readme.md +0 -1
  355. package/uni-ui/lib/uni-search-bar/changelog.md +47 -0
  356. package/uni-ui/lib/uni-search-bar/package.json +106 -0
  357. package/uni-ui/lib/uni-search-bar/readme.md +12 -0
  358. package/uni-ui/lib/uni-search-bar/uni-search-bar.vue +85 -4
  359. package/uni-ui/lib/uni-section/changelog.md +2 -0
  360. package/uni-ui/lib/uni-section/package.json +104 -0
  361. package/uni-ui/lib/uni-section/readme.md +7 -0
  362. package/uni-ui/lib/uni-section/uni-section.vue +61 -1
  363. package/uni-ui/lib/uni-segmented-control/changelog.md +15 -0
  364. package/uni-ui/lib/uni-segmented-control/package.json +106 -0
  365. package/uni-ui/lib/uni-segmented-control/readme.md +11 -0
  366. package/uni-ui/lib/uni-segmented-control/uni-segmented-control.vue +67 -5
  367. package/uni-ui/lib/uni-status-bar/uni-status-bar.vue +3 -1
  368. package/uni-ui/lib/uni-steps/changelog.md +18 -0
  369. package/uni-ui/lib/uni-steps/package.json +106 -0
  370. package/uni-ui/lib/uni-steps/readme.md +11 -0
  371. package/uni-ui/lib/uni-steps/uni-steps.vue +201 -7
  372. package/uni-ui/lib/uni-swipe-action/changelog.md +60 -0
  373. package/uni-ui/lib/uni-swipe-action/package.json +113 -0
  374. package/uni-ui/lib/uni-swipe-action/readme.md +10 -0
  375. package/uni-ui/lib/uni-swipe-action/uni-swipe-action.vue +60 -1
  376. package/uni-ui/lib/uni-swipe-action-item/bindingx.js +286 -282
  377. package/uni-ui/lib/uni-swipe-action-item/mpwxs.js +1 -1
  378. package/uni-ui/lib/uni-swipe-action-item/render.js +21 -14
  379. package/uni-ui/lib/uni-swipe-action-item/uni-swipe-action-item.vue +139 -18
  380. package/uni-ui/lib/uni-swipe-action-item/wx.wxs +10 -2
  381. package/uni-ui/lib/uni-swiper-dot/changelog.md +12 -0
  382. package/uni-ui/lib/uni-swiper-dot/package.json +106 -0
  383. package/uni-ui/lib/uni-swiper-dot/readme.md +10 -0
  384. package/uni-ui/lib/uni-swiper-dot/uni-swiper-dot.vue +98 -2
  385. package/uni-ui/lib/uni-table/changelog.md +35 -0
  386. package/uni-ui/lib/uni-table/i18n/en.json +9 -0
  387. package/uni-ui/lib/uni-table/i18n/es.json +9 -0
  388. package/uni-ui/lib/uni-table/i18n/fr.json +9 -0
  389. package/uni-ui/lib/uni-table/i18n/index.js +12 -0
  390. package/uni-ui/lib/uni-table/i18n/zh-Hans.json +9 -0
  391. package/uni-ui/lib/uni-table/i18n/zh-Hant.json +9 -0
  392. package/uni-ui/lib/uni-table/package.json +106 -0
  393. package/uni-ui/lib/uni-table/readme.md +11 -0
  394. package/uni-ui/lib/uni-table/uni-table.vue +162 -1
  395. package/uni-ui/lib/uni-tag/changelog.md +25 -0
  396. package/uni-ui/lib/uni-tag/package.json +106 -0
  397. package/uni-ui/lib/uni-tag/readme.md +11 -0
  398. package/uni-ui/lib/uni-tag/uni-tag.vue +111 -3
  399. package/uni-ui/lib/uni-tbody/uni-tbody.vue +1 -1
  400. package/uni-ui/lib/uni-td/uni-td.vue +19 -1
  401. package/uni-ui/lib/uni-th/filter-dropdown.vue +224 -2
  402. package/uni-ui/lib/uni-th/uni-th.vue +82 -1
  403. package/uni-ui/lib/uni-thead/uni-thead.vue +53 -2
  404. package/uni-ui/lib/uni-title/changelog.md +10 -0
  405. package/uni-ui/lib/uni-title/package.json +107 -0
  406. package/uni-ui/lib/uni-title/readme.md +12 -0
  407. package/uni-ui/lib/uni-title/uni-title.vue +1 -1
  408. package/uni-ui/lib/uni-tooltip/changelog.md +16 -0
  409. package/uni-ui/lib/uni-tooltip/package.json +104 -0
  410. package/uni-ui/lib/uni-tooltip/readme.md +7 -0
  411. package/uni-ui/lib/uni-tooltip/uni-tooltip.vue +1 -1
  412. package/uni-ui/lib/uni-tr/table-checkbox.vue +85 -1
  413. package/uni-ui/lib/uni-tr/uni-tr.vue +45 -3
  414. package/uni-ui/lib/uni-transition/changelog.md +31 -0
  415. package/uni-ui/lib/uni-transition/package.json +112 -0
  416. package/uni-ui/lib/uni-transition/readme.md +10 -0
  417. package/uni-ui/lib/uni-transition/uni-transition.vue +36 -32
  418. package/uni-ui/lib/uni-ui/changelog.md +639 -0
  419. package/uni-ui/lib/uni-ui/package.json +148 -0
  420. package/uni-ui/lib/uni-ui/readme.md +247 -0
  421. package/uni-ui/lib/uni-ui/uni-ui.vue +7 -0
  422. package/uni-ui/package.json +1 -1
  423. package/uview-plus/components/u-action-sheet/u-action-sheet.vue +56 -1
  424. package/uview-plus/components/u-action-sheet-data/u-action-sheet-data.vue +10 -1
  425. package/uview-plus/components/u-agreement/u-agreement.vue +14 -3
  426. package/uview-plus/components/u-album/u-album.vue +29 -1
  427. package/uview-plus/components/u-alert/u-alert.vue +96 -1
  428. package/uview-plus/components/u-avatar/u-avatar.vue +21 -1
  429. package/uview-plus/components/u-avatar-group/u-avatar-group.vue +28 -1
  430. package/uview-plus/components/u-back-top/u-back-top.vue +16 -1
  431. package/uview-plus/components/u-badge/u-badge.vue +57 -1
  432. package/uview-plus/components/u-box/u-box.vue +101 -3
  433. package/uview-plus/components/u-button/u-button.vue +196 -3
  434. package/uview-plus/components/u-calendar/header.vue +59 -3
  435. package/uview-plus/components/u-calendar/month.vue +1 -3
  436. package/uview-plus/components/u-calendar/u-calendar.vue +3 -1
  437. package/uview-plus/components/u-calendar-wu/u-calendar-wu.vue +196 -1
  438. package/uview-plus/components/u-car-keyboard/u-car-keyboard.vue +70 -1
  439. package/uview-plus/components/u-card/u-card.vue +34 -1
  440. package/uview-plus/components/u-cascader/u-cascader.vue +16 -1
  441. package/uview-plus/components/u-cate-tab/u-cate-tab.vue +387 -3
  442. package/uview-plus/components/u-cell/u-cell.vue +113 -1
  443. package/uview-plus/components/u-cell-group/u-cell-group.vue +14 -1
  444. package/uview-plus/components/u-checkbox/u-checkbox.vue +77 -1
  445. package/uview-plus/components/u-checkbox-group/u-checkbox-group.vue +12 -1
  446. package/uview-plus/components/u-choose/u-choose.vue +15 -3
  447. package/uview-plus/components/u-circle-progress/u-circle-progress.vue +69 -1
  448. package/{ui-fireui copy/components/u-circular-progress/u-circular-progress.vue → uview-plus/components/u-circular-progress/u-circular-progress.vue} +1 -1
  449. package/uview-plus/components/u-city-locate/u-city-locate.vue +161 -1
  450. package/uview-plus/components/u-code-input/u-code-input.vue +68 -1
  451. package/uview-plus/components/u-col/u-col.vue +50 -1
  452. package/uview-plus/components/u-collapse-item/u-collapse-item.vue +10 -1
  453. package/uview-plus/components/u-color-picker/u-color-picker.vue +260 -1
  454. package/uview-plus/components/u-column-notice/u-column-notice.vue +37 -1
  455. package/uview-plus/components/u-count-down/u-count-down.vue +5 -1
  456. package/uview-plus/components/u-count-to/u-count-to.vue +6 -1
  457. package/uview-plus/components/u-coupon/u-coupon.vue +214 -1
  458. package/uview-plus/components/u-cropper/u-cropper.vue +1319 -1
  459. package/uview-plus/components/u-datetime-picker/u-datetime-picker.vue +26 -1
  460. package/uview-plus/components/u-divider/u-divider.vue +17 -1
  461. package/uview-plus/components/u-dragsort/u-dragsort.vue +40 -1
  462. package/uview-plus/components/u-dropdown/u-dropdown.vue +66 -1
  463. package/uview-plus/components/u-dropdown-item/u-dropdown-item.vue +3 -1
  464. package/{ui-fireui → uview-plus}/components/u-dropdown-list/u-dropdown-list.vue +1 -1
  465. package/uview-plus/components/u-empty/u-empty.vue +43 -32
  466. package/{ui-fireui copy/components/u-fab/u-fab.vue → uview-plus/components/u-fab/u-fab.vue} +1 -1
  467. package/uview-plus/components/u-float-button/u-float-button.vue +15 -1
  468. package/{ui-fireui → uview-plus}/components/u-footer/u-footer.vue +1 -1
  469. package/uview-plus/components/u-form-base/form.js +22 -0
  470. package/uview-plus/components/u-form-base/props.js +47 -0
  471. package/uview-plus/components/u-form-base/u-form.vue +243 -0
  472. package/uview-plus/components/u-form-item/u-form-item.vue +82 -1
  473. package/uview-plus/components/u-goods-sku/u-goods-sku.vue +100 -1
  474. package/uview-plus/components/u-grid/u-grid.vue +0 -2
  475. package/uview-plus/components/u-grid-item/u-grid-item.vue +30 -1
  476. package/uview-plus/components/u-icon/u-icon.vue +63 -1
  477. package/uview-plus/components/u-image/u-image.vue +25 -1
  478. package/{ui-fireui → uview-plus}/components/u-image-cropper/u-image-cropper.vue +1 -1
  479. package/{ui-fireui copy/components/u-image-group/u-image-group.vue → uview-plus/components/u-image-group/u-image-group.vue} +1 -1
  480. package/uview-plus/components/u-index-anchor/u-index-anchor.vue +22 -1
  481. package/uview-plus/components/u-index-list/u-index-list.vue +51 -1
  482. package/uview-plus/components/u-input/u-input.vue +65 -1
  483. package/uview-plus/components/u-keyboard/u-keyboard.vue +26 -1
  484. package/uview-plus/components/u-lazy-load/u-lazy-load.vue +12 -1
  485. package/uview-plus/components/u-line/u-line.vue +5 -1
  486. package/uview-plus/components/u-line-progress/u-line-progress.vue +38 -1
  487. package/uview-plus/components/u-link/u-link.vue +11 -1
  488. package/uview-plus/components/u-list/u-list.vue +6 -1
  489. package/uview-plus/components/u-list-item/u-list-item.vue +2 -1
  490. package/uview-plus/components/u-loading-icon/u-loading-icon.vue +138 -1
  491. package/uview-plus/components/u-loading-page/u-loading-page.vue +33 -1
  492. package/uview-plus/components/u-loadmore/u-loadmore.vue +29 -1
  493. package/uview-plus/components/u-markdown/u-markdown.vue +188 -1
  494. package/uview-plus/components/u-message-input/u-message-input.vue +115 -1
  495. package/uview-plus/components/u-modal/u-modal.vue +65 -1
  496. package/uview-plus/components/u-navbar/u-navbar.vue +52 -1
  497. package/uview-plus/components/u-navbar-mini/u-navbar-mini.vue +34 -1
  498. package/uview-plus/components/u-no-network/u-no-network.vue +38 -1
  499. package/uview-plus/components/u-notice-bar/u-notice-bar.vue +5 -1
  500. package/uview-plus/components/u-notify/u-notify.vue +28 -1
  501. package/uview-plus/components/u-number-box/u-number-box.vue +60 -2
  502. package/uview-plus/components/u-number-keyboard/u-number-keyboard.vue +45 -1
  503. package/uview-plus/components/u-overlay/u-overlay.vue +8 -1
  504. package/uview-plus/components/u-pagination/u-pagination.vue +255 -1
  505. package/uview-plus/components/u-parse/node/node.vue +319 -129
  506. package/uview-plus/components/u-pdf-reader/u-pdf-reader.vue +2 -1
  507. package/uview-plus/components/u-picker/u-picker.vue +58 -1
  508. package/uview-plus/components/u-picker-data/u-picker-data.vue +11 -1
  509. package/uview-plus/components/u-popover/u-popover.vue +8 -1
  510. package/uview-plus/components/u-popup/u-popup.vue +87 -1
  511. package/uview-plus/components/u-popup-wu/u-popup-wu.vue +2 -2
  512. package/uview-plus/components/u-poster/u-poster.vue +22 -1
  513. package/uview-plus/components/u-pull-refresh/u-pull-refresh.vue +51 -1
  514. package/uview-plus/components/u-qrcode/u-qrcode.vue +32 -1
  515. package/uview-plus/components/u-radio/u-radio.vue +77 -1
  516. package/uview-plus/components/u-radio-group/u-radio-group.vue +15 -1
  517. package/uview-plus/components/u-rate/u-rate.vue +32 -1
  518. package/uview-plus/components/u-read-more/u-read-more.vue +23 -1
  519. package/uview-plus/components/u-row/u-row.vue +6 -1
  520. package/uview-plus/components/u-row-notice/u-row-notice.vue +50 -1
  521. package/uview-plus/components/u-safe-bottom/u-safe-bottom.vue +5 -1
  522. package/uview-plus/components/u-scroll-list/u-scroll-list.vue +35 -1
  523. package/uview-plus/components/u-search/u-search.vue +87 -1
  524. package/uview-plus/components/u-select/u-select.vue +51 -1
  525. package/uview-plus/components/u-short-video/u-short-video.vue +118 -1
  526. package/uview-plus/components/u-signature/u-signature.vue +71 -1
  527. package/uview-plus/components/u-skeleton/u-skeleton.vue +52 -1
  528. package/uview-plus/components/u-sku-wu/u-sku-wu.vue +271 -1
  529. package/uview-plus/components/u-slider/nvue.js +165 -178
  530. package/uview-plus/components/u-slider/u-slider.vue +69 -1
  531. package/uview-plus/components/u-status-bar/u-status-bar.vue +6 -1
  532. package/uview-plus/components/u-steps/u-steps.vue +20 -1
  533. package/uview-plus/components/u-steps-item/u-steps-item.vue +112 -1
  534. package/uview-plus/components/u-sticky/u-sticky.vue +6 -1
  535. package/uview-plus/components/u-subsection/u-subsection.vue +101 -1
  536. package/uview-plus/components/u-swipe-action-item/u-swipe-action-item.vue +51 -1
  537. package/uview-plus/components/u-swiper/u-swiper.vue +50 -1
  538. package/uview-plus/components/u-swiper-indicator/u-swiper-indicator.vue +26 -1
  539. package/uview-plus/components/u-switch/u-switch.vue +47 -1
  540. package/uview-plus/components/u-tabbar/u-tabbar.vue +29 -1
  541. package/uview-plus/components/u-tabbar-item/u-tabbar-item.vue +59 -1
  542. package/uview-plus/components/u-table2/tableRow.vue +361 -1
  543. package/uview-plus/components/u-table2/u-table2.vue +763 -1
  544. package/uview-plus/components/u-tabs/u-tabs.vue +62 -1
  545. package/uview-plus/components/u-tag/u-tag.vue +169 -1
  546. package/uview-plus/components/u-td/u-td.vue +14 -1
  547. package/uview-plus/components/u-text/u-text.vue +50 -1
  548. package/uview-plus/components/u-textarea/u-textarea.vue +35 -1
  549. package/uview-plus/components/u-th/u-th.vue +13 -1
  550. package/uview-plus/components/u-title/u-title.vue +10 -3
  551. package/uview-plus/components/u-toast/u-toast.vue +67 -1
  552. package/uview-plus/components/u-toolbar/u-toolbar.vue +34 -1
  553. package/uview-plus/components/u-tooltip/u-tooltip.vue +65 -1
  554. package/uview-plus/components/u-tr/u-tr.vue +6 -1
  555. package/uview-plus/components/u-transition/u-transition.vue +98 -1
  556. package/uview-plus/components/u-upload/u-upload.vue +176 -1
  557. package/uview-plus/components/u-view/u-view.vue +2 -1
  558. package/uview-plus/components/u-virtual-list/u-virtual-list.vue +16 -1
  559. package/uview-plus/components/u-waterfall/u-waterfall.vue +28 -1
  560. package/uview-plus/libs/css/color2.scss +32 -0
  561. package/uview-plus/libs/css/variable2.scss +111 -0
  562. package/{plugins → uview-plus/libs/ctocode}/MessageTip.js +6 -6
  563. package/uview-plus/libs/ctocode/wait.js +47 -0
  564. package/uview-plus/libs/mixin/openType2.js +60 -0
  565. package/uview-plus/libs/util/route2.js +126 -0
  566. package/other/style.css +0 -46
  567. package/ui-cv/components/cv-draw-gesture-lock/style.css +0 -39
  568. package/ui-cv/components/cv-geo-region/style.css +0 -77
  569. package/ui-fireui/components/u-circular-progress/u-circular-progress.vue +0 -269
  570. package/ui-fireui/components/u-countdown/u-countdown.vue +0 -301
  571. package/ui-fireui/components/u-fab/u-fab.vue +0 -284
  572. package/ui-fireui/components/u-icon/style.css +0 -63
  573. package/ui-fireui/components/u-image-group/u-image-group.vue +0 -149
  574. package/ui-fireui copy/components/u-action-sheet/u-action-sheet.vue +0 -202
  575. package/ui-fireui copy/components/u-alert/u-alert.vue +0 -141
  576. package/ui-fireui copy/components/u-badge/u-badge.vue +0 -158
  577. package/ui-fireui copy/components/u-bottom-navigation/u-bottom-navigation.vue +0 -391
  578. package/ui-fireui copy/components/u-bottom-popup/u-bottom-popup.vue +0 -101
  579. package/ui-fireui copy/components/u-bubble-popup/u-bubble-popup.vue +0 -240
  580. package/ui-fireui copy/components/u-button/u-button.vue +0 -424
  581. package/ui-fireui copy/components/u-button/u-button2.vue +0 -553
  582. package/ui-fireui copy/components/u-calendar/u-calendar.js +0 -915
  583. package/ui-fireui copy/components/u-calendar/u-calendar.vue +0 -868
  584. package/ui-fireui copy/components/u-calendar/u-calendar2.vue +0 -801
  585. package/ui-fireui copy/components/u-card/u-card.vue +0 -231
  586. package/ui-fireui copy/components/u-cascade-selection/u-cascade-selection.vue +0 -538
  587. package/ui-fireui copy/components/u-collapse/u-collapse.vue +0 -179
  588. package/ui-fireui copy/components/u-datetime/u-datetime.vue +0 -570
  589. package/ui-fireui copy/components/u-divider/u-divider.vue +0 -118
  590. package/ui-fireui copy/components/u-drawer/u-drawer.vue +0 -103
  591. package/ui-fireui copy/components/u-dropdown-list/u-dropdown-list.vue +0 -75
  592. package/ui-fireui copy/components/u-footer/u-footer.vue +0 -135
  593. package/ui-fireui copy/components/u-grid/u-grid.vue +0 -50
  594. package/ui-fireui copy/components/u-grid-item/u-grid-item.vue +0 -142
  595. package/ui-fireui copy/components/u-icon/icons.js +0 -214
  596. package/ui-fireui copy/components/u-icon/props.js +0 -92
  597. package/ui-fireui copy/components/u-icon/style.css +0 -63
  598. package/ui-fireui copy/components/u-icon/style.scss +0 -1066
  599. package/ui-fireui copy/components/u-icon/u-icon.vue +0 -117
  600. package/ui-fireui copy/components/u-icon/u-icon2.vue +0 -149
  601. package/ui-fireui copy/components/u-icon/util.js +0 -68
  602. package/ui-fireui copy/components/u-image-cropper/u-image-cropper.vue +0 -1058
  603. package/ui-fireui copy/components/u-keyboard/u-keyboard.vue +0 -251
  604. package/ui-fireui copy/components/u-keyboard-input/u-keyboard-input.vue +0 -78
  605. package/ui-fireui copy/components/u-list-cell/u-list-cell.vue +0 -178
  606. package/ui-fireui copy/components/u-list-view/u-list-view.vue +0 -87
  607. package/ui-fireui copy/components/u-loading/u-loading.vue +0 -78
  608. package/ui-fireui copy/components/u-loadmore/u-loadmore.vue +0 -163
  609. package/ui-fireui copy/components/u-modal/u-modal.vue +0 -392
  610. package/ui-fireui copy/components/u-navigation-bar/u-navigation-bar.vue +0 -181
  611. package/ui-fireui copy/components/u-no-data/u-no-data.vue +0 -116
  612. package/ui-fireui copy/components/u-nomore/u-nomore.vue +0 -116
  613. package/ui-fireui copy/components/u-numberbox/u-numberbox.vue +0 -234
  614. package/ui-fireui copy/components/u-numberbox-border/u-numberbox-border.vue +0 -232
  615. package/ui-fireui copy/components/u-picture-cropper/u-picture-cropper.vue +0 -682
  616. package/ui-fireui copy/components/u-picture-cropper/u-picture-cropper.wxs +0 -582
  617. package/ui-fireui copy/components/u-round-progress/u-round-progress.vue +0 -306
  618. package/ui-fireui copy/components/u-scroll-top/u-scroll-top.vue +0 -189
  619. package/ui-fireui copy/components/u-share-model/u-share-model.vue +0 -181
  620. package/ui-fireui copy/components/u-skeleton/u-skeleton.vue +0 -248
  621. package/ui-fireui copy/components/u-steps/u-steps.vue +0 -214
  622. package/ui-fireui copy/components/u-sticky/u-sticky.vue +0 -155
  623. package/ui-fireui copy/components/u-sticky-wxs/u-sticky-wxs.vue +0 -133
  624. package/ui-fireui copy/components/u-sticky-wxs/u-sticky.wxs +0 -46
  625. package/ui-fireui copy/components/u-swipe-action/u-swipe-action.vue +0 -301
  626. package/ui-fireui copy/components/u-tabbar/u-tabbar.vue +0 -279
  627. package/ui-fireui copy/components/u-tabs/u-tabs.vue +0 -284
  628. package/ui-fireui copy/components/u-tabs2/u-tabs2.vue +0 -284
  629. package/ui-fireui copy/components/u-tag/u-tag.vue +0 -362
  630. package/ui-fireui copy/components/u-time-axis/u-time-axis.vue +0 -36
  631. package/ui-fireui copy/components/u-timeaxis-item/u-timeaxis-item.vue +0 -48
  632. package/ui-fireui copy/components/u-tips/u-tips.vue +0 -161
  633. package/ui-fireui copy/components/u-toast/u-toast.vue +0 -117
  634. package/ui-fireui copy/components/u-top-dropdown/u-top-dropdown.vue +0 -129
  635. package/ui-fireui copy/components/u-upload/u-upload.vue +0 -446
  636. package/ui-fireui copy/components/u-upload2/u-upload.vue +0 -464
  637. package/ui-fireui copy/components/u-uploadsamll/u-uploadsamll.vue +0 -472
  638. package/ui-fireui copy/css/thorui.css +0 -589
  639. package/ui-fireui copy/index.css +0 -1483
  640. package/ui-fireui copy/libs/fui-color-analysis/fui-color-analysis.js +0 -1
  641. package/ui-fireui copy/libs/fui-zh-pinyin/fui-zh-pinyin.js +0 -1
  642. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/bridge/bridge-weex.js +0 -241
  643. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/FillStyleLinearGradient.js +0 -18
  644. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/FillStylePattern.js +0 -8
  645. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/FillStyleRadialGradient.js +0 -17
  646. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/RenderingContext.js +0 -666
  647. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/ActiveInfo.js +0 -11
  648. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Buffer.js +0 -21
  649. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Framebuffer.js +0 -21
  650. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/GLenum.js +0 -298
  651. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/GLmethod.js +0 -142
  652. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/GLtype.js +0 -23
  653. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Program.js +0 -21
  654. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Renderbuffer.js +0 -21
  655. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/RenderingContext.js +0 -1191
  656. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Shader.js +0 -22
  657. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/ShaderPrecisionFormat.js +0 -11
  658. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Texture.js +0 -22
  659. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/UniformLocation.js +0 -22
  660. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/classUtils.js +0 -3
  661. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/env/canvas.js +0 -74
  662. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/env/image.js +0 -96
  663. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/env/tool.js +0 -24
  664. package/ui-fireui copy/nvue/u-circular-progress/gcanvas/index.js +0 -47
  665. package/ui-fireui copy/nvue/u-circular-progress/u-circular-progress.nvue +0 -203
  666. package/ui-fireui copy/nvue/u-icon/icons.js +0 -188
  667. package/ui-fireui copy/nvue/u-icon/u-icon.vue +0 -78
  668. package/uni-ui/lib/uni-badge/style.css +0 -81
  669. package/uni-ui/lib/uni-badge/style.scss +0 -106
  670. package/uni-ui/lib/uni-breadcrumb/style.css +0 -3
  671. package/uni-ui/lib/uni-breadcrumb/style.scss +0 -4
  672. package/uni-ui/lib/uni-breadcrumb-item/style.css +0 -30
  673. package/uni-ui/lib/uni-breadcrumb-item/style.scss +0 -40
  674. package/uni-ui/lib/uni-calendar/style.css +0 -167
  675. package/uni-ui/lib/uni-calendar/style.scss +0 -200
  676. package/uni-ui/lib/uni-card/style.css +0 -115
  677. package/uni-ui/lib/uni-card/style.scss +0 -161
  678. package/uni-ui/lib/uni-col/style.css +0 -2145
  679. package/uni-ui/lib/uni-col/style.scss +0 -112
  680. package/uni-ui/lib/uni-collapse/style.css +0 -11
  681. package/uni-ui/lib/uni-collapse/style.scss +0 -12
  682. package/uni-ui/lib/uni-collapse-item/style.css +0 -120
  683. package/uni-ui/lib/uni-collapse-item/style.scss +0 -143
  684. package/uni-ui/lib/uni-combox/style.css +0 -114
  685. package/uni-ui/lib/uni-combox/style.scss +0 -133
  686. package/uni-ui/lib/uni-countdown/style.css +0 -16
  687. package/uni-ui/lib/uni-countdown/style.scss +0 -21
  688. package/uni-ui/lib/uni-data-checkbox/style.css +0 -302
  689. package/uni-ui/lib/uni-data-checkbox/style.scss +0 -366
  690. package/uni-ui/lib/uni-data-pickerview/style.css +0 -134
  691. package/uni-ui/lib/uni-data-pickerview/style.scss +0 -154
  692. package/uni-ui/lib/uni-data-select/style.css +0 -181
  693. package/uni-ui/lib/uni-data-select/style.scss +0 -213
  694. package/uni-ui/lib/uni-datetime-picker/style.css +0 -188
  695. package/uni-ui/lib/uni-datetime-picker/style.scss +0 -218
  696. package/uni-ui/lib/uni-drawer/style.css +0 -63
  697. package/uni-ui/lib/uni-drawer/style.scss +0 -77
  698. package/uni-ui/lib/uni-easyinput/style.css +0 -126
  699. package/uni-ui/lib/uni-easyinput/style.scss +0 -155
  700. package/uni-ui/lib/uni-fab/style.css +0 -185
  701. package/uni-ui/lib/uni-fab/style.scss +0 -259
  702. package/uni-ui/lib/uni-fav/style.css +0 -39
  703. package/uni-ui/lib/uni-fav/style.scss +0 -45
  704. package/uni-ui/lib/uni-file-picker/style.css +0 -97
  705. package/uni-ui/lib/uni-file-picker/style.scss +0 -110
  706. package/uni-ui/lib/uni-forms-item/style.css +0 -133
  707. package/uni-ui/lib/uni-goods-nav/style.css +0 -100
  708. package/uni-ui/lib/uni-goods-nav/style.scss +0 -122
  709. package/uni-ui/lib/uni-grid/style.css +0 -29
  710. package/uni-ui/lib/uni-grid/style.scss +0 -33
  711. package/uni-ui/lib/uni-grid-item/style.css +0 -49
  712. package/uni-ui/lib/uni-grid-item/style.scss +0 -55
  713. package/uni-ui/lib/uni-group/style.css +0 -36
  714. package/uni-ui/lib/uni-group/style.scss +0 -50
  715. package/uni-ui/lib/uni-icons/icons.js +0 -1169
  716. package/uni-ui/lib/uni-icons/style.css +0 -12
  717. package/uni-ui/lib/uni-icons/style.scss +0 -14
  718. package/uni-ui/lib/uni-indexed-list/style.css +0 -68
  719. package/uni-ui/lib/uni-indexed-list/style.scss +0 -83
  720. package/uni-ui/lib/uni-list/style.css +0 -43
  721. package/uni-ui/lib/uni-list/style.scss +0 -52
  722. package/uni-ui/lib/uni-list-ad/style.css +0 -30
  723. package/uni-ui/lib/uni-list-ad/style.scss +0 -35
  724. package/uni-ui/lib/uni-list-chat/style.css +0 -257
  725. package/uni-ui/lib/uni-list-chat/style.scss +0 -326
  726. package/uni-ui/lib/uni-list-item/style.css +0 -170
  727. package/uni-ui/lib/uni-list-item/style.scss +0 -213
  728. package/uni-ui/lib/uni-load-more/style.css +0 -194
  729. package/uni-ui/lib/uni-load-more/style.scss +0 -244
  730. package/uni-ui/lib/uni-nav-bar/style.css +0 -3
  731. package/uni-ui/lib/uni-nav-bar/style.scss +0 -6
  732. package/uni-ui/lib/uni-notice-bar/style.css +0 -109
  733. package/uni-ui/lib/uni-notice-bar/style.scss +0 -125
  734. package/uni-ui/lib/uni-number-box/style.css +0 -50
  735. package/uni-ui/lib/uni-number-box/style.scss +0 -64
  736. package/uni-ui/lib/uni-pagination/style.css +0 -125
  737. package/uni-ui/lib/uni-pagination/style.scss +0 -154
  738. package/uni-ui/lib/uni-popup/style.css +0 -41
  739. package/uni-ui/lib/uni-popup/style.scss +0 -51
  740. package/uni-ui/lib/uni-popup-dialog/style.css +0 -82
  741. package/uni-ui/lib/uni-popup-dialog/style.scss +0 -98
  742. package/uni-ui/lib/uni-popup-message/style.css +0 -57
  743. package/uni-ui/lib/uni-popup-message/style.scss +0 -69
  744. package/uni-ui/lib/uni-popup-share/style.css +0 -72
  745. package/uni-ui/lib/uni-popup-share/style.scss +0 -81
  746. package/uni-ui/lib/uni-rate/style.css +0 -29
  747. package/uni-ui/lib/uni-rate/style.scss +0 -33
  748. package/uni-ui/lib/uni-row/style.css +0 -58
  749. package/uni-ui/lib/uni-row/style.scss +0 -104
  750. package/uni-ui/lib/uni-search-bar/style.css +0 -59
  751. package/uni-ui/lib/uni-search-bar/style.scss +0 -70
  752. package/uni-ui/lib/uni-section/style.css +0 -55
  753. package/uni-ui/lib/uni-section/style.scss +0 -65
  754. package/uni-ui/lib/uni-segmented-control/style.css +0 -48
  755. package/uni-ui/lib/uni-segmented-control/style.scss +0 -55
  756. package/uni-ui/lib/uni-status-bar/style.css +0 -4
  757. package/uni-ui/lib/uni-steps/style.css +0 -152
  758. package/uni-ui/lib/uni-steps/style.scss +0 -179
  759. package/uni-ui/lib/uni-swipe-action-item/style.css +0 -90
  760. package/uni-ui/lib/uni-swipe-action-item/style.scss +0 -112
  761. package/uni-ui/lib/uni-swiper-dot/style.css +0 -75
  762. package/uni-ui/lib/uni-swiper-dot/style.scss +0 -95
  763. package/uni-ui/lib/uni-table/style.css +0 -123
  764. package/uni-ui/lib/uni-table/style.scss +0 -152
  765. package/uni-ui/lib/uni-tag/style.css +0 -105
  766. package/uni-ui/lib/uni-tag/style.scss +0 -141
  767. package/uni-ui/lib/uni-td/style.css +0 -13
  768. package/uni-ui/lib/uni-td/style.scss +0 -17
  769. package/uni-ui/lib/uni-th/style.css +0 -63
  770. package/uni-ui/lib/uni-th/style.scss +0 -78
  771. package/uni-ui/lib/uni-thead/style.css +0 -30
  772. package/uni-ui/lib/uni-thead/style.scss +0 -52
  773. package/uni-ui/lib/uni-tr/style.css +0 -25
  774. package/uni-ui/lib/uni-tr/style.scss +0 -46
  775. package/uview-plus/components/u-action-sheet/style.css +0 -56
  776. package/uview-plus/components/u-action-sheet/style.scss +0 -83
  777. package/uview-plus/components/u-action-sheet-data/style.css +0 -10
  778. package/uview-plus/components/u-action-sheet-data/style.scss +0 -12
  779. package/uview-plus/components/u-agreement/style.css +0 -10
  780. package/uview-plus/components/u-agreement/style.scss +0 -12
  781. package/uview-plus/components/u-album/style.css +0 -29
  782. package/uview-plus/components/u-alert/style.css +0 -90
  783. package/uview-plus/components/u-alert/style.scss +0 -111
  784. package/uview-plus/components/u-avatar/style.css +0 -21
  785. package/uview-plus/components/u-avatar/style.scss +0 -24
  786. package/uview-plus/components/u-avatar-group/style.css +0 -28
  787. package/uview-plus/components/u-avatar-group/style.scss +0 -26
  788. package/uview-plus/components/u-back-top/style.css +0 -16
  789. package/uview-plus/components/u-back-top/style.scss +0 -18
  790. package/uview-plus/components/u-badge/style.css +0 -57
  791. package/uview-plus/components/u-badge/style.scss +0 -83
  792. package/uview-plus/components/u-box/style.css +0 -51
  793. package/uview-plus/components/u-box/style.scss +0 -36
  794. package/uview-plus/components/u-button/style.css +0 -192
  795. package/uview-plus/components/u-calendar/style.css +0 -3
  796. package/uview-plus/components/u-calendar/style.scss +0 -5
  797. package/uview-plus/components/u-calendar-wu/style.css +0 -196
  798. package/uview-plus/components/u-car-keyboard/style.css +0 -69
  799. package/uview-plus/components/u-car-keyboard/style.scss +0 -89
  800. package/uview-plus/components/u-card/style.css +0 -34
  801. package/uview-plus/components/u-card/style.scss +0 -45
  802. package/uview-plus/components/u-cascader/style.css +0 -16
  803. package/uview-plus/components/u-cascader/style.scss +0 -25
  804. package/uview-plus/components/u-cate-tab/style.css +0 -98
  805. package/uview-plus/components/u-cate-tab/style.scss +0 -115
  806. package/uview-plus/components/u-cell/style.css +0 -112
  807. package/uview-plus/components/u-cell/style.scss +0 -148
  808. package/uview-plus/components/u-cell-group/style.css +0 -14
  809. package/uview-plus/components/u-cell-group/style.scss +0 -22
  810. package/uview-plus/components/u-checkbox/style.css +0 -77
  811. package/uview-plus/components/u-checkbox/style.scss +0 -102
  812. package/uview-plus/components/u-checkbox-group/style.css +0 -12
  813. package/uview-plus/components/u-checkbox-group/style.scss +0 -12
  814. package/uview-plus/components/u-choose/style.css +0 -13
  815. package/uview-plus/components/u-choose/style.scss +0 -17
  816. package/uview-plus/components/u-circle-progress/style.css +0 -69
  817. package/uview-plus/components/u-circle-progress/style.scss +0 -84
  818. package/uview-plus/components/u-city-locate/style.css +0 -20
  819. package/uview-plus/components/u-city-locate/style.scss +0 -20
  820. package/uview-plus/components/u-code-input/style.css +0 -68
  821. package/uview-plus/components/u-code-input/style.scss +0 -75
  822. package/uview-plus/components/u-col/style.css +0 -50
  823. package/uview-plus/components/u-col/style.scss +0 -65
  824. package/uview-plus/components/u-collapse-item/style.css +0 -10
  825. package/uview-plus/components/u-collapse-item/style.scss +0 -13
  826. package/uview-plus/components/u-color-picker/style.css +0 -246
  827. package/uview-plus/components/u-color-picker/style.scss +0 -299
  828. package/uview-plus/components/u-column-notice/style.css +0 -37
  829. package/uview-plus/components/u-column-notice/style.scss +0 -33
  830. package/uview-plus/components/u-count-down/style.css +0 -5
  831. package/uview-plus/components/u-count-down/style.scss +0 -11
  832. package/uview-plus/components/u-count-to/style.css +0 -6
  833. package/uview-plus/components/u-count-to/style.scss +0 -6
  834. package/uview-plus/components/u-coupon/style.css +0 -214
  835. package/uview-plus/components/u-coupon/style.scss +0 -246
  836. package/uview-plus/components/u-cropper/style.css +0 -91
  837. package/uview-plus/components/u-cropper/style.scss +0 -93
  838. package/uview-plus/components/u-datetime-picker/style.css +0 -26
  839. package/uview-plus/components/u-datetime-picker/style.scss +0 -26
  840. package/uview-plus/components/u-divider/style.css +0 -17
  841. package/uview-plus/components/u-divider/style.scss +0 -22
  842. package/uview-plus/components/u-dragsort/style.css +0 -40
  843. package/uview-plus/components/u-dragsort/style.scss +0 -52
  844. package/uview-plus/components/u-dropdown/style.css +0 -66
  845. package/uview-plus/components/u-dropdown/style.scss +0 -66
  846. package/uview-plus/components/u-dropdown-item/style.css +0 -3
  847. package/uview-plus/components/u-dropdown-item/style.scss +0 -3
  848. package/uview-plus/components/u-empty/style.css +0 -27
  849. package/uview-plus/components/u-empty/style.scss +0 -22
  850. package/uview-plus/components/u-empty/u-empty-new.vue +0 -102
  851. package/uview-plus/components/u-float-button/style.css +0 -15
  852. package/uview-plus/components/u-float-button/style.scss +0 -15
  853. package/uview-plus/components/u-form-item/style.css +0 -82
  854. package/uview-plus/components/u-form-item/style.scss +0 -72
  855. package/uview-plus/components/u-goods-sku/style.css +0 -100
  856. package/uview-plus/components/u-goods-sku/style.scss +0 -120
  857. package/uview-plus/components/u-grid/style.css +0 -21
  858. package/uview-plus/components/u-grid/style.scss +0 -21
  859. package/uview-plus/components/u-grid-item/style.css +0 -30
  860. package/uview-plus/components/u-grid-item/style.scss +0 -43
  861. package/uview-plus/components/u-icon/style.css +0 -63
  862. package/uview-plus/components/u-icon/style.scss +0 -82
  863. package/uview-plus/components/u-image/style.css +0 -24
  864. package/uview-plus/components/u-image/style.scss +0 -32
  865. package/uview-plus/components/u-index-anchor/style.css +0 -22
  866. package/uview-plus/components/u-index-anchor/style.scss +0 -18
  867. package/uview-plus/components/u-index-list/style.css +0 -51
  868. package/uview-plus/components/u-index-list/style.scss +0 -52
  869. package/uview-plus/components/u-input/style.css +0 -64
  870. package/uview-plus/components/u-input/style.scss +0 -62
  871. package/uview-plus/components/u-keyboard/style.css +0 -26
  872. package/uview-plus/components/u-keyboard/style.scss +0 -29
  873. package/uview-plus/components/u-lazy-load/style.css +0 -12
  874. package/uview-plus/components/u-lazy-load/style.scss +0 -15
  875. package/uview-plus/components/u-line/style.css +0 -5
  876. package/uview-plus/components/u-line/style.scss +0 -5
  877. package/uview-plus/components/u-line-progress/style.css +0 -38
  878. package/uview-plus/components/u-line-progress/style.scss +0 -35
  879. package/uview-plus/components/u-link/style.css +0 -11
  880. package/uview-plus/components/u-link/style.scss +0 -10
  881. package/uview-plus/components/u-list/style.css +0 -6
  882. package/uview-plus/components/u-list/style.scss +0 -3
  883. package/uview-plus/components/u-list-item/style.css +0 -2
  884. package/uview-plus/components/u-list-item/style.scss +0 -2
  885. package/uview-plus/components/u-loading-icon/style.css +0 -138
  886. package/uview-plus/components/u-loading-icon/style.scss +0 -152
  887. package/uview-plus/components/u-loading-page/style.css +0 -33
  888. package/uview-plus/components/u-loading-page/style.scss +0 -35
  889. package/uview-plus/components/u-loadmore/style.css +0 -29
  890. package/uview-plus/components/u-loadmore/style.scss +0 -27
  891. package/uview-plus/components/u-markdown/style.css +0 -188
  892. package/uview-plus/components/u-markdown/style.scss +0 -199
  893. package/uview-plus/components/u-message-input/style.css +0 -115
  894. package/uview-plus/components/u-message-input/style.scss +0 -134
  895. package/uview-plus/components/u-modal/style.css +0 -63
  896. package/uview-plus/components/u-modal/style.scss +0 -68
  897. package/uview-plus/components/u-navbar/style.css +0 -51
  898. package/uview-plus/components/u-navbar/style.scss +0 -56
  899. package/uview-plus/components/u-navbar-mini/style.css +0 -34
  900. package/uview-plus/components/u-navbar-mini/style.scss +0 -36
  901. package/uview-plus/components/u-no-network/style.css +0 -38
  902. package/uview-plus/components/u-no-network/style.scss +0 -34
  903. package/uview-plus/components/u-notice-bar/style.css +0 -5
  904. package/uview-plus/components/u-notice-bar/style.scss +0 -5
  905. package/uview-plus/components/u-notice-bar/u-notice-bar2.vue +0 -102
  906. package/uview-plus/components/u-notify/style.css +0 -28
  907. package/uview-plus/components/u-notify/style.scss +0 -38
  908. package/uview-plus/components/u-number-box/style.css +0 -56
  909. package/uview-plus/components/u-number-box/style.scss +0 -68
  910. package/uview-plus/components/u-number-keyboard/style.css +0 -45
  911. package/uview-plus/components/u-number-keyboard/style.scss +0 -61
  912. package/uview-plus/components/u-overlay/style.css +0 -8
  913. package/uview-plus/components/u-overlay/style.scss +0 -13
  914. package/uview-plus/components/u-pagination/style.css +0 -46
  915. package/uview-plus/components/u-pagination/style.scss +0 -51
  916. package/uview-plus/components/u-pdf-reader/style.css +0 -2
  917. package/uview-plus/components/u-pdf-reader/style.scss +0 -2
  918. package/uview-plus/components/u-picker/style.css +0 -58
  919. package/uview-plus/components/u-picker/style.scss +0 -54
  920. package/uview-plus/components/u-picker-data/style.css +0 -11
  921. package/uview-plus/components/u-picker-data/style.scss +0 -13
  922. package/uview-plus/components/u-popover/style.css +0 -8
  923. package/uview-plus/components/u-popover/style.scss +0 -7
  924. package/uview-plus/components/u-popup/style.css +0 -87
  925. package/uview-plus/components/u-popup/style.scss +0 -106
  926. package/uview-plus/components/u-poster/style.css +0 -22
  927. package/uview-plus/components/u-poster/style.scss +0 -26
  928. package/uview-plus/components/u-pull-refresh/style.css +0 -51
  929. package/uview-plus/components/u-pull-refresh/style.scss +0 -58
  930. package/uview-plus/components/u-qrcode/style.css +0 -33
  931. package/uview-plus/components/u-qrcode/style.scss +0 -33
  932. package/uview-plus/components/u-radio/style.css +0 -77
  933. package/uview-plus/components/u-radio/style.scss +0 -101
  934. package/uview-plus/components/u-radio-group/style.css +0 -15
  935. package/uview-plus/components/u-radio-group/style.scss +0 -14
  936. package/uview-plus/components/u-rate/style.css +0 -32
  937. package/uview-plus/components/u-rate/style.scss +0 -37
  938. package/uview-plus/components/u-read-more/style.css +0 -23
  939. package/uview-plus/components/u-read-more/style.scss +0 -21
  940. package/uview-plus/components/u-row/style.css +0 -6
  941. package/uview-plus/components/u-row/style.scss +0 -3
  942. package/uview-plus/components/u-row-notice/style.css +0 -50
  943. package/uview-plus/components/u-row-notice/style.scss +0 -49
  944. package/uview-plus/components/u-safe-bottom/style.css +0 -5
  945. package/uview-plus/components/u-safe-bottom/style.scss +0 -5
  946. package/uview-plus/components/u-scroll-list/style.css +0 -35
  947. package/uview-plus/components/u-scroll-list/style.scss +0 -32
  948. package/uview-plus/components/u-search/style.css +0 -87
  949. package/uview-plus/components/u-search/style.scss +0 -105
  950. package/uview-plus/components/u-select/style.css +0 -51
  951. package/uview-plus/components/u-select/style.scss +0 -47
  952. package/uview-plus/components/u-short-video/style.css +0 -117
  953. package/uview-plus/components/u-short-video/style.scss +0 -138
  954. package/uview-plus/components/u-signature/style.css +0 -70
  955. package/uview-plus/components/u-signature/style.scss +0 -88
  956. package/uview-plus/components/u-skeleton/style.css +0 -51
  957. package/uview-plus/components/u-skeleton/style.scss +0 -57
  958. package/uview-plus/components/u-sku-wu/style.css +0 -271
  959. package/uview-plus/components/u-slider/style.css +0 -69
  960. package/uview-plus/components/u-slider/style.scss +0 -76
  961. package/uview-plus/components/u-status-bar/style.css +0 -5
  962. package/uview-plus/components/u-status-bar/style.scss +0 -6
  963. package/uview-plus/components/u-steps/style.css +0 -20
  964. package/uview-plus/components/u-steps/style.scss +0 -21
  965. package/uview-plus/components/u-steps-item/style.css +0 -112
  966. package/uview-plus/components/u-steps-item/style.scss +0 -116
  967. package/uview-plus/components/u-sticky/style.css +0 -5
  968. package/uview-plus/components/u-sticky/style.scss +0 -6
  969. package/uview-plus/components/u-subsection/style.css +0 -101
  970. package/uview-plus/components/u-subsection/style.scss +0 -121
  971. package/uview-plus/components/u-swipe-action-item/style.css +0 -51
  972. package/uview-plus/components/u-swipe-action-item/style.scss +0 -44
  973. package/uview-plus/components/u-swiper/style.css +0 -50
  974. package/uview-plus/components/u-swiper/style.scss +0 -51
  975. package/uview-plus/components/u-swiper-indicator/style.css +0 -26
  976. package/uview-plus/components/u-swiper-indicator/style.scss +0 -29
  977. package/uview-plus/components/u-switch/style.css +0 -47
  978. package/uview-plus/components/u-switch/style.scss +0 -46
  979. package/uview-plus/components/u-tabbar/style.css +0 -29
  980. package/uview-plus/components/u-tabbar/style.scss +0 -23
  981. package/uview-plus/components/u-tabbar-item/style.css +0 -59
  982. package/uview-plus/components/u-tabbar-item/style.scss +0 -62
  983. package/uview-plus/components/u-table2/style.css +0 -90
  984. package/uview-plus/components/u-table2/style.scss +0 -117
  985. package/uview-plus/components/u-tabs/style.css +0 -62
  986. package/uview-plus/components/u-tabs/style.scss +0 -60
  987. package/uview-plus/components/u-tag/style.css +0 -169
  988. package/uview-plus/components/u-tag/style.scss +0 -204
  989. package/uview-plus/components/u-td/style.css +0 -14
  990. package/uview-plus/components/u-td/style.scss +0 -11
  991. package/uview-plus/components/u-text/style.css +0 -50
  992. package/uview-plus/components/u-text/style.scss +0 -56
  993. package/uview-plus/components/u-text/style2.scss +0 -60
  994. package/uview-plus/components/u-textarea/style.css +0 -35
  995. package/uview-plus/components/u-textarea/style.scss +0 -37
  996. package/uview-plus/components/u-th/style.css +0 -13
  997. package/uview-plus/components/u-th/style.scss +0 -10
  998. package/uview-plus/components/u-title/style.css +0 -8
  999. package/uview-plus/components/u-title/style.scss +0 -10
  1000. package/uview-plus/components/u-toast/style.css +0 -67
  1001. package/uview-plus/components/u-toast/style.scss +0 -106
  1002. package/uview-plus/components/u-toolbar/style.css +0 -33
  1003. package/uview-plus/components/u-toolbar/style.scss +0 -35
  1004. package/uview-plus/components/u-tooltip/style.css +0 -65
  1005. package/uview-plus/components/u-tooltip/style.scss +0 -62
  1006. package/uview-plus/components/u-tr/style.css +0 -6
  1007. package/uview-plus/components/u-tr/style.scss +0 -3
  1008. package/uview-plus/components/u-transition/style.css +0 -98
  1009. package/uview-plus/components/u-transition/style.scss +0 -120
  1010. package/uview-plus/components/u-upload/style.css +0 -174
  1011. package/uview-plus/components/u-upload/style.scss +0 -221
  1012. package/uview-plus/components/u-view/style.css +0 -2
  1013. package/uview-plus/components/u-view/style.scss +0 -2
  1014. package/uview-plus/components/u-virtual-list/style.css +0 -16
  1015. package/uview-plus/components/u-virtual-list/style.scss +0 -16
  1016. package/uview-plus/components/u-waterfall/style.css +0 -28
  1017. package/uview-plus/components/u-waterfall/style.scss +0 -25
  1018. /package/{uni-ui/lib/uni-forms/style.css → other/lime-painter2/components/lime-painter/qrcode.js} +0 -0
  1019. /package/{ui-fireui copy/components/u-countdown/u-countdown.vue → ui-fireui/components/u-count-down/u-count-down.vue} +0 -0
  1020. /package/{plugins → uview-plus/libs/ctocode}/MessageBox.js +0 -0
@@ -1,1058 +0,0 @@
1
- <template>
2
- <view class="up-container" @touchmove.stop.prevent="stop">
3
- <view class="up-image-cropper" @touchend="cutTouchEnd" @touchstart="cutTouchStart" @touchmove="cutTouchMove">
4
- <view class="up-content">
5
- <view
6
- class="up-content-top up-bg-transparent"
7
- :style="{ height: cutY + 'px', transitionProperty: cutAnimation ? '' : 'background' }"
8
- ></view>
9
- <view class="up-content-middle" :style="{ height: canvasHeight + 'px' }">
10
- <view
11
- class="up-bg-transparent"
12
- :style="{ width: cutX + 'px', transitionProperty: cutAnimation ? '' : 'background' }"
13
- ></view>
14
- <view
15
- class="up-cropper-box"
16
- :style="{
17
- width: canvasWidth + 'px',
18
- height: canvasHeight + 'px',
19
- borderColor: borderColor,
20
- transitionProperty: cutAnimation ? '' : 'background'
21
- }"
22
- >
23
- <view
24
- v-for="(item, index) in 4"
25
- :key="index"
26
- class="up-edge"
27
- :class="[`up-${index < 2 ? 'top' : 'bottom'}-${index === 0 || index === 2 ? 'left' : 'right'}`]"
28
- :style="{
29
- width: edgeWidth,
30
- height: edgeWidth,
31
- borderColor: edgeColor,
32
- borderWidth: edgeBorderWidth,
33
- left: index === 0 || index === 2 ? `-${edgeOffsets}` : 'auto',
34
- right: index === 1 || index === 3 ? `-${edgeOffsets}` : 'auto',
35
- top: index < 2 ? `-${edgeOffsets}` : 'auto',
36
- bottom: index > 1 ? `-${edgeOffsets}` : 'auto'
37
- }"
38
- ></view>
39
- </view>
40
- <view class="up-flex-auto up-bg-transparent" :style="{ transitionProperty: cutAnimation ? '' : 'background' }"></view>
41
- </view>
42
- <view class="up-flex-auto up-bg-transparent" :style="{ transitionProperty: cutAnimation ? '' : 'background' }"></view>
43
- </view>
44
- <image
45
- @load="imageLoad"
46
- @error="imageLoad"
47
- @touchstart="start"
48
- @touchmove="move"
49
- @touchend="end"
50
- :style="{
51
- width: imgWidth ? imgWidth + 'px' : 'auto',
52
- height: imgHeight ? imgHeight + 'px' : 'auto',
53
- transform: imgTransform,
54
- transitionDuration: (cutAnimation ? 0.35 : 0) + 's'
55
- }"
56
- class="up-cropper-image"
57
- :src="imageUrl"
58
- v-if="imageUrl"
59
- mode="widthFix"
60
- ></image>
61
- </view>
62
- <canvas
63
- canvas-id="up-image-cropper"
64
- id="up-image-cropper"
65
- :disable-scroll="true"
66
- :style="{ width: CROPPER_WIDTH * scaleRatio + 'px', height: CROPPER_HEIGHT * scaleRatio + 'px' }"
67
- class="up-cropper-canvas"
68
- ></canvas>
69
- <view class="up-cropper-tabbar" v-if="!custom">
70
- <view class="up-op-btn" @tap.stop="back">取消</view>
71
- <image :src="rotateImg" class="up-rotate-img" @tap="setAngle"></image>
72
- <view class="up-op-btn" @tap.stop="getImage">完成</view>
73
- </view>
74
- </view>
75
- </template>
76
-
77
- <script>
78
- /**
79
- * 注意:组件中使用的图片地址,将文件复制到自己项目中
80
- * 如果图片位置与组件同级,编译成小程序时图片会丢失
81
- * 拷贝static下整个components文件夹
82
- *也可直接转成base64(不建议)
83
- * */
84
- export default {
85
- name: 'fuiImageCropper',
86
- props: {
87
- //图片路径
88
- imageUrl: {
89
- type: String,
90
- default: ''
91
- },
92
- /*
93
- 默认正方形,可修改大小控制比例
94
- 裁剪框高度 px
95
- */
96
- height: {
97
- type: Number,
98
- default: 280
99
- },
100
- //裁剪框宽度 px
101
- width: {
102
- type: Number,
103
- default: 280
104
- },
105
- //裁剪框最小宽度 px
106
- minWidth: {
107
- type: Number,
108
- default: 100
109
- },
110
- //裁剪框最小高度 px
111
- minHeight: {
112
- type: Number,
113
- default: 100
114
- },
115
- //裁剪框最大宽度 px
116
- maxWidth: {
117
- type: Number,
118
- default: 360
119
- },
120
- //裁剪框最大高度 px
121
- maxHeight: {
122
- type: Number,
123
- default: 360
124
- },
125
- //裁剪框border颜色
126
- borderColor: {
127
- type: String,
128
- default: 'rgba(255,255,255,0.1)'
129
- },
130
- //裁剪框边缘线颜色
131
- edgeColor: {
132
- type: String,
133
- default: '#FFFFFF'
134
- },
135
- //裁剪框边缘线宽度 w=h
136
- edgeWidth: {
137
- type: String,
138
- default: '34rpx'
139
- },
140
- //裁剪框边缘线border宽度
141
- edgeBorderWidth: {
142
- type: String,
143
- default: '6rpx'
144
- },
145
- //偏移距离,根据edgeBorderWidth进行调整
146
- edgeOffsets: {
147
- type: String,
148
- default: '6rpx'
149
- },
150
- /**
151
- * 如果宽度和高度都为true则裁剪框禁止拖动
152
- * 裁剪框宽度锁定
153
- */
154
- lockWidth: {
155
- type: Boolean,
156
- default: false
157
- },
158
- //裁剪框高度锁定
159
- lockHeight: {
160
- type: Boolean,
161
- default: false
162
- },
163
- //锁定裁剪框比例(放大或缩小)
164
- lockRatio: {
165
- type: Boolean,
166
- default: false
167
- },
168
- //生成的图片尺寸相对剪裁框的比例
169
- scaleRatio: {
170
- type: Number,
171
- default: 2 // 3
172
- },
173
- //图片的质量,取值范围为 (0, 1],不在范围内时当作1.0处理
174
- quality: {
175
- type: Number,
176
- default: 0.8 //1
177
- },
178
- //图片旋转角度
179
- rotateAngle: {
180
- type: Number,
181
- default: 0
182
- },
183
- //图片最小缩放比
184
- minScale: {
185
- type: Number,
186
- default: 0.5
187
- },
188
- //图片最大缩放比
189
- maxScale: {
190
- type: Number,
191
- default: 2
192
- },
193
- //是否禁用触摸旋转(为false则可以触摸转动图片,limitMove为false生效)
194
- disableRotate: {
195
- type: Boolean,
196
- default: true
197
- },
198
- //是否限制移动范围(剪裁框只能在图片内,为true不可触摸转动图片)
199
- limitMove: {
200
- type: Boolean,
201
- default: true
202
- },
203
- //自定义操作栏(为true时隐藏底部操作栏)
204
- custom: {
205
- type: Boolean,
206
- default: false
207
- },
208
- //值发生改变开始裁剪(custom为true时生效)
209
- startCutting: {
210
- type: [Number, Boolean],
211
- default: 0
212
- },
213
- /**
214
- * 是否返回base64(H5端默认base64)
215
- * 支持平台:App,微信小程序,支付宝小程序,H5(默认url就是base64)
216
- **/
217
- isBase64: {
218
- type: Boolean,
219
- default: false
220
- },
221
- //裁剪时是否显示loadding
222
- loadding: {
223
- type: Boolean,
224
- default: true
225
- },
226
- //旋转icon
227
- rotateImg: {
228
- type: String,
229
- default: '/static/components/cropper/img_rotate.png'
230
- }
231
- },
232
- data() {
233
- return {
234
- MOVE_THROTTLE: null, //触摸移动节流setTimeout
235
- MOVE_THROTTLE_FLAG: true, //节流标识
236
- TIME_CUT_CENTER: null,
237
- CROPPER_WIDTH: 200, //裁剪框宽
238
- CROPPER_HEIGHT: 200, //裁剪框高
239
- CUT_START: null,
240
- cutX: 0, //画布x轴起点
241
- cutY: 0, //画布y轴起点0
242
- touchRelative: [
243
- {
244
- x: 0,
245
- y: 0
246
- }
247
- ], //手指或鼠标和图片中心的相对位置
248
- flagCutTouch: false, //是否是拖动裁剪框
249
- hypotenuseLength: 0, //双指触摸时斜边长度
250
- flagEndTouch: false, //是否结束触摸
251
- canvasWidth: 0,
252
- canvasHeight: 0,
253
- imgWidth: 0, //图片宽度
254
- imgHeight: 0, //图片高度
255
- scale: 1, //图片缩放比
256
- angle: 0, //图片旋转角度
257
- cutAnimation: false, //是否开启图片和裁剪框过渡
258
- cutAnimationTime: null,
259
- imgTop: 0, //图片上边距
260
- imgLeft: 0, //图片左边距
261
- ctx: null,
262
- sysInfo: null
263
- };
264
- },
265
- computed: {
266
- imgTransform() {
267
- return `translate3d(${this.imgLeft - this.imgWidth / 2}px,${this.imgTop - this.imgHeight / 2}px,0) scale(${
268
- this.scale
269
- }) rotate(${this.angle}deg)`;
270
- }
271
- },
272
- watch: {
273
- imageUrl(val, oldVal) {
274
- this.imageReset();
275
- this.showLoading();
276
- uni.getImageInfo({
277
- src: val,
278
- success: (res) => {
279
- //计算图片尺寸
280
- this.imgComputeSize(res.width, res.height);
281
- if (this.limitMove) {
282
- //限制移动,不留空白处理
283
- this.imgMarginDetectionScale();
284
- }
285
- },
286
- fail: (err) => {
287
- this.imgComputeSize();
288
- if (this.limitMove) {
289
- this.imgMarginDetectionScale();
290
- }
291
- }
292
- });
293
- },
294
- //监听截取框宽高变化
295
- canvasWidth(val) {
296
- if (val < this.minWidth) {
297
- this.canvasWidth = this.minWidth;
298
- }
299
- this.computeCutSize();
300
- },
301
- canvasHeight(val) {
302
- if (val < this.minHeight) {
303
- this.canvasHeight = this.minHeight;
304
- }
305
- this.computeCutSize();
306
- },
307
- rotateAngle(val) {
308
- this.cutAnimation = true;
309
- this.angle = val;
310
- },
311
- angle(val) {
312
- this.moveStop();
313
- if (this.limitMove && val % 90) {
314
- this.angle = Math.round(val / 90) * 90;
315
- }
316
- this.imgMarginDetectionScale();
317
- },
318
- cutAnimation(val) {
319
- //开启过渡260毫秒之后自动关闭
320
- clearTimeout(this.cutAnimationTime);
321
- if (val) {
322
- this.cutAnimationTime = setTimeout(() => {
323
- this.cutAnimation = false;
324
- }, 260);
325
- }
326
- },
327
- limitMove(val) {
328
- if (val) {
329
- if (this.angle % 90) {
330
- this.angle = Math.round(this.angle / 90) * 90;
331
- }
332
- this.imgMarginDetectionScale();
333
- }
334
- },
335
- cutY(value) {
336
- this.cutDetectionPosition();
337
- },
338
- cutX(value) {
339
- this.cutDetectionPosition();
340
- },
341
- startCutting(val) {
342
- if (this.custom && val) {
343
- this.getImage();
344
- }
345
- }
346
- },
347
- mounted() {
348
- this.sysInfo = uni.getSystemInfoSync();
349
- this.imgTop = this.sysInfo.windowHeight / 2;
350
- this.imgLeft = this.sysInfo.windowWidth / 2;
351
- this.CROPPER_WIDTH = this.width;
352
- this.CROPPER_HEIGHT = this.height;
353
- this.canvasHeight = this.height;
354
- this.canvasWidth = this.width;
355
- this.ctx = uni.createCanvasContext('up-image-cropper', this);
356
- this.setCutCenter();
357
- //设置裁剪框大小>设置图片尺寸>绘制canvas
358
- this.computeCutSize();
359
- //检查裁剪框是否在范围内
360
- this.cutDetectionPosition();
361
- setTimeout(() => {
362
- this.$emit('ready', {});
363
- }, 200);
364
- },
365
- methods: {
366
- //返回裁剪后图片信息
367
- getImage() {
368
- if (!this.imageUrl) {
369
- uni.showToast({
370
- title: '请选择图片',
371
- icon: 'none'
372
- });
373
- return;
374
- }
375
- this.loadding && this.showLoading();
376
- let draw = () => {
377
- //图片实际大小
378
- let imgWidth = this.imgWidth * this.scale * this.scaleRatio;
379
- let imgHeight = this.imgHeight * this.scale * this.scaleRatio;
380
- //canvas和图片的相对距离
381
- let xpos = this.imgLeft - this.cutX;
382
- let ypos = this.imgTop - this.cutY;
383
- //旋转画布
384
- this.ctx.translate(xpos * this.scaleRatio, ypos * this.scaleRatio);
385
- this.ctx.rotate((this.angle * Math.PI) / 180);
386
- this.ctx.drawImage(this.imageUrl, -imgWidth / 2, -imgHeight / 2, imgWidth, imgHeight);
387
- this.ctx.draw(false, () => {
388
- let params = {
389
- width: this.canvasWidth * this.scaleRatio,
390
- height: Math.round(this.canvasHeight * this.scaleRatio),
391
- destWidth: this.canvasWidth * this.scaleRatio,
392
- destHeight: Math.round(this.canvasHeight) * this.scaleRatio,
393
- fileType: 'png',
394
- quality: this.quality
395
- };
396
- let data = {
397
- url: '',
398
- base64: '',
399
- width: this.canvasWidth * this.scaleRatio,
400
- height: this.canvasHeight * this.scaleRatio
401
- };
402
- // #ifdef MP-ALIPAY
403
-
404
- if (this.isBase64) {
405
- this.ctx.toDataURL(params).then((dataURL) => {
406
- data.base64 = dataURL;
407
- this.loadding && uni.hideLoading();
408
- this.$emit('cropper', data);
409
- });
410
- } else {
411
- this.ctx.toTempFilePath({
412
- ...params,
413
- success: (res) => {
414
- data.url = res.tempFilePath;
415
- this.loadding && uni.hideLoading();
416
- this.$emit('cropper', data);
417
- }
418
- });
419
- }
420
- // #endif
421
-
422
- // #ifndef MP-ALIPAY
423
- // #ifdef MP-BAIDU || MP-TOUTIAO || H5
424
- this.isBase64 = false;
425
- // #endif
426
- if (this.isBase64) {
427
- uni.canvasGetImageData({
428
- canvasId: 'up-image-cropper',
429
- x: 0,
430
- y: 0,
431
- width: this.canvasWidth * this.scaleRatio,
432
- height: Math.round(this.canvasHeight * this.scaleRatio),
433
- success: (res) => {
434
- const arrayBuffer = new Uint8Array(res.data);
435
- const base64 = uni.arrayBufferToBase64(arrayBuffer);
436
- data.base64 = base64; // dataURL
437
- this.loadding && uni.hideLoading();
438
- this.$emit('cropper', data);
439
- }
440
- });
441
- } else {
442
- uni.canvasToTempFilePath(
443
- {
444
- ...params,
445
- canvasId: 'up-image-cropper',
446
- success: (res) => {
447
- data.url = res.tempFilePath;
448
- // #ifdef H5
449
- data.base64 = res.tempFilePath;
450
- // #endif
451
- this.loadding && uni.hideLoading();
452
- this.$emit('cropper', data);
453
- },
454
- fail(res) {
455
- console.log(res);
456
- }
457
- },
458
- this
459
- );
460
- }
461
- // #endif
462
- });
463
- };
464
- if (this.CROPPER_WIDTH != this.canvasWidth || this.CROPPER_HEIGHT != this.canvasHeight) {
465
- this.CROPPER_WIDTH = this.canvasWidth;
466
- this.CROPPER_HEIGHT = this.canvasHeight;
467
- this.ctx.draw();
468
- this.$nextTick(() => {
469
- setTimeout(() => {
470
- draw();
471
- }, 100);
472
- });
473
- } else {
474
- draw();
475
- }
476
- },
477
- /**
478
- * 设置剪裁框和图片居中
479
- */
480
- setCutCenter() {
481
- let sys = this.sysInfo || uni.getSystemInfoSync();
482
- let cutY = (sys.windowHeight - this.canvasHeight) * 0.5;
483
- let cutX = (sys.windowWidth - this.canvasWidth) * 0.5;
484
- //顺序不能变
485
- this.imgTop = this.imgTop - this.cutY + cutY;
486
- this.cutY = cutY; //截取的框上边距
487
- this.imgLeft = this.imgLeft - this.cutX + cutX;
488
- this.cutX = cutX; //截取的框左边距
489
- },
490
- imageReset() {
491
- // this.cutAnimation = true;
492
- this.scale = 1;
493
- this.angle = 0;
494
- let sys = this.sysInfo || uni.getSystemInfoSync();
495
- this.imgTop = sys.windowHeight / 2;
496
- this.imgLeft = sys.windowWidth / 2;
497
- },
498
- imageLoad(e) {
499
- this.imageReset();
500
- uni.hideLoading();
501
- this.$emit('imageLoad', {});
502
- },
503
- //检测剪裁框位置是否在允许的范围内(屏幕内)
504
- cutDetectionPosition() {
505
- let cutDetectionPositionTop = () => {
506
- //检测上边距是否在范围内
507
- if (this.cutY < 0) {
508
- this.cutY = 0;
509
- }
510
- if (this.cutY > this.sysInfo.windowHeight - this.canvasHeight) {
511
- this.cutY = this.sysInfo.windowHeight - this.canvasHeight;
512
- }
513
- },
514
- cutDetectionPositionLeft = () => {
515
- //检测左边距是否在范围内
516
- if (this.cutX < 0) {
517
- this.cutX = 0;
518
- }
519
- if (this.cutX > this.sysInfo.windowWidth - this.canvasWidth) {
520
- this.cutX = this.sysInfo.windowWidth - this.canvasWidth;
521
- }
522
- };
523
- //裁剪框坐标处理(如果只写一个参数则另一个默认为0,都不写默认居中)
524
- if (this.cutY == null && this.cutX == null) {
525
- let cutY = (this.sysInfo.windowHeight - this.canvasHeight) * 0.5;
526
- let cutX = (this.sysInfo.windowWidth - this.canvasWidth) * 0.5;
527
- this.cutY = cutY; //截取的框上边距
528
- this.cutX = cutX; //截取的框左边距
529
- } else if (this.cutY != null && this.cutX != null) {
530
- cutDetectionPositionTop();
531
- cutDetectionPositionLeft();
532
- } else if (this.cutY != null && this.cutX == null) {
533
- cutDetectionPositionTop();
534
- this.cutX = (this.sysInfo.windowWidth - this.canvasWidth) / 2;
535
- } else if (this.cutY == null && this.cutX != null) {
536
- cutDetectionPositionLeft();
537
- this.cutY = (this.sysInfo.windowHeight - this.canvasHeight) / 2;
538
- }
539
- },
540
- /**
541
- * 图片边缘检测-位置
542
- */
543
- imgMarginDetectionPosition(scale) {
544
- if (!this.limitMove) return;
545
- let left = this.imgLeft;
546
- let top = this.imgTop;
547
- scale = scale || this.scale;
548
- let imgWidth = this.imgWidth;
549
- let imgHeight = this.imgHeight;
550
- if ((this.angle / 90) % 2) {
551
- imgWidth = this.imgHeight;
552
- imgHeight = this.imgWidth;
553
- }
554
- left = this.cutX + (imgWidth * scale) / 2 >= left ? left : this.cutX + (imgWidth * scale) / 2;
555
- left =
556
- this.cutX + this.canvasWidth - (imgWidth * scale) / 2 <= left
557
- ? left
558
- : this.cutX + this.canvasWidth - (imgWidth * scale) / 2;
559
- top = this.cutY + (imgHeight * scale) / 2 >= top ? top : this.cutY + (imgHeight * scale) / 2;
560
- top =
561
- this.cutY + this.canvasHeight - (imgHeight * scale) / 2 <= top
562
- ? top
563
- : this.cutY + this.canvasHeight - (imgHeight * scale) / 2;
564
- this.imgLeft = left;
565
- this.imgTop = top;
566
- this.scale = scale;
567
- },
568
- /**
569
- * 图片边缘检测-缩放
570
- */
571
- imgMarginDetectionScale(scale) {
572
- if (!this.limitMove) return;
573
- scale = scale || this.scale;
574
- let imgWidth = this.imgWidth;
575
- let imgHeight = this.imgHeight;
576
- if ((this.angle / 90) % 2) {
577
- imgWidth = this.imgHeight;
578
- imgHeight = this.imgWidth;
579
- }
580
- if (imgWidth * scale < this.canvasWidth) {
581
- scale = this.canvasWidth / imgWidth;
582
- }
583
- if (imgHeight * scale < this.canvasHeight) {
584
- scale = Math.max(scale, this.canvasHeight / imgHeight);
585
- }
586
- this.imgMarginDetectionPosition(scale);
587
- },
588
- /**
589
- * 计算图片尺寸
590
- */
591
- imgComputeSize(width, height) {
592
- //默认按图片最小边 = 对应裁剪框尺寸
593
- let imgWidth = width,
594
- imgHeight = height;
595
- if (imgWidth && imgHeight) {
596
- if (imgWidth / imgHeight > (this.canvasWidth || this.width) / (this.canvasHeight || this.height)) {
597
- imgHeight = this.canvasHeight || this.height;
598
- imgWidth = (width / height) * imgHeight;
599
- } else {
600
- imgWidth = this.canvasWidth || this.width;
601
- imgHeight = (height / width) * imgWidth;
602
- }
603
- } else {
604
- let sys = this.sysInfo || uni.getSystemInfoSync();
605
- imgWidth = sys.windowWidth;
606
- imgHeight = 0;
607
- }
608
- this.imgWidth = imgWidth;
609
- this.imgHeight = imgHeight;
610
- },
611
- //改变截取框大小
612
- computeCutSize() {
613
- if (this.canvasWidth > this.sysInfo.windowWidth) {
614
- this.canvasWidth = this.sysInfo.windowWidth;
615
- } else if (this.canvasWidth + this.cutX > this.sysInfo.windowWidth) {
616
- this.cutX = this.sysInfo.windowWidth - this.cutX;
617
- }
618
- if (this.canvasHeight > this.sysInfo.windowHeight) {
619
- this.canvasHeight = this.sysInfo.windowHeight;
620
- } else if (this.canvasHeight + this.cutY > this.sysInfo.windowHeight) {
621
- this.cutY = this.sysInfo.windowHeight - this.cutY;
622
- }
623
- },
624
- //开始触摸
625
- start(e) {
626
- this.flagEndTouch = false;
627
- if (e.touches.length == 1) {
628
- //单指拖动
629
- this.touchRelative[0] = {
630
- x: e.touches[0].clientX - this.imgLeft,
631
- y: e.touches[0].clientY - this.imgTop
632
- };
633
- } else {
634
- //双指放大
635
- let width = Math.abs(e.touches[0].clientX - e.touches[1].clientX);
636
- let height = Math.abs(e.touches[0].clientY - e.touches[1].clientY);
637
- this.touchRelative = [
638
- {
639
- x: e.touches[0].clientX - this.imgLeft,
640
- y: e.touches[0].clientY - this.imgTop
641
- },
642
- {
643
- x: e.touches[1].clientX - this.imgLeft,
644
- y: e.touches[1].clientY - this.imgTop
645
- }
646
- ];
647
- this.hypotenuseLength = Math.sqrt(Math.pow(width, 2) + Math.pow(height, 2));
648
- }
649
- },
650
- moveThrottle() {
651
- if (this.sysInfo.platform == 'android') {
652
- clearTimeout(this.MOVE_THROTTLE);
653
- this.MOVE_THROTTLE = setTimeout(() => {
654
- this.MOVE_THROTTLE_FLAG = true;
655
- }, 800 / 40);
656
- return this.MOVE_THROTTLE_FLAG;
657
- } else {
658
- this.MOVE_THROTTLE_FLAG = true;
659
- }
660
- },
661
- move(e) {
662
- if (this.flagEndTouch || !this.MOVE_THROTTLE_FLAG) return;
663
- this.MOVE_THROTTLE_FLAG = false;
664
- this.moveThrottle();
665
- this.moveDuring();
666
- if (e.touches.length == 1) {
667
- //单指拖动
668
- let left = e.touches[0].clientX - this.touchRelative[0].x,
669
- top = e.touches[0].clientY - this.touchRelative[0].y;
670
- //图像边缘检测,防止截取到空白
671
- this.imgLeft = left;
672
- this.imgTop = top;
673
- this.imgMarginDetectionPosition();
674
- } else {
675
- //双指放大
676
- let width = Math.abs(e.touches[0].clientX - e.touches[1].clientX),
677
- height = Math.abs(e.touches[0].clientY - e.touches[1].clientY),
678
- hypotenuse = Math.sqrt(Math.pow(width, 2) + Math.pow(height, 2)),
679
- scale = this.scale * (hypotenuse / this.hypotenuseLength),
680
- current_deg = 0;
681
- scale = scale <= this.minScale ? this.minScale : scale;
682
- scale = scale >= this.maxScale ? this.maxScale : scale;
683
- //图像边缘检测,防止截取到空白
684
- // this.scale = scale;
685
- this.imgMarginDetectionScale(scale);
686
- //双指旋转(如果没禁用旋转)
687
- let touchRelative = [
688
- {
689
- x: e.touches[0].clientX - this.imgLeft,
690
- y: e.touches[0].clientY - this.imgTop
691
- },
692
- {
693
- x: e.touches[1].clientX - this.imgLeft,
694
- y: e.touches[1].clientY - this.imgTop
695
- }
696
- ];
697
- if (!this.disableRotate) {
698
- let first_atan = (180 / Math.PI) * Math.atan2(touchRelative[0].y, touchRelative[0].x);
699
- let first_atan_old = (180 / Math.PI) * Math.atan2(this.touchRelative[0].y, this.touchRelative[0].x);
700
- let second_atan = (180 / Math.PI) * Math.atan2(touchRelative[1].y, touchRelative[1].x);
701
- let second_atan_old = (180 / Math.PI) * Math.atan2(this.touchRelative[1].y, this.touchRelative[1].x);
702
- //当前旋转的角度
703
- let first_deg = first_atan - first_atan_old,
704
- second_deg = second_atan - second_atan_old;
705
- if (first_deg != 0) {
706
- current_deg = first_deg;
707
- } else if (second_deg != 0) {
708
- current_deg = second_deg;
709
- }
710
- }
711
- this.touchRelative = touchRelative;
712
- this.hypotenuseLength = Math.sqrt(Math.pow(width, 2) + Math.pow(height, 2));
713
- //更新视图
714
- this.angle = this.angle + current_deg;
715
- this.scale = this.scale;
716
- }
717
- },
718
- //结束操作
719
- end(e) {
720
- this.flagEndTouch = true;
721
- this.moveStop();
722
- },
723
- //裁剪框处理
724
- cutTouchMove(e) {
725
- if (this.flagCutTouch && this.MOVE_THROTTLE_FLAG) {
726
- if (this.lockRatio && (this.lockWidth || this.lockHeight)) return;
727
- //节流
728
- this.MOVE_THROTTLE_FLAG = false;
729
- this.moveThrottle();
730
- let width = this.canvasWidth,
731
- height = this.canvasHeight,
732
- cutY = this.cutY,
733
- cutX = this.cutX,
734
- size_correct = () => {
735
- width = width <= this.maxWidth ? (width >= this.minWidth ? width : this.minWidth) : this.maxWidth;
736
- height = height <= this.maxHeight ? (height >= this.minHeight ? height : this.minHeight) : this.maxHeight;
737
- },
738
- size_inspect = () => {
739
- if (
740
- (width > this.maxWidth || width < this.minWidth || height > this.maxHeight || height < this.minHeight) &&
741
- this.lockRatio
742
- ) {
743
- size_correct();
744
- return false;
745
- } else {
746
- size_correct();
747
- return true;
748
- }
749
- };
750
- height =
751
- this.CUT_START.height +
752
- (this.CUT_START.corner > 1 && this.CUT_START.corner < 4 ? 1 : -1) * (this.CUT_START.y - e.touches[0].clientY);
753
- switch (this.CUT_START.corner) {
754
- case 1:
755
- width = this.CUT_START.width - this.CUT_START.x + e.touches[0].clientX;
756
- if (this.lockRatio) {
757
- height = width / (this.canvasWidth / this.canvasHeight);
758
- }
759
- if (!size_inspect()) return;
760
- break;
761
- case 2:
762
- width = this.CUT_START.width - this.CUT_START.x + e.touches[0].clientX;
763
- if (this.lockRatio) {
764
- height = width / (this.canvasWidth / this.canvasHeight);
765
- }
766
- if (!size_inspect()) return;
767
- cutY = this.CUT_START.cutY - (height - this.CUT_START.height);
768
- break;
769
- case 3:
770
- width = this.CUT_START.width + this.CUT_START.x - e.touches[0].clientX;
771
- if (this.lockRatio) {
772
- height = width / (this.canvasWidth / this.canvasHeight);
773
- }
774
- if (!size_inspect()) return;
775
- cutY = this.CUT_START.cutY - (height - this.CUT_START.height);
776
- cutX = this.CUT_START.cutX - (width - this.CUT_START.width);
777
- break;
778
- case 4:
779
- width = this.CUT_START.width + this.CUT_START.x - e.touches[0].clientX;
780
- if (this.lockRatio) {
781
- height = width / (this.canvasWidth / this.canvasHeight);
782
- }
783
- if (!size_inspect()) return;
784
- cutX = this.CUT_START.cutX - (width - this.CUT_START.width);
785
- break;
786
- default:
787
- break;
788
- }
789
- if (!this.lockWidth && !this.lockHeight) {
790
- this.canvasWidth = width;
791
- this.cutX = cutX;
792
- this.canvasHeight = height;
793
- this.cutY = cutY;
794
- } else if (!this.lockWidth) {
795
- this.canvasWidth = width;
796
- this.cutX = cutX;
797
- } else if (!this.lockHeight) {
798
- this.canvasHeight = height;
799
- this.cutY = cutY;
800
- }
801
- this.imgMarginDetectionScale();
802
- }
803
- },
804
- cutTouchStart(e) {
805
- let currentX = e.touches[0].clientX;
806
- let currentY = e.touches[0].clientY;
807
-
808
- /*
809
- * (右下-1 右上-2 左上-3 左下-4)
810
- * left_x [3,4]
811
- * top_y [2,3]
812
- * right_x [1,2]
813
- * bottom_y [1,4]
814
- */
815
- let left_x1 = this.cutX - 24;
816
- let left_x2 = this.cutX + 24;
817
-
818
- let top_y1 = this.cutY - 24;
819
- let top_y2 = this.cutY + 24;
820
-
821
- let right_x1 = this.cutX + this.canvasWidth - 24;
822
- let right_x2 = this.cutX + this.canvasWidth + 24;
823
-
824
- let bottom_y1 = this.cutY + this.canvasHeight - 24;
825
- let bottom_y2 = this.cutY + this.canvasHeight + 24;
826
-
827
- if (currentX > right_x1 && currentX < right_x2 && currentY > bottom_y1 && currentY < bottom_y2) {
828
- this.moveDuring();
829
- this.flagCutTouch = true;
830
- this.flagEndTouch = true;
831
- this.CUT_START = {
832
- width: this.canvasWidth,
833
- height: this.canvasHeight,
834
- x: currentX,
835
- y: currentY,
836
- corner: 1
837
- };
838
- } else if (currentX > right_x1 && currentX < right_x2 && currentY > top_y1 && currentY < top_y2) {
839
- this.moveDuring();
840
- this.flagCutTouch = true;
841
- this.flagEndTouch = true;
842
- this.CUT_START = {
843
- width: this.canvasWidth,
844
- height: this.canvasHeight,
845
- x: currentX,
846
- y: currentY,
847
- cutY: this.cutY,
848
- cutX: this.cutX,
849
- corner: 2
850
- };
851
- } else if (currentX > left_x1 && currentX < left_x2 && currentY > top_y1 && currentY < top_y2) {
852
- this.moveDuring();
853
- this.flagCutTouch = true;
854
- this.flagEndTouch = true;
855
- this.CUT_START = {
856
- width: this.canvasWidth,
857
- height: this.canvasHeight,
858
- cutY: this.cutY,
859
- cutX: this.cutX,
860
- x: currentX,
861
- y: currentY,
862
- corner: 3
863
- };
864
- } else if (currentX > left_x1 && currentX < left_x2 && currentY > bottom_y1 && currentY < bottom_y2) {
865
- this.moveDuring();
866
- this.flagCutTouch = true;
867
- this.flagEndTouch = true;
868
- this.CUT_START = {
869
- width: this.canvasWidth,
870
- height: this.canvasHeight,
871
- cutY: this.cutY,
872
- cutX: this.cutX,
873
- x: currentX,
874
- y: currentY,
875
- corner: 4
876
- };
877
- }
878
- },
879
- cutTouchEnd(e) {
880
- this.moveStop();
881
- this.flagCutTouch = false;
882
- },
883
- //停止移动时需要做的操作
884
- moveStop() {
885
- //清空之前的自动居中延迟函数并添加最新的
886
- clearTimeout(this.TIME_CUT_CENTER);
887
- this.TIME_CUT_CENTER = setTimeout(() => {
888
- //动画启动
889
- if (!this.cutAnimation) {
890
- this.cutAnimation = true;
891
- }
892
- this.setCutCenter();
893
- }, 800);
894
- },
895
- //移动中
896
- moveDuring() {
897
- //清空之前的自动居中延迟函数
898
- clearTimeout(this.TIME_CUT_CENTER);
899
- },
900
- showLoading() {
901
- uni.showLoading({
902
- title: '请稍候...',
903
- mask: true
904
- });
905
- },
906
- stop() {},
907
- back() {
908
- uni.navigateBack();
909
- },
910
- setAngle() {
911
- this.cutAnimation = true;
912
- this.angle = this.angle + 90;
913
- }
914
- }
915
- };
916
- </script>
917
-
918
- <style scoped>
919
- .up-container {
920
- width: 100vw;
921
- height: 100vh;
922
- background-color: rgba(0, 0, 0, 0.6);
923
- position: fixed;
924
- top: 0;
925
- left: 0;
926
- z-index: 1;
927
- }
928
-
929
- .up-image-cropper {
930
- width: 100vw;
931
- height: 100vh;
932
- position: absolute;
933
- }
934
-
935
- .up-content {
936
- width: 100vw;
937
- height: 100vh;
938
- position: absolute;
939
- z-index: 9;
940
- display: flex;
941
- flex-direction: column;
942
- pointer-events: none;
943
- }
944
-
945
- .up-bg-transparent {
946
- background-color: rgba(0, 0, 0, 0.6);
947
- transition-duration: 0.35s;
948
- }
949
-
950
- .up-content-top {
951
- pointer-events: none;
952
- }
953
-
954
- .up-content-middle {
955
- width: 100%;
956
- height: 200px;
957
- display: flex;
958
- box-sizing: border-box;
959
- }
960
-
961
- .up-cropper-box {
962
- position: relative;
963
- /* transition-duration: 0.3s; */
964
- border-style: solid;
965
- border-width: 1rpx;
966
- box-sizing: border-box;
967
- }
968
-
969
- .up-flex-auto {
970
- flex: auto;
971
- }
972
-
973
- .up-cropper-image {
974
- width: 100%;
975
- border-style: none;
976
- position: absolute;
977
- top: 0;
978
- left: 0;
979
- z-index: 2;
980
- -webkit-backface-visibility: hidden;
981
- backface-visibility: hidden;
982
- transform-origin: center;
983
- }
984
-
985
- .up-cropper-canvas {
986
- position: fixed;
987
- z-index: 10;
988
- left: -2000px;
989
- top: -2000px;
990
- pointer-events: none;
991
- }
992
-
993
- .up-edge {
994
- border-style: solid;
995
- pointer-events: auto;
996
- position: absolute;
997
- box-sizing: border-box;
998
- }
999
-
1000
- .up-top-left {
1001
- border-bottom-width: 0 !important;
1002
- border-right-width: 0 !important;
1003
- }
1004
-
1005
- .up-top-right {
1006
- border-bottom-width: 0 !important;
1007
- border-left-width: 0 !important;
1008
- }
1009
-
1010
- .up-bottom-left {
1011
- border-top-width: 0 !important;
1012
- border-right-width: 0 !important;
1013
- }
1014
-
1015
- .up-bottom-right {
1016
- border-top-width: 0 !important;
1017
- border-left-width: 0 !important;
1018
- }
1019
-
1020
- .up-cropper-tabbar {
1021
- width: 100%;
1022
- height: 120rpx;
1023
- padding: 0 40rpx;
1024
- box-sizing: border-box;
1025
- position: fixed;
1026
- left: 0;
1027
- bottom: 0;
1028
- z-index: 99;
1029
- display: flex;
1030
- align-items: center;
1031
- justify-content: space-between;
1032
- color: #ffffff;
1033
- font-size: 32rpx;
1034
- }
1035
-
1036
- .up-cropper-tabbar::after {
1037
- content: ' ';
1038
- position: absolute;
1039
- top: 0;
1040
- right: 0;
1041
- left: 0;
1042
- border-top: 1rpx solid rgba(255, 255, 255, 0.2);
1043
- -webkit-transform: scaleY(0.5) translateZ(0);
1044
- transform: scaleY(0.5) translateZ(0);
1045
- transform-origin: 0 100%;
1046
- }
1047
-
1048
- .up-op-btn {
1049
- height: 80rpx;
1050
- display: flex;
1051
- align-items: center;
1052
- }
1053
-
1054
- .up-rotate-img {
1055
- width: 44rpx;
1056
- height: 44rpx;
1057
- }
1058
- </style>