@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
|
@@ -1,3 +1,139 @@
|
|
|
1
|
-
<template>
|
|
2
1
|
<view
|
|
3
2
|
class="u-card"
|
|
4
3
|
@tap.stop="click"
|
|
5
4
|
:class="{ 'u-border': border, 'u-card-full': full, 'u-card--border': getPx(borderRadius) > 0 }"
|
|
6
5
|
:style="{
|
|
7
6
|
borderRadius: addUnit(borderRadius),
|
|
8
7
|
margin: margin,
|
|
9
8
|
boxShadow: boxShadow
|
|
10
9
|
}"
|
|
11
10
|
>
|
|
12
11
|
<view
|
|
13
12
|
v-if="showHead"
|
|
14
13
|
class="u-card__head"
|
|
15
14
|
:style="[{ padding: addUnit(paddingHead || padding) }, headStyle]"
|
|
16
15
|
:class="{
|
|
17
16
|
'u-border-bottom': headBorderBottom
|
|
18
17
|
}"
|
|
19
18
|
@tap="headClick"
|
|
20
19
|
>
|
|
21
20
|
<view v-if="!$slots.head" class="u-flex u-flex-between">
|
|
22
21
|
<view class="u-card__head--left u-flex u-line-1" v-if="title">
|
|
23
22
|
<image
|
|
24
23
|
:src="thumb"
|
|
25
24
|
class="u-card__head--left__thumb"
|
|
26
25
|
mode="aspectFill"
|
|
27
26
|
v-if="thumb"
|
|
28
27
|
:style="{
|
|
29
28
|
height: addUnit(thumbWidth),
|
|
30
29
|
width: addUnit(thumbWidth),
|
|
31
30
|
borderRadius: thumbCircle ? '50px' : '4px'
|
|
32
31
|
}"
|
|
33
32
|
></image>
|
|
34
33
|
<text
|
|
35
34
|
class="u-card__head--left__title u-line-1"
|
|
36
35
|
:style="{
|
|
37
36
|
fontSize: addUnit(titleSize),
|
|
38
37
|
color: titleColor
|
|
39
38
|
}"
|
|
40
39
|
>
|
|
41
40
|
{{ title }}
|
|
42
41
|
</text>
|
|
43
42
|
</view>
|
|
44
43
|
<view class="u-card__head--right u-line-1" v-if="subTitle">
|
|
45
44
|
<text
|
|
46
45
|
class="u-card__head__title__text"
|
|
47
46
|
:style="{
|
|
48
47
|
fontSize: addUnit(subTitleSize),
|
|
49
48
|
color: subTitleColor
|
|
50
49
|
}"
|
|
51
50
|
>
|
|
52
51
|
{{ subTitle }}
|
|
53
52
|
</text>
|
|
54
53
|
</view>
|
|
55
54
|
</view>
|
|
56
55
|
<slot name="head" v-else />
|
|
57
56
|
</view>
|
|
58
57
|
<view @tap="bodyClick" class="u-card__body" :style="[{ padding: addUnit(paddingBody || padding) }, bodyStyle]">
|
|
59
58
|
<slot name="body" />
|
|
60
59
|
</view>
|
|
61
60
|
<view
|
|
62
61
|
v-if="showFoot"
|
|
63
62
|
class="u-card__foot"
|
|
64
63
|
@tap="footClick"
|
|
65
64
|
:style="[{ padding: $slots.foot ? addUnit(paddingFoot || padding) : 0 }, footStyle]"
|
|
66
65
|
:class="{
|
|
67
66
|
'u-border-top': footBorderTop
|
|
68
67
|
}"
|
|
69
68
|
>
|
|
70
69
|
<slot name="foot" />
|
|
71
70
|
</view>
|
|
72
71
|
</view>
|
|
73
72
|
* card 卡片
|
|
74
73
|
* @description 卡片组件一般用于多个列表条目,且风格统一的场景
|
|
75
74
|
* @tutorial https://uview-plus.jiangruyi.com/components/card.html
|
|
76
75
|
* @property {Boolean} full 卡片与屏幕两侧是否留空隙(默认false)
|
|
77
76
|
* @property {String} title 头部左边的标题
|
|
78
77
|
* @property {String} title-color 标题颜色(默认#303133)
|
|
79
78
|
* @property {String | Number} title-size 标题字体大小,单位rpx(默认15px)
|
|
80
79
|
* @property {String} sub-title 头部右边的副标题
|
|
81
80
|
* @property {String} sub-title-color 副标题颜色(默认#909399)
|
|
82
81
|
* @property {String | Number} sub-title-size 副标题字体大小(默认13px
|
|
83
82
|
* @property {Boolean} border 是否显示边框(默认true)
|
|
84
83
|
* @property {String | Number} index 用于标识点击了第几个卡片
|
|
85
84
|
* @property {String} box-shadow 卡片外围阴影,字符串形式(默认none)
|
|
86
85
|
* @property {String} margin 卡片与屏幕两边和上下元素的间距,需带单位,如"30px 20px"(默认15px)
|
|
87
86
|
* @property {String | Number} border-radius 卡片整体的圆角值,单位rpx(默认8px)
|
|
88
87
|
* @property {Object} head-style 头部自定义样式,对象形式
|
|
89
88
|
* @property {Object} body-style 中部自定义样式,对象形式
|
|
90
89
|
* @property {Object} foot-style 底部自定义样式,对象形式
|
|
91
90
|
* @property {Boolean} head-border-bottom 是否显示头部的下边框(默认true)
|
|
92
91
|
* @property {Boolean} foot-border-top 是否显示底部的上边框(默认true)
|
|
93
92
|
* @property {Boolean} show-head 是否显示头部(默认true)
|
|
94
93
|
* @property {Boolean} show-foot 是否显示尾部(默认true)
|
|
95
94
|
* @property {String} thumb 缩略图路径,如设置将显示在标题的左边,不建议使用相对路径
|
|
96
95
|
* @property {String | Number} thumb-width 缩略图的宽度,高等于宽,单位px(默认30px)
|
|
97
96
|
* @property {Boolean} thumb-circle 缩略图是否为圆形(默认false)
|
|
98
97
|
* @event {Function} click 整个卡片任意位置被点击时触发
|
|
99
98
|
* @event {Function} head-click 卡片头部被点击时触发
|
|
100
99
|
* @event {Function} body-click 卡片主体部分被点击时触发
|
|
101
100
|
* @event {Function} foot-click 卡片底部部分被点击时触发
|
|
102
101
|
* @example <u-card paddingFoot="2px 15px" title="card"></u-card>
|
|
103
102
|
*/
|
|
104
103
|
name: 'up-card',
|
|
105
104
|
data() {
|
|
106
105
|
return {};
|
|
107
106
|
},
|
|
108
107
|
mixins: [mpMixin, mixin, propsCard],
|
|
109
108
|
emits: ['click', 'head-click', 'body-click', 'foot-click'],
|
|
110
109
|
methods: {
|
|
111
110
|
addStyle,
|
|
112
111
|
addUnit,
|
|
113
112
|
getPx,
|
|
114
113
|
click() {
|
|
115
114
|
this.$emit('click', this.index);
|
|
116
115
|
},
|
|
117
116
|
headClick() {
|
|
118
117
|
this.$emit('head-click', this.index);
|
|
119
118
|
},
|
|
120
119
|
bodyClick() {
|
|
121
120
|
this.$emit('body-click', this.index);
|
|
122
121
|
},
|
|
123
122
|
footClick() {
|
|
124
123
|
this.$emit('foot-click', this.index);
|
|
125
124
|
}
|
|
126
125
|
}
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
<template>
|
|
127
|
+
<view
|
|
128
|
+
class="u-card"
|
|
129
|
+
@tap.stop="click"
|
|
130
|
+
:class="{ 'u-border': border, 'u-card-full': full, 'u-card--border': getPx(borderRadius) > 0 }"
|
|
131
|
+
:style="{
|
|
132
|
+
borderRadius: addUnit(borderRadius),
|
|
133
|
+
margin: margin,
|
|
134
|
+
boxShadow: boxShadow
|
|
135
|
+
}"
|
|
136
|
+
>
|
|
137
|
+
<view
|
|
138
|
+
v-if="showHead"
|
|
139
|
+
class="u-card__head"
|
|
140
|
+
:style="[{ padding: addUnit(paddingHead || padding) }, headStyle]"
|
|
141
|
+
:class="{
|
|
142
|
+
'u-border-bottom': headBorderBottom
|
|
143
|
+
}"
|
|
144
|
+
@tap="headClick"
|
|
145
|
+
>
|
|
146
|
+
<view v-if="!$slots.head" class="u-flex u-flex-between">
|
|
147
|
+
<view class="u-card__head--left u-flex u-line-1" v-if="title">
|
|
148
|
+
<image
|
|
149
|
+
:src="thumb"
|
|
150
|
+
class="u-card__head--left__thumb"
|
|
151
|
+
mode="aspectFill"
|
|
152
|
+
v-if="thumb"
|
|
153
|
+
:style="{
|
|
154
|
+
height: addUnit(thumbWidth),
|
|
155
|
+
width: addUnit(thumbWidth),
|
|
156
|
+
borderRadius: thumbCircle ? '50px' : '4px'
|
|
157
|
+
}"
|
|
158
|
+
></image>
|
|
159
|
+
<text
|
|
160
|
+
class="u-card__head--left__title u-line-1"
|
|
161
|
+
:style="{
|
|
162
|
+
fontSize: addUnit(titleSize),
|
|
163
|
+
color: titleColor
|
|
164
|
+
}"
|
|
165
|
+
>
|
|
166
|
+
{{ title }}
|
|
167
|
+
</text>
|
|
168
|
+
</view>
|
|
169
|
+
<view class="u-card__head--right u-line-1" v-if="subTitle">
|
|
170
|
+
<text
|
|
171
|
+
class="u-card__head__title__text"
|
|
172
|
+
:style="{
|
|
173
|
+
fontSize: addUnit(subTitleSize),
|
|
174
|
+
color: subTitleColor
|
|
175
|
+
}"
|
|
176
|
+
>
|
|
177
|
+
{{ subTitle }}
|
|
178
|
+
</text>
|
|
179
|
+
</view>
|
|
180
|
+
</view>
|
|
181
|
+
<slot name="head" v-else />
|
|
182
|
+
</view>
|
|
183
|
+
<view @tap="bodyClick" class="u-card__body" :style="[{ padding: addUnit(paddingBody || padding) }, bodyStyle]">
|
|
184
|
+
<slot name="body" />
|
|
185
|
+
</view>
|
|
186
|
+
<view
|
|
187
|
+
v-if="showFoot"
|
|
188
|
+
class="u-card__foot"
|
|
189
|
+
@tap="footClick"
|
|
190
|
+
:style="[{ padding: $slots.foot ? addUnit(paddingFoot || padding) : 0 }, footStyle]"
|
|
191
|
+
:class="{
|
|
192
|
+
'u-border-top': footBorderTop
|
|
193
|
+
}"
|
|
194
|
+
>
|
|
195
|
+
<slot name="foot" />
|
|
196
|
+
</view>
|
|
197
|
+
</view>
|
|
198
|
+
</template>
|
|
199
|
+
<script>
|
|
200
|
+
import { propsCard } from './props';
|
|
201
|
+
import { mpMixin } from '../../libs/mixin/mpMixin';
|
|
202
|
+
import { mixin } from '../../libs/mixin/mixin';
|
|
203
|
+
import { addStyle, addUnit, getPx } from '../../libs/function/index';
|
|
204
|
+
/**
|
|
205
|
+
* card 卡片
|
|
206
|
+
* @description 卡片组件一般用于多个列表条目,且风格统一的场景
|
|
207
|
+
* @tutorial https://uview-plus.jiangruyi.com/components/card.html
|
|
208
|
+
* @property {Boolean} full 卡片与屏幕两侧是否留空隙(默认false)
|
|
209
|
+
* @property {String} title 头部左边的标题
|
|
210
|
+
* @property {String} title-color 标题颜色(默认#303133)
|
|
211
|
+
* @property {String | Number} title-size 标题字体大小,单位rpx(默认15px)
|
|
212
|
+
* @property {String} sub-title 头部右边的副标题
|
|
213
|
+
* @property {String} sub-title-color 副标题颜色(默认#909399)
|
|
214
|
+
* @property {String | Number} sub-title-size 副标题字体大小(默认13px
|
|
215
|
+
* @property {Boolean} border 是否显示边框(默认true)
|
|
216
|
+
* @property {String | Number} index 用于标识点击了第几个卡片
|
|
217
|
+
* @property {String} box-shadow 卡片外围阴影,字符串形式(默认none)
|
|
218
|
+
* @property {String} margin 卡片与屏幕两边和上下元素的间距,需带单位,如"30px 20px"(默认15px)
|
|
219
|
+
* @property {String | Number} border-radius 卡片整体的圆角值,单位rpx(默认8px)
|
|
220
|
+
* @property {Object} head-style 头部自定义样式,对象形式
|
|
221
|
+
* @property {Object} body-style 中部自定义样式,对象形式
|
|
222
|
+
* @property {Object} foot-style 底部自定义样式,对象形式
|
|
223
|
+
* @property {Boolean} head-border-bottom 是否显示头部的下边框(默认true)
|
|
224
|
+
* @property {Boolean} foot-border-top 是否显示底部的上边框(默认true)
|
|
225
|
+
* @property {Boolean} show-head 是否显示头部(默认true)
|
|
226
|
+
* @property {Boolean} show-foot 是否显示尾部(默认true)
|
|
227
|
+
* @property {String} thumb 缩略图路径,如设置将显示在标题的左边,不建议使用相对路径
|
|
228
|
+
* @property {String | Number} thumb-width 缩略图的宽度,高等于宽,单位px(默认30px)
|
|
229
|
+
* @property {Boolean} thumb-circle 缩略图是否为圆形(默认false)
|
|
230
|
+
* @event {Function} click 整个卡片任意位置被点击时触发
|
|
231
|
+
* @event {Function} head-click 卡片头部被点击时触发
|
|
232
|
+
* @event {Function} body-click 卡片主体部分被点击时触发
|
|
233
|
+
* @event {Function} foot-click 卡片底部部分被点击时触发
|
|
234
|
+
* @example <up-card paddingFoot="2px 15px" title="card"></up-card>
|
|
235
|
+
*/
|
|
236
|
+
export default {
|
|
237
|
+
name: 'up-card',
|
|
238
|
+
data() {
|
|
239
|
+
return {};
|
|
240
|
+
},
|
|
241
|
+
mixins: [mpMixin, mixin, propsCard],
|
|
242
|
+
emits: ['click', 'head-click', 'body-click', 'foot-click'],
|
|
243
|
+
methods: {
|
|
244
|
+
addStyle,
|
|
245
|
+
addUnit,
|
|
246
|
+
getPx,
|
|
247
|
+
click() {
|
|
248
|
+
this.$emit('click', this.index);
|
|
249
|
+
},
|
|
250
|
+
headClick() {
|
|
251
|
+
this.$emit('head-click', this.index);
|
|
252
|
+
},
|
|
253
|
+
bodyClick() {
|
|
254
|
+
this.$emit('body-click', this.index);
|
|
255
|
+
},
|
|
256
|
+
footClick() {
|
|
257
|
+
this.$emit('foot-click', this.index);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
</script>
|
|
262
|
+
<style scoped>
|
|
263
|
+
@import './style.css';
|
|
264
|
+
</style>
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "u-cell",
|
|
3
|
+
"displayName": "u-cell 单元格,全端兼容,无论平台,一致体验。",
|
|
4
|
+
"version": "1.0.2",
|
|
5
|
+
"description": "u-cell 单元格一般用于一组列表的情况,比如个人中心页,设置页等。",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"u-ui",
|
|
8
|
+
"wuui",
|
|
9
|
+
"u-cell",
|
|
10
|
+
"cell",
|
|
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-icon",
|
|
40
|
+
"u-line"
|
|
41
|
+
],
|
|
42
|
+
"encrypt": [],
|
|
43
|
+
"platforms": {
|
|
44
|
+
"cloud": {
|
|
45
|
+
"tcb": "y",
|
|
46
|
+
"aliyun": "y",
|
|
47
|
+
"alipay": "n"
|
|
48
|
+
},
|
|
49
|
+
"client": {
|
|
50
|
+
"Vue": {
|
|
51
|
+
"vue2": "y",
|
|
52
|
+
"vue3": "y"
|
|
53
|
+
},
|
|
54
|
+
"App": {
|
|
55
|
+
"app-vue": "y",
|
|
56
|
+
"app-nvue": "y"
|
|
57
|
+
},
|
|
58
|
+
"H5-mobile": {
|
|
59
|
+
"Safari": "y",
|
|
60
|
+
"Android Browser": "y",
|
|
61
|
+
"微信浏览器(Android)": "y",
|
|
62
|
+
"QQ浏览器(Android)": "y"
|
|
63
|
+
},
|
|
64
|
+
"H5-pc": {
|
|
65
|
+
"Chrome": "y",
|
|
66
|
+
"IE": "y",
|
|
67
|
+
"Edge": "y",
|
|
68
|
+
"Firefox": "y",
|
|
69
|
+
"Safari": "y"
|
|
70
|
+
},
|
|
71
|
+
"小程序": {
|
|
72
|
+
"微信": "y",
|
|
73
|
+
"阿里": "y",
|
|
74
|
+
"百度": "y",
|
|
75
|
+
"字节跳动": "y",
|
|
76
|
+
"QQ": "y",
|
|
77
|
+
"钉钉": "n",
|
|
78
|
+
"快手": "n",
|
|
79
|
+
"飞书": "n",
|
|
80
|
+
"京东": "n"
|
|
81
|
+
},
|
|
82
|
+
"快应用": {
|
|
83
|
+
"华为": "n",
|
|
84
|
+
"联盟": "n"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
## u-cell 单元格
|
|
2
|
+
|
|
3
|
+
> **组件名:u-cell**
|
|
4
|
+
|
|
5
|
+
u-cell单元格一般用于一组列表的情况,比如个人中心页,设置页等。
|
|
6
|
+
|
|
7
|
+
## [查看文档](https://ijry.github.io/uview-plus/components/cell.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)**
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<view class="u-cell__body__content">
|
|
12
12
|
<view class="u-cell__left-icon-wrap" v-if="$slots.icon || icon">
|
|
13
13
|
<slot name="icon" v-if="$slots.icon"></slot>
|
|
14
|
-
<
|
|
14
|
+
<up-icon v-else :name="icon" :custom-style="iconStyle" :size="size === 'large' ? 22 : 18"></up-icon>
|
|
15
15
|
</view>
|
|
16
16
|
<view class="u-cell__title">
|
|
17
17
|
<!-- 将slot与默认内容用if/else分开主要是因为微信小程序不支持slot嵌套传递,这样才能解决collapse组件的slot不失效问题,label暂时未用到。 -->
|
|
@@ -53,20 +53,20 @@
|
|
|
53
53
|
v-if="$slots['right-icon'] || isLink"
|
|
54
54
|
:class="[`u-cell__right-icon-wrap--${arrowDirection}`]"
|
|
55
55
|
>
|
|
56
|
-
<
|
|
56
|
+
<up-icon
|
|
57
57
|
v-if="rightIcon && !$slots['right-icon']"
|
|
58
58
|
:name="rightIcon"
|
|
59
59
|
:custom-style="rightIconStyle"
|
|
60
60
|
:color="disabled ? '#c8c9cc' : 'info'"
|
|
61
61
|
:size="size === 'large' ? 18 : 16"
|
|
62
|
-
></
|
|
62
|
+
></up-icon>
|
|
63
63
|
<slot v-else name="right-icon"></slot>
|
|
64
64
|
</view>
|
|
65
65
|
<view class="u-cell__right-icon-wrap" v-if="$slots['righticon']" :class="[`u-cell__right-icon-wrap--${arrowDirection}`]">
|
|
66
66
|
<slot name="righticon"></slot>
|
|
67
67
|
</view>
|
|
68
68
|
</view>
|
|
69
|
-
<
|
|
69
|
+
<up-line v-if="border"></up-line>
|
|
70
70
|
</view>
|
|
71
71
|
</template>
|
|
72
72
|
<script>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</slot>
|
|
7
7
|
</view>
|
|
8
8
|
<view class="u-cell-group__wrapper">
|
|
9
|
-
<
|
|
9
|
+
<up-line v-if="border"></up-line>
|
|
10
10
|
<slot />
|
|
11
11
|
</view>
|
|
12
12
|
</view>
|
|
@@ -26,7 +26,7 @@ import { addStyle } from '../../libs/function/index';
|
|
|
26
26
|
* @property {Object} customStyle 定义需要用到的外部样式
|
|
27
27
|
*
|
|
28
28
|
* @event {Function} click 点击cell列表时触发
|
|
29
|
-
* @example <
|
|
29
|
+
* @example <up-cell-group title="设置喜好"></up-cell-group>
|
|
30
30
|
*/
|
|
31
31
|
export default {
|
|
32
32
|
name: 'u-cell-group',
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "u-checkbox",
|
|
3
|
+
"displayName": "u-checkbox 复选框,全端兼容,无论平台,一致体验",
|
|
4
|
+
"version": "1.0.3",
|
|
5
|
+
"description": "u-checkbox 复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便。",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"u-ui",
|
|
8
|
+
"wuui",
|
|
9
|
+
"u-checkbox",
|
|
10
|
+
"checkbox",
|
|
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-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,25 @@
|
|
|
1
|
+
## u-checkbox 复选框
|
|
2
|
+
|
|
3
|
+
> **组件名:u-checkbox**
|
|
4
|
+
|
|
5
|
+
复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便。
|
|
6
|
+
|
|
7
|
+
## [查看文档](https://ijry.github.io/uview-plus/components/checkbox.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)**
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
>
|
|
11
11
|
<view class="u-checkbox__icon-wrap cursor-pointer" @tap.stop="iconClickHandler" :class="iconClasses" :style="[iconWrapStyle]">
|
|
12
12
|
<slot name="icon" :elIconSize="elIconSize" :elIconColor="elIconColor">
|
|
13
|
-
<
|
|
13
|
+
<up-icon class="u-checkbox__icon-wrap__icon" name="checkbox-mark" :size="elIconSize" :color="elIconColor" />
|
|
14
14
|
</slot>
|
|
15
15
|
</view>
|
|
16
16
|
<view class="u-checkbox__label-wrap cursor-pointer" @tap.stop="labelClickHandler">
|
|
@@ -54,7 +54,7 @@ import test from '../../libs/function/test';
|
|
|
54
54
|
* @property {Object} customStyle 定义需要用到的外部样式
|
|
55
55
|
*
|
|
56
56
|
* @event {Function} change 任一个checkbox状态发生变化时触发,回调为一个对象
|
|
57
|
-
* @example <
|
|
57
|
+
* @example <up-checkbox v-model="checked" :disabled="false">天涯</up-checkbox>
|
|
58
58
|
*/
|
|
59
59
|
export default {
|
|
60
60
|
name: 'u-checkbox',
|
|
@@ -95,8 +95,8 @@ export default {
|
|
|
95
95
|
return this.labelDisabled !== ''
|
|
96
96
|
? this.labelDisabled
|
|
97
97
|
: this.parentData.labelDisabled !== null
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
? this.parentData.labelDisabled
|
|
99
|
+
: false;
|
|
100
100
|
},
|
|
101
101
|
// 组件尺寸,对应size的值,默认值为21px
|
|
102
102
|
elSize() {
|
|
@@ -28,7 +28,7 @@ import { mixin } from '../../libs/mixin/mixin';
|
|
|
28
28
|
* @property {Boolean} borderBottom placement为row时,是否显示下边框 (默认 false )
|
|
29
29
|
* @event {Function} change 任一个checkbox状态发生变化时触发,回调为一个对象
|
|
30
30
|
* @event {Function} input 修改通过v-model绑定的值时触发,回调为一个对象
|
|
31
|
-
* @example <
|
|
31
|
+
* @example <up-checkbox-group></up-checkbox-group>
|
|
32
32
|
*/
|
|
33
33
|
export default {
|
|
34
34
|
name: 'u-checkbox-group',
|