@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,196 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view class="u-navbar">
|
|
3
|
+
<view
|
|
4
|
+
class="u-navbar__placeholder"
|
|
5
|
+
v-if="fixed && placeholder"
|
|
6
|
+
:style="{
|
|
7
|
+
height: addUnit(getPx(height) + sys().statusBarHeight, 'px')
|
|
8
|
+
}"
|
|
9
|
+
></view>
|
|
10
|
+
<view :class="[fixed && 'u-navbar--fixed']" :style="fixed && `top: ${keyboardHeight || '0rpx'}`">
|
|
11
|
+
<up-status-bar v-if="safeAreaInsetTop" :bgColor="bgColor"></up-status-bar>
|
|
12
|
+
<view
|
|
13
|
+
class="u-navbar__content"
|
|
14
|
+
:class="[border && 'u-border-bottom']"
|
|
15
|
+
:style="{
|
|
16
|
+
height: addUnit(height),
|
|
17
|
+
background: bgColor
|
|
18
|
+
}"
|
|
19
|
+
>
|
|
20
|
+
<view
|
|
21
|
+
v-if="showLeft"
|
|
22
|
+
class="u-navbar__content__left"
|
|
23
|
+
hover-class="u-navbar__content__left--hover"
|
|
24
|
+
hover-start-time="150"
|
|
25
|
+
@tap="leftClick"
|
|
26
|
+
>
|
|
27
|
+
<slot name="left">
|
|
28
|
+
<up-icon v-if="leftIcon" :name="leftIcon" :size="leftIconSize" :color="leftIconColor"></up-icon>
|
|
29
|
+
<text
|
|
30
|
+
v-if="leftText"
|
|
31
|
+
:style="{
|
|
32
|
+
color: leftIconColor
|
|
33
|
+
}"
|
|
34
|
+
class="u-navbar__content__left__text"
|
|
35
|
+
>
|
|
36
|
+
{{ leftText }}
|
|
37
|
+
</text>
|
|
38
|
+
</slot>
|
|
39
|
+
</view>
|
|
40
|
+
<slot name="center">
|
|
41
|
+
<text
|
|
42
|
+
class="u-line-1 u-navbar__content__title"
|
|
43
|
+
:style="[
|
|
44
|
+
{
|
|
45
|
+
width: addUnit(titleWidth)
|
|
46
|
+
},
|
|
47
|
+
addStyle(titleStyle)
|
|
48
|
+
]"
|
|
49
|
+
>
|
|
50
|
+
{{ title }}
|
|
51
|
+
</text>
|
|
52
|
+
</slot>
|
|
53
|
+
<view class="u-navbar__content__right" :style="{ right: mpCapsuleRightPosition }" @tap="rightClick">
|
|
54
|
+
<slot name="right">
|
|
55
|
+
<up-icon v-if="rightIcon" :name="rightIcon" size="20"></up-icon>
|
|
56
|
+
<text v-if="rightText" class="u-navbar__content__right__text">{{ rightText }}</text>
|
|
57
|
+
</slot>
|
|
58
|
+
</view>
|
|
59
|
+
</view>
|
|
60
|
+
</view>
|
|
61
|
+
</view>
|
|
62
|
+
</template>
|
|
63
|
+
|
|
64
|
+
<script>
|
|
65
|
+
import { mpMixin } from '../../libs/mixin/mpMixin';
|
|
66
|
+
import { mixin } from '../../libs/mixin/mixin';
|
|
67
|
+
import props from './props.js';
|
|
68
|
+
/**
|
|
69
|
+
* Navbar 自定义导航栏
|
|
70
|
+
* @description 此组件一般用于在特殊情况下,需要自定义导航栏的时候用到,自动状态栏高度、小程序胶囊预留位置等,一般建议使用uni-app带的导航栏。
|
|
71
|
+
* @tutorial https://ijry.github.io/uview-plus/components/navbar.html
|
|
72
|
+
* @property {Boolean} safeAreaInsetTop 是否开启顶部安全区适配 (默认 true )
|
|
73
|
+
* @property {Boolean} placeholder 固定在顶部时,是否生成一个等高元素,以防止塌陷 (默认 false )
|
|
74
|
+
* @property {Boolean} fixed 导航栏是否固定在顶部 (默认 false )
|
|
75
|
+
* @property {Boolean} border 导航栏底部是否显示下边框 (默认 false )
|
|
76
|
+
* @property {Boolean} showLeft 是否显示左边(默认 true )
|
|
77
|
+
* @property {String} mpRightReserveCapsule 小程序端导航栏右侧是否预留胶囊位置 (默认true)
|
|
78
|
+
* @property {String} leftIcon 左边返回图标的名称,只能为u-ui自带的图标 (默认 'arrow-left' )
|
|
79
|
+
* @property {String} leftText 左边的提示文字
|
|
80
|
+
* @property {String} rightText 右边的提示文字
|
|
81
|
+
* @property {String} rightIcon 右边返回图标的名称,只能为uView自带的图标
|
|
82
|
+
* @property {String} title 导航栏标题,如设置为空字符,将会隐藏标题占位区域
|
|
83
|
+
* @property {String} bgColor 导航栏背景设置 (默认 '#ffffff' )
|
|
84
|
+
* @property {String | Number} titleWidth 导航栏标题的最大宽度,内容超出会以省略号隐藏 (默认 '400rpx' )
|
|
85
|
+
* @property {String | Number} height 导航栏高度(不包括状态栏高度在内,内部自动加上)(默认 '44px' )
|
|
86
|
+
* @property {String | Number} leftIconSize 左侧返回图标的大小(默认 20px )
|
|
87
|
+
* @property {String | Number} leftIconColor 左侧返回图标的颜色(默认 #303133 )
|
|
88
|
+
* @property {Boolean} autoBack 点击左侧区域(返回图标),是否自动返回上一页(默认 false )
|
|
89
|
+
* @property {Object | String} titleStyle 标题的样式,对象或字符串
|
|
90
|
+
* @property {Boolean} keyboardHeight 键盘高度,请在input、textarea等输入框定期页面时通过聚焦、失焦事件的e.detail.height并传给keyboardHeight即可,避免因页面顶起导致的导航栏消失
|
|
91
|
+
* @event {Function} leftClick 点击左侧区域
|
|
92
|
+
* @event {Function} rightClick 点击右侧区域
|
|
93
|
+
* @example <up-navbar title="酒尚余温,入口不识乾坤" left-text="返回" right-text="帮助" @click-left="onClickBack" @click-right="onClickRight"></up-navbar>
|
|
94
|
+
*/
|
|
95
|
+
export default {
|
|
96
|
+
name: 'u-navbar',
|
|
97
|
+
emits: ['leftClick', 'rightClick'],
|
|
98
|
+
mixins: [mpMixin, mixin, props],
|
|
99
|
+
data() {
|
|
100
|
+
return {
|
|
101
|
+
// 固定时的Top
|
|
102
|
+
fixedTop: '0px'
|
|
103
|
+
};
|
|
104
|
+
},
|
|
105
|
+
methods: {
|
|
106
|
+
// 点击左侧区域
|
|
107
|
+
leftClick() {
|
|
108
|
+
// 如果配置了autoBack,自动返回上一页
|
|
109
|
+
this.$emit('leftClick');
|
|
110
|
+
if (this.autoBack) {
|
|
111
|
+
uni.navigateBack();
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
// 点击右侧区域
|
|
115
|
+
rightClick() {
|
|
116
|
+
this.$emit('rightClick');
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
computed: {
|
|
120
|
+
// 小程序胶囊右侧所在位置 仅在小程序端且 mpRightReserveCapsule 为 true 是预留胶囊位置
|
|
121
|
+
mpCapsuleRightPosition() {
|
|
122
|
+
//#ifdef MP
|
|
123
|
+
if (this.mpRightReserveCapsule) {
|
|
124
|
+
return addUnit(uni.getMenuButtonBoundingClientRect().width + 2);
|
|
125
|
+
} else {
|
|
126
|
+
return 0;
|
|
127
|
+
}
|
|
128
|
+
// #endif
|
|
129
|
+
// #ifndef MP
|
|
130
|
+
return 0;
|
|
131
|
+
// #endif
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
</script>
|
|
136
|
+
|
|
137
|
+
<style lang="scss" scoped>
|
|
138
|
+
@import '../../libs/css/components.scss';
|
|
139
|
+
@import '../../theme.scss';
|
|
140
|
+
|
|
141
|
+
.u-navbar {
|
|
142
|
+
&--fixed {
|
|
143
|
+
position: fixed;
|
|
144
|
+
left: 0;
|
|
145
|
+
right: 0;
|
|
146
|
+
z-index: 11;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&__content {
|
|
150
|
+
@include flex(row);
|
|
151
|
+
align-items: center;
|
|
152
|
+
height: 44px;
|
|
153
|
+
background-color: #9acafc;
|
|
154
|
+
position: relative;
|
|
155
|
+
justify-content: center;
|
|
156
|
+
|
|
157
|
+
&__left,
|
|
158
|
+
&__right {
|
|
159
|
+
padding: 0 13px;
|
|
160
|
+
position: absolute;
|
|
161
|
+
top: 0;
|
|
162
|
+
bottom: 0;
|
|
163
|
+
@include flex(row);
|
|
164
|
+
align-items: center;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&__left {
|
|
168
|
+
left: 0;
|
|
169
|
+
|
|
170
|
+
&--hover {
|
|
171
|
+
opacity: 0.7;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&__text {
|
|
175
|
+
font-size: 15px;
|
|
176
|
+
margin-left: 3px;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&__title {
|
|
181
|
+
text-align: center;
|
|
182
|
+
font-size: 16px;
|
|
183
|
+
color: $u-main-color;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&__right {
|
|
187
|
+
right: 0;
|
|
188
|
+
|
|
189
|
+
&__text {
|
|
190
|
+
font-size: 15px;
|
|
191
|
+
margin-left: 3px;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<up-overlay
|
|
3
3
|
:show="!isConnected"
|
|
4
4
|
:zIndex="zIndex"
|
|
5
5
|
@touchmove.stop.prevent="noop"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
}"
|
|
11
11
|
>
|
|
12
12
|
<view class="u-no-network">
|
|
13
|
-
<
|
|
13
|
+
<up-icon :name="image" size="150" imgMode="widthFit" class="u-no-network__error-icon"></up-icon>
|
|
14
14
|
<text class="u-no-network__tips">{{ tips }}</text>
|
|
15
15
|
<!-- 只有APP平台,才能跳转设置页,因为需要调用plus环境 -->
|
|
16
16
|
<!-- #ifdef APP-PLUS -->
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
</view>
|
|
21
21
|
<!-- #endif -->
|
|
22
22
|
<view class="u-no-network__retry">
|
|
23
|
-
<
|
|
23
|
+
<up-button size="mini" text="重试" type="primary" plain @click="retry"></up-button>
|
|
24
24
|
</view>
|
|
25
25
|
</view>
|
|
26
|
-
</
|
|
26
|
+
</up-overlay>
|
|
27
27
|
</template>
|
|
28
28
|
<script>
|
|
29
29
|
import { props } from './props';
|
|
@@ -38,7 +38,7 @@ import { toast, getDeviceInfo } from '../../libs/function/index';
|
|
|
38
38
|
* @property {String | Number} zIndex 组件的z-index值
|
|
39
39
|
* @property {String} image 无网络的图片提示,可用的src地址或base64图片
|
|
40
40
|
* @event {Function} retry 用户点击页面的"重试"按钮时触发
|
|
41
|
-
* @example <
|
|
41
|
+
* @example <up-no-network></up-no-network>
|
|
42
42
|
*/
|
|
43
43
|
export default {
|
|
44
44
|
name: 'u-no-network',
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
]"
|
|
11
11
|
>
|
|
12
12
|
<template v-if="direction === 'column' || (direction === 'row' && step)">
|
|
13
|
-
<
|
|
13
|
+
<up-column-notice
|
|
14
14
|
:color="color"
|
|
15
15
|
:bgColor="bgColor"
|
|
16
16
|
:text="text"
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
:justifyContent="justifyContent"
|
|
24
24
|
@close="close"
|
|
25
25
|
@click="click"
|
|
26
|
-
></
|
|
26
|
+
></up-column-notice>
|
|
27
27
|
</template>
|
|
28
28
|
<template v-else>
|
|
29
|
-
<
|
|
29
|
+
<up-row-notice
|
|
30
30
|
:color="color"
|
|
31
31
|
:bgColor="bgColor"
|
|
32
32
|
:text="text"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
:icon="icon"
|
|
39
39
|
@close="close"
|
|
40
40
|
@click="click"
|
|
41
|
-
></
|
|
41
|
+
></up-row-notice>
|
|
42
42
|
</template>
|
|
43
43
|
</view>
|
|
44
44
|
</template>
|
|
@@ -69,7 +69,7 @@ import uColumnNotice from '../u-column-notice/u-column-notice.vue';
|
|
|
69
69
|
*
|
|
70
70
|
* @event {Function} click 点击通告文字触发
|
|
71
71
|
* @event {Function} close 点击右侧关闭图标触发
|
|
72
|
-
* @example <
|
|
72
|
+
* @example <up-notice-bar :more-icon="true" :list="list"></up-notice-bar>
|
|
73
73
|
*/
|
|
74
74
|
export default {
|
|
75
75
|
name: 'u-notice-bar',
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<up-transition mode="slide-down" :customStyle="containerStyle" :show="open">
|
|
3
3
|
<view class="u-notify" :class="[`u-notify--${tmpConfig.type}`]" :style="[backgroundColor, addStyle(customStyle)]">
|
|
4
|
-
<
|
|
4
|
+
<up-status-bar v-if="tmpConfig.safeAreaInsetTop"></up-status-bar>
|
|
5
5
|
<view class="u-notify__warpper">
|
|
6
6
|
<slot name="icon">
|
|
7
|
-
<
|
|
7
|
+
<up-icon
|
|
8
8
|
v-if="['success', 'warning', 'error'].includes(tmpConfig.type)"
|
|
9
9
|
:name="tmpConfig.icon"
|
|
10
10
|
:color="tmpConfig.color"
|
|
11
11
|
:size="1.3 * tmpConfig.fontSize"
|
|
12
12
|
:customStyle="{ marginRight: '4px' }"
|
|
13
|
-
></
|
|
13
|
+
></up-icon>
|
|
14
14
|
</slot>
|
|
15
15
|
<text
|
|
16
16
|
class="u-notify__warpper__text"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</text>
|
|
24
24
|
</view>
|
|
25
25
|
</view>
|
|
26
|
-
</
|
|
26
|
+
</up-transition>
|
|
27
27
|
</template>
|
|
28
28
|
<script>
|
|
29
29
|
import { props } from './props';
|
|
@@ -46,7 +46,7 @@ import { addUnit, addStyle, deepMerge } from '../../libs/function/index';
|
|
|
46
46
|
* @property {Object} customStyle 组件的样式,对象形式
|
|
47
47
|
* @event {Function} open 开启组件时调用的函数
|
|
48
48
|
* @event {Function} close 关闭组件式调用的函数
|
|
49
|
-
* @example <
|
|
49
|
+
* @example <up-notify message="Hi uView"></up-notify>
|
|
50
50
|
*/
|
|
51
51
|
export default {
|
|
52
52
|
name: 'u-notify',
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
## 1.0.8(2024-06-11)
|
|
2
|
+
修复通知事件不正确
|
|
3
|
+
## 1.0.7(2024-05-08)
|
|
4
|
+
更新域名
|
|
5
|
+
## 1.0.6(2023-09-11)
|
|
6
|
+
自定义事件声明
|
|
7
|
+
## 1.0.5(2023-08-30)
|
|
8
|
+
优化插槽位置
|
|
9
|
+
## 1.0.4(2023-08-30)
|
|
10
|
+
修复app vue环境下无法使用插槽的问题
|
|
11
|
+
## 1.0.3(2023-08-21)
|
|
12
|
+
更新文档说明
|
|
13
|
+
## 1.0.2(2023-08-10)
|
|
14
|
+
修复初始化bug
|
|
15
|
+
## 1.0.1(2023-08-10)
|
|
16
|
+
1. 修复v-model的bug
|
|
17
|
+
2. 修复链接依赖的bug
|
|
18
|
+
## 1.0.0(2023-08-10)
|
|
19
|
+
一般用于商城购物选择物品数量的场景,支持步长设置、异步变更、小数位显示、范围限制等。
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "u-number-box",
|
|
3
|
+
"displayName": "u-number-box 一般用于商城购物选择物品数量的场景,支持步长设置、异步变更、小数位显示、范围限制等。",
|
|
4
|
+
"version": "1.0.8",
|
|
5
|
+
"description": "u-number-box",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"u-number-box",
|
|
8
|
+
"u-ui",
|
|
9
|
+
"wuui",
|
|
10
|
+
"步进器",
|
|
11
|
+
"number-box"
|
|
12
|
+
],
|
|
13
|
+
"repository": "",
|
|
14
|
+
"engines": {
|
|
15
|
+
"HBuilderX": "^3.4.15"
|
|
16
|
+
},
|
|
17
|
+
"dcloudext": {
|
|
18
|
+
"type": "component-vue",
|
|
19
|
+
"sale": {
|
|
20
|
+
"regular": {
|
|
21
|
+
"price": "0.00"
|
|
22
|
+
},
|
|
23
|
+
"sourcecode": {
|
|
24
|
+
"price": "0.00"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"contact": {
|
|
28
|
+
"qq": ""
|
|
29
|
+
},
|
|
30
|
+
"declaration": {
|
|
31
|
+
"ads": "无",
|
|
32
|
+
"data": "插件不采集任何数据",
|
|
33
|
+
"permissions": "无"
|
|
34
|
+
},
|
|
35
|
+
"npmurl": ""
|
|
36
|
+
},
|
|
37
|
+
"uni_modules": {
|
|
38
|
+
"dependencies": [
|
|
39
|
+
"u-icon"
|
|
40
|
+
],
|
|
41
|
+
"encrypt": [],
|
|
42
|
+
"platforms": {
|
|
43
|
+
"cloud": {
|
|
44
|
+
"tcb": "y",
|
|
45
|
+
"aliyun": "y",
|
|
46
|
+
"alipay": "n"
|
|
47
|
+
},
|
|
48
|
+
"client": {
|
|
49
|
+
"Vue": {
|
|
50
|
+
"vue2": "y",
|
|
51
|
+
"vue3": "y"
|
|
52
|
+
},
|
|
53
|
+
"App": {
|
|
54
|
+
"app-vue": "y",
|
|
55
|
+
"app-nvue": "y"
|
|
56
|
+
},
|
|
57
|
+
"H5-mobile": {
|
|
58
|
+
"Safari": "y",
|
|
59
|
+
"Android Browser": "y",
|
|
60
|
+
"微信浏览器(Android)": "y",
|
|
61
|
+
"QQ浏览器(Android)": "y"
|
|
62
|
+
},
|
|
63
|
+
"H5-pc": {
|
|
64
|
+
"Chrome": "y",
|
|
65
|
+
"IE": "y",
|
|
66
|
+
"Edge": "y",
|
|
67
|
+
"Firefox": "y",
|
|
68
|
+
"Safari": "y"
|
|
69
|
+
},
|
|
70
|
+
"小程序": {
|
|
71
|
+
"微信": "y",
|
|
72
|
+
"阿里": "y",
|
|
73
|
+
"百度": "y",
|
|
74
|
+
"字节跳动": "y",
|
|
75
|
+
"QQ": "y",
|
|
76
|
+
"钉钉": "n",
|
|
77
|
+
"快手": "n",
|
|
78
|
+
"飞书": "n",
|
|
79
|
+
"京东": "n"
|
|
80
|
+
},
|
|
81
|
+
"快应用": {
|
|
82
|
+
"华为": "n",
|
|
83
|
+
"联盟": "n"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
## u-number-box 按钮
|
|
2
|
+
|
|
3
|
+
> **组件名:u-number-box**
|
|
4
|
+
|
|
5
|
+
该组件一般用于商城购物选择物品数量的场景,支持步长设置、异步变更、小数位显示、范围限制等。
|
|
6
|
+
|
|
7
|
+
## [查看文档](https://ijry.github.io/uview-plus/components/numberBox.html)
|
|
8
|
+
|
|
9
|
+
## [更多组件, 请查看 `u-ui` 组件库](https://ext.dcloud.net.cn/plugin?name=u--ui)
|
|
10
|
+
(请勿下载插件zip)
|
|
11
|
+
|
|
12
|
+
<a href="https://ext.dcloud.net.cn/plugin?name=u--ui">
|
|
13
|
+
<img src="https://wuui.cn/intr.png">
|
|
14
|
+
</a>
|
|
15
|
+
|
|
16
|
+
**如使用过程中有任何问题,或者您对u-ui有一些好的建议。<br>欢迎加入 [u-ui 交流群](https://ijry.github.io/uview-plus/components/qqFeedBack.html)**
|
|
@@ -20,7 +20,13 @@
|
|
|
20
20
|
:class="{ 'u-number-box__minus--disabled': isDisabled('minus') }"
|
|
21
21
|
:style="[buttonStyle('minus')]"
|
|
22
22
|
>
|
|
23
|
-
<
|
|
23
|
+
<up-icon
|
|
24
|
+
name="minus"
|
|
25
|
+
:color="isDisabled('minus') ? '#c8c9cc' : '#323233'"
|
|
26
|
+
size="15"
|
|
27
|
+
bold
|
|
28
|
+
:customStyle="iconStyle"
|
|
29
|
+
></up-icon>
|
|
24
30
|
</view>
|
|
25
31
|
<template v-if="!hideMinus">
|
|
26
32
|
<slot name="input">
|
|
@@ -74,7 +80,7 @@
|
|
|
74
80
|
:class="{ 'u-number-box__minus--disabled': isDisabled('plus') }"
|
|
75
81
|
:style="[buttonStyle('plus')]"
|
|
76
82
|
>
|
|
77
|
-
<
|
|
83
|
+
<up-icon name="plus" :color="isDisabled('plus') ? '#c8c9cc' : '#323233'" size="15" bold :customStyle="iconStyle"></up-icon>
|
|
78
84
|
</view>
|
|
79
85
|
</view>
|
|
80
86
|
</template>
|
|
@@ -113,7 +119,7 @@ import { getPx, addUnit } from '../../libs/function/index';
|
|
|
113
119
|
* @event {Function} onBlur 输入框失去焦点
|
|
114
120
|
* @event {Function} onInput 输入框值发生变化
|
|
115
121
|
* @event {Function} onChange
|
|
116
|
-
* @example <
|
|
122
|
+
* @example <up-number-box v-model="value" @change="valChange"></up-number-box>
|
|
117
123
|
*/
|
|
118
124
|
export default {
|
|
119
125
|
name: 'u-number-box',
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "u-overlay",
|
|
3
|
+
"displayName": "u-overlay 遮罩层 全端兼容,无论平台,一致体验",
|
|
4
|
+
"version": "1.0.1",
|
|
5
|
+
"description": "u-overlay 创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景,u-ui 所有相关弹窗组件都是使用的该组件",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"u-ui",
|
|
8
|
+
"wuui",
|
|
9
|
+
"u-overlay",
|
|
10
|
+
"overlay",
|
|
11
|
+
"遮罩层"
|
|
12
|
+
],
|
|
13
|
+
"repository": "",
|
|
14
|
+
"engines": {
|
|
15
|
+
"HBuilderX": "^3.4.15"
|
|
16
|
+
},
|
|
17
|
+
"dcloudext": {
|
|
18
|
+
"type": "component-vue",
|
|
19
|
+
"sale": {
|
|
20
|
+
"regular": {
|
|
21
|
+
"price": "0.00"
|
|
22
|
+
},
|
|
23
|
+
"sourcecode": {
|
|
24
|
+
"price": "0.00"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"contact": {
|
|
28
|
+
"qq": ""
|
|
29
|
+
},
|
|
30
|
+
"declaration": {
|
|
31
|
+
"ads": "无",
|
|
32
|
+
"data": "插件不采集任何数据",
|
|
33
|
+
"permissions": "无"
|
|
34
|
+
},
|
|
35
|
+
"npmurl": ""
|
|
36
|
+
},
|
|
37
|
+
"uni_modules": {
|
|
38
|
+
"dependencies": [
|
|
39
|
+
"u-transition"
|
|
40
|
+
],
|
|
41
|
+
"encrypt": [],
|
|
42
|
+
"platforms": {
|
|
43
|
+
"cloud": {
|
|
44
|
+
"tcb": "y",
|
|
45
|
+
"aliyun": "y",
|
|
46
|
+
"alipay": "n"
|
|
47
|
+
},
|
|
48
|
+
"client": {
|
|
49
|
+
"Vue": {
|
|
50
|
+
"vue2": "y",
|
|
51
|
+
"vue3": "y"
|
|
52
|
+
},
|
|
53
|
+
"App": {
|
|
54
|
+
"app-vue": "y",
|
|
55
|
+
"app-nvue": "y"
|
|
56
|
+
},
|
|
57
|
+
"H5-mobile": {
|
|
58
|
+
"Safari": "y",
|
|
59
|
+
"Android Browser": "y",
|
|
60
|
+
"微信浏览器(Android)": "y",
|
|
61
|
+
"QQ浏览器(Android)": "y"
|
|
62
|
+
},
|
|
63
|
+
"H5-pc": {
|
|
64
|
+
"Chrome": "y",
|
|
65
|
+
"IE": "y",
|
|
66
|
+
"Edge": "y",
|
|
67
|
+
"Firefox": "y",
|
|
68
|
+
"Safari": "y"
|
|
69
|
+
},
|
|
70
|
+
"小程序": {
|
|
71
|
+
"微信": "y",
|
|
72
|
+
"阿里": "y",
|
|
73
|
+
"百度": "y",
|
|
74
|
+
"字节跳动": "y",
|
|
75
|
+
"QQ": "y",
|
|
76
|
+
"钉钉": "n",
|
|
77
|
+
"快手": "n",
|
|
78
|
+
"飞书": "n",
|
|
79
|
+
"京东": "n"
|
|
80
|
+
},
|
|
81
|
+
"快应用": {
|
|
82
|
+
"华为": "n",
|
|
83
|
+
"联盟": "n"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
## u-overlay 遮罩层
|
|
2
|
+
|
|
3
|
+
> **组件名:u-overlay**
|
|
4
|
+
|
|
5
|
+
创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景,u-ui 所有相关弹窗组件都是使用的该组件。
|
|
6
|
+
|
|
7
|
+
## [查看文档](https://ijry.github.io/uview-plus/components/overlay.html)
|
|
8
|
+
|
|
9
|
+
## [更多组件, 请查看 `u-ui` 组件库](https://ext.dcloud.net.cn/plugin?name=u--ui)
|
|
10
|
+
(请勿下载插件zip)
|
|
11
|
+
|
|
12
|
+
<a href="https://ext.dcloud.net.cn/plugin?name=u--ui">
|
|
13
|
+
<img src="https://wuui.cn/intr.png">
|
|
14
|
+
</a>
|
|
15
|
+
|
|
16
|
+
**如使用过程中有任何问题,或者您对u-ui有一些好的建议。<br>欢迎加入 [u-ui 交流群](https://ijry.github.io/uview-plus/components/qqFeedBack.html)**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<up-transition
|
|
3
3
|
:show="show"
|
|
4
4
|
custom-class="u-overlay"
|
|
5
5
|
:duration="duration"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@touchmove.stop.prevent="noop"
|
|
9
9
|
>
|
|
10
10
|
<slot />
|
|
11
|
-
</
|
|
11
|
+
</up-transition>
|
|
12
12
|
</template>
|
|
13
13
|
<script>
|
|
14
14
|
import { props } from './props';
|
|
@@ -25,7 +25,7 @@ import { addStyle, deepMerge } from '../../libs/function/index';
|
|
|
25
25
|
* @property {String | Number} opacity 不透明度值,当做rgba的第四个参数 (默认 0.5 )
|
|
26
26
|
* @property {Object} customStyle 定义需要用到的外部样式
|
|
27
27
|
* @event {Function} click 点击遮罩发送事件
|
|
28
|
-
* @example <
|
|
28
|
+
* @example <up-overlay :show="show" @click="show = false"></up-overlay>
|
|
29
29
|
*/
|
|
30
30
|
export default {
|
|
31
31
|
name: 'u-overlay',
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
></up-input>
|
|
12
12
|
<div class="input-cover"></div>
|
|
13
13
|
</view>
|
|
14
|
-
<
|
|
14
|
+
<up-popup :show="show || (hasInput && showByClickInput)" :mode="popupMode" :zIndex="zIndex" @close="closeHandler">
|
|
15
15
|
<view class="u-picker">
|
|
16
|
-
<
|
|
16
|
+
<up-toolbar
|
|
17
17
|
v-if="showToolbar"
|
|
18
18
|
:cancelColor="cancelColor"
|
|
19
19
|
:confirmColor="confirmColor"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<template #right>
|
|
28
28
|
<slot name="toolbar-right"></slot>
|
|
29
29
|
</template>
|
|
30
|
-
</
|
|
30
|
+
</up-toolbar>
|
|
31
31
|
<slot name="toolbar-bottom"></slot>
|
|
32
32
|
<picker-view
|
|
33
33
|
class="u-picker__view"
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
</picker-view-column>
|
|
59
59
|
</picker-view>
|
|
60
60
|
<view v-if="loading" class="u-picker--loading">
|
|
61
|
-
<
|
|
61
|
+
<up-loading-icon mode="circle"></up-loading-icon>
|
|
62
62
|
</view>
|
|
63
63
|
</view>
|
|
64
|
-
</
|
|
64
|
+
</up-popup>
|
|
65
65
|
</view>
|
|
66
66
|
</template>
|
|
67
67
|
<script>
|