@10yun/cv-mobile-ui 0.5.29 → 0.5.31
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/package.json +5 -1
- package/plugins/luch-request/adapters/index.js +131 -0
- package/plugins/luch-request/core/InterceptorManager.js +50 -0
- package/plugins/luch-request/core/Request.js +199 -0
- package/plugins/luch-request/core/buildFullPath.js +20 -0
- package/plugins/luch-request/core/defaults.js +32 -0
- package/plugins/luch-request/core/dispatchRequest.js +5 -0
- package/plugins/luch-request/core/mergeConfig.js +125 -0
- package/plugins/luch-request/core/settle.js +16 -0
- package/plugins/luch-request/helpers/buildURL.js +71 -0
- package/plugins/luch-request/helpers/combineURLs.js +12 -0
- package/plugins/luch-request/helpers/isAbsoluteURL.js +14 -0
- package/plugins/luch-request/index.d.ts +197 -0
- package/plugins/luch-request/index.js +2 -0
- package/plugins/luch-request/readme.md +3 -0
- package/plugins/luch-request/utils/clone.js +264 -0
- package/plugins/luch-request/utils.js +131 -0
- package/plugins/request.js +2 -2
- package/ui-cv/components/cv-btn-base/cv-btn-base.vue +1 -1
- package/ui-cv/components/cv-form-item/cv-form-item.vue +1 -1
- package/ui-fireui/fui-actionsheet/fui-actionsheet.vue +202 -0
- package/ui-fireui/fui-alert/fui-alert.vue +141 -0
- package/ui-fireui/fui-badge/fui-badge.vue +158 -0
- package/ui-fireui/fui-bottom-navigation/fui-bottom-navigation.vue +390 -0
- package/ui-fireui/fui-bottom-popup/fui-bottom-popup.vue +100 -0
- package/ui-fireui/fui-bubble-popup/fui-bubble-popup.vue +236 -0
- package/ui-fireui/fui-button/fui-button.vue +424 -0
- package/ui-fireui/fui-calendar/fui-calendar.js +915 -0
- package/ui-fireui/fui-calendar/fui-calendar.vue +868 -0
- package/ui-fireui/fui-card/fui-card.vue +231 -0
- package/ui-fireui/fui-cascade-selection/fui-cascade-selection.vue +538 -0
- package/ui-fireui/fui-circular-progress/fui-circular-progress.vue +261 -0
- package/ui-fireui/fui-collapse/fui-collapse.vue +179 -0
- package/ui-fireui/fui-countdown/fui-countdown.vue +301 -0
- package/ui-fireui/fui-datetime/fui-datetime.vue +570 -0
- package/ui-fireui/fui-divider/fui-divider.vue +118 -0
- package/ui-fireui/fui-drawer/fui-drawer.vue +103 -0
- package/ui-fireui/fui-dropdown-list/fui-dropdown-list.vue +70 -0
- package/ui-fireui/fui-fab/fui-fab.vue +284 -0
- package/ui-fireui/fui-footer/fui-footer.vue +131 -0
- package/ui-fireui/fui-grid/fui-grid.vue +42 -0
- package/ui-fireui/fui-grid-item/fui-grid-item.vue +142 -0
- package/ui-fireui/fui-icon/fui-icon.vue +820 -0
- package/ui-fireui/fui-image-cropper/fui-image-cropper.vue +1058 -0
- package/ui-fireui/fui-image-group/fui-image-group.vue +149 -0
- package/ui-fireui/fui-keyboard/fui-keyboard.vue +254 -0
- package/ui-fireui/fui-keyboard-input/fui-keyboard-input.vue +78 -0
- package/ui-fireui/fui-list-cell/fui-list-cell.vue +178 -0
- package/ui-fireui/fui-list-view/fui-list-view.vue +87 -0
- package/ui-fireui/fui-loading/fui-loading.vue +78 -0
- package/ui-fireui/fui-loadmore/fui-loadmore.vue +163 -0
- package/ui-fireui/fui-modal/fui-modal.vue +392 -0
- package/ui-fireui/fui-navigation-bar/fui-navigation-bar.vue +180 -0
- package/ui-fireui/fui-no-data/fui-no-data.vue +116 -0
- package/ui-fireui/fui-nomore/fui-nomore.vue +116 -0
- package/ui-fireui/fui-numberbox/fui-numberbox.vue +234 -0
- package/ui-fireui/fui-numberbox-border/fui-numberbox-border.vue +232 -0
- package/ui-fireui/fui-picture-cropper/fui-picture-cropper.vue +682 -0
- package/ui-fireui/fui-picture-cropper/fui-picture-cropper.wxs +560 -0
- package/ui-fireui/fui-rate/fui-rate.vue +167 -0
- package/ui-fireui/fui-round-progress/fui-round-progress.vue +306 -0
- package/ui-fireui/fui-scroll-top/fui-scroll-top.vue +189 -0
- package/ui-fireui/fui-sharemodel/fui-sharemodel.vue +181 -0
- package/ui-fireui/fui-skeleton/fui-skeleton.vue +248 -0
- package/ui-fireui/fui-steps/fui-steps.vue +214 -0
- package/ui-fireui/fui-sticky/fui-sticky.vue +155 -0
- package/ui-fireui/fui-sticky-wxs/fui-sticky-wxs.vue +133 -0
- package/ui-fireui/fui-sticky-wxs/fui-sticky.wxs +44 -0
- package/ui-fireui/fui-swipe-action/fui-swipe-action.vue +301 -0
- package/ui-fireui/fui-tabbar/fui-tabbar.vue +283 -0
- package/ui-fireui/fui-tabs/fui-tabs.vue +284 -0
- package/ui-fireui/fui-tabs2/fui-tabs2.vue +284 -0
- package/ui-fireui/fui-tag/fui-tag.vue +374 -0
- package/ui-fireui/fui-time-axis/fui-time-axis.vue +36 -0
- package/ui-fireui/fui-timeaxis-item/fui-timeaxis-item.vue +48 -0
- package/ui-fireui/fui-tips/fui-tips.vue +161 -0
- package/ui-fireui/fui-toast/fui-toast.vue +117 -0
- package/ui-fireui/fui-top-dropdown/fui-top-dropdown.vue +129 -0
- package/ui-fireui/fui-upload/fui-upload.vue +446 -0
- package/ui-fireui/fui-uploadsamll/fui-uploadsamll.vue +472 -0
- package/uview-plus/README.md +2 -2
- package/uview-plus/changelog-wu-tool.md +21 -0
- package/uview-plus/changelog-wu.md +91 -0
- package/uview-plus/components/u-action-sheet/_doc/changelog.md +12 -0
- package/uview-plus/components/u-action-sheet/_doc/package.json +92 -0
- package/uview-plus/components/u-action-sheet/_doc/readme.md +16 -0
- package/uview-plus/components/u-action-sheet/u-action-sheet.vue +8 -8
- package/uview-plus/components/u-album/u-album.vue +1 -1
- package/uview-plus/components/u-alert/u-alert.vue +5 -5
- package/uview-plus/components/u-app-update/_doc/changelog.md +26 -0
- package/uview-plus/components/u-app-update/_doc/package.json +89 -0
- package/uview-plus/components/u-app-update/_doc/readme.md +16 -0
- package/uview-plus/components/u-app-update/config.js +120 -0
- package/uview-plus/components/u-app-update/img/act.png +0 -0
- package/uview-plus/components/u-app-update/img/appUploadAlertBoxBg.png +0 -0
- package/uview-plus/components/u-app-update/img/close.png +0 -0
- package/uview-plus/components/u-app-update/js-sdk/checkVersion.js +81 -0
- package/uview-plus/components/u-app-update/js-sdk/silentlyAppUpdate.js +41 -0
- package/uview-plus/components/u-app-update/pages/index.vue +8 -0
- package/uview-plus/components/u-app-update/u-app-update.vue +583 -0
- package/uview-plus/components/u-avatar/u-avatar.vue +2 -2
- package/uview-plus/components/u-avatar-group/u-avatar-group.vue +79 -3
- package/uview-plus/components/u-back-top/u-back-top.vue +4 -4
- package/uview-plus/components/u-badge/u-badge.vue +1 -1
- package/uview-plus/components/u-button/u-button.vue +8 -8
- package/uview-plus/components/u-button-wu/_doc/changelog.md +6 -0
- package/uview-plus/components/u-button-wu/_doc/package.json +89 -0
- package/uview-plus/components/u-button-wu/_doc/readme.md +16 -0
- package/uview-plus/components/u-button-wu/u-button-wu.vue +522 -0
- package/uview-plus/components/u-button-wu/vue.scss +81 -0
- package/uview-plus/components/u-calendar/u-calendar.vue +5 -6
- package/uview-plus/components/u-calendar-wu/_doc/changelog.md +145 -0
- package/uview-plus/components/u-calendar-wu/_doc/package.json +90 -0
- package/uview-plus/components/u-calendar-wu/_doc/readme.md +16 -0
- package/uview-plus/components/u-calendar-wu/calendar.js +664 -0
- package/uview-plus/components/u-calendar-wu/i18n/en.json +14 -0
- package/uview-plus/components/u-calendar-wu/i18n/index.js +8 -0
- package/uview-plus/components/u-calendar-wu/i18n/zh-Hans.json +14 -0
- package/uview-plus/components/u-calendar-wu/i18n/zh-Hant.json +14 -0
- package/uview-plus/components/u-calendar-wu/props.js +166 -0
- package/uview-plus/components/u-calendar-wu/style.css +196 -0
- package/uview-plus/components/u-calendar-wu/u-calendar-wu.vue +921 -0
- package/uview-plus/components/u-calendar-wu/util.js +552 -0
- package/uview-plus/components/u-calendar-wu/wu-calendar-block/props.js +73 -0
- package/uview-plus/components/u-calendar-wu/wu-calendar-block/wu-calendar-block.vue +122 -0
- package/uview-plus/components/u-calendar-wu/wu-calendar-item/props.js +55 -0
- package/uview-plus/components/u-calendar-wu/wu-calendar-item/wu-calendar-item.vue +293 -0
- package/uview-plus/components/u-car-keyboard/u-car-keyboard.vue +2 -2
- package/uview-plus/components/u-card/u-card.vue +139 -3
- package/uview-plus/components/u-cell/_doc/changelog.md +6 -0
- package/uview-plus/components/u-cell/_doc/package.json +89 -0
- package/uview-plus/components/u-cell/_doc/readme.md +25 -0
- package/uview-plus/components/u-cell/u-cell.vue +4 -4
- package/uview-plus/components/u-cell-group/u-cell-group.vue +2 -2
- package/uview-plus/components/u-checkbox/_doc/changelog.md +8 -0
- package/uview-plus/components/u-checkbox/_doc/package.json +88 -0
- package/uview-plus/components/u-checkbox/_doc/readme.md +25 -0
- package/uview-plus/components/u-checkbox/u-checkbox.vue +4 -4
- package/uview-plus/components/u-checkbox-group/u-checkbox-group.vue +1 -1
- package/uview-plus/components/u-code/_doc/changelog.md +6 -0
- package/uview-plus/components/u-code/_doc/package.json +86 -0
- package/uview-plus/components/u-code/_doc/readme.md +16 -0
- package/uview-plus/components/u-code/u-code.vue +1 -1
- package/uview-plus/components/u-code-input/u-code-input.vue +1 -1
- package/uview-plus/components/u-col/u-col.vue +1 -1
- package/uview-plus/components/u-collapse/u-collapse.vue +2 -2
- package/uview-plus/components/u-collapse-item/u-collapse-item.vue +218 -3
- package/uview-plus/components/u-column-notice/u-column-notice.vue +3 -3
- package/uview-plus/components/u-count-down/u-count-down.vue +1 -1
- package/uview-plus/components/u-count-to/u-count-to.vue +1 -1
- package/uview-plus/components/u-datetime-picker/u-datetime-picker.vue +3 -3
- package/uview-plus/components/u-divider/u-divider.vue +3 -3
- package/uview-plus/components/u-drag-sort/_doc/changelog.md +0 -0
- package/uview-plus/components/u-drag-sort/_doc/package.json +85 -0
- package/uview-plus/components/u-drag-sort/_doc/readme.md +16 -0
- package/uview-plus/components/u-drag-sort/u-drag-sort.vue +3 -0
- package/uview-plus/components/u-dropdown/u-dropdown.vue +3 -3
- package/uview-plus/components/u-dropdown-item/u-dropdown-item.vue +1 -1
- package/uview-plus/components/u-empty/u-empty.vue +30 -4
- package/uview-plus/components/u-form-item/u-form-item.vue +4 -4
- package/uview-plus/components/u-gap/_doc/changelog.md +4 -0
- package/uview-plus/components/u-gap/_doc/package.json +86 -0
- package/uview-plus/components/u-gap/_doc/readme.md +22 -0
- package/uview-plus/components/u-gap/u-gap.vue +1 -1
- package/uview-plus/components/u-grid/u-grid.vue +1 -1
- package/uview-plus/components/u-grid-item/u-grid-item.vue +1 -1
- package/uview-plus/components/u-icon/_doc/changelog.md +10 -0
- package/uview-plus/components/u-icon/_doc/package.json +85 -0
- package/uview-plus/components/u-icon/_doc/readme.md +10 -0
- package/uview-plus/components/u-icon/icon.js +23 -25
- package/uview-plus/components/u-icon/icons.js +213 -213
- package/uview-plus/components/u-icon/style.css +3 -3
- package/uview-plus/components/u-icon/u-icon.vue +1 -1
- package/uview-plus/components/u-icon/u-icon2.vue +149 -0
- package/uview-plus/components/u-image/u-image.vue +5 -5
- package/uview-plus/components/u-image-wu/_doc/changelog.md +21 -0
- package/uview-plus/components/u-image-wu/_doc/package.json +88 -0
- package/uview-plus/components/u-image-wu/_doc/readme.md +11 -0
- package/uview-plus/components/u-image-wu/props.js +94 -0
- package/uview-plus/components/u-image-wu/u-image-wu.vue +243 -0
- package/uview-plus/components/u-index-anchor/u-index-anchor.vue +1 -1
- package/uview-plus/components/u-index-list/u-index-list.vue +2 -2
- package/uview-plus/components/u-input/_doc/changelog.md +6 -0
- package/uview-plus/components/u-input/_doc/package.json +88 -0
- package/uview-plus/components/u-input/_doc/readme.md +16 -0
- package/uview-plus/components/u-input/u-input.vue +4 -4
- package/uview-plus/components/u-keyboard/u-keyboard.vue +6 -6
- package/uview-plus/components/u-lazy-load/u-lazy-load.vue +257 -3
- package/uview-plus/components/u-line/_doc/changelog.md +8 -0
- package/uview-plus/components/u-line/_doc/package.json +86 -0
- package/uview-plus/components/u-line/_doc/readme.md +16 -0
- package/uview-plus/components/u-line/u-line.vue +1 -1
- package/uview-plus/components/u-line-progress/u-line-progress.vue +1 -1
- package/uview-plus/components/u-link/_doc/changelog.md +8 -0
- package/uview-plus/components/u-link/_doc/package.json +86 -0
- package/uview-plus/components/u-link/_doc/readme.md +20 -0
- package/uview-plus/components/u-link/u-link.vue +1 -1
- package/uview-plus/components/u-list/u-list.vue +1 -1
- package/uview-plus/components/u-list-item/u-list-item.vue +1 -1
- package/uview-plus/components/u-loading-icon/_doc/changelog.md +12 -0
- package/uview-plus/components/u-loading-icon/_doc/package.json +86 -0
- package/uview-plus/components/u-loading-icon/_doc/readme.md +16 -0
- package/uview-plus/components/u-loading-icon/props.js +1 -1
- package/uview-plus/components/u-loading-icon/u-loading-icon.vue +191 -3
- package/uview-plus/components/u-loading-page/u-loading-page.vue +4 -4
- package/uview-plus/components/u-loadmore/u-loadmore.vue +4 -4
- package/uview-plus/components/u-mask/u-mask.vue +120 -113
- package/uview-plus/components/u-message-input/u-message-input.vue +1 -1
- package/uview-plus/components/u-modal/u-modal.vue +6 -6
- package/uview-plus/components/u-navbar/_doc/changelog.md +6 -0
- package/uview-plus/components/u-navbar/_doc/package.json +89 -0
- package/uview-plus/components/u-navbar/_doc/readme.md +16 -0
- package/uview-plus/components/u-navbar/u-navbar.vue +4 -4
- package/uview-plus/components/u-navbar-mini/u-navbar-mini.vue +2 -2
- package/uview-plus/components/u-navbar-wu/props.js +102 -0
- package/uview-plus/components/u-navbar-wu/u-navbar-wu.vue +196 -0
- package/uview-plus/components/u-no-network/u-no-network.vue +5 -5
- package/uview-plus/components/u-notice-bar/u-notice-bar.vue +5 -5
- package/uview-plus/components/u-notify/u-notify.vue +6 -6
- package/uview-plus/components/u-number-box/_doc/changelog.md +19 -0
- package/uview-plus/components/u-number-box/_doc/package.json +88 -0
- package/uview-plus/components/u-number-box/_doc/readme.md +16 -0
- package/uview-plus/components/u-number-box/u-number-box.vue +9 -3
- package/uview-plus/components/u-number-keyboard/u-number-keyboard.vue +1 -1
- package/uview-plus/components/u-overlay/_doc/changelog.md +4 -0
- package/uview-plus/components/u-overlay/_doc/package.json +88 -0
- package/uview-plus/components/u-overlay/_doc/readme.md +16 -0
- package/uview-plus/components/u-overlay/u-overlay.vue +3 -3
- package/uview-plus/components/u-picker/u-picker.vue +5 -5
- package/uview-plus/components/u-popup/_doc/changelog.md +4 -0
- package/uview-plus/components/u-popup/_doc/package.json +92 -0
- package/uview-plus/components/u-popup/_doc/readme.md +16 -0
- package/uview-plus/components/u-popup/u-popup.vue +8 -8
- package/uview-plus/components/u-popup-wu/keypress.js +45 -0
- package/uview-plus/components/u-popup-wu/u-popup-wu.vue +519 -0
- package/uview-plus/components/u-radio/_doc/changelog.md +6 -0
- package/uview-plus/components/u-radio/_doc/package.json +88 -0
- package/uview-plus/components/u-radio/_doc/readme.md +25 -0
- package/uview-plus/components/u-radio/u-radio.vue +4 -4
- package/uview-plus/components/u-radio-group/u-radio-group.vue +1 -1
- package/uview-plus/components/u-rate/u-rate.vue +5 -5
- package/uview-plus/components/u-read-more/u-read-more.vue +126 -3
- package/uview-plus/components/u-row/_doc/changelog.md +8 -0
- package/uview-plus/components/u-row/_doc/package.json +86 -0
- package/uview-plus/components/u-row/_doc/readme.md +16 -0
- package/uview-plus/components/u-row/u-row.vue +1 -1
- package/uview-plus/components/u-row-notice/u-row-notice.vue +3 -3
- package/uview-plus/components/u-safe-bottom/_doc/changelog.md +6 -0
- package/uview-plus/components/u-safe-bottom/_doc/package.json +86 -0
- package/uview-plus/components/u-safe-bottom/_doc/readme.md +16 -0
- package/uview-plus/components/u-safe-bottom/u-safe-bottom.vue +48 -3
- package/uview-plus/components/u-search/u-search.vue +4 -4
- package/uview-plus/components/u-select/u-select.vue +175 -3
- package/uview-plus/components/u-skeleton/u-skeleton.vue +3 -3
- package/uview-plus/components/u-sku-wu/_doc/changelog.md +27 -0
- package/uview-plus/components/u-sku-wu/_doc/package.json +93 -0
- package/uview-plus/components/u-sku-wu/_doc/readme.md +16 -0
- package/uview-plus/components/u-sku-wu/props.js +86 -0
- package/uview-plus/components/u-sku-wu/style.css +271 -0
- package/uview-plus/components/u-sku-wu/u-sku-wu.vue +864 -0
- package/uview-plus/components/u-status-bar/_doc/changelog.md +4 -0
- package/uview-plus/components/u-status-bar/_doc/package.json +86 -0
- package/uview-plus/components/u-status-bar/_doc/readme.md +16 -0
- package/uview-plus/components/u-status-bar/u-status-bar.vue +1 -1
- package/uview-plus/components/u-steps/u-steps.vue +1 -1
- package/uview-plus/components/u-steps-item/u-steps-item.vue +7 -7
- package/uview-plus/components/u-sticky/u-sticky.vue +1 -1
- package/uview-plus/components/u-subsection/u-subsection.vue +1 -1
- package/uview-plus/components/u-swipe-action/u-swipe-action.vue +1 -1
- package/uview-plus/components/u-swipe-action-item/u-swipe-action-item.vue +3 -3
- package/uview-plus/components/u-swiper/u-swiper.vue +1 -1
- package/uview-plus/components/u-swiper-indicator/u-swiper-indicator.vue +1 -1
- package/uview-plus/components/u-switch/u-switch.vue +2 -2
- package/uview-plus/components/u-tabbar/u-tabbar.vue +2 -2
- package/uview-plus/components/u-tabbar-item/u-tabbar-item.vue +9 -4
- package/uview-plus/components/u-table/u-table.vue +1 -1
- package/uview-plus/components/u-tabs/u-tabs.vue +3 -3
- package/uview-plus/components/u-tag/u-tag.vue +5 -5
- package/uview-plus/components/u-text/_doc/changelog.md +10 -0
- package/uview-plus/components/u-text/_doc/package.json +89 -0
- package/uview-plus/components/u-text/_doc/readme.md +20 -0
- package/uview-plus/components/u-text/u-text.vue +159 -3
- package/uview-plus/components/u-textarea/_doc/changelog.md +6 -0
- package/uview-plus/components/u-textarea/_doc/package.json +86 -0
- package/uview-plus/components/u-textarea/_doc/readme.md +25 -0
- package/uview-plus/components/u-toast/u-toast.vue +8 -8
- package/uview-plus/components/u-tooltip/u-tooltip.vue +6 -6
- package/uview-plus/components/u-transition/_doc/changelog.md +14 -0
- package/uview-plus/components/u-transition/_doc/package.json +86 -0
- package/uview-plus/components/u-transition/_doc/readme.md +16 -0
- package/uview-plus/components/u-transition-wu/createAnimation.js +148 -0
- package/uview-plus/components/u-transition-wu/props.js +32 -0
- package/uview-plus/components/u-transition-wu/u-transition.vue +300 -0
- package/uview-plus/components/u-upload/u-upload.vue +10 -10
- package/uview-plus/components/u-verification-code/u-verification-code.vue +161 -0
- package/uview-plus/components/u-waterfall/u-waterfall.vue +221 -3
- package/uview-plus/index.js +109 -94
- package/uview-plus/libs/config/config.js +46 -48
- package/uview-plus/libs/css/color.scss +32 -311
- package/uview-plus/libs/css/components-wu.scss +30 -0
- package/uview-plus/libs/css/vue.scss +10 -10
- package/uview-plus/libs/ctocode/index.js +120 -0
- package/uview-plus/libs/function/calc.js +61 -55
- package/uview-plus/libs/function/color/color-convert/CHANGELOG.md +54 -0
- package/uview-plus/libs/function/color/color-convert/LICENSE +21 -0
- package/uview-plus/libs/function/color/color-convert/README.md +68 -0
- package/uview-plus/libs/function/color/color-convert/conversions.js +839 -0
- package/uview-plus/libs/function/color/color-convert/index.js +81 -0
- package/uview-plus/libs/function/color/color-convert/package.json +48 -0
- package/uview-plus/libs/function/color/color-convert/route.js +97 -0
- package/uview-plus/libs/function/color/color-name/LICENSE +8 -0
- package/uview-plus/libs/function/color/color-name/README.md +11 -0
- package/uview-plus/libs/function/color/color-name/index.js +152 -0
- package/uview-plus/libs/function/color/color-name/package.json +28 -0
- package/uview-plus/libs/function/color/color-string/LICENSE +21 -0
- package/uview-plus/libs/function/color/color-string/README.md +62 -0
- package/uview-plus/libs/function/color/color-string/index.js +244 -0
- package/uview-plus/libs/function/color/color-string/package.json +39 -0
- package/uview-plus/libs/function/color/color.js +496 -0
- package/uview-plus/libs/function/color/index.js +158 -0
- package/uview-plus/libs/function/color/is-arrayish/LICENSE +21 -0
- package/uview-plus/libs/function/color/is-arrayish/README.md +16 -0
- package/uview-plus/libs/function/color/is-arrayish/index.js +9 -0
- package/uview-plus/libs/function/color/is-arrayish/package.json +45 -0
- package/uview-plus/libs/function/color/is-arrayish/yarn-error.log +1443 -0
- package/uview-plus/libs/function/color/simple-swizzle/LICENSE +21 -0
- package/uview-plus/libs/function/color/simple-swizzle/README.md +39 -0
- package/uview-plus/libs/function/color/simple-swizzle/index.js +29 -0
- package/uview-plus/libs/function/color/simple-swizzle/package.json +36 -0
- package/uview-plus/libs/function/colorGradient.js +108 -106
- package/uview-plus/libs/function/debounce.js +17 -17
- package/uview-plus/libs/function/digit.js +1 -3
- package/uview-plus/libs/function/http.js +3 -3
- package/uview-plus/libs/function/index-wu.js +198 -0
- package/uview-plus/libs/function/index.js +579 -566
- package/uview-plus/libs/function/platform.js +18 -18
- package/uview-plus/libs/function/test.js +135 -137
- package/uview-plus/libs/function/throttle.js +17 -17
- package/uview-plus/libs/luch-request/core/Request.js +199 -199
- package/uview-plus/libs/mixin/mpMixin.js +1 -0
- package/uview-plus/libs/mixin/openType.js +33 -0
- package/uview-plus/libs/util/async-validator.js +1343 -1343
- package/uview-plus/libs/util/dayjs.js +404 -0
- package/uview-plus/libs/util/route.js +101 -105
- package/uview-plus/package-wu-tool.json +84 -0
- package/uview-plus/package-wu.json +112 -0
- package/uview-plus/package.json +106 -95
- package/uview-plus/readme-wu.md +148 -0
- package/uview-ui/index.js +51 -52
- package/plugins/uni-upgrade.js +0 -294
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view class="fui-timeaxis-item">
|
|
3
|
+
<slot name="content"></slot>
|
|
4
|
+
<view class="fui-timeaxis-node" :style="{ backgroundColor: backgroundColor }">
|
|
5
|
+
<slot name="node"></slot>
|
|
6
|
+
</view>
|
|
7
|
+
</view>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script>
|
|
11
|
+
export default {
|
|
12
|
+
name: 'fuiTimeaxisItem',
|
|
13
|
+
props: {
|
|
14
|
+
//节点背景色
|
|
15
|
+
backgroundColor: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: '#fafafa'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
data() {
|
|
21
|
+
return {};
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<style scoped>
|
|
27
|
+
.fui-timeaxis-item {
|
|
28
|
+
position: relative;
|
|
29
|
+
width: 100%;
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
margin-bottom: 25px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.fui-timeaxis-node {
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 0;
|
|
38
|
+
left: -20px;
|
|
39
|
+
transform-origin: 0;
|
|
40
|
+
transform: translateX(-50%);
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
z-index: 99;
|
|
45
|
+
background-color: #fafafa;
|
|
46
|
+
font-size: 24rpx;
|
|
47
|
+
}
|
|
48
|
+
</style>
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<block v-if="position == 'top'">
|
|
3
|
+
<view class="fui-tips-class fui-toptips" :class="['fui-' + type, show ? 'fui-top-show' : '']">{{ msg }}</view>
|
|
4
|
+
</block>
|
|
5
|
+
<block v-else>
|
|
6
|
+
<view
|
|
7
|
+
class="fui-tips-class fui-toast"
|
|
8
|
+
:class="[position == 'center' ? 'fui-centertips' : 'fui-bottomtips', show ? 'fui-toast-show' : '']"
|
|
9
|
+
>
|
|
10
|
+
<view class="fui-tips-content" :class="['fui-' + type]">
|
|
11
|
+
{{ msg }}
|
|
12
|
+
</view>
|
|
13
|
+
</view>
|
|
14
|
+
</block>
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<script>
|
|
18
|
+
export default {
|
|
19
|
+
name: 'fuiTips',
|
|
20
|
+
props: {
|
|
21
|
+
//top bottom center
|
|
22
|
+
position: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: 'top'
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
data() {
|
|
28
|
+
return {
|
|
29
|
+
timer: null,
|
|
30
|
+
show: false,
|
|
31
|
+
msg: '无法连接到服务器~',
|
|
32
|
+
//translucent,primary,green,warning,danger
|
|
33
|
+
type: 'translucent'
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
methods: {
|
|
37
|
+
showTips(options) {
|
|
38
|
+
const { type = 'translucent', duration = 2000 } = options;
|
|
39
|
+
clearTimeout(this.timer);
|
|
40
|
+
this.show = true;
|
|
41
|
+
// this.duration = duration < 2000 ? 2000 : duration;
|
|
42
|
+
this.type = type;
|
|
43
|
+
this.msg = options.msg;
|
|
44
|
+
this.timer = setTimeout(() => {
|
|
45
|
+
this.show = false;
|
|
46
|
+
clearTimeout(this.timer);
|
|
47
|
+
this.timer = null;
|
|
48
|
+
}, duration);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
</script>
|
|
53
|
+
|
|
54
|
+
<style scoped>
|
|
55
|
+
/*顶部消息提醒 start*/
|
|
56
|
+
.fui-toptips {
|
|
57
|
+
width: 100%;
|
|
58
|
+
padding: 18rpx 30rpx;
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
position: fixed;
|
|
61
|
+
z-index: 9999;
|
|
62
|
+
color: #fff;
|
|
63
|
+
font-size: 30rpx;
|
|
64
|
+
left: 0;
|
|
65
|
+
top: 0;
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
word-break: break-all;
|
|
70
|
+
opacity: 0;
|
|
71
|
+
transform: translateZ(0) translateY(-100%);
|
|
72
|
+
transition: all 0.3s ease-in-out;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.fui-top-show {
|
|
76
|
+
transform: translateZ(0) translateY(0);
|
|
77
|
+
opacity: 1;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/*顶部消息提醒 end*/
|
|
81
|
+
|
|
82
|
+
/*toast消息提醒 start*/
|
|
83
|
+
|
|
84
|
+
/*注意问题:
|
|
85
|
+
1、fixed 元素宽度无法自适应,所以增加了子元素
|
|
86
|
+
2、fixed 和 display冲突导致动画效果消失,暂时使用visibility替代
|
|
87
|
+
*/
|
|
88
|
+
.fui-toast {
|
|
89
|
+
width: 80%;
|
|
90
|
+
box-sizing: border-box;
|
|
91
|
+
color: #fff;
|
|
92
|
+
font-size: 28rpx;
|
|
93
|
+
position: fixed;
|
|
94
|
+
visibility: hidden;
|
|
95
|
+
opacity: 0;
|
|
96
|
+
left: 50%;
|
|
97
|
+
transition: all 0.3s ease-in-out;
|
|
98
|
+
z-index: 9999;
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.fui-toast-show {
|
|
105
|
+
visibility: visible;
|
|
106
|
+
opacity: 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.fui-tips-content {
|
|
110
|
+
word-wrap: break-word;
|
|
111
|
+
word-break: break-all;
|
|
112
|
+
border-radius: 8rpx;
|
|
113
|
+
padding: 18rpx 30rpx;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/*底部消息提醒 start*/
|
|
117
|
+
.fui-bottomtips {
|
|
118
|
+
bottom: 120rpx;
|
|
119
|
+
-webkit-transform: translateX(-50%);
|
|
120
|
+
transform: translateX(-50%);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/*底部消息提醒 end*/
|
|
124
|
+
|
|
125
|
+
/*居中消息提醒 start*/
|
|
126
|
+
.fui-centertips {
|
|
127
|
+
top: 50%;
|
|
128
|
+
-webkit-transform: translate(-50%, -50%);
|
|
129
|
+
transform: translate(-50%, -50%);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/*居中消息提醒 end*/
|
|
133
|
+
|
|
134
|
+
/*toast消息提醒 end*/
|
|
135
|
+
|
|
136
|
+
/*背景颜色 start*/
|
|
137
|
+
|
|
138
|
+
.fui-primary {
|
|
139
|
+
background-color: #5677fc;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.fui-green {
|
|
143
|
+
background-color: #19be6b;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.fui-warning {
|
|
147
|
+
background-color: #ff7900;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.fui-danger {
|
|
151
|
+
background-color: #ed3f14;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.fui-translucent {
|
|
155
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/*背景颜色 end*/
|
|
159
|
+
|
|
160
|
+
/*消息提醒 end*/
|
|
161
|
+
</style>
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view
|
|
3
|
+
class="fui-toast"
|
|
4
|
+
:class="[visible ? 'fui-toast-show' : '', content ? 'fui-toast-padding' : '', icon ? '' : 'fui-unicon-padding']"
|
|
5
|
+
:style="{ width: getWidth(icon, content) }"
|
|
6
|
+
>
|
|
7
|
+
<image :src="imgUrl" class="fui-toast-img" v-if="icon"></image>
|
|
8
|
+
<view class="fui-toast-text" :class="[icon ? '' : 'fui-unicon']">{{ title }}</view>
|
|
9
|
+
<view class="fui-toast-text fui-content-ptop" v-if="content && icon">{{ content }}</view>
|
|
10
|
+
</view>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
export default {
|
|
15
|
+
name: 'fuiToast',
|
|
16
|
+
props: {},
|
|
17
|
+
data() {
|
|
18
|
+
return {
|
|
19
|
+
timer: null,
|
|
20
|
+
//是否显示
|
|
21
|
+
visible: false,
|
|
22
|
+
//显示标题
|
|
23
|
+
title: '操作成功',
|
|
24
|
+
//显示内容
|
|
25
|
+
content: '',
|
|
26
|
+
//是否有icon
|
|
27
|
+
icon: false,
|
|
28
|
+
imgUrl: ''
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
methods: {
|
|
32
|
+
show(options) {
|
|
33
|
+
let { duration = 2000, icon = false } = options;
|
|
34
|
+
clearTimeout(this.timer);
|
|
35
|
+
this.visible = true;
|
|
36
|
+
this.title = options.title || '';
|
|
37
|
+
this.content = options.content || '';
|
|
38
|
+
this.icon = icon;
|
|
39
|
+
if (icon && options.imgUrl) {
|
|
40
|
+
this.imgUrl = options.imgUrl;
|
|
41
|
+
}
|
|
42
|
+
this.timer = setTimeout(() => {
|
|
43
|
+
this.visible = false;
|
|
44
|
+
clearTimeout(this.timer);
|
|
45
|
+
this.timer = null;
|
|
46
|
+
}, duration);
|
|
47
|
+
},
|
|
48
|
+
getWidth(icon, content) {
|
|
49
|
+
let width = 'auto';
|
|
50
|
+
if (icon) {
|
|
51
|
+
width = content ? '420rpx' : '360rpx';
|
|
52
|
+
}
|
|
53
|
+
return width;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
</script>
|
|
58
|
+
|
|
59
|
+
<style scoped>
|
|
60
|
+
.fui-toast {
|
|
61
|
+
background-color: rgba(0, 0, 0, 0.75);
|
|
62
|
+
border-radius: 10rpx;
|
|
63
|
+
position: fixed;
|
|
64
|
+
visibility: hidden;
|
|
65
|
+
opacity: 0;
|
|
66
|
+
left: 50%;
|
|
67
|
+
top: 48%;
|
|
68
|
+
-webkit-transform: translate(-50%, -50%);
|
|
69
|
+
transform: translate(-50%, -50%);
|
|
70
|
+
transition: 0.3s ease-in-out;
|
|
71
|
+
transition-property: opacity, visibility;
|
|
72
|
+
z-index: 9999;
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
padding: 60rpx 20rpx 54rpx 20rpx;
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.fui-toast-padding {
|
|
82
|
+
padding-top: 50rpx !important;
|
|
83
|
+
padding-bottom: 50rpx !important;
|
|
84
|
+
}
|
|
85
|
+
.fui-unicon-padding {
|
|
86
|
+
padding: 24rpx 40rpx !important;
|
|
87
|
+
word-break: break-all;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.fui-toast-show {
|
|
91
|
+
visibility: visible;
|
|
92
|
+
opacity: 1;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.fui-toast-img {
|
|
96
|
+
width: 120rpx;
|
|
97
|
+
height: 120rpx;
|
|
98
|
+
display: block;
|
|
99
|
+
margin-bottom: 28rpx;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.fui-toast-text {
|
|
103
|
+
font-size: 30rpx;
|
|
104
|
+
line-height: 30rpx;
|
|
105
|
+
font-weight: 400;
|
|
106
|
+
color: #fff;
|
|
107
|
+
text-align: center;
|
|
108
|
+
}
|
|
109
|
+
.fui-unicon {
|
|
110
|
+
line-height: 40rpx !important;
|
|
111
|
+
font-size: 32rpx !important;
|
|
112
|
+
}
|
|
113
|
+
.fui-content-ptop {
|
|
114
|
+
padding-top: 10rpx;
|
|
115
|
+
font-size: 26rpx !important;
|
|
116
|
+
}
|
|
117
|
+
</style>
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view>
|
|
3
|
+
<view
|
|
4
|
+
class="fui-top-dropdown fui-dropdown-box"
|
|
5
|
+
:class="[show ? 'fui-dropdown-show' : '']"
|
|
6
|
+
:style="{
|
|
7
|
+
height: height ? px(height) : 'auto',
|
|
8
|
+
width: width + 'vw',
|
|
9
|
+
left: left + 'vw',
|
|
10
|
+
'border-top-right-radius': topRadius ? px(topRadius) : 'auto',
|
|
11
|
+
'border-top-left-radius': topRadius ? px(topRadius) : 'auto',
|
|
12
|
+
backgroundColor: backgroundColor,
|
|
13
|
+
paddingBottom: px(paddingbtm),
|
|
14
|
+
transform: 'translateZ(0) translateY(' + (show ? px(translatey) : '-100%') + ')'
|
|
15
|
+
}"
|
|
16
|
+
>
|
|
17
|
+
<slot></slot>
|
|
18
|
+
</view>
|
|
19
|
+
<view
|
|
20
|
+
@touchmove.stop.prevent
|
|
21
|
+
class="fui-dropdown-mask"
|
|
22
|
+
:class="[mask && show ? 'fui-mask-show' : '']"
|
|
23
|
+
@tap="handleClose"
|
|
24
|
+
></view>
|
|
25
|
+
</view>
|
|
26
|
+
</template>
|
|
27
|
+
|
|
28
|
+
<script>
|
|
29
|
+
export default {
|
|
30
|
+
name: 'fuiTopDropdown',
|
|
31
|
+
data() {
|
|
32
|
+
return {
|
|
33
|
+
left: 0
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
props: {
|
|
37
|
+
//是否需要mask
|
|
38
|
+
mask: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: true
|
|
41
|
+
},
|
|
42
|
+
//控制显示
|
|
43
|
+
show: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false
|
|
46
|
+
},
|
|
47
|
+
//背景颜色
|
|
48
|
+
backgroundColor: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: '#f2f2f2'
|
|
51
|
+
},
|
|
52
|
+
//padding-bottom rpx
|
|
53
|
+
paddingbtm: {
|
|
54
|
+
type: Number,
|
|
55
|
+
default: 0
|
|
56
|
+
},
|
|
57
|
+
//高度 rpx
|
|
58
|
+
height: {
|
|
59
|
+
type: Number,
|
|
60
|
+
default: 580
|
|
61
|
+
},
|
|
62
|
+
//高度 vw
|
|
63
|
+
width: {
|
|
64
|
+
type: Number,
|
|
65
|
+
default: 100
|
|
66
|
+
},
|
|
67
|
+
topRadius: {
|
|
68
|
+
type: Number,
|
|
69
|
+
default: 0
|
|
70
|
+
},
|
|
71
|
+
//移动距离 需要计算
|
|
72
|
+
translatey: {
|
|
73
|
+
type: Number,
|
|
74
|
+
default: 0
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
created() {
|
|
78
|
+
this.left = (100 - this.width) / 2;
|
|
79
|
+
},
|
|
80
|
+
methods: {
|
|
81
|
+
handleClose() {
|
|
82
|
+
if (!this.show) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
this.$emit('close', {});
|
|
86
|
+
},
|
|
87
|
+
px(num) {
|
|
88
|
+
return uni.upx2px(num) + 'px';
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
</script>
|
|
93
|
+
|
|
94
|
+
<style scoped>
|
|
95
|
+
.fui-dropdown-box {
|
|
96
|
+
position: fixed;
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
border-bottom-right-radius: 24rpx;
|
|
99
|
+
border-bottom-left-radius: 24rpx;
|
|
100
|
+
transform: translateZ(0);
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
/* visibility: hidden; */
|
|
103
|
+
transition: all 0.3s ease-in-out;
|
|
104
|
+
z-index: 996;
|
|
105
|
+
top: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.fui-dropdown-show {
|
|
109
|
+
/* visibility: visible; */
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.fui-dropdown-mask {
|
|
113
|
+
position: fixed;
|
|
114
|
+
top: 0;
|
|
115
|
+
left: 0;
|
|
116
|
+
right: 0;
|
|
117
|
+
bottom: 0;
|
|
118
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
119
|
+
z-index: 986;
|
|
120
|
+
transition: all 0.3s ease-in-out;
|
|
121
|
+
opacity: 0;
|
|
122
|
+
visibility: hidden;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.fui-mask-show {
|
|
126
|
+
opacity: 1;
|
|
127
|
+
visibility: visible;
|
|
128
|
+
}
|
|
129
|
+
</style>
|