@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,831 @@
|
|
|
1
|
+
// [z-paging]下拉刷新view模块
|
|
2
|
+
import u from '.././z-paging-utils'
|
|
3
|
+
import c from '.././z-paging-constant'
|
|
4
|
+
import Enum from '.././z-paging-enum'
|
|
5
|
+
|
|
6
|
+
// #ifdef APP-NVUE
|
|
7
|
+
const weexAnimation = weex.requireModule('animation');
|
|
8
|
+
// #endif
|
|
9
|
+
export default {
|
|
10
|
+
props: {
|
|
11
|
+
// 下拉刷新的主题样式,支持black,white,默认black
|
|
12
|
+
refresherThemeStyle: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: u.gc('refresherThemeStyle', '')
|
|
15
|
+
},
|
|
16
|
+
// 自定义下拉刷新中左侧图标的样式
|
|
17
|
+
refresherImgStyle: {
|
|
18
|
+
type: Object,
|
|
19
|
+
default: u.gc('refresherImgStyle', {})
|
|
20
|
+
},
|
|
21
|
+
// 自定义下拉刷新中右侧状态描述文字的样式
|
|
22
|
+
refresherTitleStyle: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default: u.gc('refresherTitleStyle', {})
|
|
25
|
+
},
|
|
26
|
+
// 自定义下拉刷新中右侧最后更新时间文字的样式(show-refresher-update-time为true时有效)
|
|
27
|
+
refresherUpdateTimeStyle: {
|
|
28
|
+
type: Object,
|
|
29
|
+
default: u.gc('refresherUpdateTimeStyle', {})
|
|
30
|
+
},
|
|
31
|
+
// 在微信小程序和QQ小程序中,是否实时监听下拉刷新中进度,默认为否
|
|
32
|
+
watchRefresherTouchmove: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: u.gc('watchRefresherTouchmove', false)
|
|
35
|
+
},
|
|
36
|
+
// 底部加载更多的主题样式,支持black,white,默认black
|
|
37
|
+
loadingMoreThemeStyle: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: u.gc('loadingMoreThemeStyle', '')
|
|
40
|
+
},
|
|
41
|
+
// 是否只使用下拉刷新,设置为true后将关闭mounted自动请求数据、关闭滚动到底部加载更多,强制隐藏空数据图。默认为否
|
|
42
|
+
refresherOnly: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: u.gc('refresherOnly', false)
|
|
45
|
+
},
|
|
46
|
+
// 自定义下拉刷新默认状态下回弹动画时间,单位为毫秒,默认为100毫秒,nvue无效
|
|
47
|
+
refresherDefaultDuration: {
|
|
48
|
+
type: [Number, String],
|
|
49
|
+
default: u.gc('refresherDefaultDuration', 100)
|
|
50
|
+
},
|
|
51
|
+
// 自定义下拉刷新结束以后延迟回弹的时间,单位为毫秒,默认为0
|
|
52
|
+
refresherCompleteDelay: {
|
|
53
|
+
type: [Number, String],
|
|
54
|
+
default: u.gc('refresherCompleteDelay', 0)
|
|
55
|
+
},
|
|
56
|
+
// 自定义下拉刷新结束回弹动画时间,单位为毫秒,默认为300毫秒(refresherEndBounceEnabled为false时,refresherCompleteDuration为设定值的1/3),nvue无效
|
|
57
|
+
refresherCompleteDuration: {
|
|
58
|
+
type: [Number, String],
|
|
59
|
+
default: u.gc('refresherCompleteDuration', 300)
|
|
60
|
+
},
|
|
61
|
+
// 自定义下拉刷新中是否允许列表滚动,默认为是
|
|
62
|
+
refresherRefreshingScrollable: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
default: u.gc('refresherRefreshingScrollable', true)
|
|
65
|
+
},
|
|
66
|
+
// 自定义下拉刷新结束状态下是否允许列表滚动,默认为否
|
|
67
|
+
refresherCompleteScrollable: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: u.gc('refresherCompleteScrollable', false)
|
|
70
|
+
},
|
|
71
|
+
// 是否使用自定义的下拉刷新,默认为是,即使用z-paging的下拉刷新。设置为false即代表使用uni scroll-view自带的下拉刷新,h5、App、微信小程序以外的平台不支持uni scroll-view自带的下拉刷新
|
|
72
|
+
useCustomRefresher: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
default: u.gc('useCustomRefresher', true)
|
|
75
|
+
},
|
|
76
|
+
// 自定义下拉刷新下拉帧率,默认为40,过高可能会出现抖动问题
|
|
77
|
+
refresherFps: {
|
|
78
|
+
type: [Number, String],
|
|
79
|
+
default: u.gc('refresherFps', 40)
|
|
80
|
+
},
|
|
81
|
+
// 自定义下拉刷新允许触发的最大下拉角度,默认为40度,当下拉角度小于设定值时,自定义下拉刷新动画不会被触发
|
|
82
|
+
refresherMaxAngle: {
|
|
83
|
+
type: [Number, String],
|
|
84
|
+
default: u.gc('refresherMaxAngle', 40)
|
|
85
|
+
},
|
|
86
|
+
// 自定义下拉刷新的角度由未达到最大角度变到达到最大角度时,是否继续下拉刷新手势,默认为否
|
|
87
|
+
refresherAngleEnableChangeContinued: {
|
|
88
|
+
type: Boolean,
|
|
89
|
+
default: u.gc('refresherAngleEnableChangeContinued', false)
|
|
90
|
+
},
|
|
91
|
+
// 自定义下拉刷新默认状态下的文字
|
|
92
|
+
refresherDefaultText: {
|
|
93
|
+
type: [String, Object],
|
|
94
|
+
default: u.gc('refresherDefaultText', null)
|
|
95
|
+
},
|
|
96
|
+
// 自定义下拉刷新松手立即刷新状态下的文字
|
|
97
|
+
refresherPullingText: {
|
|
98
|
+
type: [String, Object],
|
|
99
|
+
default: u.gc('refresherPullingText', null)
|
|
100
|
+
},
|
|
101
|
+
// 自定义下拉刷新刷新中状态下的文字
|
|
102
|
+
refresherRefreshingText: {
|
|
103
|
+
type: [String, Object],
|
|
104
|
+
default: u.gc('refresherRefreshingText', null)
|
|
105
|
+
},
|
|
106
|
+
// 自定义下拉刷新刷新结束状态下的文字
|
|
107
|
+
refresherCompleteText: {
|
|
108
|
+
type: [String, Object],
|
|
109
|
+
default: u.gc('refresherCompleteText', null)
|
|
110
|
+
},
|
|
111
|
+
// 自定义继续下拉进入二楼文字
|
|
112
|
+
refresherGoF2Text: {
|
|
113
|
+
type: [String, Object],
|
|
114
|
+
default: u.gc('refresherGoF2Text', null)
|
|
115
|
+
},
|
|
116
|
+
// 自定义下拉刷新默认状态下的图片
|
|
117
|
+
refresherDefaultImg: {
|
|
118
|
+
type: String,
|
|
119
|
+
default: u.gc('refresherDefaultImg', null)
|
|
120
|
+
},
|
|
121
|
+
// 自定义下拉刷新松手立即刷新状态下的图片,默认与refresherDefaultImg一致
|
|
122
|
+
refresherPullingImg: {
|
|
123
|
+
type: String,
|
|
124
|
+
default: u.gc('refresherPullingImg', null)
|
|
125
|
+
},
|
|
126
|
+
// 自定义下拉刷新刷新中状态下的图片
|
|
127
|
+
refresherRefreshingImg: {
|
|
128
|
+
type: String,
|
|
129
|
+
default: u.gc('refresherRefreshingImg', null)
|
|
130
|
+
},
|
|
131
|
+
// 自定义下拉刷新刷新结束状态下的图片
|
|
132
|
+
refresherCompleteImg: {
|
|
133
|
+
type: String,
|
|
134
|
+
default: u.gc('refresherCompleteImg', null)
|
|
135
|
+
},
|
|
136
|
+
// 自定义下拉刷新刷新中状态下是否展示旋转动画
|
|
137
|
+
refresherRefreshingAnimated: {
|
|
138
|
+
type: Boolean,
|
|
139
|
+
default: u.gc('refresherRefreshingAnimated', true)
|
|
140
|
+
},
|
|
141
|
+
// 是否开启自定义下拉刷新刷新结束回弹效果,默认为是
|
|
142
|
+
refresherEndBounceEnabled: {
|
|
143
|
+
type: Boolean,
|
|
144
|
+
default: u.gc('refresherEndBounceEnabled', true)
|
|
145
|
+
},
|
|
146
|
+
// 是否开启自定义下拉刷新,默认为是
|
|
147
|
+
refresherEnabled: {
|
|
148
|
+
type: Boolean,
|
|
149
|
+
default: u.gc('refresherEnabled', true)
|
|
150
|
+
},
|
|
151
|
+
// 设置自定义下拉刷新阈值,默认为80rpx
|
|
152
|
+
refresherThreshold: {
|
|
153
|
+
type: [Number, String],
|
|
154
|
+
default: u.gc('refresherThreshold', '80rpx')
|
|
155
|
+
},
|
|
156
|
+
// 设置系统下拉刷新默认样式,支持设置 black,white,none,none 表示不使用默认样式,默认为black
|
|
157
|
+
refresherDefaultStyle: {
|
|
158
|
+
type: String,
|
|
159
|
+
default: u.gc('refresherDefaultStyle', 'black')
|
|
160
|
+
},
|
|
161
|
+
// 设置自定义下拉刷新区域背景
|
|
162
|
+
refresherBackground: {
|
|
163
|
+
type: String,
|
|
164
|
+
default: u.gc('refresherBackground', 'transparent')
|
|
165
|
+
},
|
|
166
|
+
// 设置固定的自定义下拉刷新区域背景
|
|
167
|
+
refresherFixedBackground: {
|
|
168
|
+
type: String,
|
|
169
|
+
default: u.gc('refresherFixedBackground', 'transparent')
|
|
170
|
+
},
|
|
171
|
+
// 设置固定的自定义下拉刷新区域高度,默认为0
|
|
172
|
+
refresherFixedBacHeight: {
|
|
173
|
+
type: [Number, String],
|
|
174
|
+
default: u.gc('refresherFixedBacHeight', 0)
|
|
175
|
+
},
|
|
176
|
+
// 设置自定义下拉刷新下拉超出阈值后继续下拉位移衰减的比例,范围0-1,值越大代表衰减越多。默认为0.65(nvue无效)
|
|
177
|
+
refresherOutRate: {
|
|
178
|
+
type: Number,
|
|
179
|
+
default: u.gc('refresherOutRate', 0.65)
|
|
180
|
+
},
|
|
181
|
+
// 是否开启下拉进入二楼功能,默认为否
|
|
182
|
+
refresherF2Enabled: {
|
|
183
|
+
type: Boolean,
|
|
184
|
+
default: u.gc('refresherF2Enabled', false)
|
|
185
|
+
},
|
|
186
|
+
// 下拉进入二楼阈值,默认为200rpx
|
|
187
|
+
refresherF2Threshold: {
|
|
188
|
+
type: [Number, String],
|
|
189
|
+
default: u.gc('refresherF2Threshold', '200rpx')
|
|
190
|
+
},
|
|
191
|
+
// 下拉进入二楼动画时间,单位为毫秒,默认为200毫秒
|
|
192
|
+
refresherF2Duration: {
|
|
193
|
+
type: [Number, String],
|
|
194
|
+
default: u.gc('refresherF2Duration', 200)
|
|
195
|
+
},
|
|
196
|
+
// 下拉进入二楼状态松手后是否弹出二楼,默认为是
|
|
197
|
+
showRefresherF2: {
|
|
198
|
+
type: Boolean,
|
|
199
|
+
default: u.gc('showRefresherF2', true)
|
|
200
|
+
},
|
|
201
|
+
// 设置自定义下拉刷新下拉时实际下拉位移与用户下拉距离的比值,默认为0.75,即代表若用户下拉10px,则实际位移为7.5px(nvue无效)
|
|
202
|
+
refresherPullRate: {
|
|
203
|
+
type: Number,
|
|
204
|
+
default: u.gc('refresherPullRate', 0.75)
|
|
205
|
+
},
|
|
206
|
+
// 是否显示最后更新时间,默认为否
|
|
207
|
+
showRefresherUpdateTime: {
|
|
208
|
+
type: Boolean,
|
|
209
|
+
default: u.gc('showRefresherUpdateTime', false)
|
|
210
|
+
},
|
|
211
|
+
// 如果需要区别不同页面的最后更新时间,请为不同页面的z-paging的`refresher-update-time-key`设置不同的字符串
|
|
212
|
+
refresherUpdateTimeKey: {
|
|
213
|
+
type: String,
|
|
214
|
+
default: u.gc('refresherUpdateTimeKey', 'default')
|
|
215
|
+
},
|
|
216
|
+
// 下拉刷新时下拉到“松手立即刷新”或“松手进入二楼”状态时是否使手机短振动,默认为否(h5无效)
|
|
217
|
+
refresherVibrate: {
|
|
218
|
+
type: Boolean,
|
|
219
|
+
default: u.gc('refresherVibrate', false)
|
|
220
|
+
},
|
|
221
|
+
// 下拉刷新时是否禁止下拉刷新view跟随用户触摸竖直移动,默认为否。注意此属性只是禁止下拉刷新view移动,其他下拉刷新逻辑依然会正常触发
|
|
222
|
+
refresherNoTransform: {
|
|
223
|
+
type: Boolean,
|
|
224
|
+
default: u.gc('refresherNoTransform', false)
|
|
225
|
+
},
|
|
226
|
+
// 是否开启下拉刷新状态栏占位,适用于隐藏导航栏时,下拉刷新需要避开状态栏高度的情况,默认为否
|
|
227
|
+
useRefresherStatusBarPlaceholder: {
|
|
228
|
+
type: Boolean,
|
|
229
|
+
default: u.gc('useRefresherStatusBarPlaceholder', false)
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
data() {
|
|
233
|
+
return {
|
|
234
|
+
R: Enum.Refresher,
|
|
235
|
+
//下拉刷新状态
|
|
236
|
+
refresherStatus: Enum.Refresher.Default,
|
|
237
|
+
refresherTouchstartY: 0,
|
|
238
|
+
lastRefresherTouchmove: null,
|
|
239
|
+
refresherReachMaxAngle: true,
|
|
240
|
+
refresherTransform: 'translateY(0px)',
|
|
241
|
+
refresherTransition: '',
|
|
242
|
+
finalRefresherDefaultStyle: 'black',
|
|
243
|
+
refresherRevealStackCount: 0,
|
|
244
|
+
refresherCompleteTimeout: null,
|
|
245
|
+
refresherCompleteSubTimeout: null,
|
|
246
|
+
refresherEndTimeout: null,
|
|
247
|
+
isTouchmovingTimeout: null,
|
|
248
|
+
refresherTriggered: false,
|
|
249
|
+
isTouchmoving: false,
|
|
250
|
+
isTouchEnded: false,
|
|
251
|
+
isUserPullDown: false,
|
|
252
|
+
privateRefresherEnabled: -1,
|
|
253
|
+
privateShowRefresherWhenReload: false,
|
|
254
|
+
customRefresherHeight: -1,
|
|
255
|
+
showCustomRefresher: false,
|
|
256
|
+
doRefreshAnimateAfter: false,
|
|
257
|
+
isRefresherInComplete: false,
|
|
258
|
+
showF2: false,
|
|
259
|
+
f2Transform: '',
|
|
260
|
+
pullDownTimeStamp: 0,
|
|
261
|
+
moveDis: 0,
|
|
262
|
+
oldMoveDis: 0,
|
|
263
|
+
currentDis: 0,
|
|
264
|
+
oldCurrentMoveDis: 0,
|
|
265
|
+
oldRefresherTouchmoveY: 0,
|
|
266
|
+
oldTouchDirection: '',
|
|
267
|
+
oldEmitedTouchDirection: '',
|
|
268
|
+
oldPullingDistance: -1,
|
|
269
|
+
refresherThresholdUpdateTag: 0
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
watch: {
|
|
273
|
+
refresherDefaultStyle: {
|
|
274
|
+
handler(newVal) {
|
|
275
|
+
if (newVal.length) {
|
|
276
|
+
this.finalRefresherDefaultStyle = newVal;
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
immediate: true
|
|
280
|
+
},
|
|
281
|
+
refresherStatus(newVal) {
|
|
282
|
+
newVal === Enum.Refresher.Loading && this._cleanRefresherEndTimeout();
|
|
283
|
+
this.refresherVibrate && (newVal === Enum.Refresher.ReleaseToRefresh || newVal === Enum.Refresher.GoF2) && this._doVibrateShort();
|
|
284
|
+
this.$emit('refresherStatusChange', newVal);
|
|
285
|
+
this.$emit('update:refresherStatus', newVal);
|
|
286
|
+
},
|
|
287
|
+
// 监听当前下拉刷新启用/禁用状态
|
|
288
|
+
refresherEnabled(newVal) {
|
|
289
|
+
// 当禁用下拉刷新时,强制收回正在展示的下拉刷新view
|
|
290
|
+
!newVal && this.endRefresh();
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
computed: {
|
|
294
|
+
pullDownDisTimeStamp() {
|
|
295
|
+
return 1000 / this.refresherFps;
|
|
296
|
+
},
|
|
297
|
+
refresherThresholdUnitConverted() {
|
|
298
|
+
return u.addUnit(this.refresherThreshold, this.unit);
|
|
299
|
+
},
|
|
300
|
+
finalRefresherEnabled() {
|
|
301
|
+
if (this.useChatRecordMode) return false;
|
|
302
|
+
if (this.privateRefresherEnabled === -1) return this.refresherEnabled;
|
|
303
|
+
return this.privateRefresherEnabled === 1;
|
|
304
|
+
},
|
|
305
|
+
finalRefresherThreshold() {
|
|
306
|
+
let refresherThreshold = this.refresherThresholdUnitConverted;
|
|
307
|
+
let idDefault = false;
|
|
308
|
+
if (refresherThreshold === u.addUnit(80, this.unit)) {
|
|
309
|
+
idDefault = true;
|
|
310
|
+
if (this.showRefresherUpdateTime) {
|
|
311
|
+
refresherThreshold = u.addUnit(120, this.unit);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
if (idDefault && this.customRefresherHeight > 0) return this.customRefresherHeight + this.finalRefresherThresholdPlaceholder;
|
|
315
|
+
return u.convertToPx(refresherThreshold) + this.finalRefresherThresholdPlaceholder;
|
|
316
|
+
},
|
|
317
|
+
finalRefresherF2Threshold() {
|
|
318
|
+
return u.convertToPx(u.addUnit(this.refresherF2Threshold, this.unit));
|
|
319
|
+
},
|
|
320
|
+
finalRefresherThresholdPlaceholder() {
|
|
321
|
+
return this.useRefresherStatusBarPlaceholder ? this.statusBarHeight : 0;
|
|
322
|
+
},
|
|
323
|
+
finalRefresherFixedBacHeight() {
|
|
324
|
+
return u.convertToPx(this.refresherFixedBacHeight);
|
|
325
|
+
},
|
|
326
|
+
finalRefresherThemeStyle() {
|
|
327
|
+
return this.refresherThemeStyle.length ? this.refresherThemeStyle : this.defaultThemeStyle;
|
|
328
|
+
},
|
|
329
|
+
finalRefresherOutRate() {
|
|
330
|
+
let rate = this.refresherOutRate;
|
|
331
|
+
rate = Math.max(0,rate);
|
|
332
|
+
rate = Math.min(1,rate);
|
|
333
|
+
return rate;
|
|
334
|
+
},
|
|
335
|
+
finalRefresherPullRate() {
|
|
336
|
+
let rate = this.refresherPullRate;
|
|
337
|
+
rate = Math.max(0,rate);
|
|
338
|
+
return rate;
|
|
339
|
+
},
|
|
340
|
+
finalRefresherTransform() {
|
|
341
|
+
if (this.refresherNoTransform || this.refresherTransform === 'translateY(0px)') return 'none';
|
|
342
|
+
return this.refresherTransform;
|
|
343
|
+
},
|
|
344
|
+
finalShowRefresherWhenReload() {
|
|
345
|
+
return this.showRefresherWhenReload || this.privateShowRefresherWhenReload;
|
|
346
|
+
},
|
|
347
|
+
finalRefresherTriggered() {
|
|
348
|
+
if (!(this.finalRefresherEnabled && !this.useCustomRefresher)) return false;
|
|
349
|
+
return this.refresherTriggered;
|
|
350
|
+
},
|
|
351
|
+
showRefresher() {
|
|
352
|
+
const showRefresher = this.finalRefresherEnabled || this.useCustomRefresher && !this.useChatRecordMode;
|
|
353
|
+
// #ifndef APP-NVUE
|
|
354
|
+
this.active && this.customRefresherHeight === -1 && showRefresher && this.updateCustomRefresherHeight();
|
|
355
|
+
// #endif
|
|
356
|
+
return showRefresher;
|
|
357
|
+
},
|
|
358
|
+
hasTouchmove() {
|
|
359
|
+
// #ifdef VUE2
|
|
360
|
+
// #ifdef APP-VUE || H5
|
|
361
|
+
if (this.$listeners && !this.$listeners.refresherTouchmove) return false;
|
|
362
|
+
// #endif
|
|
363
|
+
// #ifdef MP-WEIXIN || MP-QQ
|
|
364
|
+
return this.watchRefresherTouchmove;
|
|
365
|
+
// #endif
|
|
366
|
+
return true;
|
|
367
|
+
// #endif
|
|
368
|
+
return this.watchRefresherTouchmove;
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
methods: {
|
|
372
|
+
// 终止下拉刷新状态
|
|
373
|
+
endRefresh() {
|
|
374
|
+
this.totalData = this.realTotalData;
|
|
375
|
+
this._refresherEnd();
|
|
376
|
+
this._endSystemLoadingAndRefresh();
|
|
377
|
+
this._handleScrollViewBounce({ bounce: true });
|
|
378
|
+
this.$nextTick(() => {
|
|
379
|
+
this.refresherTriggered = false;
|
|
380
|
+
})
|
|
381
|
+
},
|
|
382
|
+
// 手动更新自定义下拉刷新view高度
|
|
383
|
+
updateCustomRefresherHeight() {
|
|
384
|
+
u.delay(() => this.$nextTick(this._updateCustomRefresherHeight));
|
|
385
|
+
},
|
|
386
|
+
// 关闭二楼
|
|
387
|
+
closeF2() {
|
|
388
|
+
this._handleCloseF2();
|
|
389
|
+
},
|
|
390
|
+
// 自定义下拉刷新被触发
|
|
391
|
+
_onRefresh(fromScrollView = false, isUserPullDown = true) {
|
|
392
|
+
if (fromScrollView && !(this.finalRefresherEnabled && !this.useCustomRefresher)) return;
|
|
393
|
+
this.$emit('onRefresh');
|
|
394
|
+
this.$emit('Refresh');
|
|
395
|
+
// #ifdef APP-NVUE
|
|
396
|
+
if (this.loading) {
|
|
397
|
+
u.delay(this._nRefresherEnd, 500)
|
|
398
|
+
return;
|
|
399
|
+
}
|
|
400
|
+
// #endif
|
|
401
|
+
if (this.loading || this.isRefresherInComplete) return;
|
|
402
|
+
this.loadingType = Enum.LoadingType.Refresher;
|
|
403
|
+
if (this.nShowRefresherReveal) return;
|
|
404
|
+
this.isUserPullDown = isUserPullDown;
|
|
405
|
+
this.isUserReload = !isUserPullDown;
|
|
406
|
+
this._startLoading(true);
|
|
407
|
+
this.refresherTriggered = true;
|
|
408
|
+
if (this.reloadWhenRefresh && isUserPullDown) {
|
|
409
|
+
this.useChatRecordMode ? this._onLoadingMore('click') : this._reload(false, false, isUserPullDown);
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
// 自定义下拉刷新被复位
|
|
413
|
+
_onRestore() {
|
|
414
|
+
this.refresherTriggered = 'restore';
|
|
415
|
+
this.$emit('onRestore');
|
|
416
|
+
this.$emit('Restore');
|
|
417
|
+
},
|
|
418
|
+
// #ifndef APP-VUE || MP-WEIXIN || MP-QQ || H5
|
|
419
|
+
// touch开始
|
|
420
|
+
_refresherTouchstart(e) {
|
|
421
|
+
this._handleListTouchstart();
|
|
422
|
+
if (this._touchDisabled()) return;
|
|
423
|
+
this._handleRefresherTouchstart(u.getTouch(e));
|
|
424
|
+
},
|
|
425
|
+
// #endif
|
|
426
|
+
// 进一步处理touch开始结果
|
|
427
|
+
_handleRefresherTouchstart(touch) {
|
|
428
|
+
if (!this.loading && this.isTouchEnded) {
|
|
429
|
+
this.isTouchmoving = false;
|
|
430
|
+
}
|
|
431
|
+
this.loadingType = Enum.LoadingType.Refresher;
|
|
432
|
+
this.isTouchmovingTimeout && clearTimeout(this.isTouchmovingTimeout);
|
|
433
|
+
this.isTouchEnded = false;
|
|
434
|
+
this.refresherTransition = '';
|
|
435
|
+
this.refresherTouchstartY = touch.touchY;
|
|
436
|
+
this.$emit('refresherTouchstart', this.refresherTouchstartY);
|
|
437
|
+
this.lastRefresherTouchmove = touch;
|
|
438
|
+
this._cleanRefresherCompleteTimeout();
|
|
439
|
+
this._cleanRefresherEndTimeout();
|
|
440
|
+
},
|
|
441
|
+
|
|
442
|
+
// 非app-vue或微信小程序或QQ小程序或h5平台,使用js控制下拉刷新
|
|
443
|
+
// #ifndef APP-VUE || MP-WEIXIN || MP-QQ || H5
|
|
444
|
+
// touch中
|
|
445
|
+
_refresherTouchmove(e) {
|
|
446
|
+
const currentTimeStamp = u.getTime();
|
|
447
|
+
let touch = null;
|
|
448
|
+
let refresherTouchmoveY = 0;
|
|
449
|
+
if (this.watchTouchDirectionChange) {
|
|
450
|
+
// 检测下拉刷新方向改变
|
|
451
|
+
touch = u.getTouch(e);
|
|
452
|
+
refresherTouchmoveY = touch.touchY;
|
|
453
|
+
const direction = refresherTouchmoveY > this.oldRefresherTouchmoveY ? 'top' : 'bottom';
|
|
454
|
+
// 只有在方向改变的时候才emit相关事件
|
|
455
|
+
if (direction === this.oldTouchDirection && direction !== this.oldEmitedTouchDirection) {
|
|
456
|
+
this._handleTouchDirectionChange({ direction });
|
|
457
|
+
this.oldEmitedTouchDirection = direction;
|
|
458
|
+
}
|
|
459
|
+
this.oldTouchDirection = direction;
|
|
460
|
+
this.oldRefresherTouchmoveY = refresherTouchmoveY;
|
|
461
|
+
}
|
|
462
|
+
// 节流处理,在pullDownDisTimeStamp时间内的下拉刷新中事件不进行处理
|
|
463
|
+
if (this.pullDownTimeStamp && currentTimeStamp - this.pullDownTimeStamp <= this.pullDownDisTimeStamp) return;
|
|
464
|
+
// 如果不允许下拉,则return
|
|
465
|
+
if (this._touchDisabled()) return;
|
|
466
|
+
this.pullDownTimeStamp = Number(currentTimeStamp);
|
|
467
|
+
touch = u.getTouch(e);
|
|
468
|
+
refresherTouchmoveY = touch.touchY;
|
|
469
|
+
// 获取当前touch的y - 初始touch的y,计算它们的差
|
|
470
|
+
let moveDis = refresherTouchmoveY - this.refresherTouchstartY;
|
|
471
|
+
if (moveDis < 0) return;
|
|
472
|
+
// 对下拉刷新的角度进行限制
|
|
473
|
+
if (this.refresherMaxAngle >= 0 && this.refresherMaxAngle <= 90 && this.lastRefresherTouchmove && this.lastRefresherTouchmove.touchY <= refresherTouchmoveY) {
|
|
474
|
+
if (!moveDis && !this.refresherAngleEnableChangeContinued && this.moveDis < 1 && !this.refresherReachMaxAngle) return;
|
|
475
|
+
const x = Math.abs(touch.touchX - this.lastRefresherTouchmove.touchX);
|
|
476
|
+
const y = Math.abs(refresherTouchmoveY - this.lastRefresherTouchmove.touchY);
|
|
477
|
+
const z = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
|
|
478
|
+
if ((x || y) && x > 1) {
|
|
479
|
+
// 获取下拉刷新前后两次位移的角度
|
|
480
|
+
const angle = Math.asin(y / z) / Math.PI * 180;
|
|
481
|
+
// 如果角度小于配置要求,则return
|
|
482
|
+
if (angle < this.refresherMaxAngle) {
|
|
483
|
+
this.lastRefresherTouchmove = touch;
|
|
484
|
+
this.refresherReachMaxAngle = false;
|
|
485
|
+
return;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
// 获取最终的moveDis
|
|
490
|
+
moveDis = this._getFinalRefresherMoveDis(moveDis);
|
|
491
|
+
// 处理下拉刷新位移
|
|
492
|
+
this._handleRefresherTouchmove(moveDis, touch);
|
|
493
|
+
// 下拉刷新时,禁止页面滚动以防止页面向下滚动和下拉刷新同时作用导致下拉刷新位置偏移超过预期
|
|
494
|
+
if (!this.disabledBounce) {
|
|
495
|
+
// #ifndef MP-LARK
|
|
496
|
+
this._handleScrollViewBounce({ bounce: false });
|
|
497
|
+
// #endif
|
|
498
|
+
this.disabledBounce = true;
|
|
499
|
+
}
|
|
500
|
+
this._emitTouchmove({ pullingDistance: moveDis, dy: this.moveDis - this.oldMoveDis });
|
|
501
|
+
},
|
|
502
|
+
// #endif
|
|
503
|
+
// 进一步处理touch中结果
|
|
504
|
+
_handleRefresherTouchmove(moveDis, touch) {
|
|
505
|
+
this.refresherReachMaxAngle = true;
|
|
506
|
+
this.isTouchmovingTimeout && clearTimeout(this.isTouchmovingTimeout);
|
|
507
|
+
this.isTouchmoving = true;
|
|
508
|
+
this.isTouchEnded = false;
|
|
509
|
+
// 更新下拉刷新状态
|
|
510
|
+
// 下拉刷新距离超过阈值
|
|
511
|
+
if (moveDis >= this.finalRefresherThreshold) {
|
|
512
|
+
// 如果开启了下拉进入二楼并且下拉刷新距离超过进入二楼阈值,则当前下拉刷新状态为松手进入二楼,否则为松手立即刷新
|
|
513
|
+
this.refresherStatus = this.refresherF2Enabled && moveDis >= this.finalRefresherF2Threshold ? Enum.Refresher.GoF2 : Enum.Refresher.ReleaseToRefresh;
|
|
514
|
+
} else {
|
|
515
|
+
// 下拉刷新距离未超过阈值,显示默认状态
|
|
516
|
+
this.refresherStatus = Enum.Refresher.Default;
|
|
517
|
+
}
|
|
518
|
+
// #ifndef APP-VUE || MP-WEIXIN || MP-QQ || H5
|
|
519
|
+
// this.scrollEnable = false;
|
|
520
|
+
// 通过transform控制下拉刷新view垂直偏移
|
|
521
|
+
this.refresherTransform = `translateY(${moveDis}px)`;
|
|
522
|
+
this.lastRefresherTouchmove = touch;
|
|
523
|
+
// #endif
|
|
524
|
+
this.moveDis = moveDis;
|
|
525
|
+
},
|
|
526
|
+
// #ifndef APP-VUE || MP-WEIXIN || MP-QQ || H5
|
|
527
|
+
// touch结束
|
|
528
|
+
_refresherTouchend(e) {
|
|
529
|
+
// 下拉刷新用户手离开屏幕,允许列表滚动
|
|
530
|
+
this._handleScrollViewBounce({bounce: true});
|
|
531
|
+
if (this._touchDisabled() || !this.isTouchmoving) return;
|
|
532
|
+
const touch = u.getTouch(e);
|
|
533
|
+
let refresherTouchendY = touch.touchY;
|
|
534
|
+
let moveDis = refresherTouchendY - this.refresherTouchstartY;
|
|
535
|
+
moveDis = this._getFinalRefresherMoveDis(moveDis);
|
|
536
|
+
this._handleRefresherTouchend(moveDis);
|
|
537
|
+
this.disabledBounce = false;
|
|
538
|
+
},
|
|
539
|
+
// #endif
|
|
540
|
+
// 进一步处理touch结束结果
|
|
541
|
+
_handleRefresherTouchend(moveDis) {
|
|
542
|
+
// #ifndef APP-PLUS || H5 || MP-WEIXIN
|
|
543
|
+
if (!this.isTouchmoving) return;
|
|
544
|
+
// #endif
|
|
545
|
+
this.isTouchmovingTimeout && clearTimeout(this.isTouchmovingTimeout);
|
|
546
|
+
this.refresherReachMaxAngle = true;
|
|
547
|
+
this.isTouchEnded = true;
|
|
548
|
+
const refresherThreshold = this.finalRefresherThreshold;
|
|
549
|
+
if (moveDis >= refresherThreshold && (this.refresherStatus === Enum.Refresher.ReleaseToRefresh || this.refresherStatus === Enum.Refresher.GoF2)) {
|
|
550
|
+
// 如果是松手进入二楼状态,则触发进入二楼
|
|
551
|
+
if (this.refresherStatus === Enum.Refresher.GoF2) {
|
|
552
|
+
this._handleGoF2();
|
|
553
|
+
this._refresherEnd();
|
|
554
|
+
} else {
|
|
555
|
+
// 如果是松手立即刷新状态,则触发下拉刷新
|
|
556
|
+
// #ifndef APP-VUE || MP-WEIXIN || MP-QQ || H5
|
|
557
|
+
this.refresherTransform = `translateY(${refresherThreshold}px)`;
|
|
558
|
+
this.refresherTransition = 'transform .1s linear';
|
|
559
|
+
// #endif
|
|
560
|
+
u.delay(() => {
|
|
561
|
+
this._emitTouchmove({ pullingDistance: refresherThreshold, dy: this.moveDis - refresherThreshold });
|
|
562
|
+
}, 0.1);
|
|
563
|
+
this.moveDis = refresherThreshold;
|
|
564
|
+
this.refresherStatus = Enum.Refresher.Loading;
|
|
565
|
+
this._doRefresherLoad();
|
|
566
|
+
}
|
|
567
|
+
} else {
|
|
568
|
+
this._refresherEnd();
|
|
569
|
+
this.isTouchmovingTimeout = u.delay(() => {
|
|
570
|
+
this.isTouchmoving = false;
|
|
571
|
+
}, this.refresherDefaultDuration);
|
|
572
|
+
}
|
|
573
|
+
this.scrollEnable = true;
|
|
574
|
+
this.$emit('refresherTouchend', moveDis);
|
|
575
|
+
},
|
|
576
|
+
// 处理列表触摸开始事件
|
|
577
|
+
_handleListTouchstart() {
|
|
578
|
+
if (this.useChatRecordMode && this.autoHideKeyboardWhenChat) {
|
|
579
|
+
uni.hideKeyboard();
|
|
580
|
+
this.$emit('hidedKeyboard');
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
// 处理scroll-view bounce是否生效
|
|
584
|
+
_handleScrollViewBounce({ bounce }) {
|
|
585
|
+
if (!this.usePageScroll && !this.scrollToTopBounceEnabled) {
|
|
586
|
+
if (this.wxsScrollTop <= 5) {
|
|
587
|
+
// #ifdef APP-VUE || MP-WEIXIN || MP-QQ || H5
|
|
588
|
+
this.refresherTransition = '';
|
|
589
|
+
// #endif
|
|
590
|
+
this.scrollEnable = bounce;
|
|
591
|
+
} else if (bounce) {
|
|
592
|
+
this.scrollEnable = bounce;
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
// wxs正在下拉状态改变处理
|
|
597
|
+
_handleWxsPullingDownStatusChange(onPullingDown) {
|
|
598
|
+
this.wxsOnPullingDown = onPullingDown;
|
|
599
|
+
if (onPullingDown && !this.useChatRecordMode) {
|
|
600
|
+
this.renderPropScrollTop = 0;
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
// wxs正在下拉处理
|
|
604
|
+
_handleWxsPullingDown({ moveDis, diffDis }){
|
|
605
|
+
this._emitTouchmove({ pullingDistance: moveDis,dy: diffDis });
|
|
606
|
+
},
|
|
607
|
+
// wxs触摸方向改变
|
|
608
|
+
_handleTouchDirectionChange({ direction }) {
|
|
609
|
+
this.$emit('touchDirectionChange',direction);
|
|
610
|
+
},
|
|
611
|
+
// wxs通知更新其props
|
|
612
|
+
_handlePropUpdate(){
|
|
613
|
+
this.wxsPropType = u.getTime().toString();
|
|
614
|
+
},
|
|
615
|
+
// 下拉刷新结束
|
|
616
|
+
_refresherEnd(shouldEndLoadingDelay = true, fromAddData = false, isUserPullDown = false, setLoading = true) {
|
|
617
|
+
if (this.loadingType === Enum.LoadingType.Refresher) {
|
|
618
|
+
// 计算当前下拉刷新结束需要延迟的时间
|
|
619
|
+
const refresherCompleteDelay = (fromAddData && (isUserPullDown || this.showRefresherWhenReload)) ? this.refresherCompleteDelay : 0;
|
|
620
|
+
// 如果延迟时间大于0,则展示刷新结束状态,否则直接展示默认状态
|
|
621
|
+
const refresherStatus = refresherCompleteDelay > 0 ? Enum.Refresher.Complete : Enum.Refresher.Default;
|
|
622
|
+
if (this.finalShowRefresherWhenReload) {
|
|
623
|
+
const stackCount = this.refresherRevealStackCount;
|
|
624
|
+
this.refresherRevealStackCount --;
|
|
625
|
+
if (stackCount > 1) return;
|
|
626
|
+
}
|
|
627
|
+
this._cleanRefresherEndTimeout();
|
|
628
|
+
this.refresherEndTimeout = u.delay(() => {
|
|
629
|
+
// 更新下拉刷新状态
|
|
630
|
+
this.refresherStatus = refresherStatus;
|
|
631
|
+
// 如果当前下拉刷新状态不是刷新结束,则认为其不在刷新结束状态
|
|
632
|
+
if (refresherStatus !== Enum.Refresher.Complete) {
|
|
633
|
+
this.isRefresherInComplete = false;
|
|
634
|
+
}
|
|
635
|
+
}, this.refresherStatus !== Enum.Refresher.Default && refresherStatus === Enum.Refresher.Default ? this.refresherCompleteDuration : 0);
|
|
636
|
+
|
|
637
|
+
// #ifndef APP-NVUE
|
|
638
|
+
if (refresherCompleteDelay > 0) {
|
|
639
|
+
this.isRefresherInComplete = true;
|
|
640
|
+
}
|
|
641
|
+
// #endif
|
|
642
|
+
this._cleanRefresherCompleteTimeout();
|
|
643
|
+
this.refresherCompleteTimeout = u.delay(() => {
|
|
644
|
+
let animateDuration = 1;
|
|
645
|
+
const animateType = this.refresherEndBounceEnabled && fromAddData ? 'cubic-bezier(0.19,1.64,0.42,0.72)' : 'linear';
|
|
646
|
+
if (fromAddData) {
|
|
647
|
+
animateDuration = this.refresherEndBounceEnabled ? this.refresherCompleteDuration / 1000 : this.refresherCompleteDuration / 3000;
|
|
648
|
+
}
|
|
649
|
+
this.refresherTransition = `transform ${fromAddData ? animateDuration : this.refresherDefaultDuration / 1000}s ${animateType}`;
|
|
650
|
+
// #ifndef APP-VUE || MP-WEIXIN || MP-QQ || H5
|
|
651
|
+
this.refresherTransform = 'translateY(0px)';
|
|
652
|
+
this.currentDis = 0;
|
|
653
|
+
// #endif
|
|
654
|
+
// #ifdef APP-VUE || MP-WEIXIN || MP-QQ || H5
|
|
655
|
+
this.wxsPropType = this.refresherTransition + 'end' + u.getTime();
|
|
656
|
+
// #endif
|
|
657
|
+
// #ifdef APP-NVUE
|
|
658
|
+
this._nRefresherEnd();
|
|
659
|
+
// #endif
|
|
660
|
+
this.moveDis = 0;
|
|
661
|
+
// #ifndef APP-NVUE
|
|
662
|
+
if (refresherStatus === Enum.Refresher.Complete) {
|
|
663
|
+
if (this.refresherCompleteSubTimeout) {
|
|
664
|
+
clearTimeout(this.refresherCompleteSubTimeout);
|
|
665
|
+
this.refresherCompleteSubTimeout = null;
|
|
666
|
+
}
|
|
667
|
+
this.refresherCompleteSubTimeout = u.delay(() => {
|
|
668
|
+
this.$nextTick(() => {
|
|
669
|
+
this.refresherStatus = Enum.Refresher.Default;
|
|
670
|
+
this.isRefresherInComplete = false;
|
|
671
|
+
})
|
|
672
|
+
}, animateDuration * 800);
|
|
673
|
+
}
|
|
674
|
+
// #endif
|
|
675
|
+
this._emitTouchmove({ pullingDistance: 0, dy: this.moveDis });
|
|
676
|
+
}, refresherCompleteDelay);
|
|
677
|
+
}
|
|
678
|
+
if (setLoading) {
|
|
679
|
+
u.delay(() => this.loading = false, shouldEndLoadingDelay ? 10 : 0);
|
|
680
|
+
isUserPullDown && this._onRestore();
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
// 处理进入二楼
|
|
684
|
+
_handleGoF2() {
|
|
685
|
+
if (this.showF2 || !this.refresherF2Enabled) return;
|
|
686
|
+
this.$emit('refresherF2Change', 'go');
|
|
687
|
+
|
|
688
|
+
if (!this.showRefresherF2) return;
|
|
689
|
+
// #ifndef APP-NVUE
|
|
690
|
+
this.f2Transform = `translateY(${-this.superContentHeight}px)`;
|
|
691
|
+
this.showF2 = true;
|
|
692
|
+
u.delay(() => {
|
|
693
|
+
this.f2Transform = 'translateY(0px)';
|
|
694
|
+
}, 100, 'f2ShowDelay')
|
|
695
|
+
// #endif
|
|
696
|
+
|
|
697
|
+
// #ifdef APP-NVUE
|
|
698
|
+
this.showF2 = true;
|
|
699
|
+
this.$nextTick(() => {
|
|
700
|
+
weexAnimation.transition(this.$refs['zp-n-f2'], {
|
|
701
|
+
styles: { transform: `translateY(${-this.superContentHeight}px)` },
|
|
702
|
+
duration: 0,
|
|
703
|
+
timingFunction: 'linear',
|
|
704
|
+
needLayout: true,
|
|
705
|
+
delay: 0
|
|
706
|
+
})
|
|
707
|
+
this.nF2Opacity = 1;
|
|
708
|
+
})
|
|
709
|
+
u.delay(() => {
|
|
710
|
+
weexAnimation.transition(this.$refs['zp-n-f2'], {
|
|
711
|
+
styles: { transform: 'translateY(0px)' },
|
|
712
|
+
duration: this.refresherF2Duration,
|
|
713
|
+
timingFunction: 'linear',
|
|
714
|
+
needLayout: true,
|
|
715
|
+
delay: 0
|
|
716
|
+
})
|
|
717
|
+
}, 10, 'f2GoDelay')
|
|
718
|
+
// #endif
|
|
719
|
+
},
|
|
720
|
+
// 处理退出二楼
|
|
721
|
+
_handleCloseF2() {
|
|
722
|
+
if (!this.showF2 || !this.refresherF2Enabled) return;
|
|
723
|
+
this.$emit('refresherF2Change', 'close');
|
|
724
|
+
|
|
725
|
+
if (!this.showRefresherF2) return;
|
|
726
|
+
// #ifndef APP-NVUE
|
|
727
|
+
this.f2Transform = `translateY(${-this.superContentHeight}px)`;
|
|
728
|
+
// #endif
|
|
729
|
+
|
|
730
|
+
// #ifdef APP-NVUE
|
|
731
|
+
weexAnimation.transition(this.$refs['zp-n-f2'], {
|
|
732
|
+
styles: { transform: `translateY(${-this.superContentHeight}px)` },
|
|
733
|
+
duration: this.refresherF2Duration,
|
|
734
|
+
timingFunction: 'linear',
|
|
735
|
+
needLayout: true,
|
|
736
|
+
delay: 0
|
|
737
|
+
})
|
|
738
|
+
// #endif
|
|
739
|
+
|
|
740
|
+
u.delay(() => {
|
|
741
|
+
this.showF2 = false;
|
|
742
|
+
this.nF2Opacity = 0;
|
|
743
|
+
}, this.refresherF2Duration, 'f2CloseDelay')
|
|
744
|
+
},
|
|
745
|
+
// 模拟用户手动触发下拉刷新
|
|
746
|
+
_doRefresherRefreshAnimate() {
|
|
747
|
+
this._cleanRefresherCompleteTimeout();
|
|
748
|
+
// 用户处理用户在短时间内多次调用reload的情况,此时下拉刷新view不需要重复显示,只需要保证最后一次reload对应的请求结束后收回下拉刷新view即可
|
|
749
|
+
// #ifndef APP-NVUE
|
|
750
|
+
const doRefreshAnimateAfter = !this.doRefreshAnimateAfter && (this.finalShowRefresherWhenReload) && this
|
|
751
|
+
.customRefresherHeight === -1 && this.refresherThreshold === u.addUnit(80, this.unit);
|
|
752
|
+
if (doRefreshAnimateAfter) {
|
|
753
|
+
this.doRefreshAnimateAfter = true;
|
|
754
|
+
return;
|
|
755
|
+
}
|
|
756
|
+
// #endif
|
|
757
|
+
this.refresherRevealStackCount ++;
|
|
758
|
+
// #ifndef APP-VUE || MP-WEIXIN || MP-QQ || H5
|
|
759
|
+
this.refresherTransform = `translateY(${this.finalRefresherThreshold}px)`;
|
|
760
|
+
// #endif
|
|
761
|
+
// #ifdef APP-VUE || MP-WEIXIN || MP-QQ || H5
|
|
762
|
+
this.wxsPropType = 'begin' + u.getTime();
|
|
763
|
+
// #endif
|
|
764
|
+
this.moveDis = this.finalRefresherThreshold;
|
|
765
|
+
this.refresherStatus = Enum.Refresher.Loading;
|
|
766
|
+
this.isTouchmoving = true;
|
|
767
|
+
this.isTouchmovingTimeout && clearTimeout(this.isTouchmovingTimeout);
|
|
768
|
+
this._doRefresherLoad(false);
|
|
769
|
+
},
|
|
770
|
+
// 触发下拉刷新
|
|
771
|
+
_doRefresherLoad(isUserPullDown = true) {
|
|
772
|
+
this._onRefresh(false, isUserPullDown);
|
|
773
|
+
this.loading = true;
|
|
774
|
+
},
|
|
775
|
+
// #ifndef APP-VUE || MP-WEIXIN || MP-QQ || H5
|
|
776
|
+
// 获取处理后的moveDis
|
|
777
|
+
_getFinalRefresherMoveDis(moveDis) {
|
|
778
|
+
let diffDis = moveDis - this.oldCurrentMoveDis;
|
|
779
|
+
this.oldCurrentMoveDis = moveDis;
|
|
780
|
+
if (diffDis > 0) {
|
|
781
|
+
// 根据配置的下拉刷新用户手势位移与实际需要的位移比率计算最终的diffDis
|
|
782
|
+
diffDis = diffDis * this.finalRefresherPullRate;
|
|
783
|
+
if (this.currentDis > this.finalRefresherThreshold) {
|
|
784
|
+
diffDis = diffDis * (1 - this.finalRefresherOutRate);
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
// 控制diffDis过大的情况,比如进入页面突然猛然下拉,此时diffDis不应进行太大的偏移
|
|
788
|
+
diffDis = diffDis > 100 ? diffDis / 100 : diffDis;
|
|
789
|
+
this.currentDis += diffDis;
|
|
790
|
+
this.currentDis = Math.max(0, this.currentDis);
|
|
791
|
+
return this.currentDis;
|
|
792
|
+
},
|
|
793
|
+
// 判断touch手势是否要触发
|
|
794
|
+
_touchDisabled() {
|
|
795
|
+
const checkOldScrollTop = this.oldScrollTop > 5;
|
|
796
|
+
return this.loading || this.isRefresherInComplete || this.useChatRecordMode || !this.refresherEnabled || !this.useCustomRefresher ||(this.usePageScroll && this.useCustomRefresher && this.pageScrollTop > 10) || (!(this.usePageScroll && this.useCustomRefresher) && checkOldScrollTop);
|
|
797
|
+
},
|
|
798
|
+
// #endif
|
|
799
|
+
// 更新自定义下拉刷新view高度
|
|
800
|
+
_updateCustomRefresherHeight() {
|
|
801
|
+
this._getNodeClientRect('.zp-custom-refresher-slot-view').then((res) => {
|
|
802
|
+
this.customRefresherHeight = res ? res[0].height : 0;
|
|
803
|
+
this.showCustomRefresher = this.customRefresherHeight > 0;
|
|
804
|
+
if (this.doRefreshAnimateAfter) {
|
|
805
|
+
this.doRefreshAnimateAfter = false;
|
|
806
|
+
this._doRefresherRefreshAnimate();
|
|
807
|
+
}
|
|
808
|
+
});
|
|
809
|
+
},
|
|
810
|
+
// emit pullingDown事件
|
|
811
|
+
_emitTouchmove(e) {
|
|
812
|
+
// #ifndef APP-NVUE
|
|
813
|
+
e.viewHeight = this.finalRefresherThreshold;
|
|
814
|
+
// #endif
|
|
815
|
+
e.rate = e.viewHeight > 0 ? e.pullingDistance / e.viewHeight : 0;
|
|
816
|
+
this.hasTouchmove && this.oldPullingDistance !== e.pullingDistance && this.$emit('refresherTouchmove', e);
|
|
817
|
+
this.oldPullingDistance = e.pullingDistance;
|
|
818
|
+
},
|
|
819
|
+
// 清除refresherCompleteTimeout
|
|
820
|
+
_cleanRefresherCompleteTimeout() {
|
|
821
|
+
this.refresherCompleteTimeout = this._cleanTimeout(this.refresherCompleteTimeout);
|
|
822
|
+
// #ifdef APP-NVUE
|
|
823
|
+
this._nRefresherEnd(false);
|
|
824
|
+
// #endif
|
|
825
|
+
},
|
|
826
|
+
// 清除refresherEndTimeout
|
|
827
|
+
_cleanRefresherEndTimeout() {
|
|
828
|
+
this.refresherEndTimeout = this._cleanTimeout(this.refresherEndTimeout);
|
|
829
|
+
},
|
|
830
|
+
}
|
|
831
|
+
}
|