@10yun/cv-mobile-ui 0.5.29 → 0.5.30
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 +1 -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-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 +1 -1
- 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-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-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-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-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-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-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-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-empty/u-empty.vue +27 -1
- 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-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-icon2.vue +149 -0
- 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-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-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-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-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-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-wu/props.js +102 -0
- package/uview-plus/components/u-navbar-wu/u-navbar-wu.vue +196 -0
- 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-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-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-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-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-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-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-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-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-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-verification-code/u-verification-code.vue +161 -0
- package/uview-plus/index.js +107 -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/function/calc.js +61 -55
- package/uview-plus/libs/function/cc.js +66 -0
- 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 +231 -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,424 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<button
|
|
3
|
+
class="fui-btn"
|
|
4
|
+
:class="[
|
|
5
|
+
plain ? 'fui-' + type + '-outline' : 'fui-btn-' + (type || 'primary'),
|
|
6
|
+
getDisabledClass(disabled, type, plain),
|
|
7
|
+
getShapeClass(shape, plain),
|
|
8
|
+
getShadowClass(type, shadow, plain)
|
|
9
|
+
]"
|
|
10
|
+
:hover-class="getHoverClass(disabled, type, plain)"
|
|
11
|
+
:style="{ width: width, height: height, lineHeight: height, fontSize: size + 'rpx', margin: margin }"
|
|
12
|
+
:loading="loading"
|
|
13
|
+
:open-type="openType"
|
|
14
|
+
@getuserinfo="bindgetuserinfo"
|
|
15
|
+
:disabled="disabled"
|
|
16
|
+
@tap="handleClick"
|
|
17
|
+
>
|
|
18
|
+
<slot></slot>
|
|
19
|
+
</button>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script>
|
|
23
|
+
export default {
|
|
24
|
+
name: 'fuiButton',
|
|
25
|
+
props: {
|
|
26
|
+
//样式类型 primary, white, danger, warning, green,blue, gray,black,white2,
|
|
27
|
+
type: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: 'primary'
|
|
30
|
+
},
|
|
31
|
+
//是否加阴影
|
|
32
|
+
shadow: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: false
|
|
35
|
+
},
|
|
36
|
+
// 宽度 rpx或 %
|
|
37
|
+
width: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: '100%'
|
|
40
|
+
},
|
|
41
|
+
//高度 rpx
|
|
42
|
+
height: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: '96rpx'
|
|
45
|
+
},
|
|
46
|
+
//字体大小 rpx
|
|
47
|
+
size: {
|
|
48
|
+
type: Number,
|
|
49
|
+
default: 28
|
|
50
|
+
},
|
|
51
|
+
margin: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: '0'
|
|
54
|
+
},
|
|
55
|
+
//形状 circle(圆角), square(默认方形),rightAngle(平角)
|
|
56
|
+
shape: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: 'square'
|
|
59
|
+
},
|
|
60
|
+
plain: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: false
|
|
63
|
+
},
|
|
64
|
+
disabled: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: false
|
|
67
|
+
},
|
|
68
|
+
//禁用后背景是否为灰色 (非空心button生效)
|
|
69
|
+
disabledGray: {
|
|
70
|
+
type: Boolean,
|
|
71
|
+
default: false
|
|
72
|
+
},
|
|
73
|
+
loading: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: false
|
|
76
|
+
},
|
|
77
|
+
openType: {
|
|
78
|
+
type: String,
|
|
79
|
+
default: ''
|
|
80
|
+
},
|
|
81
|
+
index: {
|
|
82
|
+
type: [Number, String],
|
|
83
|
+
default: 0
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
methods: {
|
|
87
|
+
handleClick() {
|
|
88
|
+
if (this.disabled) return false;
|
|
89
|
+
this.$emit('click', {
|
|
90
|
+
index: Number(this.index)
|
|
91
|
+
});
|
|
92
|
+
},
|
|
93
|
+
bindgetuserinfo({ detail = {} } = {}) {
|
|
94
|
+
this.$emit('getuserinfo', detail);
|
|
95
|
+
},
|
|
96
|
+
getShadowClass(type, shadow, plain) {
|
|
97
|
+
let className = '';
|
|
98
|
+
if (shadow && type != 'white' && !plain) {
|
|
99
|
+
className = 'fui-shadow-' + type;
|
|
100
|
+
}
|
|
101
|
+
return className;
|
|
102
|
+
},
|
|
103
|
+
getDisabledClass(disabled, type, plain) {
|
|
104
|
+
let className = '';
|
|
105
|
+
if (disabled && type != 'white') {
|
|
106
|
+
let classVal = this.disabledGray ? 'fui-gray-disabled' : 'fui-dark-disabled';
|
|
107
|
+
className = plain ? 'fui-dark-disabled-outline' : classVal;
|
|
108
|
+
}
|
|
109
|
+
return className;
|
|
110
|
+
},
|
|
111
|
+
getShapeClass(shape, plain) {
|
|
112
|
+
let className = '';
|
|
113
|
+
if (shape == 'circle') {
|
|
114
|
+
className = plain ? 'fui-outline-fillet' : 'fui-fillet';
|
|
115
|
+
} else if (shape == 'rightAngle') {
|
|
116
|
+
className = plain ? 'fui-outline-rightAngle' : 'fui-rightAngle';
|
|
117
|
+
}
|
|
118
|
+
return className;
|
|
119
|
+
},
|
|
120
|
+
getHoverClass(disabled, type, plain) {
|
|
121
|
+
let className = '';
|
|
122
|
+
if (!disabled) {
|
|
123
|
+
className = plain ? 'fui-outline-hover' : 'fui-' + (type || 'primary') + '-hover';
|
|
124
|
+
}
|
|
125
|
+
return className;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
</script>
|
|
130
|
+
|
|
131
|
+
<style scoped>
|
|
132
|
+
.fui-btn-primary {
|
|
133
|
+
background: #5677fc !important;
|
|
134
|
+
color: #fff;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.fui-shadow-primary {
|
|
138
|
+
box-shadow: 0 10rpx 14rpx 0 rgba(86, 119, 252, 0.2);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.fui-btn-danger {
|
|
142
|
+
background: #eb0909 !important;
|
|
143
|
+
color: #fff;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.fui-shadow-danger {
|
|
147
|
+
box-shadow: 0 10rpx 14rpx 0 rgba(235, 9, 9, 0.2);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.fui-btn-warning {
|
|
151
|
+
background: #fc872d !important;
|
|
152
|
+
color: #fff;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.fui-shadow-warning {
|
|
156
|
+
box-shadow: 0 10rpx 14rpx 0 rgba(252, 135, 45, 0.2);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.fui-btn-green {
|
|
160
|
+
background: #4fb49b !important;
|
|
161
|
+
color: #fff;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.fui-shadow-green {
|
|
165
|
+
box-shadow: 0 10rpx 14rpx 0 rgba(53, 176, 106, 0.2);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.fui-btn-blue {
|
|
169
|
+
background: #007aff !important;
|
|
170
|
+
color: #fff;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.fui-shadow-blue {
|
|
174
|
+
box-shadow: 0 10rpx 14rpx 0 rgba(0, 122, 255, 0.2);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.fui-btn-white {
|
|
178
|
+
background: #fff !important;
|
|
179
|
+
color: #333 !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.fui-btn-gray {
|
|
183
|
+
background: #bfbfbf !important;
|
|
184
|
+
color: #fff !important;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.fui-btn-black {
|
|
188
|
+
background: #262871 !important;
|
|
189
|
+
color: #999999 !important;
|
|
190
|
+
}
|
|
191
|
+
.fui-btn-hgray {
|
|
192
|
+
background: #707070 !important;
|
|
193
|
+
color: #fff !important;
|
|
194
|
+
}
|
|
195
|
+
.fui-shadow-gray {
|
|
196
|
+
box-shadow: 0 10rpx 14rpx 0 rgba(191, 191, 191, 0.2);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.fui-hover-gray {
|
|
200
|
+
background: #f7f7f9 !important;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.fui-black-hover {
|
|
204
|
+
background: #555 !important;
|
|
205
|
+
color: #999999 !important;
|
|
206
|
+
}
|
|
207
|
+
.fui-btn-hover {
|
|
208
|
+
background: #707070 !important;
|
|
209
|
+
color: #fff !important;
|
|
210
|
+
}
|
|
211
|
+
/* button start*/
|
|
212
|
+
|
|
213
|
+
.fui-btn {
|
|
214
|
+
width: 100%;
|
|
215
|
+
position: relative;
|
|
216
|
+
border: 0 !important;
|
|
217
|
+
border-radius: 6rpx;
|
|
218
|
+
padding-left: 0;
|
|
219
|
+
padding-right: 0;
|
|
220
|
+
overflow: visible;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.fui-btn::after {
|
|
224
|
+
content: '';
|
|
225
|
+
position: absolute;
|
|
226
|
+
width: 200%;
|
|
227
|
+
height: 200%;
|
|
228
|
+
transform-origin: 0 0;
|
|
229
|
+
transform: scale(0.5, 0.5) translateZ(0);
|
|
230
|
+
box-sizing: border-box;
|
|
231
|
+
left: 0;
|
|
232
|
+
top: 0;
|
|
233
|
+
border-radius: 12rpx;
|
|
234
|
+
border: 0;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.fui-btn-white::after {
|
|
238
|
+
border: 1rpx solid #bfbfbf;
|
|
239
|
+
}
|
|
240
|
+
.fui-btn-hgray::after {
|
|
241
|
+
border: 1rpx solid #707070;
|
|
242
|
+
}
|
|
243
|
+
.fui-white-hover {
|
|
244
|
+
background: #e5e5e5 !important;
|
|
245
|
+
color: #2e2e2e !important;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.fui-dark-disabled {
|
|
249
|
+
opacity: 0.6 !important;
|
|
250
|
+
color: #fafbfc !important;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.fui-dark-disabled-outline {
|
|
254
|
+
opacity: 0.5 !important;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.fui-gray-disabled {
|
|
258
|
+
background: #f3f3f3 !important;
|
|
259
|
+
color: #919191 !important;
|
|
260
|
+
box-shadow: none;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.fui-outline-hover {
|
|
264
|
+
opacity: 0.5;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.fui-primary-hover {
|
|
268
|
+
background: #4a67d6 !important;
|
|
269
|
+
color: #e5e5e5 !important;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.fui-primary-outline::after {
|
|
273
|
+
border: 1rpx solid #5677fc !important;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.fui-primary-outline {
|
|
277
|
+
color: #5677fc !important;
|
|
278
|
+
background: transparent;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.fui-danger-hover {
|
|
282
|
+
background: #c80808 !important;
|
|
283
|
+
color: #e5e5e5 !important;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.fui-danger-outline {
|
|
287
|
+
color: #eb0909 !important;
|
|
288
|
+
background: transparent;
|
|
289
|
+
}
|
|
290
|
+
.fui-hgray-outline {
|
|
291
|
+
color: #999999 !important;
|
|
292
|
+
background: transparent;
|
|
293
|
+
}
|
|
294
|
+
.fui-hgray-outline::after {
|
|
295
|
+
border: 1rpx solid #999999 !important;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.fui-warning-hover {
|
|
299
|
+
background: #d67326 !important;
|
|
300
|
+
color: #e5e5e5 !important;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.fui-warning-outline {
|
|
304
|
+
color: #fc872d !important;
|
|
305
|
+
background: transparent;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.fui-warning-outline::after {
|
|
309
|
+
border: 1px solid #fc872d !important;
|
|
310
|
+
}
|
|
311
|
+
.fui-btn-outline::after {
|
|
312
|
+
border: 1px solid #fc872d !important;
|
|
313
|
+
}
|
|
314
|
+
.fui-green-hover {
|
|
315
|
+
background: #4fb49b !important;
|
|
316
|
+
color: #e5e5e5 !important;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.fui-green-outline {
|
|
320
|
+
color: #4fb49b !important;
|
|
321
|
+
background: transparent;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.fui-green-outline::after {
|
|
325
|
+
border: 1rpx solid #4fb49b !important;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.fui-blue-hover {
|
|
329
|
+
background: #0062cc !important;
|
|
330
|
+
color: #e5e5e5 !important;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.fui-blue-outline {
|
|
334
|
+
color: #007aff !important;
|
|
335
|
+
background: transparent;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.fui-blue-outline::after {
|
|
339
|
+
border: 1rpx solid #007aff !important;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/* #ifndef APP-NVUE */
|
|
343
|
+
.fui-btn-gradual {
|
|
344
|
+
background: linear-gradient(90deg, rgb(255, 89, 38), rgb(240, 14, 44)) !important;
|
|
345
|
+
color: #fff !important;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.fui-shadow-gradual {
|
|
349
|
+
box-shadow: 0 10rpx 14rpx 0 rgba(235, 9, 9, 0.15);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/* #endif */
|
|
353
|
+
|
|
354
|
+
.fui-gray-hover {
|
|
355
|
+
background: #a3a3a3 !important;
|
|
356
|
+
color: #898989;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/* #ifndef APP-NVUE */
|
|
360
|
+
.fui-gradual-hover {
|
|
361
|
+
background: linear-gradient(90deg, #d74620, #cd1225) !important;
|
|
362
|
+
color: #fff !important;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/* #endif */
|
|
366
|
+
|
|
367
|
+
.fui-gray-outline {
|
|
368
|
+
color: #999 !important;
|
|
369
|
+
background: transparent !important;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.fui-white-outline {
|
|
373
|
+
color: #fff !important;
|
|
374
|
+
background: transparent !important;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.fui-black-outline {
|
|
378
|
+
background: transparent !important;
|
|
379
|
+
color: #999999 !important;
|
|
380
|
+
}
|
|
381
|
+
.fui-hgary-outline {
|
|
382
|
+
background: transparent !important;
|
|
383
|
+
color: #707070 !important;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.fui-gray-outline::after {
|
|
387
|
+
border: 1rpx solid #ccc !important;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.fui-white-outline::after {
|
|
391
|
+
border: 1px solid #fff !important;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.fui-black-outline::after {
|
|
395
|
+
border: 1px solid #333 !important;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/*圆角 */
|
|
399
|
+
|
|
400
|
+
.fui-fillet {
|
|
401
|
+
border-radius: 50rpx;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.fui-btn-white.fui-fillet::after {
|
|
405
|
+
border-radius: 98rpx;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.fui-outline-fillet::after {
|
|
409
|
+
border-radius: 98rpx;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/*平角*/
|
|
413
|
+
.fui-rightAngle {
|
|
414
|
+
border-radius: 0;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.fui-btn-white.fui-rightAngle::after {
|
|
418
|
+
border-radius: 0;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.fui-outline-rightAngle::after {
|
|
422
|
+
border-radius: 0;
|
|
423
|
+
}
|
|
424
|
+
</style>
|