@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.
- package/build/parse-create.js +17 -5
- package/build/parse-pages-pkg.js +14 -5
- package/js-sdk/Sansnn-uQRCode/uqrcode.js +150 -75
- package/js-sdk/clipboard.min.js +9 -0
- package/js-sdk/gprint/encoding-indexes.js +47 -0
- package/js-sdk/gprint/encoding.js +3312 -0
- package/js-sdk/gprint/esc.js +548 -0
- package/js-sdk/gprint/tsc.js +222 -0
- package/js-sdk/ican-H5Api/ican-H5Api.js +68 -666
- package/other/api-set-tabbar.nvue +0 -3
- package/other/lime-painter/changelog.md +225 -0
- package/other/lime-painter/components/common/relation.js +150 -0
- package/other/lime-painter/components/l-painter/l-painter.vue +482 -0
- package/other/lime-painter/components/l-painter/nvue.js +203 -0
- package/other/lime-painter/components/l-painter/painter.js +1 -0
- package/other/lime-painter/components/l-painter/props.js +56 -0
- package/other/lime-painter/components/l-painter/single.js +1 -0
- package/other/lime-painter/components/l-painter/utils.js +382 -0
- package/other/lime-painter/components/l-painter-image/l-painter-image.vue +23 -0
- package/other/lime-painter/components/l-painter-qrcode/l-painter-qrcode.vue +22 -0
- package/other/lime-painter/components/l-painter-text/l-painter-text.vue +32 -0
- package/other/lime-painter/components/l-painter-view/l-painter-view.vue +28 -0
- package/other/lime-painter/components/lime-painter/lime-painter.vue +259 -0
- package/other/lime-painter/hybrid/html/index.html +117 -0
- package/other/lime-painter/hybrid/html/painter.js +1 -0
- package/other/lime-painter/hybrid/html/uni.webview.1.5.3.js +1 -0
- package/other/lime-painter/package.json +93 -0
- package/other/lime-painter/parser.js +388 -0
- package/other/lime-painter/readme.md +961 -0
- package/other/lime-painter2/README2.md +576 -0
- package/other/lime-painter2/changelog.md +225 -0
- package/other/lime-painter2/components/lime-painter/canvas.js +57 -0
- package/other/lime-painter2/components/lime-painter/draw.js +654 -0
- package/other/lime-painter2/components/lime-painter/draw2.js +709 -0
- package/other/lime-painter2/components/lime-painter/gradient.js +119 -0
- package/other/lime-painter2/components/lime-painter/index.vue +344 -0
- package/other/lime-painter2/components/lime-painter/index2.vue +197 -0
- package/other/lime-painter2/components/lime-painter/layout.js +374 -0
- package/other/lime-painter2/components/lime-painter/utils.js +420 -0
- package/other/lime-painter2/package.json +93 -0
- package/other/lime-painter2/readme.md +758 -0
- package/other/lime-painter2/test.md +45 -0
- package/other/mpvue-echarts/src/echarts.vue +116 -103
- package/other/mpvue-echarts/src/style.css +0 -6
- package/other/product.vue +45 -1
- package/other/qiun-data-charts/qiun-data-charts.vue +1618 -0
- package/other/u-parse-2019/components/wxParseAudio.vue +29 -0
- package/other/u-parse-2019/components/wxParseImg.vue +87 -0
- package/other/u-parse-2019/components/wxParseTemplate0.vue +105 -0
- package/other/u-parse-2019/components/wxParseTemplate1.vue +96 -0
- package/other/u-parse-2019/components/wxParseTemplate10.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate11.vue +84 -0
- package/other/u-parse-2019/components/wxParseTemplate2.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate3.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate4.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate5.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate6.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate7.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate8.vue +95 -0
- package/other/u-parse-2019/components/wxParseTemplate9.vue +95 -0
- package/other/u-parse-2019/components/wxParseVideo.vue +15 -0
- package/other/u-parse-2019/libs/html2json.js +258 -0
- package/other/u-parse-2019/libs/htmlparser.js +163 -0
- package/other/u-parse-2019/libs/wxDiscode.js +195 -0
- package/other/u-parse-2019/readme.md +99 -0
- package/other/u-parse-2019/u-parse.css +240 -0
- package/other/u-parse-2019/u-parse.vue +114 -0
- package/other/u-parse2026/components/wxParseAudio.vue +29 -0
- package/other/u-parse2026/components/wxParseImg.vue +90 -0
- package/other/u-parse2026/components/wxParseTable.vue +51 -0
- package/other/u-parse2026/components/wxParseTemplate0.vue +93 -0
- package/other/u-parse2026/components/wxParseTemplate1.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate10.vue +82 -0
- package/other/u-parse2026/components/wxParseTemplate11.vue +79 -0
- package/other/u-parse2026/components/wxParseTemplate2.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate3.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate4.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate5.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate6.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate7.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate8.vue +92 -0
- package/other/u-parse2026/components/wxParseTemplate9.vue +82 -0
- package/other/u-parse2026/components/wxParseVideo.vue +15 -0
- package/other/u-parse2026/libs/html2json.js +258 -0
- package/other/u-parse2026/libs/htmlparser.js +163 -0
- package/other/u-parse2026/libs/wxDiscode.js +195 -0
- package/other/u-parse2026/readme.md +99 -0
- package/other/u-parse2026/u-parse.css +283 -0
- package/other/u-parse2026/u-parse.vue +114 -0
- package/other/uParse/components/wxParseVideo.vue +2 -1
- package/other/xt-parse/changelog.md +41 -0
- package/other/xt-parse/node/node.vue +752 -0
- package/other/xt-parse/package.json +129 -0
- package/other/xt-parse/parser.js +1461 -0
- package/other/xt-parse/props.js +49 -0
- package/other/xt-parse/readme.md +145 -0
- package/other/xt-parse/static/app-plus/u-parse/js/handler.js +1 -0
- package/other/xt-parse/static/app-plus/u-parse/js/handler2.js +224 -0
- package/other/xt-parse/static/app-plus/u-parse/js/uni.webview.min.js +1 -0
- package/other/xt-parse/static/app-plus/u-parse/js/uni.webview.min2.js +186 -0
- package/other/xt-parse/static/app-plus/u-parse/local.html +37 -0
- package/other/xt-parse/u-parse.vue +510 -0
- package/other/z-paging/changelog.md +52 -0
- package/other/z-paging/components/z-paging/components/z-paging-load-more.vue +182 -0
- package/other/z-paging/components/z-paging/components/z-paging-refresh.vue +214 -0
- package/other/z-paging/components/z-paging/config/index.js +3 -0
- package/other/z-paging/components/z-paging/css/z-paging-main.css +241 -0
- package/other/z-paging/components/z-paging/css/z-paging-static.css +50 -0
- package/other/z-paging/components/z-paging/i18n/en.json +23 -0
- package/other/z-paging/components/z-paging/i18n/index.js +8 -0
- package/other/z-paging/components/z-paging/i18n/zh-Hans.json +23 -0
- package/other/z-paging/components/z-paging/i18n/zh-Hant.json +23 -0
- package/other/z-paging/components/z-paging/js/hooks/useZPaging.js +25 -0
- package/other/z-paging/components/z-paging/js/hooks/useZPagingComp.js +25 -0
- package/other/z-paging/components/z-paging/js/modules/back-to-top.js +125 -0
- package/other/z-paging/components/z-paging/js/modules/chat-record-mode.js +149 -0
- package/other/z-paging/components/z-paging/js/modules/common-layout.js +152 -0
- package/other/z-paging/components/z-paging/js/modules/data-handle.js +736 -0
- package/other/z-paging/components/z-paging/js/modules/empty.js +144 -0
- package/other/z-paging/components/z-paging/js/modules/i18n.js +113 -0
- package/other/z-paging/components/z-paging/js/modules/load-more.js +374 -0
- package/other/z-paging/components/z-paging/js/modules/loading.js +95 -0
- package/other/z-paging/components/z-paging/js/modules/nvue.js +268 -0
- package/other/z-paging/components/z-paging/js/modules/refresher.js +831 -0
- package/other/z-paging/components/z-paging/js/modules/scroller.js +550 -0
- package/other/z-paging/components/z-paging/js/modules/virtual-list.js +555 -0
- package/other/z-paging/components/z-paging/js/z-paging-constant.js +19 -0
- package/other/z-paging/components/z-paging/js/z-paging-enum.js +45 -0
- package/other/z-paging/components/z-paging/js/z-paging-interceptor.js +97 -0
- package/other/z-paging/components/z-paging/js/z-paging-main.js +515 -0
- package/other/z-paging/components/z-paging/js/z-paging-mixin.js +22 -0
- package/other/z-paging/components/z-paging/js/z-paging-static.js +13 -0
- package/other/z-paging/components/z-paging/js/z-paging-utils.js +302 -0
- package/other/z-paging/components/z-paging/wxs/z-paging-renderjs.js +67 -0
- package/other/z-paging/components/z-paging/wxs/z-paging-wxs.wxs +382 -0
- package/other/z-paging/components/z-paging/z-paging.vue +538 -0
- package/other/z-paging/components/z-paging-cell/z-paging-cell.vue +47 -0
- package/other/z-paging/components/z-paging-empty-view/z-paging-empty-view.vue +209 -0
- package/other/z-paging/components/z-paging-swiper/z-paging-swiper.vue +176 -0
- package/other/z-paging/components/z-paging-swiper-item/z-paging-swiper-item.vue +171 -0
- package/other/z-paging/package.json +89 -0
- package/other/z-paging/readme.md +57 -0
- package/other/z-paging/types/comps/_common.d.ts +9 -0
- package/other/z-paging/types/comps/z-paging-cell.d.ts +29 -0
- package/other/z-paging/types/comps/z-paging-empty-view.d.ts +95 -0
- package/other/z-paging/types/comps/z-paging-swiper-item.d.ts +95 -0
- package/other/z-paging/types/comps/z-paging-swiper.d.ts +89 -0
- package/other/z-paging/types/comps/z-paging.d.ts +2083 -0
- package/other/z-paging/types/comps.d.ts +11 -0
- package/other/z-paging/types/index.d.ts +24 -0
- package/package.json +7 -7
- package/plugins/tui-validation.js +279 -0
- package/plugins/uni-async.js +28 -0
- package/ui-cv/components/cv-draw-gesture-lock/cv-draw-gesture-lock.vue +39 -1
- package/ui-cv/components/cv-draw-qrcode/cv-draw-qrcode.vue +18 -14
- package/ui-cv/components/cv-geo-region/mpvueCityPicker.vue +77 -1
- package/ui-cv/components/cv-lists-base/cv-lists-base.vue +2 -2
- package/ui-cv/components/cv-tab-lists/cv-tab-lists.vue +2 -2
- package/ui-fireui/components/u-icon/u-icon.vue +63 -1
- package/ui-sdks/qiun-data-charts/changelog.md +320 -0
- package/ui-sdks/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue +1618 -0
- package/ui-sdks/qiun-data-charts/components/qiun-error/qiun-error.vue +46 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/loading1.vue +162 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/loading2.vue +170 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/loading3.vue +173 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/loading4.vue +222 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/loading5.vue +229 -0
- package/ui-sdks/qiun-data-charts/components/qiun-loading/qiun-loading.vue +36 -0
- package/ui-sdks/qiun-data-charts/js_sdk/u-charts/config-echarts.js +422 -0
- package/ui-sdks/qiun-data-charts/js_sdk/u-charts/config-ucharts.js +606 -0
- package/ui-sdks/qiun-data-charts/js_sdk/u-charts/readme.md +5 -0
- package/ui-sdks/qiun-data-charts/js_sdk/u-charts/u-charts.js +7706 -0
- package/ui-sdks/qiun-data-charts/js_sdk/u-charts/u-charts.min.js +18 -0
- package/ui-sdks/qiun-data-charts/license.md +201 -0
- package/ui-sdks/qiun-data-charts/package.json +80 -0
- package/ui-sdks/qiun-data-charts/readme.md +84 -0
- package/ui-sdks/qiun-data-charts/static/app-plus/echarts.min.js +23 -0
- package/ui-sdks/qiun-data-charts/static/h5/echarts.min.js +23 -0
- package/ui-sdks/tui-clipboard/tui-clipboard.js +53 -0
- package/uni-ui/lib/uni-badge/changelog.md +33 -0
- package/uni-ui/lib/uni-badge/package.json +107 -0
- package/uni-ui/lib/uni-badge/readme.md +8 -0
- package/uni-ui/lib/uni-badge/uni-badge.vue +87 -4
- package/uni-ui/lib/uni-breadcrumb/changelog.md +6 -0
- package/uni-ui/lib/uni-breadcrumb/package.json +104 -0
- package/uni-ui/lib/uni-breadcrumb/readme.md +66 -0
- package/uni-ui/lib/uni-breadcrumb/uni-breadcrumb.vue +8 -1
- package/uni-ui/lib/uni-breadcrumb-item/uni-breadcrumb-item.vue +38 -1
- package/uni-ui/lib/uni-calendar/calendar.js +0 -2
- package/uni-ui/lib/uni-calendar/changelog.md +30 -0
- package/uni-ui/lib/uni-calendar/package.json +105 -0
- package/uni-ui/lib/uni-calendar/readme.md +103 -0
- package/uni-ui/lib/uni-calendar/uni-calendar-item.vue +83 -1
- package/uni-ui/lib/uni-calendar/uni-calendar.vue +206 -8
- package/uni-ui/lib/uni-calendar/util.js +1 -1
- package/uni-ui/lib/uni-card/changelog.md +26 -0
- package/uni-ui/lib/uni-card/package.json +107 -0
- package/uni-ui/lib/uni-card/readme.md +10 -0
- package/uni-ui/lib/uni-card/uni-card.vue +127 -4
- package/uni-ui/lib/uni-col/uni-col.vue +2155 -2
- package/uni-ui/lib/uni-collapse/changelog.md +48 -0
- package/uni-ui/lib/uni-collapse/package.json +106 -0
- package/uni-ui/lib/uni-collapse/readme.md +11 -0
- package/uni-ui/lib/uni-collapse/uni-collapse.vue +13 -1
- package/uni-ui/lib/uni-collapse-item/uni-collapse-item.vue +127 -2
- package/uni-ui/lib/uni-combox/changelog.md +17 -0
- package/uni-ui/lib/uni-combox/package.json +107 -0
- package/uni-ui/lib/uni-combox/readme.md +10 -0
- package/uni-ui/lib/uni-combox/uni-combox.vue +145 -19
- package/uni-ui/lib/uni-countdown/changelog.md +30 -0
- package/uni-ui/lib/uni-countdown/package.json +105 -0
- package/uni-ui/lib/uni-countdown/readme.md +9 -0
- package/uni-ui/lib/uni-countdown/uni-countdown.vue +43 -16
- package/uni-ui/lib/uni-data-checkbox/changelog.md +51 -0
- package/uni-ui/lib/uni-data-checkbox/package.json +107 -0
- package/uni-ui/lib/uni-data-checkbox/readme.md +17 -0
- package/uni-ui/lib/uni-data-checkbox/uni-data-checkbox.vue +326 -5
- package/uni-ui/lib/uni-data-picker/changelog.md +81 -0
- package/uni-ui/lib/uni-data-picker/package.json +109 -0
- package/uni-ui/lib/uni-data-picker/readme.md +21 -0
- package/uni-ui/lib/uni-data-picker/uni-data-picker.uvue +380 -0
- package/uni-ui/lib/uni-data-picker/uni-data-picker.vue +52 -4
- package/uni-ui/lib/uni-data-pickerview/loading.uts +1 -0
- package/uni-ui/lib/uni-data-pickerview/uni-data-picker.js +150 -157
- package/uni-ui/lib/uni-data-pickerview/uni-data-picker.uts +693 -0
- package/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.css +76 -0
- package/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.uvue +69 -0
- package/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.vue +163 -1
- package/uni-ui/lib/uni-data-select/changelog.md +51 -0
- package/uni-ui/lib/uni-data-select/package.json +106 -0
- package/uni-ui/lib/uni-data-select/readme.md +7 -0
- package/uni-ui/lib/uni-data-select/uni-data-select.vue +555 -45
- package/uni-ui/lib/uni-dateformat/changelog.md +10 -0
- package/uni-ui/lib/uni-dateformat/package.json +107 -0
- package/uni-ui/lib/uni-dateformat/readme.md +10 -0
- package/uni-ui/lib/uni-dateformat/uni-dateformat.vue +2 -0
- package/uni-ui/lib/uni-datetime-picker/calendar-item.vue +113 -1
- package/uni-ui/lib/uni-datetime-picker/calendar.vue +340 -20
- package/uni-ui/lib/uni-datetime-picker/changelog.md +177 -0
- package/uni-ui/lib/uni-datetime-picker/keypress.js +45 -0
- package/uni-ui/lib/uni-datetime-picker/package.json +107 -0
- package/uni-ui/lib/uni-datetime-picker/readme.md +20 -0
- package/uni-ui/lib/uni-datetime-picker/time-picker.vue +200 -8
- package/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue +287 -9
- package/uni-ui/lib/uni-datetime-picker/util.js +102 -85
- package/uni-ui/lib/uni-drawer/changelog.md +13 -0
- package/uni-ui/lib/uni-drawer/package.json +106 -0
- package/uni-ui/lib/uni-drawer/readme.md +9 -0
- package/uni-ui/lib/uni-drawer/uni-drawer.vue +72 -2
- package/uni-ui/lib/uni-easyinput/changelog.md +121 -0
- package/uni-ui/lib/uni-easyinput/common.js +0 -2
- package/uni-ui/lib/uni-easyinput/package.json +107 -0
- package/uni-ui/lib/uni-easyinput/readme.md +10 -0
- package/uni-ui/lib/uni-easyinput/uni-easyinput.vue +247 -5
- package/uni-ui/lib/uni-fab/changelog.md +25 -0
- package/uni-ui/lib/uni-fab/package.json +107 -0
- package/uni-ui/lib/uni-fab/readme.md +8 -0
- package/uni-ui/lib/uni-fab/uni-fab.vue +255 -2
- package/uni-ui/lib/uni-fav/changelog.md +19 -0
- package/uni-ui/lib/uni-fav/package.json +106 -0
- package/uni-ui/lib/uni-fav/readme.md +9 -0
- package/uni-ui/lib/uni-fav/uni-fav.vue +45 -1
- package/uni-ui/lib/uni-file-picker/changelog.md +91 -0
- package/uni-ui/lib/uni-file-picker/choose-and-upload-file.js +67 -4
- package/uni-ui/lib/uni-file-picker/package.json +105 -0
- package/uni-ui/lib/uni-file-picker/readme.md +10 -0
- package/uni-ui/lib/uni-file-picker/uni-file-picker.vue +42 -22
- package/uni-ui/lib/uni-file-picker/upload-file.vue +152 -1
- package/uni-ui/lib/uni-file-picker/upload-image.vue +107 -5
- package/uni-ui/lib/uni-forms/changelog.md +100 -0
- package/uni-ui/lib/uni-forms/package.json +107 -0
- package/uni-ui/lib/uni-forms/readme.md +22 -0
- package/uni-ui/lib/uni-forms/uni-forms.vue +30 -3
- package/uni-ui/lib/uni-forms-item/uni-forms-item.vue +181 -6
- package/uni-ui/lib/uni-goods-nav/changelog.md +18 -0
- package/uni-ui/lib/uni-goods-nav/package.json +105 -0
- package/uni-ui/lib/uni-goods-nav/readme.md +9 -0
- package/uni-ui/lib/uni-goods-nav/uni-goods-nav.vue +124 -1
- package/uni-ui/lib/uni-grid/changelog.md +13 -0
- package/uni-ui/lib/uni-grid/package.json +106 -0
- package/uni-ui/lib/uni-grid/readme.md +10 -0
- package/uni-ui/lib/uni-grid/uni-grid.vue +36 -2
- package/uni-ui/lib/uni-grid-item/uni-grid-item.vue +57 -2
- package/uni-ui/lib/uni-group/changelog.md +16 -0
- package/uni-ui/lib/uni-group/package.json +106 -0
- package/uni-ui/lib/uni-group/readme.md +8 -0
- package/uni-ui/lib/uni-group/uni-group.vue +50 -1
- package/uni-ui/lib/uni-icons/changelog.md +22 -0
- package/uni-ui/lib/uni-icons/package.json +77 -8
- package/uni-ui/lib/uni-icons/readme.md +0 -1
- package/uni-ui/lib/uni-icons/uni-icons.uvue +91 -0
- package/uni-ui/lib/uni-icons/uni-icons.vue +37 -13
- package/uni-ui/lib/uni-icons/uniicons.css +32 -31
- package/uni-ui/lib/uni-icons/uniicons.ttf +0 -0
- package/uni-ui/lib/uni-icons/uniicons_file.ts +664 -0
- package/uni-ui/lib/uni-icons/uniicons_file_vue.js +649 -0
- package/uni-ui/lib/uni-indexed-list/changelog.md +19 -0
- package/uni-ui/lib/uni-indexed-list/package.json +107 -0
- package/uni-ui/lib/uni-indexed-list/readme.md +10 -0
- package/uni-ui/lib/uni-indexed-list/uni-indexed-list-item.vue +90 -2
- package/uni-ui/lib/uni-indexed-list/uni-indexed-list.vue +91 -3
- package/uni-ui/lib/uni-link/changelog.md +17 -0
- package/uni-ui/lib/uni-link/package.json +106 -0
- package/uni-ui/lib/uni-link/readme.md +10 -0
- package/uni-ui/lib/uni-link/uni-link.vue +3 -0
- package/uni-ui/lib/uni-list/changelog.md +52 -0
- package/uni-ui/lib/uni-list/package.json +108 -0
- package/uni-ui/lib/uni-list/readme.md +44 -0
- package/uni-ui/lib/uni-list/uni-list.vue +44 -1
- package/uni-ui/lib/uni-list/uni-refresh.vue +2 -0
- package/uni-ui/lib/uni-list/uni-refresh.wxs +1 -1
- package/uni-ui/lib/uni-list-ad/uni-list-ad.vue +33 -1
- package/uni-ui/lib/uni-list-chat/uni-list-chat.vue +265 -1
- package/uni-ui/lib/uni-list-item/uni-list-item.vue +185 -1
- package/uni-ui/lib/uni-load-more/changelog.md +27 -0
- package/uni-ui/lib/uni-load-more/package.json +105 -0
- package/uni-ui/lib/uni-load-more/readme.md +12 -0
- package/uni-ui/lib/uni-load-more/uni-load-more.vue +252 -1
- package/uni-ui/lib/uni-nav-bar/changelog.md +64 -0
- package/uni-ui/lib/uni-nav-bar/package.json +106 -0
- package/uni-ui/lib/uni-nav-bar/readme.md +13 -0
- package/uni-ui/lib/uni-nav-bar/uni-nav-bar.vue +199 -5
- package/uni-ui/lib/uni-nav-bar/uni-status-bar.vue +11 -1
- package/uni-ui/lib/uni-notice-bar/changelog.md +22 -0
- package/uni-ui/lib/uni-notice-bar/package.json +107 -0
- package/uni-ui/lib/uni-notice-bar/readme.md +11 -0
- package/uni-ui/lib/uni-notice-bar/uni-notice-bar.vue +136 -8
- package/uni-ui/lib/uni-number-box/changelog.md +39 -0
- package/uni-ui/lib/uni-number-box/package.json +104 -0
- package/uni-ui/lib/uni-number-box/readme.md +11 -0
- package/uni-ui/lib/uni-number-box/uni-number-box.vue +73 -4
- package/uni-ui/lib/uni-pagination/changelog.md +27 -0
- package/uni-ui/lib/uni-pagination/package.json +106 -0
- package/uni-ui/lib/uni-pagination/readme.md +10 -0
- package/uni-ui/lib/uni-pagination/uni-pagination.vue +157 -1
- package/uni-ui/lib/uni-popup/changelog.md +102 -0
- package/uni-ui/lib/uni-popup/package.json +107 -0
- package/uni-ui/lib/uni-popup/readme.md +15 -0
- package/uni-ui/lib/uni-popup/uni-popup.uvue +90 -0
- package/uni-ui/lib/uni-popup/uni-popup.vue +108 -15
- package/uni-ui/lib/uni-popup-dialog/uni-popup-dialog.vue +167 -11
- package/uni-ui/lib/uni-popup-message/uni-popup-message.vue +70 -1
- package/uni-ui/lib/uni-popup-share/uni-popup-share.vue +87 -6
- package/uni-ui/lib/uni-rate/changelog.md +27 -0
- package/uni-ui/lib/uni-rate/package.json +106 -0
- package/uni-ui/lib/uni-rate/readme.md +11 -0
- package/uni-ui/lib/uni-rate/uni-rate.vue +64 -29
- package/uni-ui/lib/uni-row/changelog.md +10 -0
- package/uni-ui/lib/uni-row/package.json +106 -0
- package/uni-ui/lib/uni-row/readme.md +9 -0
- package/uni-ui/lib/uni-row/uni-row.vue +66 -1
- package/uni-ui/lib/uni-row/uni-row2.vue +144 -0
- package/uni-ui/lib/uni-scss/package.json +56 -39
- package/uni-ui/lib/uni-scss/readme.md +0 -1
- package/uni-ui/lib/uni-search-bar/changelog.md +47 -0
- package/uni-ui/lib/uni-search-bar/package.json +106 -0
- package/uni-ui/lib/uni-search-bar/readme.md +12 -0
- package/uni-ui/lib/uni-search-bar/uni-search-bar.vue +85 -4
- package/uni-ui/lib/uni-section/changelog.md +2 -0
- package/uni-ui/lib/uni-section/package.json +104 -0
- package/uni-ui/lib/uni-section/readme.md +7 -0
- package/uni-ui/lib/uni-section/uni-section.vue +61 -1
- package/uni-ui/lib/uni-segmented-control/changelog.md +15 -0
- package/uni-ui/lib/uni-segmented-control/package.json +106 -0
- package/uni-ui/lib/uni-segmented-control/readme.md +11 -0
- package/uni-ui/lib/uni-segmented-control/uni-segmented-control.vue +67 -5
- package/uni-ui/lib/uni-status-bar/uni-status-bar.vue +3 -1
- package/uni-ui/lib/uni-steps/changelog.md +18 -0
- package/uni-ui/lib/uni-steps/package.json +106 -0
- package/uni-ui/lib/uni-steps/readme.md +11 -0
- package/uni-ui/lib/uni-steps/uni-steps.vue +201 -7
- package/uni-ui/lib/uni-swipe-action/changelog.md +60 -0
- package/uni-ui/lib/uni-swipe-action/package.json +113 -0
- package/uni-ui/lib/uni-swipe-action/readme.md +10 -0
- package/uni-ui/lib/uni-swipe-action/uni-swipe-action.vue +60 -1
- package/uni-ui/lib/uni-swipe-action-item/bindingx.js +286 -282
- package/uni-ui/lib/uni-swipe-action-item/mpwxs.js +1 -1
- package/uni-ui/lib/uni-swipe-action-item/render.js +21 -14
- package/uni-ui/lib/uni-swipe-action-item/uni-swipe-action-item.vue +139 -18
- package/uni-ui/lib/uni-swipe-action-item/wx.wxs +10 -2
- package/uni-ui/lib/uni-swiper-dot/changelog.md +12 -0
- package/uni-ui/lib/uni-swiper-dot/package.json +106 -0
- package/uni-ui/lib/uni-swiper-dot/readme.md +10 -0
- package/uni-ui/lib/uni-swiper-dot/uni-swiper-dot.vue +98 -2
- package/uni-ui/lib/uni-table/changelog.md +35 -0
- package/uni-ui/lib/uni-table/i18n/en.json +9 -0
- package/uni-ui/lib/uni-table/i18n/es.json +9 -0
- package/uni-ui/lib/uni-table/i18n/fr.json +9 -0
- package/uni-ui/lib/uni-table/i18n/index.js +12 -0
- package/uni-ui/lib/uni-table/i18n/zh-Hans.json +9 -0
- package/uni-ui/lib/uni-table/i18n/zh-Hant.json +9 -0
- package/uni-ui/lib/uni-table/package.json +106 -0
- package/uni-ui/lib/uni-table/readme.md +11 -0
- package/uni-ui/lib/uni-table/uni-table.vue +162 -1
- package/uni-ui/lib/uni-tag/changelog.md +25 -0
- package/uni-ui/lib/uni-tag/package.json +106 -0
- package/uni-ui/lib/uni-tag/readme.md +11 -0
- package/uni-ui/lib/uni-tag/uni-tag.vue +111 -3
- package/uni-ui/lib/uni-tbody/uni-tbody.vue +1 -1
- package/uni-ui/lib/uni-td/uni-td.vue +19 -1
- package/uni-ui/lib/uni-th/filter-dropdown.vue +224 -2
- package/uni-ui/lib/uni-th/uni-th.vue +82 -1
- package/uni-ui/lib/uni-thead/uni-thead.vue +53 -2
- package/uni-ui/lib/uni-title/changelog.md +10 -0
- package/uni-ui/lib/uni-title/package.json +107 -0
- package/uni-ui/lib/uni-title/readme.md +12 -0
- package/uni-ui/lib/uni-title/uni-title.vue +1 -1
- package/uni-ui/lib/uni-tooltip/changelog.md +16 -0
- package/uni-ui/lib/uni-tooltip/package.json +104 -0
- package/uni-ui/lib/uni-tooltip/readme.md +7 -0
- package/uni-ui/lib/uni-tooltip/uni-tooltip.vue +1 -1
- package/uni-ui/lib/uni-tr/table-checkbox.vue +85 -1
- package/uni-ui/lib/uni-tr/uni-tr.vue +45 -3
- package/uni-ui/lib/uni-transition/changelog.md +31 -0
- package/uni-ui/lib/uni-transition/package.json +112 -0
- package/uni-ui/lib/uni-transition/readme.md +10 -0
- package/uni-ui/lib/uni-transition/uni-transition.vue +36 -32
- package/uni-ui/lib/uni-ui/changelog.md +639 -0
- package/uni-ui/lib/uni-ui/package.json +148 -0
- package/uni-ui/lib/uni-ui/readme.md +247 -0
- package/uni-ui/lib/uni-ui/uni-ui.vue +7 -0
- package/uni-ui/package.json +1 -1
- package/uview-plus/components/u-action-sheet/u-action-sheet.vue +56 -1
- package/uview-plus/components/u-action-sheet-data/u-action-sheet-data.vue +10 -1
- package/uview-plus/components/u-agreement/u-agreement.vue +14 -3
- package/uview-plus/components/u-album/u-album.vue +29 -1
- package/uview-plus/components/u-alert/u-alert.vue +96 -1
- package/uview-plus/components/u-avatar/u-avatar.vue +21 -1
- package/uview-plus/components/u-avatar-group/u-avatar-group.vue +28 -1
- package/uview-plus/components/u-back-top/u-back-top.vue +16 -1
- package/uview-plus/components/u-badge/u-badge.vue +57 -1
- package/uview-plus/components/u-box/u-box.vue +101 -3
- package/uview-plus/components/u-button/u-button.vue +196 -3
- package/uview-plus/components/u-calendar/header.vue +59 -3
- package/uview-plus/components/u-calendar/month.vue +1 -3
- package/uview-plus/components/u-calendar/u-calendar.vue +3 -1
- package/uview-plus/components/u-calendar-wu/u-calendar-wu.vue +196 -1
- package/uview-plus/components/u-car-keyboard/u-car-keyboard.vue +70 -1
- package/uview-plus/components/u-card/u-card.vue +34 -1
- package/uview-plus/components/u-cascader/u-cascader.vue +16 -1
- package/uview-plus/components/u-cate-tab/u-cate-tab.vue +387 -3
- package/uview-plus/components/u-cell/u-cell.vue +113 -1
- package/uview-plus/components/u-cell-group/u-cell-group.vue +14 -1
- package/uview-plus/components/u-checkbox/u-checkbox.vue +77 -1
- package/uview-plus/components/u-checkbox-group/u-checkbox-group.vue +12 -1
- package/uview-plus/components/u-choose/u-choose.vue +15 -3
- package/uview-plus/components/u-circle-progress/u-circle-progress.vue +69 -1
- package/{ui-fireui copy/components/u-circular-progress/u-circular-progress.vue → uview-plus/components/u-circular-progress/u-circular-progress.vue} +1 -1
- package/uview-plus/components/u-city-locate/u-city-locate.vue +161 -1
- package/uview-plus/components/u-code-input/u-code-input.vue +68 -1
- package/uview-plus/components/u-col/u-col.vue +50 -1
- package/uview-plus/components/u-collapse-item/u-collapse-item.vue +10 -1
- package/uview-plus/components/u-color-picker/u-color-picker.vue +260 -1
- package/uview-plus/components/u-column-notice/u-column-notice.vue +37 -1
- package/uview-plus/components/u-count-down/u-count-down.vue +5 -1
- package/uview-plus/components/u-count-to/u-count-to.vue +6 -1
- package/uview-plus/components/u-coupon/u-coupon.vue +214 -1
- package/uview-plus/components/u-cropper/u-cropper.vue +1319 -1
- package/uview-plus/components/u-datetime-picker/u-datetime-picker.vue +26 -1
- package/uview-plus/components/u-divider/u-divider.vue +17 -1
- package/uview-plus/components/u-dragsort/u-dragsort.vue +40 -1
- package/uview-plus/components/u-dropdown/u-dropdown.vue +66 -1
- package/uview-plus/components/u-dropdown-item/u-dropdown-item.vue +3 -1
- package/{ui-fireui → uview-plus}/components/u-dropdown-list/u-dropdown-list.vue +1 -1
- package/uview-plus/components/u-empty/u-empty.vue +43 -32
- package/{ui-fireui copy/components/u-fab/u-fab.vue → uview-plus/components/u-fab/u-fab.vue} +1 -1
- package/uview-plus/components/u-float-button/u-float-button.vue +15 -1
- package/{ui-fireui → uview-plus}/components/u-footer/u-footer.vue +1 -1
- package/uview-plus/components/u-form-base/form.js +22 -0
- package/uview-plus/components/u-form-base/props.js +47 -0
- package/uview-plus/components/u-form-base/u-form.vue +243 -0
- package/uview-plus/components/u-form-item/u-form-item.vue +82 -1
- package/uview-plus/components/u-goods-sku/u-goods-sku.vue +100 -1
- package/uview-plus/components/u-grid/u-grid.vue +0 -2
- package/uview-plus/components/u-grid-item/u-grid-item.vue +30 -1
- package/uview-plus/components/u-icon/u-icon.vue +63 -1
- package/uview-plus/components/u-image/u-image.vue +25 -1
- package/{ui-fireui → uview-plus}/components/u-image-cropper/u-image-cropper.vue +1 -1
- package/{ui-fireui copy/components/u-image-group/u-image-group.vue → uview-plus/components/u-image-group/u-image-group.vue} +1 -1
- package/uview-plus/components/u-index-anchor/u-index-anchor.vue +22 -1
- package/uview-plus/components/u-index-list/u-index-list.vue +51 -1
- package/uview-plus/components/u-input/u-input.vue +65 -1
- package/uview-plus/components/u-keyboard/u-keyboard.vue +26 -1
- package/uview-plus/components/u-lazy-load/u-lazy-load.vue +12 -1
- package/uview-plus/components/u-line/u-line.vue +5 -1
- package/uview-plus/components/u-line-progress/u-line-progress.vue +38 -1
- package/uview-plus/components/u-link/u-link.vue +11 -1
- package/uview-plus/components/u-list/u-list.vue +6 -1
- package/uview-plus/components/u-list-item/u-list-item.vue +2 -1
- package/uview-plus/components/u-loading-icon/u-loading-icon.vue +138 -1
- package/uview-plus/components/u-loading-page/u-loading-page.vue +33 -1
- package/uview-plus/components/u-loadmore/u-loadmore.vue +29 -1
- package/uview-plus/components/u-markdown/u-markdown.vue +188 -1
- package/uview-plus/components/u-message-input/u-message-input.vue +115 -1
- package/uview-plus/components/u-modal/u-modal.vue +65 -1
- package/uview-plus/components/u-navbar/u-navbar.vue +52 -1
- package/uview-plus/components/u-navbar-mini/u-navbar-mini.vue +34 -1
- package/uview-plus/components/u-no-network/u-no-network.vue +38 -1
- package/uview-plus/components/u-notice-bar/u-notice-bar.vue +5 -1
- package/uview-plus/components/u-notify/u-notify.vue +28 -1
- package/uview-plus/components/u-number-box/u-number-box.vue +60 -2
- package/uview-plus/components/u-number-keyboard/u-number-keyboard.vue +45 -1
- package/uview-plus/components/u-overlay/u-overlay.vue +8 -1
- package/uview-plus/components/u-pagination/u-pagination.vue +255 -1
- package/uview-plus/components/u-parse/node/node.vue +319 -129
- package/uview-plus/components/u-pdf-reader/u-pdf-reader.vue +2 -1
- package/uview-plus/components/u-picker/u-picker.vue +58 -1
- package/uview-plus/components/u-picker-data/u-picker-data.vue +11 -1
- package/uview-plus/components/u-popover/u-popover.vue +8 -1
- package/uview-plus/components/u-popup/u-popup.vue +87 -1
- package/uview-plus/components/u-popup-wu/u-popup-wu.vue +2 -2
- package/uview-plus/components/u-poster/u-poster.vue +22 -1
- package/uview-plus/components/u-pull-refresh/u-pull-refresh.vue +51 -1
- package/uview-plus/components/u-qrcode/u-qrcode.vue +32 -1
- package/uview-plus/components/u-radio/u-radio.vue +77 -1
- package/uview-plus/components/u-radio-group/u-radio-group.vue +15 -1
- package/uview-plus/components/u-rate/u-rate.vue +32 -1
- package/uview-plus/components/u-read-more/u-read-more.vue +23 -1
- package/uview-plus/components/u-row/u-row.vue +6 -1
- package/uview-plus/components/u-row-notice/u-row-notice.vue +50 -1
- package/uview-plus/components/u-safe-bottom/u-safe-bottom.vue +5 -1
- package/uview-plus/components/u-scroll-list/u-scroll-list.vue +35 -1
- package/uview-plus/components/u-search/u-search.vue +87 -1
- package/uview-plus/components/u-select/u-select.vue +51 -1
- package/uview-plus/components/u-short-video/u-short-video.vue +118 -1
- package/uview-plus/components/u-signature/u-signature.vue +71 -1
- package/uview-plus/components/u-skeleton/u-skeleton.vue +52 -1
- package/uview-plus/components/u-sku-wu/u-sku-wu.vue +271 -1
- package/uview-plus/components/u-slider/nvue.js +165 -178
- package/uview-plus/components/u-slider/u-slider.vue +69 -1
- package/uview-plus/components/u-status-bar/u-status-bar.vue +6 -1
- package/uview-plus/components/u-steps/u-steps.vue +20 -1
- package/uview-plus/components/u-steps-item/u-steps-item.vue +112 -1
- package/uview-plus/components/u-sticky/u-sticky.vue +6 -1
- package/uview-plus/components/u-subsection/u-subsection.vue +101 -1
- package/uview-plus/components/u-swipe-action-item/u-swipe-action-item.vue +51 -1
- package/uview-plus/components/u-swiper/u-swiper.vue +50 -1
- package/uview-plus/components/u-swiper-indicator/u-swiper-indicator.vue +26 -1
- package/uview-plus/components/u-switch/u-switch.vue +47 -1
- package/uview-plus/components/u-tabbar/u-tabbar.vue +29 -1
- package/uview-plus/components/u-tabbar-item/u-tabbar-item.vue +59 -1
- package/uview-plus/components/u-table2/tableRow.vue +361 -1
- package/uview-plus/components/u-table2/u-table2.vue +763 -1
- package/uview-plus/components/u-tabs/u-tabs.vue +62 -1
- package/uview-plus/components/u-tag/u-tag.vue +169 -1
- package/uview-plus/components/u-td/u-td.vue +14 -1
- package/uview-plus/components/u-text/u-text.vue +50 -1
- package/uview-plus/components/u-textarea/u-textarea.vue +35 -1
- package/uview-plus/components/u-th/u-th.vue +13 -1
- package/uview-plus/components/u-title/u-title.vue +10 -3
- package/uview-plus/components/u-toast/u-toast.vue +67 -1
- package/uview-plus/components/u-toolbar/u-toolbar.vue +34 -1
- package/uview-plus/components/u-tooltip/u-tooltip.vue +65 -1
- package/uview-plus/components/u-tr/u-tr.vue +6 -1
- package/uview-plus/components/u-transition/u-transition.vue +98 -1
- package/uview-plus/components/u-upload/u-upload.vue +176 -1
- package/uview-plus/components/u-view/u-view.vue +2 -1
- package/uview-plus/components/u-virtual-list/u-virtual-list.vue +16 -1
- package/uview-plus/components/u-waterfall/u-waterfall.vue +28 -1
- package/uview-plus/libs/css/color2.scss +32 -0
- package/uview-plus/libs/css/variable2.scss +111 -0
- package/{plugins → uview-plus/libs/ctocode}/MessageTip.js +6 -6
- package/uview-plus/libs/ctocode/wait.js +47 -0
- package/uview-plus/libs/mixin/openType2.js +60 -0
- package/uview-plus/libs/util/route2.js +126 -0
- package/other/style.css +0 -46
- package/ui-cv/components/cv-draw-gesture-lock/style.css +0 -39
- package/ui-cv/components/cv-geo-region/style.css +0 -77
- package/ui-fireui/components/u-circular-progress/u-circular-progress.vue +0 -269
- package/ui-fireui/components/u-countdown/u-countdown.vue +0 -301
- package/ui-fireui/components/u-fab/u-fab.vue +0 -284
- package/ui-fireui/components/u-icon/style.css +0 -63
- package/ui-fireui/components/u-image-group/u-image-group.vue +0 -149
- package/ui-fireui copy/components/u-action-sheet/u-action-sheet.vue +0 -202
- package/ui-fireui copy/components/u-alert/u-alert.vue +0 -141
- package/ui-fireui copy/components/u-badge/u-badge.vue +0 -158
- package/ui-fireui copy/components/u-bottom-navigation/u-bottom-navigation.vue +0 -391
- package/ui-fireui copy/components/u-bottom-popup/u-bottom-popup.vue +0 -101
- package/ui-fireui copy/components/u-bubble-popup/u-bubble-popup.vue +0 -240
- package/ui-fireui copy/components/u-button/u-button.vue +0 -424
- package/ui-fireui copy/components/u-button/u-button2.vue +0 -553
- package/ui-fireui copy/components/u-calendar/u-calendar.js +0 -915
- package/ui-fireui copy/components/u-calendar/u-calendar.vue +0 -868
- package/ui-fireui copy/components/u-calendar/u-calendar2.vue +0 -801
- package/ui-fireui copy/components/u-card/u-card.vue +0 -231
- package/ui-fireui copy/components/u-cascade-selection/u-cascade-selection.vue +0 -538
- package/ui-fireui copy/components/u-collapse/u-collapse.vue +0 -179
- package/ui-fireui copy/components/u-datetime/u-datetime.vue +0 -570
- package/ui-fireui copy/components/u-divider/u-divider.vue +0 -118
- package/ui-fireui copy/components/u-drawer/u-drawer.vue +0 -103
- package/ui-fireui copy/components/u-dropdown-list/u-dropdown-list.vue +0 -75
- package/ui-fireui copy/components/u-footer/u-footer.vue +0 -135
- package/ui-fireui copy/components/u-grid/u-grid.vue +0 -50
- package/ui-fireui copy/components/u-grid-item/u-grid-item.vue +0 -142
- package/ui-fireui copy/components/u-icon/icons.js +0 -214
- package/ui-fireui copy/components/u-icon/props.js +0 -92
- package/ui-fireui copy/components/u-icon/style.css +0 -63
- package/ui-fireui copy/components/u-icon/style.scss +0 -1066
- package/ui-fireui copy/components/u-icon/u-icon.vue +0 -117
- package/ui-fireui copy/components/u-icon/u-icon2.vue +0 -149
- package/ui-fireui copy/components/u-icon/util.js +0 -68
- package/ui-fireui copy/components/u-image-cropper/u-image-cropper.vue +0 -1058
- package/ui-fireui copy/components/u-keyboard/u-keyboard.vue +0 -251
- package/ui-fireui copy/components/u-keyboard-input/u-keyboard-input.vue +0 -78
- package/ui-fireui copy/components/u-list-cell/u-list-cell.vue +0 -178
- package/ui-fireui copy/components/u-list-view/u-list-view.vue +0 -87
- package/ui-fireui copy/components/u-loading/u-loading.vue +0 -78
- package/ui-fireui copy/components/u-loadmore/u-loadmore.vue +0 -163
- package/ui-fireui copy/components/u-modal/u-modal.vue +0 -392
- package/ui-fireui copy/components/u-navigation-bar/u-navigation-bar.vue +0 -181
- package/ui-fireui copy/components/u-no-data/u-no-data.vue +0 -116
- package/ui-fireui copy/components/u-nomore/u-nomore.vue +0 -116
- package/ui-fireui copy/components/u-numberbox/u-numberbox.vue +0 -234
- package/ui-fireui copy/components/u-numberbox-border/u-numberbox-border.vue +0 -232
- package/ui-fireui copy/components/u-picture-cropper/u-picture-cropper.vue +0 -682
- package/ui-fireui copy/components/u-picture-cropper/u-picture-cropper.wxs +0 -582
- package/ui-fireui copy/components/u-round-progress/u-round-progress.vue +0 -306
- package/ui-fireui copy/components/u-scroll-top/u-scroll-top.vue +0 -189
- package/ui-fireui copy/components/u-share-model/u-share-model.vue +0 -181
- package/ui-fireui copy/components/u-skeleton/u-skeleton.vue +0 -248
- package/ui-fireui copy/components/u-steps/u-steps.vue +0 -214
- package/ui-fireui copy/components/u-sticky/u-sticky.vue +0 -155
- package/ui-fireui copy/components/u-sticky-wxs/u-sticky-wxs.vue +0 -133
- package/ui-fireui copy/components/u-sticky-wxs/u-sticky.wxs +0 -46
- package/ui-fireui copy/components/u-swipe-action/u-swipe-action.vue +0 -301
- package/ui-fireui copy/components/u-tabbar/u-tabbar.vue +0 -279
- package/ui-fireui copy/components/u-tabs/u-tabs.vue +0 -284
- package/ui-fireui copy/components/u-tabs2/u-tabs2.vue +0 -284
- package/ui-fireui copy/components/u-tag/u-tag.vue +0 -362
- package/ui-fireui copy/components/u-time-axis/u-time-axis.vue +0 -36
- package/ui-fireui copy/components/u-timeaxis-item/u-timeaxis-item.vue +0 -48
- package/ui-fireui copy/components/u-tips/u-tips.vue +0 -161
- package/ui-fireui copy/components/u-toast/u-toast.vue +0 -117
- package/ui-fireui copy/components/u-top-dropdown/u-top-dropdown.vue +0 -129
- package/ui-fireui copy/components/u-upload/u-upload.vue +0 -446
- package/ui-fireui copy/components/u-upload2/u-upload.vue +0 -464
- package/ui-fireui copy/components/u-uploadsamll/u-uploadsamll.vue +0 -472
- package/ui-fireui copy/css/thorui.css +0 -589
- package/ui-fireui copy/index.css +0 -1483
- package/ui-fireui copy/libs/fui-color-analysis/fui-color-analysis.js +0 -1
- package/ui-fireui copy/libs/fui-zh-pinyin/fui-zh-pinyin.js +0 -1
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/bridge/bridge-weex.js +0 -241
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/FillStyleLinearGradient.js +0 -18
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/FillStylePattern.js +0 -8
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/FillStyleRadialGradient.js +0 -17
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-2d/RenderingContext.js +0 -666
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/ActiveInfo.js +0 -11
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Buffer.js +0 -21
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Framebuffer.js +0 -21
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/GLenum.js +0 -298
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/GLmethod.js +0 -142
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/GLtype.js +0 -23
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Program.js +0 -21
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Renderbuffer.js +0 -21
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/RenderingContext.js +0 -1191
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Shader.js +0 -22
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/ShaderPrecisionFormat.js +0 -11
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/Texture.js +0 -22
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/UniformLocation.js +0 -22
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/context-webgl/classUtils.js +0 -3
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/env/canvas.js +0 -74
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/env/image.js +0 -96
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/env/tool.js +0 -24
- package/ui-fireui copy/nvue/u-circular-progress/gcanvas/index.js +0 -47
- package/ui-fireui copy/nvue/u-circular-progress/u-circular-progress.nvue +0 -203
- package/ui-fireui copy/nvue/u-icon/icons.js +0 -188
- package/ui-fireui copy/nvue/u-icon/u-icon.vue +0 -78
- package/uni-ui/lib/uni-badge/style.css +0 -81
- package/uni-ui/lib/uni-badge/style.scss +0 -106
- package/uni-ui/lib/uni-breadcrumb/style.css +0 -3
- package/uni-ui/lib/uni-breadcrumb/style.scss +0 -4
- package/uni-ui/lib/uni-breadcrumb-item/style.css +0 -30
- package/uni-ui/lib/uni-breadcrumb-item/style.scss +0 -40
- package/uni-ui/lib/uni-calendar/style.css +0 -167
- package/uni-ui/lib/uni-calendar/style.scss +0 -200
- package/uni-ui/lib/uni-card/style.css +0 -115
- package/uni-ui/lib/uni-card/style.scss +0 -161
- package/uni-ui/lib/uni-col/style.css +0 -2145
- package/uni-ui/lib/uni-col/style.scss +0 -112
- package/uni-ui/lib/uni-collapse/style.css +0 -11
- package/uni-ui/lib/uni-collapse/style.scss +0 -12
- package/uni-ui/lib/uni-collapse-item/style.css +0 -120
- package/uni-ui/lib/uni-collapse-item/style.scss +0 -143
- package/uni-ui/lib/uni-combox/style.css +0 -114
- package/uni-ui/lib/uni-combox/style.scss +0 -133
- package/uni-ui/lib/uni-countdown/style.css +0 -16
- package/uni-ui/lib/uni-countdown/style.scss +0 -21
- package/uni-ui/lib/uni-data-checkbox/style.css +0 -302
- package/uni-ui/lib/uni-data-checkbox/style.scss +0 -366
- package/uni-ui/lib/uni-data-pickerview/style.css +0 -134
- package/uni-ui/lib/uni-data-pickerview/style.scss +0 -154
- package/uni-ui/lib/uni-data-select/style.css +0 -181
- package/uni-ui/lib/uni-data-select/style.scss +0 -213
- package/uni-ui/lib/uni-datetime-picker/style.css +0 -188
- package/uni-ui/lib/uni-datetime-picker/style.scss +0 -218
- package/uni-ui/lib/uni-drawer/style.css +0 -63
- package/uni-ui/lib/uni-drawer/style.scss +0 -77
- package/uni-ui/lib/uni-easyinput/style.css +0 -126
- package/uni-ui/lib/uni-easyinput/style.scss +0 -155
- package/uni-ui/lib/uni-fab/style.css +0 -185
- package/uni-ui/lib/uni-fab/style.scss +0 -259
- package/uni-ui/lib/uni-fav/style.css +0 -39
- package/uni-ui/lib/uni-fav/style.scss +0 -45
- package/uni-ui/lib/uni-file-picker/style.css +0 -97
- package/uni-ui/lib/uni-file-picker/style.scss +0 -110
- package/uni-ui/lib/uni-forms-item/style.css +0 -133
- package/uni-ui/lib/uni-goods-nav/style.css +0 -100
- package/uni-ui/lib/uni-goods-nav/style.scss +0 -122
- package/uni-ui/lib/uni-grid/style.css +0 -29
- package/uni-ui/lib/uni-grid/style.scss +0 -33
- package/uni-ui/lib/uni-grid-item/style.css +0 -49
- package/uni-ui/lib/uni-grid-item/style.scss +0 -55
- package/uni-ui/lib/uni-group/style.css +0 -36
- package/uni-ui/lib/uni-group/style.scss +0 -50
- package/uni-ui/lib/uni-icons/icons.js +0 -1169
- package/uni-ui/lib/uni-icons/style.css +0 -12
- package/uni-ui/lib/uni-icons/style.scss +0 -14
- package/uni-ui/lib/uni-indexed-list/style.css +0 -68
- package/uni-ui/lib/uni-indexed-list/style.scss +0 -83
- package/uni-ui/lib/uni-list/style.css +0 -43
- package/uni-ui/lib/uni-list/style.scss +0 -52
- package/uni-ui/lib/uni-list-ad/style.css +0 -30
- package/uni-ui/lib/uni-list-ad/style.scss +0 -35
- package/uni-ui/lib/uni-list-chat/style.css +0 -257
- package/uni-ui/lib/uni-list-chat/style.scss +0 -326
- package/uni-ui/lib/uni-list-item/style.css +0 -170
- package/uni-ui/lib/uni-list-item/style.scss +0 -213
- package/uni-ui/lib/uni-load-more/style.css +0 -194
- package/uni-ui/lib/uni-load-more/style.scss +0 -244
- package/uni-ui/lib/uni-nav-bar/style.css +0 -3
- package/uni-ui/lib/uni-nav-bar/style.scss +0 -6
- package/uni-ui/lib/uni-notice-bar/style.css +0 -109
- package/uni-ui/lib/uni-notice-bar/style.scss +0 -125
- package/uni-ui/lib/uni-number-box/style.css +0 -50
- package/uni-ui/lib/uni-number-box/style.scss +0 -64
- package/uni-ui/lib/uni-pagination/style.css +0 -125
- package/uni-ui/lib/uni-pagination/style.scss +0 -154
- package/uni-ui/lib/uni-popup/style.css +0 -41
- package/uni-ui/lib/uni-popup/style.scss +0 -51
- package/uni-ui/lib/uni-popup-dialog/style.css +0 -82
- package/uni-ui/lib/uni-popup-dialog/style.scss +0 -98
- package/uni-ui/lib/uni-popup-message/style.css +0 -57
- package/uni-ui/lib/uni-popup-message/style.scss +0 -69
- package/uni-ui/lib/uni-popup-share/style.css +0 -72
- package/uni-ui/lib/uni-popup-share/style.scss +0 -81
- package/uni-ui/lib/uni-rate/style.css +0 -29
- package/uni-ui/lib/uni-rate/style.scss +0 -33
- package/uni-ui/lib/uni-row/style.css +0 -58
- package/uni-ui/lib/uni-row/style.scss +0 -104
- package/uni-ui/lib/uni-search-bar/style.css +0 -59
- package/uni-ui/lib/uni-search-bar/style.scss +0 -70
- package/uni-ui/lib/uni-section/style.css +0 -55
- package/uni-ui/lib/uni-section/style.scss +0 -65
- package/uni-ui/lib/uni-segmented-control/style.css +0 -48
- package/uni-ui/lib/uni-segmented-control/style.scss +0 -55
- package/uni-ui/lib/uni-status-bar/style.css +0 -4
- package/uni-ui/lib/uni-steps/style.css +0 -152
- package/uni-ui/lib/uni-steps/style.scss +0 -179
- package/uni-ui/lib/uni-swipe-action-item/style.css +0 -90
- package/uni-ui/lib/uni-swipe-action-item/style.scss +0 -112
- package/uni-ui/lib/uni-swiper-dot/style.css +0 -75
- package/uni-ui/lib/uni-swiper-dot/style.scss +0 -95
- package/uni-ui/lib/uni-table/style.css +0 -123
- package/uni-ui/lib/uni-table/style.scss +0 -152
- package/uni-ui/lib/uni-tag/style.css +0 -105
- package/uni-ui/lib/uni-tag/style.scss +0 -141
- package/uni-ui/lib/uni-td/style.css +0 -13
- package/uni-ui/lib/uni-td/style.scss +0 -17
- package/uni-ui/lib/uni-th/style.css +0 -63
- package/uni-ui/lib/uni-th/style.scss +0 -78
- package/uni-ui/lib/uni-thead/style.css +0 -30
- package/uni-ui/lib/uni-thead/style.scss +0 -52
- package/uni-ui/lib/uni-tr/style.css +0 -25
- package/uni-ui/lib/uni-tr/style.scss +0 -46
- package/uview-plus/components/u-action-sheet/style.css +0 -56
- package/uview-plus/components/u-action-sheet/style.scss +0 -83
- package/uview-plus/components/u-action-sheet-data/style.css +0 -10
- package/uview-plus/components/u-action-sheet-data/style.scss +0 -12
- package/uview-plus/components/u-agreement/style.css +0 -10
- package/uview-plus/components/u-agreement/style.scss +0 -12
- package/uview-plus/components/u-album/style.css +0 -29
- package/uview-plus/components/u-alert/style.css +0 -90
- package/uview-plus/components/u-alert/style.scss +0 -111
- package/uview-plus/components/u-avatar/style.css +0 -21
- package/uview-plus/components/u-avatar/style.scss +0 -24
- package/uview-plus/components/u-avatar-group/style.css +0 -28
- package/uview-plus/components/u-avatar-group/style.scss +0 -26
- package/uview-plus/components/u-back-top/style.css +0 -16
- package/uview-plus/components/u-back-top/style.scss +0 -18
- package/uview-plus/components/u-badge/style.css +0 -57
- package/uview-plus/components/u-badge/style.scss +0 -83
- package/uview-plus/components/u-box/style.css +0 -51
- package/uview-plus/components/u-box/style.scss +0 -36
- package/uview-plus/components/u-button/style.css +0 -192
- package/uview-plus/components/u-calendar/style.css +0 -3
- package/uview-plus/components/u-calendar/style.scss +0 -5
- package/uview-plus/components/u-calendar-wu/style.css +0 -196
- package/uview-plus/components/u-car-keyboard/style.css +0 -69
- package/uview-plus/components/u-car-keyboard/style.scss +0 -89
- package/uview-plus/components/u-card/style.css +0 -34
- package/uview-plus/components/u-card/style.scss +0 -45
- package/uview-plus/components/u-cascader/style.css +0 -16
- package/uview-plus/components/u-cascader/style.scss +0 -25
- package/uview-plus/components/u-cate-tab/style.css +0 -98
- package/uview-plus/components/u-cate-tab/style.scss +0 -115
- package/uview-plus/components/u-cell/style.css +0 -112
- package/uview-plus/components/u-cell/style.scss +0 -148
- package/uview-plus/components/u-cell-group/style.css +0 -14
- package/uview-plus/components/u-cell-group/style.scss +0 -22
- package/uview-plus/components/u-checkbox/style.css +0 -77
- package/uview-plus/components/u-checkbox/style.scss +0 -102
- package/uview-plus/components/u-checkbox-group/style.css +0 -12
- package/uview-plus/components/u-checkbox-group/style.scss +0 -12
- package/uview-plus/components/u-choose/style.css +0 -13
- package/uview-plus/components/u-choose/style.scss +0 -17
- package/uview-plus/components/u-circle-progress/style.css +0 -69
- package/uview-plus/components/u-circle-progress/style.scss +0 -84
- package/uview-plus/components/u-city-locate/style.css +0 -20
- package/uview-plus/components/u-city-locate/style.scss +0 -20
- package/uview-plus/components/u-code-input/style.css +0 -68
- package/uview-plus/components/u-code-input/style.scss +0 -75
- package/uview-plus/components/u-col/style.css +0 -50
- package/uview-plus/components/u-col/style.scss +0 -65
- package/uview-plus/components/u-collapse-item/style.css +0 -10
- package/uview-plus/components/u-collapse-item/style.scss +0 -13
- package/uview-plus/components/u-color-picker/style.css +0 -246
- package/uview-plus/components/u-color-picker/style.scss +0 -299
- package/uview-plus/components/u-column-notice/style.css +0 -37
- package/uview-plus/components/u-column-notice/style.scss +0 -33
- package/uview-plus/components/u-count-down/style.css +0 -5
- package/uview-plus/components/u-count-down/style.scss +0 -11
- package/uview-plus/components/u-count-to/style.css +0 -6
- package/uview-plus/components/u-count-to/style.scss +0 -6
- package/uview-plus/components/u-coupon/style.css +0 -214
- package/uview-plus/components/u-coupon/style.scss +0 -246
- package/uview-plus/components/u-cropper/style.css +0 -91
- package/uview-plus/components/u-cropper/style.scss +0 -93
- package/uview-plus/components/u-datetime-picker/style.css +0 -26
- package/uview-plus/components/u-datetime-picker/style.scss +0 -26
- package/uview-plus/components/u-divider/style.css +0 -17
- package/uview-plus/components/u-divider/style.scss +0 -22
- package/uview-plus/components/u-dragsort/style.css +0 -40
- package/uview-plus/components/u-dragsort/style.scss +0 -52
- package/uview-plus/components/u-dropdown/style.css +0 -66
- package/uview-plus/components/u-dropdown/style.scss +0 -66
- package/uview-plus/components/u-dropdown-item/style.css +0 -3
- package/uview-plus/components/u-dropdown-item/style.scss +0 -3
- package/uview-plus/components/u-empty/style.css +0 -27
- package/uview-plus/components/u-empty/style.scss +0 -22
- package/uview-plus/components/u-empty/u-empty-new.vue +0 -102
- package/uview-plus/components/u-float-button/style.css +0 -15
- package/uview-plus/components/u-float-button/style.scss +0 -15
- package/uview-plus/components/u-form-item/style.css +0 -82
- package/uview-plus/components/u-form-item/style.scss +0 -72
- package/uview-plus/components/u-goods-sku/style.css +0 -100
- package/uview-plus/components/u-goods-sku/style.scss +0 -120
- package/uview-plus/components/u-grid/style.css +0 -21
- package/uview-plus/components/u-grid/style.scss +0 -21
- package/uview-plus/components/u-grid-item/style.css +0 -30
- package/uview-plus/components/u-grid-item/style.scss +0 -43
- package/uview-plus/components/u-icon/style.css +0 -63
- package/uview-plus/components/u-icon/style.scss +0 -82
- package/uview-plus/components/u-image/style.css +0 -24
- package/uview-plus/components/u-image/style.scss +0 -32
- package/uview-plus/components/u-index-anchor/style.css +0 -22
- package/uview-plus/components/u-index-anchor/style.scss +0 -18
- package/uview-plus/components/u-index-list/style.css +0 -51
- package/uview-plus/components/u-index-list/style.scss +0 -52
- package/uview-plus/components/u-input/style.css +0 -64
- package/uview-plus/components/u-input/style.scss +0 -62
- package/uview-plus/components/u-keyboard/style.css +0 -26
- package/uview-plus/components/u-keyboard/style.scss +0 -29
- package/uview-plus/components/u-lazy-load/style.css +0 -12
- package/uview-plus/components/u-lazy-load/style.scss +0 -15
- package/uview-plus/components/u-line/style.css +0 -5
- package/uview-plus/components/u-line/style.scss +0 -5
- package/uview-plus/components/u-line-progress/style.css +0 -38
- package/uview-plus/components/u-line-progress/style.scss +0 -35
- package/uview-plus/components/u-link/style.css +0 -11
- package/uview-plus/components/u-link/style.scss +0 -10
- package/uview-plus/components/u-list/style.css +0 -6
- package/uview-plus/components/u-list/style.scss +0 -3
- package/uview-plus/components/u-list-item/style.css +0 -2
- package/uview-plus/components/u-list-item/style.scss +0 -2
- package/uview-plus/components/u-loading-icon/style.css +0 -138
- package/uview-plus/components/u-loading-icon/style.scss +0 -152
- package/uview-plus/components/u-loading-page/style.css +0 -33
- package/uview-plus/components/u-loading-page/style.scss +0 -35
- package/uview-plus/components/u-loadmore/style.css +0 -29
- package/uview-plus/components/u-loadmore/style.scss +0 -27
- package/uview-plus/components/u-markdown/style.css +0 -188
- package/uview-plus/components/u-markdown/style.scss +0 -199
- package/uview-plus/components/u-message-input/style.css +0 -115
- package/uview-plus/components/u-message-input/style.scss +0 -134
- package/uview-plus/components/u-modal/style.css +0 -63
- package/uview-plus/components/u-modal/style.scss +0 -68
- package/uview-plus/components/u-navbar/style.css +0 -51
- package/uview-plus/components/u-navbar/style.scss +0 -56
- package/uview-plus/components/u-navbar-mini/style.css +0 -34
- package/uview-plus/components/u-navbar-mini/style.scss +0 -36
- package/uview-plus/components/u-no-network/style.css +0 -38
- package/uview-plus/components/u-no-network/style.scss +0 -34
- package/uview-plus/components/u-notice-bar/style.css +0 -5
- package/uview-plus/components/u-notice-bar/style.scss +0 -5
- package/uview-plus/components/u-notice-bar/u-notice-bar2.vue +0 -102
- package/uview-plus/components/u-notify/style.css +0 -28
- package/uview-plus/components/u-notify/style.scss +0 -38
- package/uview-plus/components/u-number-box/style.css +0 -56
- package/uview-plus/components/u-number-box/style.scss +0 -68
- package/uview-plus/components/u-number-keyboard/style.css +0 -45
- package/uview-plus/components/u-number-keyboard/style.scss +0 -61
- package/uview-plus/components/u-overlay/style.css +0 -8
- package/uview-plus/components/u-overlay/style.scss +0 -13
- package/uview-plus/components/u-pagination/style.css +0 -46
- package/uview-plus/components/u-pagination/style.scss +0 -51
- package/uview-plus/components/u-pdf-reader/style.css +0 -2
- package/uview-plus/components/u-pdf-reader/style.scss +0 -2
- package/uview-plus/components/u-picker/style.css +0 -58
- package/uview-plus/components/u-picker/style.scss +0 -54
- package/uview-plus/components/u-picker-data/style.css +0 -11
- package/uview-plus/components/u-picker-data/style.scss +0 -13
- package/uview-plus/components/u-popover/style.css +0 -8
- package/uview-plus/components/u-popover/style.scss +0 -7
- package/uview-plus/components/u-popup/style.css +0 -87
- package/uview-plus/components/u-popup/style.scss +0 -106
- package/uview-plus/components/u-poster/style.css +0 -22
- package/uview-plus/components/u-poster/style.scss +0 -26
- package/uview-plus/components/u-pull-refresh/style.css +0 -51
- package/uview-plus/components/u-pull-refresh/style.scss +0 -58
- package/uview-plus/components/u-qrcode/style.css +0 -33
- package/uview-plus/components/u-qrcode/style.scss +0 -33
- package/uview-plus/components/u-radio/style.css +0 -77
- package/uview-plus/components/u-radio/style.scss +0 -101
- package/uview-plus/components/u-radio-group/style.css +0 -15
- package/uview-plus/components/u-radio-group/style.scss +0 -14
- package/uview-plus/components/u-rate/style.css +0 -32
- package/uview-plus/components/u-rate/style.scss +0 -37
- package/uview-plus/components/u-read-more/style.css +0 -23
- package/uview-plus/components/u-read-more/style.scss +0 -21
- package/uview-plus/components/u-row/style.css +0 -6
- package/uview-plus/components/u-row/style.scss +0 -3
- package/uview-plus/components/u-row-notice/style.css +0 -50
- package/uview-plus/components/u-row-notice/style.scss +0 -49
- package/uview-plus/components/u-safe-bottom/style.css +0 -5
- package/uview-plus/components/u-safe-bottom/style.scss +0 -5
- package/uview-plus/components/u-scroll-list/style.css +0 -35
- package/uview-plus/components/u-scroll-list/style.scss +0 -32
- package/uview-plus/components/u-search/style.css +0 -87
- package/uview-plus/components/u-search/style.scss +0 -105
- package/uview-plus/components/u-select/style.css +0 -51
- package/uview-plus/components/u-select/style.scss +0 -47
- package/uview-plus/components/u-short-video/style.css +0 -117
- package/uview-plus/components/u-short-video/style.scss +0 -138
- package/uview-plus/components/u-signature/style.css +0 -70
- package/uview-plus/components/u-signature/style.scss +0 -88
- package/uview-plus/components/u-skeleton/style.css +0 -51
- package/uview-plus/components/u-skeleton/style.scss +0 -57
- package/uview-plus/components/u-sku-wu/style.css +0 -271
- package/uview-plus/components/u-slider/style.css +0 -69
- package/uview-plus/components/u-slider/style.scss +0 -76
- package/uview-plus/components/u-status-bar/style.css +0 -5
- package/uview-plus/components/u-status-bar/style.scss +0 -6
- package/uview-plus/components/u-steps/style.css +0 -20
- package/uview-plus/components/u-steps/style.scss +0 -21
- package/uview-plus/components/u-steps-item/style.css +0 -112
- package/uview-plus/components/u-steps-item/style.scss +0 -116
- package/uview-plus/components/u-sticky/style.css +0 -5
- package/uview-plus/components/u-sticky/style.scss +0 -6
- package/uview-plus/components/u-subsection/style.css +0 -101
- package/uview-plus/components/u-subsection/style.scss +0 -121
- package/uview-plus/components/u-swipe-action-item/style.css +0 -51
- package/uview-plus/components/u-swipe-action-item/style.scss +0 -44
- package/uview-plus/components/u-swiper/style.css +0 -50
- package/uview-plus/components/u-swiper/style.scss +0 -51
- package/uview-plus/components/u-swiper-indicator/style.css +0 -26
- package/uview-plus/components/u-swiper-indicator/style.scss +0 -29
- package/uview-plus/components/u-switch/style.css +0 -47
- package/uview-plus/components/u-switch/style.scss +0 -46
- package/uview-plus/components/u-tabbar/style.css +0 -29
- package/uview-plus/components/u-tabbar/style.scss +0 -23
- package/uview-plus/components/u-tabbar-item/style.css +0 -59
- package/uview-plus/components/u-tabbar-item/style.scss +0 -62
- package/uview-plus/components/u-table2/style.css +0 -90
- package/uview-plus/components/u-table2/style.scss +0 -117
- package/uview-plus/components/u-tabs/style.css +0 -62
- package/uview-plus/components/u-tabs/style.scss +0 -60
- package/uview-plus/components/u-tag/style.css +0 -169
- package/uview-plus/components/u-tag/style.scss +0 -204
- package/uview-plus/components/u-td/style.css +0 -14
- package/uview-plus/components/u-td/style.scss +0 -11
- package/uview-plus/components/u-text/style.css +0 -50
- package/uview-plus/components/u-text/style.scss +0 -56
- package/uview-plus/components/u-text/style2.scss +0 -60
- package/uview-plus/components/u-textarea/style.css +0 -35
- package/uview-plus/components/u-textarea/style.scss +0 -37
- package/uview-plus/components/u-th/style.css +0 -13
- package/uview-plus/components/u-th/style.scss +0 -10
- package/uview-plus/components/u-title/style.css +0 -8
- package/uview-plus/components/u-title/style.scss +0 -10
- package/uview-plus/components/u-toast/style.css +0 -67
- package/uview-plus/components/u-toast/style.scss +0 -106
- package/uview-plus/components/u-toolbar/style.css +0 -33
- package/uview-plus/components/u-toolbar/style.scss +0 -35
- package/uview-plus/components/u-tooltip/style.css +0 -65
- package/uview-plus/components/u-tooltip/style.scss +0 -62
- package/uview-plus/components/u-tr/style.css +0 -6
- package/uview-plus/components/u-tr/style.scss +0 -3
- package/uview-plus/components/u-transition/style.css +0 -98
- package/uview-plus/components/u-transition/style.scss +0 -120
- package/uview-plus/components/u-upload/style.css +0 -174
- package/uview-plus/components/u-upload/style.scss +0 -221
- package/uview-plus/components/u-view/style.css +0 -2
- package/uview-plus/components/u-view/style.scss +0 -2
- package/uview-plus/components/u-virtual-list/style.css +0 -16
- package/uview-plus/components/u-virtual-list/style.scss +0 -16
- package/uview-plus/components/u-waterfall/style.css +0 -28
- package/uview-plus/components/u-waterfall/style.scss +0 -25
- /package/{uni-ui/lib/uni-forms/style.css → other/lime-painter2/components/lime-painter/qrcode.js} +0 -0
- /package/{ui-fireui copy/components/u-countdown/u-countdown.vue → ui-fireui/components/u-count-down/u-count-down.vue} +0 -0
- /package/{plugins → uview-plus/libs/ctocode}/MessageBox.js +0 -0
|
@@ -0,0 +1,752 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view :id="attrs.id" :class="'_block _' + name + ' ' + attrs.class" :style="attrs.style">
|
|
3
|
+
<block v-for="(n, i) in childs" v-bind:key="i">
|
|
4
|
+
<!-- 图片 -->
|
|
5
|
+
<!-- 占位图 -->
|
|
6
|
+
<image
|
|
7
|
+
v-if="n.name === 'img' && !n.t && ((opts[1] && !ctrl[i]) || ctrl[i] < 0)"
|
|
8
|
+
class="_img"
|
|
9
|
+
:style="n.attrs.style"
|
|
10
|
+
:src="ctrl[i] < 0 ? opts[2] : opts[1]"
|
|
11
|
+
mode="widthFix"
|
|
12
|
+
/>
|
|
13
|
+
<!-- 显示图片 -->
|
|
14
|
+
<!-- #ifdef H5 || (APP-PLUS && VUE2) -->
|
|
15
|
+
<img
|
|
16
|
+
v-if="n.name === 'img'"
|
|
17
|
+
:id="n.attrs.id"
|
|
18
|
+
:class="'_img ' + n.attrs.class"
|
|
19
|
+
:style="(ctrl[i] === -1 ? 'display:none;' : '') + n.attrs.style"
|
|
20
|
+
:src="n.attrs.src || (ctrl.load ? n.attrs['data-src'] : '')"
|
|
21
|
+
:data-i="i"
|
|
22
|
+
@load="imgLoad"
|
|
23
|
+
@error="mediaError"
|
|
24
|
+
@tap.stop="imgTap"
|
|
25
|
+
@longpress="imgLongTap"
|
|
26
|
+
/>
|
|
27
|
+
<!-- #endif -->
|
|
28
|
+
<!-- #ifndef H5 || (APP-PLUS && VUE2) -->
|
|
29
|
+
<!-- 表格中的图片,使用 rich-text 防止大小不正确 -->
|
|
30
|
+
<rich-text
|
|
31
|
+
v-if="n.name === 'img' && n.t"
|
|
32
|
+
:style="'display:' + n.t"
|
|
33
|
+
:nodes="[{ attrs: { style: n.attrs.style || '', src: n.attrs.src }, name: 'img' }]"
|
|
34
|
+
:data-i="i"
|
|
35
|
+
@tap.stop="imgTap"
|
|
36
|
+
/>
|
|
37
|
+
<!-- #endif -->
|
|
38
|
+
<!-- #ifdef APP-HARMONY -->
|
|
39
|
+
<image
|
|
40
|
+
v-else-if="n.name === 'img'"
|
|
41
|
+
:id="n.attrs.id"
|
|
42
|
+
:class="'_img ' + n.attrs.class"
|
|
43
|
+
:style="(ctrl[i] === -1 ? 'display:none;' : '') + 'width:' + ctrl[i] + 'px;' + n.attrs.style"
|
|
44
|
+
:src="n.attrs.src || (ctrl.load ? n.attrs['data-src'] : '')"
|
|
45
|
+
:mode="!n.h ? 'widthFix' : !n.w ? 'heightFix' : n.m || 'scaleToFill'"
|
|
46
|
+
:data-i="i"
|
|
47
|
+
@load="imgLoad"
|
|
48
|
+
@error="mediaError"
|
|
49
|
+
@tap.stop="imgTap"
|
|
50
|
+
@longpress="imgLongTap"
|
|
51
|
+
/>
|
|
52
|
+
<!-- #endif -->
|
|
53
|
+
<!-- #ifndef H5 || APP-PLUS || MP-KUAISHOU -->
|
|
54
|
+
<image
|
|
55
|
+
v-else-if="n.name === 'img'"
|
|
56
|
+
:id="n.attrs.id"
|
|
57
|
+
:class="'_img ' + n.attrs.class"
|
|
58
|
+
:style="(ctrl[i] === -1 ? 'display:none;' : '') + 'width:' + (ctrl[i] || 1) + 'px;height:1px;' + n.attrs.style"
|
|
59
|
+
:src="n.attrs.src"
|
|
60
|
+
:mode="!n.h ? 'widthFix' : !n.w ? 'heightFix' : n.m || 'scaleToFill'"
|
|
61
|
+
:lazy-load="opts[0]"
|
|
62
|
+
:webp="n.webp"
|
|
63
|
+
:show-menu-by-longpress="opts[3] && !n.attrs.ignore"
|
|
64
|
+
:image-menu-prevent="!opts[3] || n.attrs.ignore"
|
|
65
|
+
:data-i="i"
|
|
66
|
+
@load="imgLoad"
|
|
67
|
+
@error="mediaError"
|
|
68
|
+
@tap.stop="imgTap"
|
|
69
|
+
@longpress="imgLongTap"
|
|
70
|
+
/>
|
|
71
|
+
<!-- #endif -->
|
|
72
|
+
<!-- #ifdef MP-KUAISHOU -->
|
|
73
|
+
<image
|
|
74
|
+
v-else-if="n.name === 'img'"
|
|
75
|
+
:id="n.attrs.id"
|
|
76
|
+
:class="'_img ' + n.attrs.class"
|
|
77
|
+
:style="(ctrl[i] === -1 ? 'display:none;' : '') + n.attrs.style"
|
|
78
|
+
:src="n.attrs.src"
|
|
79
|
+
:lazy-load="opts[0]"
|
|
80
|
+
:data-i="i"
|
|
81
|
+
@load="imgLoad"
|
|
82
|
+
@error="mediaError"
|
|
83
|
+
@tap.stop="imgTap"
|
|
84
|
+
></image>
|
|
85
|
+
<!-- #endif -->
|
|
86
|
+
<!-- #ifdef APP-PLUS && VUE3 -->
|
|
87
|
+
<image
|
|
88
|
+
v-else-if="n.name === 'img'"
|
|
89
|
+
:id="n.attrs.id"
|
|
90
|
+
:class="'_img ' + n.attrs.class"
|
|
91
|
+
:style="(ctrl[i] === -1 ? 'display:none;' : '') + 'width:' + (ctrl[i] || 1) + 'px;' + n.attrs.style"
|
|
92
|
+
:src="n.attrs.src || (ctrl.load ? n.attrs['data-src'] : '')"
|
|
93
|
+
:mode="!n.h ? 'widthFix' : !n.w ? 'heightFix' : n.m || ''"
|
|
94
|
+
:data-i="i"
|
|
95
|
+
@load="imgLoad"
|
|
96
|
+
@error="mediaError"
|
|
97
|
+
@tap.stop="imgTap"
|
|
98
|
+
@longpress="imgLongTap"
|
|
99
|
+
/>
|
|
100
|
+
<!-- #endif -->
|
|
101
|
+
<!-- 文本 -->
|
|
102
|
+
<!-- #ifdef MP-WEIXIN -->
|
|
103
|
+
<text v-else-if="n.text" :user-select="opts[4] == 'force' && isiOS" decode>{{ n.text }}</text>
|
|
104
|
+
<!-- #endif -->
|
|
105
|
+
<!-- #ifndef MP-WEIXIN || MP-BAIDU || MP-ALIPAY || MP-TOUTIAO -->
|
|
106
|
+
<text v-else-if="n.text" decode>{{ n.text }}</text>
|
|
107
|
+
<!-- #endif -->
|
|
108
|
+
<text v-else-if="n.name === 'br'">{{ '\n' }}</text>
|
|
109
|
+
<!-- 链接 -->
|
|
110
|
+
<view
|
|
111
|
+
v-else-if="n.name === 'a'"
|
|
112
|
+
:id="n.attrs.id"
|
|
113
|
+
:class="(n.attrs.href ? '_a ' : '') + n.attrs.class"
|
|
114
|
+
hover-class="_hover"
|
|
115
|
+
:style="'display:inline;' + n.attrs.style"
|
|
116
|
+
:data-i="i"
|
|
117
|
+
@tap.stop="linkTap"
|
|
118
|
+
>
|
|
119
|
+
<node name="span" :childs="n.children" :opts="opts" style="display: inherit" />
|
|
120
|
+
</view>
|
|
121
|
+
<!-- 视频 -->
|
|
122
|
+
<!-- #ifdef APP-PLUS -->
|
|
123
|
+
<view
|
|
124
|
+
v-else-if="n.html"
|
|
125
|
+
:id="n.attrs.id"
|
|
126
|
+
:class="'_video ' + n.attrs.class"
|
|
127
|
+
:style="n.attrs.style"
|
|
128
|
+
v-html="n.html"
|
|
129
|
+
:data-i="i"
|
|
130
|
+
@vplay.stop="play"
|
|
131
|
+
/>
|
|
132
|
+
<!-- #endif -->
|
|
133
|
+
<!-- #ifndef APP-PLUS -->
|
|
134
|
+
<video
|
|
135
|
+
v-else-if="n.name === 'video'"
|
|
136
|
+
:id="n.attrs.id"
|
|
137
|
+
:class="n.attrs.class"
|
|
138
|
+
:style="n.attrs.style"
|
|
139
|
+
:autoplay="n.attrs.autoplay"
|
|
140
|
+
:controls="n.attrs.controls"
|
|
141
|
+
:loop="n.attrs.loop"
|
|
142
|
+
:muted="n.attrs.muted"
|
|
143
|
+
:object-fit="n.attrs['object-fit']"
|
|
144
|
+
:poster="n.attrs.poster"
|
|
145
|
+
:src="n.src[ctrl[i] || 0]"
|
|
146
|
+
:data-i="i"
|
|
147
|
+
@play="play"
|
|
148
|
+
@error="mediaError"
|
|
149
|
+
/>
|
|
150
|
+
<!-- #endif -->
|
|
151
|
+
<!-- #ifdef H5 || APP-PLUS -->
|
|
152
|
+
<iframe
|
|
153
|
+
v-else-if="n.name === 'iframe'"
|
|
154
|
+
:style="n.attrs.style"
|
|
155
|
+
:allowfullscreen="n.attrs.allowfullscreen"
|
|
156
|
+
:frameborder="n.attrs.frameborder"
|
|
157
|
+
:src="n.attrs.src"
|
|
158
|
+
/>
|
|
159
|
+
<embed v-else-if="n.name === 'embed'" :style="n.attrs.style" :src="n.attrs.src" />
|
|
160
|
+
<!-- #endif -->
|
|
161
|
+
<!-- #ifndef MP-TOUTIAO || ((H5 || APP-PLUS) && VUE3) -->
|
|
162
|
+
<!-- 音频 -->
|
|
163
|
+
<audio
|
|
164
|
+
v-else-if="n.name === 'audio'"
|
|
165
|
+
:id="n.attrs.id"
|
|
166
|
+
:class="n.attrs.class"
|
|
167
|
+
:style="n.attrs.style"
|
|
168
|
+
:author="n.attrs.author"
|
|
169
|
+
:controls="n.attrs.controls"
|
|
170
|
+
:loop="n.attrs.loop"
|
|
171
|
+
:name="n.attrs.name"
|
|
172
|
+
:poster="n.attrs.poster"
|
|
173
|
+
:src="n.src[ctrl[i] || 0]"
|
|
174
|
+
:data-i="i"
|
|
175
|
+
@play="play"
|
|
176
|
+
@error="mediaError"
|
|
177
|
+
/>
|
|
178
|
+
<!-- #endif -->
|
|
179
|
+
<view
|
|
180
|
+
v-else-if="(n.name === 'table' && n.c) || n.name === 'li'"
|
|
181
|
+
:id="n.attrs.id"
|
|
182
|
+
:class="'_' + n.name + ' ' + n.attrs.class"
|
|
183
|
+
:style="n.attrs.style"
|
|
184
|
+
>
|
|
185
|
+
<node v-if="n.name === 'li'" :childs="n.children" :opts="opts" />
|
|
186
|
+
<view
|
|
187
|
+
v-else
|
|
188
|
+
v-for="(tbody, x) in n.children"
|
|
189
|
+
v-bind:key="x"
|
|
190
|
+
:class="'_' + tbody.name + ' ' + tbody.attrs.class"
|
|
191
|
+
:style="tbody.attrs.style"
|
|
192
|
+
>
|
|
193
|
+
<node v-if="tbody.name === 'td' || tbody.name === 'th'" :childs="tbody.children" :opts="opts" />
|
|
194
|
+
<block v-else v-for="(tr, y) in tbody.children" v-bind:key="y">
|
|
195
|
+
<view
|
|
196
|
+
v-if="tr.name === 'td' || tr.name === 'th'"
|
|
197
|
+
:class="'_' + tr.name + ' ' + tr.attrs.class"
|
|
198
|
+
:style="tr.attrs.style"
|
|
199
|
+
>
|
|
200
|
+
<node :childs="tr.children" :opts="opts" />
|
|
201
|
+
</view>
|
|
202
|
+
<view v-else :class="'_' + tr.name + ' ' + tr.attrs.class" :style="tr.attrs.style">
|
|
203
|
+
<view
|
|
204
|
+
v-for="(td, z) in tr.children"
|
|
205
|
+
v-bind:key="z"
|
|
206
|
+
:class="'_' + td.name + ' ' + td.attrs.class"
|
|
207
|
+
:style="td.attrs.style"
|
|
208
|
+
>
|
|
209
|
+
<node :childs="td.children" :opts="opts" />
|
|
210
|
+
</view>
|
|
211
|
+
</view>
|
|
212
|
+
</block>
|
|
213
|
+
</view>
|
|
214
|
+
</view>
|
|
215
|
+
<!-- insert -->
|
|
216
|
+
<!-- 富文本 -->
|
|
217
|
+
<!-- #ifdef H5 || ((MP-WEIXIN || MP-QQ || APP-PLUS || MP-360) && VUE2) -->
|
|
218
|
+
<rich-text
|
|
219
|
+
v-else-if="!n.c && !handler.isInline(n.name, n.attrs.style)"
|
|
220
|
+
:id="n.attrs.id"
|
|
221
|
+
:style="n.f"
|
|
222
|
+
:user-select="opts[4]"
|
|
223
|
+
:nodes="[n]"
|
|
224
|
+
/>
|
|
225
|
+
<!-- #endif -->
|
|
226
|
+
<!-- #ifndef H5 || ((MP-WEIXIN || MP-QQ || APP-PLUS || MP-360) && VUE2) -->
|
|
227
|
+
<rich-text
|
|
228
|
+
v-else-if="!n.c"
|
|
229
|
+
:id="n.attrs.id"
|
|
230
|
+
:style="'display:inline;' + n.f"
|
|
231
|
+
:preview="false"
|
|
232
|
+
:selectable="opts[4]"
|
|
233
|
+
:user-select="opts[4]"
|
|
234
|
+
:nodes="[n]"
|
|
235
|
+
/>
|
|
236
|
+
<!-- #endif -->
|
|
237
|
+
<!-- 继续递归 -->
|
|
238
|
+
<view
|
|
239
|
+
v-else-if="n.c === 2"
|
|
240
|
+
:id="n.attrs.id"
|
|
241
|
+
:class="'_block _' + n.name + ' ' + n.attrs.class"
|
|
242
|
+
:style="n.f + ';' + n.attrs.style"
|
|
243
|
+
>
|
|
244
|
+
<node
|
|
245
|
+
v-for="(n2, j) in n.children"
|
|
246
|
+
v-bind:key="j"
|
|
247
|
+
:style="n2.f"
|
|
248
|
+
:name="n2.name"
|
|
249
|
+
:attrs="n2.attrs"
|
|
250
|
+
:childs="n2.children"
|
|
251
|
+
:opts="opts"
|
|
252
|
+
/>
|
|
253
|
+
</view>
|
|
254
|
+
<node v-else :style="n.f" :name="n.name" :attrs="n.attrs" :childs="n.children" :opts="opts" />
|
|
255
|
+
</block>
|
|
256
|
+
</view>
|
|
257
|
+
</template>
|
|
258
|
+
<script module="handler" lang="wxs">
|
|
259
|
+
// 行内标签列表
|
|
260
|
+
var inlineTags = {
|
|
261
|
+
abbr: true,
|
|
262
|
+
b: true,
|
|
263
|
+
big: true,
|
|
264
|
+
code: true,
|
|
265
|
+
del: true,
|
|
266
|
+
em: true,
|
|
267
|
+
i: true,
|
|
268
|
+
ins: true,
|
|
269
|
+
label: true,
|
|
270
|
+
q: true,
|
|
271
|
+
small: true,
|
|
272
|
+
span: true,
|
|
273
|
+
strong: true,
|
|
274
|
+
sub: true,
|
|
275
|
+
sup: true
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* @description 判断是否为行内标签
|
|
279
|
+
*/
|
|
280
|
+
module.exports = {
|
|
281
|
+
isInline: function (tagName, style) {
|
|
282
|
+
return inlineTags[tagName] || (style || '').indexOf('display:inline') !== -1;
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
</script>
|
|
286
|
+
<script>
|
|
287
|
+
import node from './node';
|
|
288
|
+
export default {
|
|
289
|
+
name: 'node',
|
|
290
|
+
options: {
|
|
291
|
+
// #ifdef MP-WEIXIN
|
|
292
|
+
virtualHost: true,
|
|
293
|
+
// #endif
|
|
294
|
+
// #ifdef MP-TOUTIAO
|
|
295
|
+
addGlobalClass: false
|
|
296
|
+
// #endif
|
|
297
|
+
},
|
|
298
|
+
data() {
|
|
299
|
+
return {
|
|
300
|
+
ctrl: {},
|
|
301
|
+
// #ifdef MP-WEIXIN
|
|
302
|
+
isiOS: uni.getSystemInfoSync().system.includes('iOS')
|
|
303
|
+
// #endif
|
|
304
|
+
};
|
|
305
|
+
},
|
|
306
|
+
props: {
|
|
307
|
+
name: String,
|
|
308
|
+
attrs: {
|
|
309
|
+
type: Object,
|
|
310
|
+
default() {
|
|
311
|
+
return {};
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
childs: Array,
|
|
315
|
+
opts: Array
|
|
316
|
+
},
|
|
317
|
+
components: {
|
|
318
|
+
// #ifndef ((H5 || APP-PLUS) && VUE3) || APP-HARMONY
|
|
319
|
+
node
|
|
320
|
+
// #endif
|
|
321
|
+
},
|
|
322
|
+
mounted() {
|
|
323
|
+
this.$nextTick(() => {
|
|
324
|
+
// 修复可能导致死循环的问题
|
|
325
|
+
for (this.root = this?.$parent; this.root && this.root?.$options.name !== 'up-parse'; this.root = this.root?.$parent);
|
|
326
|
+
});
|
|
327
|
+
// #ifdef H5 || APP-PLUS
|
|
328
|
+
if (this.opts[0]) {
|
|
329
|
+
let i;
|
|
330
|
+
for (i = this.childs.length; i--; ) {
|
|
331
|
+
if (this.childs[i].name === 'img') break;
|
|
332
|
+
}
|
|
333
|
+
if (i !== -1) {
|
|
334
|
+
this.observer = uni.createIntersectionObserver(this).relativeToViewport({
|
|
335
|
+
top: 500,
|
|
336
|
+
bottom: 500
|
|
337
|
+
});
|
|
338
|
+
this.observer.observe('._img', (res) => {
|
|
339
|
+
if (res.intersectionRatio) {
|
|
340
|
+
this.$set(this.ctrl, 'load', 1);
|
|
341
|
+
this.observer.disconnect();
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
// #endif
|
|
347
|
+
},
|
|
348
|
+
beforeDestroy() {
|
|
349
|
+
// #ifdef H5 || APP-PLUS
|
|
350
|
+
if (this.observer) {
|
|
351
|
+
this.observer.disconnect();
|
|
352
|
+
}
|
|
353
|
+
// #endif
|
|
354
|
+
},
|
|
355
|
+
emits: ['linktap', 'imgtap', 'play', 'ready', 'error'],
|
|
356
|
+
methods: {
|
|
357
|
+
// #ifdef MP-WEIXIN
|
|
358
|
+
toJSON() {
|
|
359
|
+
return this;
|
|
360
|
+
},
|
|
361
|
+
// #endif
|
|
362
|
+
/**
|
|
363
|
+
* @description 播放视频事件
|
|
364
|
+
* @param {Event} e
|
|
365
|
+
*/
|
|
366
|
+
play(e) {
|
|
367
|
+
const i = e.currentTarget.dataset.i;
|
|
368
|
+
const node = this.childs[i];
|
|
369
|
+
this.root.$emit('play', {
|
|
370
|
+
source: node.name,
|
|
371
|
+
attrs: {
|
|
372
|
+
...node.attrs,
|
|
373
|
+
src: node.src[this.ctrl[i] || 0]
|
|
374
|
+
}
|
|
375
|
+
});
|
|
376
|
+
// #ifndef APP-PLUS
|
|
377
|
+
if (this.root.pauseVideo) {
|
|
378
|
+
let flag = false;
|
|
379
|
+
const id = e.target.id;
|
|
380
|
+
for (let i = this.root._videos.length; i--; ) {
|
|
381
|
+
if (this.root._videos[i].id === id) {
|
|
382
|
+
flag = true;
|
|
383
|
+
} else {
|
|
384
|
+
this.root._videos[i].pause(); // 自动暂停其他视频
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
// 将自己加入列表
|
|
388
|
+
if (!flag) {
|
|
389
|
+
const ctx = uni.createVideoContext(
|
|
390
|
+
id,
|
|
391
|
+
// #ifndef MP-BAIDU
|
|
392
|
+
this
|
|
393
|
+
// #endif
|
|
394
|
+
);
|
|
395
|
+
ctx.id = id;
|
|
396
|
+
if (this.root.playbackRate) {
|
|
397
|
+
ctx.playbackRate(this.root.playbackRate);
|
|
398
|
+
}
|
|
399
|
+
this.root._videos.push(ctx);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
// #endif
|
|
403
|
+
},
|
|
404
|
+
/**
|
|
405
|
+
* @description 图片点击事件
|
|
406
|
+
* @param {Event} e
|
|
407
|
+
*/
|
|
408
|
+
imgTap(e) {
|
|
409
|
+
const node = this.childs[e.currentTarget.dataset.i];
|
|
410
|
+
if (node.a) {
|
|
411
|
+
this.linkTap(node.a);
|
|
412
|
+
return;
|
|
413
|
+
}
|
|
414
|
+
if (node.attrs.ignore) return;
|
|
415
|
+
// #ifdef H5 || APP-PLUS
|
|
416
|
+
node.attrs.src = node.attrs.src || node.attrs['data-src'];
|
|
417
|
+
// #endif
|
|
418
|
+
// #ifndef APP-HARMONY
|
|
419
|
+
this.root.$emit('imgtap', node.attrs);
|
|
420
|
+
// #endif
|
|
421
|
+
// #ifdef APP-HARMONY
|
|
422
|
+
this.root.$emit('imgtap', {
|
|
423
|
+
...node.attrs
|
|
424
|
+
});
|
|
425
|
+
// #endif
|
|
426
|
+
// 自动预览图片
|
|
427
|
+
if (this.root.previewImg) {
|
|
428
|
+
uni.previewImage({
|
|
429
|
+
// #ifdef MP-WEIXIN
|
|
430
|
+
showmenu: this.root.showImgMenu,
|
|
431
|
+
// #endif
|
|
432
|
+
// #ifdef MP-ALIPAY
|
|
433
|
+
enablesavephoto: this.root.showImgMenu,
|
|
434
|
+
enableShowPhotoDownload: this.root.showImgMenu,
|
|
435
|
+
// #endif
|
|
436
|
+
current: parseInt(node.attrs.i),
|
|
437
|
+
urls: this.root.imgList
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
/**
|
|
442
|
+
* @description 图片长按
|
|
443
|
+
*/
|
|
444
|
+
imgLongTap(e) {
|
|
445
|
+
// #ifdef APP-PLUS
|
|
446
|
+
const attrs = this.childs[e.currentTarget.dataset.i].attrs;
|
|
447
|
+
if (this.opts[3] && !attrs.ignore) {
|
|
448
|
+
uni.showActionSheet({
|
|
449
|
+
itemList: ['保存图片'],
|
|
450
|
+
success: () => {
|
|
451
|
+
const save = (path) => {
|
|
452
|
+
uni.saveImageToPhotosAlbum({
|
|
453
|
+
filePath: path,
|
|
454
|
+
success() {
|
|
455
|
+
uni.showToast({
|
|
456
|
+
title: '保存成功'
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
});
|
|
460
|
+
};
|
|
461
|
+
if (this.root.imgList[attrs.i].startsWith('http')) {
|
|
462
|
+
uni.downloadFile({
|
|
463
|
+
url: this.root.imgList[attrs.i],
|
|
464
|
+
success: (res) => save(res.tempFilePath)
|
|
465
|
+
});
|
|
466
|
+
} else {
|
|
467
|
+
save(this.root.imgList[attrs.i]);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
// #endif
|
|
473
|
+
},
|
|
474
|
+
/**
|
|
475
|
+
* @description 图片加载完成事件
|
|
476
|
+
* @param {Event} e
|
|
477
|
+
*/
|
|
478
|
+
imgLoad(e) {
|
|
479
|
+
const i = e.currentTarget.dataset.i;
|
|
480
|
+
const a = true;
|
|
481
|
+
/* #ifndef H5 || (APP-PLUS && VUE2) */
|
|
482
|
+
if (!this.childs[i].w) {
|
|
483
|
+
// 设置原宽度
|
|
484
|
+
this.$set(this.ctrl, i, e.detail.width);
|
|
485
|
+
a = false;
|
|
486
|
+
}
|
|
487
|
+
/* #endif */
|
|
488
|
+
if (a) {
|
|
489
|
+
if ((this.opts[1] && !this.ctrl[i]) || this.ctrl[i] === -1) {
|
|
490
|
+
// 加载完毕,取消加载中占位图
|
|
491
|
+
this.$set(this.ctrl, i, 1);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
this.checkReady();
|
|
495
|
+
},
|
|
496
|
+
/**
|
|
497
|
+
* @description 检查是否所有图片加载完毕
|
|
498
|
+
*/
|
|
499
|
+
checkReady() {
|
|
500
|
+
if (this.root && !this.root.lazyLoad) {
|
|
501
|
+
this.root._unloadimgs -= 1;
|
|
502
|
+
if (!this.root._unloadimgs) {
|
|
503
|
+
setTimeout(() => {
|
|
504
|
+
this.root
|
|
505
|
+
.getRect()
|
|
506
|
+
.then((rect) => {
|
|
507
|
+
this.root.$emit('ready', rect);
|
|
508
|
+
})
|
|
509
|
+
.catch(() => {
|
|
510
|
+
this.root.$emit('ready', {});
|
|
511
|
+
});
|
|
512
|
+
}, 350);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
/**
|
|
517
|
+
* @description 链接点击事件
|
|
518
|
+
* @param {Event} e
|
|
519
|
+
*/
|
|
520
|
+
linkTap(e) {
|
|
521
|
+
const node = e.currentTarget ? this.childs[e.currentTarget.dataset.i] : {};
|
|
522
|
+
const attrs = node.attrs || e;
|
|
523
|
+
const href = attrs.href;
|
|
524
|
+
this.root.$emit(
|
|
525
|
+
'linktap',
|
|
526
|
+
Object.assign(
|
|
527
|
+
{
|
|
528
|
+
innerText: this.root.getText(node.children || []) // 链接内的文本内容
|
|
529
|
+
},
|
|
530
|
+
attrs
|
|
531
|
+
)
|
|
532
|
+
);
|
|
533
|
+
if (href) {
|
|
534
|
+
if (href[0] === '#') {
|
|
535
|
+
// 跳转锚点
|
|
536
|
+
this.root.navigateTo(href.substring(1)).catch(() => {});
|
|
537
|
+
} else if (href.split('?')[0].includes('://')) {
|
|
538
|
+
// 复制外部链接
|
|
539
|
+
if (this.root.copyLink) {
|
|
540
|
+
// #ifdef H5
|
|
541
|
+
window.open(href);
|
|
542
|
+
// #endif
|
|
543
|
+
// #ifdef MP
|
|
544
|
+
uni.setClipboardData({
|
|
545
|
+
data: href,
|
|
546
|
+
success: () =>
|
|
547
|
+
uni.showToast({
|
|
548
|
+
title: '链接已复制'
|
|
549
|
+
})
|
|
550
|
+
});
|
|
551
|
+
// #endif
|
|
552
|
+
// #ifdef APP-PLUS
|
|
553
|
+
plus.runtime.openWeb(href);
|
|
554
|
+
// #endif
|
|
555
|
+
// #ifdef APP-HARMONY
|
|
556
|
+
plus.runtime.openURL(href);
|
|
557
|
+
// #endif
|
|
558
|
+
}
|
|
559
|
+
} else {
|
|
560
|
+
// 跳转页面
|
|
561
|
+
uni.navigateTo({
|
|
562
|
+
url: href,
|
|
563
|
+
fail() {
|
|
564
|
+
uni.switchTab({
|
|
565
|
+
url: href,
|
|
566
|
+
fail() {}
|
|
567
|
+
});
|
|
568
|
+
}
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
/**
|
|
574
|
+
* @description 错误事件
|
|
575
|
+
* @param {Event} e
|
|
576
|
+
*/
|
|
577
|
+
mediaError(e) {
|
|
578
|
+
const i = e.currentTarget.dataset.i;
|
|
579
|
+
const node = this.childs[i];
|
|
580
|
+
// 加载其他源
|
|
581
|
+
if (node.name === 'video' || node.name === 'audio') {
|
|
582
|
+
let index = (this.ctrl[i] || 0) + 1;
|
|
583
|
+
if (index > node.src.length) {
|
|
584
|
+
index = 0;
|
|
585
|
+
}
|
|
586
|
+
if (index < node.src.length) {
|
|
587
|
+
this.$set(this.ctrl, i, index);
|
|
588
|
+
return;
|
|
589
|
+
}
|
|
590
|
+
} else if (node.name === 'img') {
|
|
591
|
+
// #ifdef H5 && VUE3
|
|
592
|
+
if (this.opts[0] && !this.ctrl.load) return;
|
|
593
|
+
// #endif
|
|
594
|
+
// 显示错误占位图
|
|
595
|
+
if (this.opts[2]) {
|
|
596
|
+
this.$set(this.ctrl, i, -1);
|
|
597
|
+
}
|
|
598
|
+
this.checkReady();
|
|
599
|
+
}
|
|
600
|
+
if (this.root) {
|
|
601
|
+
this.root.$emit('error', {
|
|
602
|
+
source: node.name,
|
|
603
|
+
attrs: node.attrs,
|
|
604
|
+
// #ifndef H5 && VUE3
|
|
605
|
+
errMsg: e.detail.errMsg
|
|
606
|
+
// #endif
|
|
607
|
+
});
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
};
|
|
612
|
+
</script>
|
|
613
|
+
<style>
|
|
614
|
+
/* a 标签默认效果 */
|
|
615
|
+
._a {
|
|
616
|
+
padding: 1.5px 0 1.5px 0;
|
|
617
|
+
color: #366092;
|
|
618
|
+
word-break: break-all;
|
|
619
|
+
}
|
|
620
|
+
/* a 标签点击态效果 */
|
|
621
|
+
._hover {
|
|
622
|
+
text-decoration: underline;
|
|
623
|
+
opacity: 0.7;
|
|
624
|
+
}
|
|
625
|
+
/* 图片默认效果 */
|
|
626
|
+
._img {
|
|
627
|
+
max-width: 100%;
|
|
628
|
+
-webkit-touch-callout: none;
|
|
629
|
+
}
|
|
630
|
+
/* 内部样式 */
|
|
631
|
+
._block {
|
|
632
|
+
display: block;
|
|
633
|
+
}
|
|
634
|
+
._b,
|
|
635
|
+
._strong {
|
|
636
|
+
font-weight: bold;
|
|
637
|
+
}
|
|
638
|
+
._code {
|
|
639
|
+
font-family: monospace;
|
|
640
|
+
}
|
|
641
|
+
._del {
|
|
642
|
+
text-decoration: line-through;
|
|
643
|
+
}
|
|
644
|
+
._em,
|
|
645
|
+
._i {
|
|
646
|
+
font-style: italic;
|
|
647
|
+
}
|
|
648
|
+
._h1 {
|
|
649
|
+
font-size: 2em;
|
|
650
|
+
}
|
|
651
|
+
._h2 {
|
|
652
|
+
font-size: 1.5em;
|
|
653
|
+
}
|
|
654
|
+
._h3 {
|
|
655
|
+
font-size: 1.17em;
|
|
656
|
+
}
|
|
657
|
+
._h5 {
|
|
658
|
+
font-size: 0.83em;
|
|
659
|
+
}
|
|
660
|
+
._h6 {
|
|
661
|
+
font-size: 0.67em;
|
|
662
|
+
}
|
|
663
|
+
._h1,
|
|
664
|
+
._h2,
|
|
665
|
+
._h3,
|
|
666
|
+
._h4,
|
|
667
|
+
._h5,
|
|
668
|
+
._h6 {
|
|
669
|
+
display: block;
|
|
670
|
+
font-weight: bold;
|
|
671
|
+
}
|
|
672
|
+
._image {
|
|
673
|
+
height: 1px;
|
|
674
|
+
}
|
|
675
|
+
._ins {
|
|
676
|
+
text-decoration: underline;
|
|
677
|
+
}
|
|
678
|
+
._li {
|
|
679
|
+
display: list-item;
|
|
680
|
+
}
|
|
681
|
+
._ol {
|
|
682
|
+
list-style-type: decimal;
|
|
683
|
+
}
|
|
684
|
+
._ol,
|
|
685
|
+
._ul {
|
|
686
|
+
display: block;
|
|
687
|
+
padding-left: 40px;
|
|
688
|
+
margin: 1em 0;
|
|
689
|
+
}
|
|
690
|
+
._q::before {
|
|
691
|
+
content: '"';
|
|
692
|
+
}
|
|
693
|
+
._q::after {
|
|
694
|
+
content: '"';
|
|
695
|
+
}
|
|
696
|
+
._sub {
|
|
697
|
+
font-size: smaller;
|
|
698
|
+
vertical-align: sub;
|
|
699
|
+
}
|
|
700
|
+
._sup {
|
|
701
|
+
font-size: smaller;
|
|
702
|
+
vertical-align: super;
|
|
703
|
+
}
|
|
704
|
+
._thead,
|
|
705
|
+
._tbody,
|
|
706
|
+
._tfoot {
|
|
707
|
+
display: table-row-group;
|
|
708
|
+
}
|
|
709
|
+
._tr {
|
|
710
|
+
display: table-row;
|
|
711
|
+
}
|
|
712
|
+
._td,
|
|
713
|
+
._th {
|
|
714
|
+
display: table-cell;
|
|
715
|
+
vertical-align: middle;
|
|
716
|
+
}
|
|
717
|
+
._th {
|
|
718
|
+
font-weight: bold;
|
|
719
|
+
text-align: center;
|
|
720
|
+
}
|
|
721
|
+
._ul {
|
|
722
|
+
list-style-type: disc;
|
|
723
|
+
}
|
|
724
|
+
._ul ._ul {
|
|
725
|
+
margin: 0;
|
|
726
|
+
list-style-type: circle;
|
|
727
|
+
}
|
|
728
|
+
._ul ._ul ._ul {
|
|
729
|
+
list-style-type: square;
|
|
730
|
+
}
|
|
731
|
+
._abbr,
|
|
732
|
+
._b,
|
|
733
|
+
._code,
|
|
734
|
+
._del,
|
|
735
|
+
._em,
|
|
736
|
+
._i,
|
|
737
|
+
._ins,
|
|
738
|
+
._label,
|
|
739
|
+
._q,
|
|
740
|
+
._span,
|
|
741
|
+
._strong,
|
|
742
|
+
._sub,
|
|
743
|
+
._sup {
|
|
744
|
+
display: inline;
|
|
745
|
+
}
|
|
746
|
+
/* #ifdef APP-PLUS */
|
|
747
|
+
._video {
|
|
748
|
+
width: 300px;
|
|
749
|
+
height: 225px;
|
|
750
|
+
}
|
|
751
|
+
/* #endif */
|
|
752
|
+
</style>
|