@10yun/cv-mobile-ui 0.5.61 → 0.5.63
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/uni-extend.js +109 -0
- package/ui-cv/components/cv-dialog-bottom/cv-dialog-bottom.vue +71 -47
- package/ui-cv/components/cv-dialog-full/cv-dialog-full.vue +20 -17
- package/ui-cv/components/cv-upload-avatar/cv-upload-avatar.vue +0 -1
- package/ui-cv/components/cv-upload-image/cv-upload-image.vue +0 -1
- package/ui-fireui/components/u-action-sheet/u-action-sheet.vue +46 -16
- package/ui-fireui/components/u-alert/u-alert.vue +11 -5
- package/ui-fireui/components/u-badge/u-badge.vue +52 -69
- package/ui-fireui/components/u-bottom-navigation/u-bottom-navigation.vue +28 -20
- package/ui-fireui/components/u-bottom-popup/u-bottom-popup.vue +40 -11
- package/ui-fireui/components/u-bubble-popup/u-bubble-popup.vue +3 -6
- package/ui-fireui/components/u-button/u-button.vue +262 -259
- package/ui-fireui/components/u-calendar/u-calendar.vue +227 -44
- package/ui-fireui/components/u-calendar/u-calendar2.js +562 -0
- package/ui-fireui/components/u-card/u-card.vue +50 -32
- package/ui-fireui/components/u-cascade-selection/u-cascade-selection.vue +197 -74
- package/ui-fireui/components/u-circular-progress/u-circular-progress.vue +324 -0
- package/ui-fireui/components/u-clipboard2/tui-clipboard.js +53 -0
- package/ui-fireui/components/u-collapse/u-collapse.vue +8 -8
- package/ui-fireui/components/u-config/index.js +129 -0
- package/ui-fireui/components/u-count-down/u-count-down.vue +124 -19
- package/ui-fireui/components/u-datetime/u-datetime.vue +416 -176
- package/ui-fireui/components/u-divider/u-divider.vue +3 -3
- package/ui-fireui/components/u-drawer/u-drawer.vue +55 -12
- package/ui-fireui/components/u-dropdown-list/u-dropdown-list.vue +103 -0
- package/ui-fireui/components/u-fab/u-fab.vue +344 -0
- package/ui-fireui/components/u-footer/u-footer.vue +148 -0
- package/ui-fireui/components/u-grid/u-grid.vue +2 -8
- package/ui-fireui/components/u-grid-item/u-grid-item.vue +22 -5
- package/ui-fireui/components/u-icon/u-icon-new.js +190 -0
- package/ui-fireui/components/u-icon/u-icon-new.vue +100 -0
- package/ui-fireui/components/u-image-cropper/u-image-cropper.vue +1144 -0
- package/ui-fireui/components/u-image-group/u-image-group.vue +164 -0
- package/ui-fireui/components/u-keyboard/u-keyboard.vue +3 -2
- package/ui-fireui/components/u-keyboard-input/u-keyboard-input.vue +1 -1
- package/ui-fireui/components/u-list-cell/u-list-cell.vue +82 -72
- package/ui-fireui/components/u-list-view/u-list-view.vue +33 -8
- package/ui-fireui/components/u-loading/u-loading.vue +107 -27
- package/ui-fireui/components/u-loadmore/u-loadmore.vue +21 -3
- package/ui-fireui/components/u-modal/u-modal.vue +140 -176
- package/ui-fireui/components/u-navigation-bar/u-navigation-bar.vue +121 -28
- package/ui-fireui/components/u-no-data/u-no-data.vue +58 -20
- package/ui-fireui/components/u-nomore/u-nomore.vue +5 -4
- package/ui-fireui/components/u-numberbox/u-numberbox.vue +88 -45
- package/ui-fireui/components/u-picture-cropper/u-picture-cropper.vue +94 -36
- package/ui-fireui/components/u-picture-cropper/u-picture-cropper.wxs +27 -17
- package/ui-fireui/components/u-rate/u-rate.vue +197 -0
- package/ui-fireui/components/u-round-progress/u-round-progress.vue +62 -42
- package/ui-fireui/components/u-scroll-top/u-scroll-top.vue +4 -3
- package/ui-fireui/components/u-section/u-section.vue +149 -0
- package/ui-fireui/components/u-skeleton/u-skeleton.vue +37 -6
- package/ui-fireui/components/u-steps/u-steps.vue +110 -27
- package/ui-fireui/components/u-sticky/u-sticky.vue +35 -21
- package/ui-fireui/components/u-sticky-wxs/u-sticky-wxs.vue +7 -4
- package/ui-fireui/components/u-sticky-wxs/u-sticky.wxs +39 -36
- package/ui-fireui/components/u-swipe-action/u-swipe-action.vue +76 -19
- package/ui-fireui/components/u-tabbar/u-tabbar.vue +71 -38
- package/ui-fireui/components/u-tabs/u-tabs.vue +133 -51
- package/ui-fireui/components/u-tag/u-tag.vue +109 -226
- package/ui-fireui/components/u-time-axis/u-time-axis.vue +1 -1
- package/ui-fireui/components/u-timeaxis-item/u-timeaxis-item.vue +1 -1
- package/ui-fireui/components/u-tips/u-tips.vue +35 -15
- package/ui-fireui/components/u-toast/u-toast.vue +9 -5
- package/ui-fireui/components/u-top-dropdown/u-top-dropdown.vue +8 -6
- package/ui-fireui/components/u-upload/u-upload-old.vue +462 -0
- package/ui-fireui/components/u-upload/u-upload.vue +648 -446
- package/ui-fireui/components/u-white-space/u-white-space.vue +68 -0
- package/ui-fireui/components/u-wing-blank/u-wing-blank.vue +100 -0
- package/uview-plus/changelog-v2.md +77 -6
- package/uview-plus/changelog-wu.md +41 -14
- package/uview-plus/changelog.md +375 -59
- package/uview-plus/libs/ctocode/index.js +1 -0
- package/{plugins/uni-richText.js → uview-plus/libs/ctocode/richText.js} +28 -32
- package/uview-plus/package-wu.json +5 -37
- package/uview-plus/package.json +13 -14
- package/plugins/tui-validation.js +0 -279
- package/plugins/uni-scanCode.js +0 -76
- package/plugins/uni-socket.js +0 -174
- package/plugins/uniMap.js +0 -48
- package/plugins/utils.js +0 -13
- package/uview-plus/changelog-wu-tool.md +0 -21
- package/uview-plus/package-wu-tool.json +0 -84
|
@@ -1,34 +1,78 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
class="up-
|
|
2
|
+
<view
|
|
3
|
+
class="up-button__wrap"
|
|
4
4
|
:class="[
|
|
5
|
-
|
|
6
|
-
getDisabledClass(disabled, type, plain),
|
|
5
|
+
(width === '100%' || !width || width === true) && (!btnSize || btnSize === true) ? 'up-btn__flex-1' : '',
|
|
7
6
|
getShapeClass(shape, plain),
|
|
8
|
-
|
|
7
|
+
!disabled ? 'up-button__hover' : ''
|
|
9
8
|
]"
|
|
10
|
-
:
|
|
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"
|
|
9
|
+
:style="{ width: getWidth, height: getHeight, margin: margin }"
|
|
17
10
|
>
|
|
18
|
-
<
|
|
19
|
-
|
|
11
|
+
<button
|
|
12
|
+
class="up-btn"
|
|
13
|
+
:class="[
|
|
14
|
+
plain ? 'up-' + type + '-outline' : 'up-btn-' + (type || 'primary'),
|
|
15
|
+
getDisabledClass(disabled, type, plain),
|
|
16
|
+
getShapeClass(shape, plain),
|
|
17
|
+
bold ? 'up-text-bold' : '',
|
|
18
|
+
link ? 'up-btn__link' : ''
|
|
19
|
+
]"
|
|
20
|
+
:style="{
|
|
21
|
+
width: getWidth,
|
|
22
|
+
height: getHeight,
|
|
23
|
+
lineHeight: getHeight,
|
|
24
|
+
fontSize: getSize + 'rpx',
|
|
25
|
+
background: getBgColor(type, plain),
|
|
26
|
+
color: getColor(type, plain),
|
|
27
|
+
boxShadow: shadow ? getShadow(type, plain) : 'none'
|
|
28
|
+
}"
|
|
29
|
+
:loading="loading"
|
|
30
|
+
:form-type="formType"
|
|
31
|
+
:open-type="openType"
|
|
32
|
+
:app-parameter="appParameter"
|
|
33
|
+
@getuserinfo="bindgetuserinfo"
|
|
34
|
+
@getphonenumber="bindgetphonenumber"
|
|
35
|
+
@contact="bindcontact"
|
|
36
|
+
@error="binderror"
|
|
37
|
+
@chooseavatar="bindchooseavatar"
|
|
38
|
+
@launchapp="bindlaunchapp"
|
|
39
|
+
:disabled="disabled"
|
|
40
|
+
@tap="handleClick"
|
|
41
|
+
>
|
|
42
|
+
<slot></slot>
|
|
43
|
+
</button>
|
|
44
|
+
<view
|
|
45
|
+
class="up-button__border"
|
|
46
|
+
:class="[getShapeClass(shape, plain), getDisabledClass(disabled, type, plain)]"
|
|
47
|
+
:style="{ borderColor: getBgColor(type) }"
|
|
48
|
+
v-if="!link && plain"
|
|
49
|
+
></view>
|
|
50
|
+
</view>
|
|
20
51
|
</template>
|
|
21
52
|
|
|
22
53
|
<script>
|
|
23
54
|
export default {
|
|
24
|
-
name: '
|
|
55
|
+
name: 'tuiButton',
|
|
56
|
+
emits: ['click', 'getuserinfo', 'contact', 'getphonenumber', 'error', 'chooseavatar', 'launchapp'],
|
|
57
|
+
// #ifdef MP-WEIXIN
|
|
58
|
+
behaviors: ['wx://form-field-button'],
|
|
59
|
+
// #endif
|
|
60
|
+
// #ifdef MP-BAIDU
|
|
61
|
+
behaviors: ['swan://form-field'],
|
|
62
|
+
// #endif
|
|
63
|
+
// #ifdef MP-QQ
|
|
64
|
+
behaviors: ['qq://form-field'],
|
|
65
|
+
// #endif
|
|
66
|
+
// #ifdef H5
|
|
67
|
+
behaviors: ['uni://form-field'],
|
|
68
|
+
// #endif
|
|
25
69
|
props: {
|
|
26
|
-
//样式类型 primary, white, danger, warning, green,blue, gray,black,
|
|
70
|
+
//样式类型 primary, white, danger, warning, green,blue, gray,black,brown,gray-primary,gray-danger,gray-warning,gray-green
|
|
27
71
|
type: {
|
|
28
72
|
type: String,
|
|
29
73
|
default: 'primary'
|
|
30
74
|
},
|
|
31
|
-
//是否加阴影
|
|
75
|
+
//是否加阴影 移除
|
|
32
76
|
shadow: {
|
|
33
77
|
type: Boolean,
|
|
34
78
|
default: false
|
|
@@ -38,15 +82,24 @@ export default {
|
|
|
38
82
|
type: String,
|
|
39
83
|
default: '100%'
|
|
40
84
|
},
|
|
41
|
-
|
|
85
|
+
// 高度 rpx
|
|
42
86
|
height: {
|
|
43
87
|
type: String,
|
|
44
|
-
default: '
|
|
88
|
+
default: ''
|
|
45
89
|
},
|
|
46
|
-
|
|
90
|
+
//medium 184*40 / small 120 40/ mini 58*32
|
|
91
|
+
btnSize: {
|
|
92
|
+
type: String,
|
|
93
|
+
default: ''
|
|
94
|
+
},
|
|
95
|
+
//字体大小,单位rpx
|
|
47
96
|
size: {
|
|
48
|
-
type: Number,
|
|
49
|
-
default:
|
|
97
|
+
type: [Number, String],
|
|
98
|
+
default: 0
|
|
99
|
+
},
|
|
100
|
+
bold: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
default: false
|
|
50
103
|
},
|
|
51
104
|
margin: {
|
|
52
105
|
type: String,
|
|
@@ -61,6 +114,11 @@ export default {
|
|
|
61
114
|
type: Boolean,
|
|
62
115
|
default: false
|
|
63
116
|
},
|
|
117
|
+
//link样式,去掉边框,结合plain一起使用
|
|
118
|
+
link: {
|
|
119
|
+
type: Boolean,
|
|
120
|
+
default: false
|
|
121
|
+
},
|
|
64
122
|
disabled: {
|
|
65
123
|
type: Boolean,
|
|
66
124
|
default: false
|
|
@@ -74,18 +132,136 @@ export default {
|
|
|
74
132
|
type: Boolean,
|
|
75
133
|
default: false
|
|
76
134
|
},
|
|
135
|
+
formType: {
|
|
136
|
+
type: String,
|
|
137
|
+
default: ''
|
|
138
|
+
},
|
|
77
139
|
openType: {
|
|
78
140
|
type: String,
|
|
79
141
|
default: ''
|
|
80
142
|
},
|
|
143
|
+
appParameter: {
|
|
144
|
+
type: String,
|
|
145
|
+
default: ''
|
|
146
|
+
},
|
|
81
147
|
index: {
|
|
82
148
|
type: [Number, String],
|
|
83
149
|
default: 0
|
|
150
|
+
},
|
|
151
|
+
//是否需要阻止重复点击【默认200ms】
|
|
152
|
+
preventClick: {
|
|
153
|
+
type: Boolean,
|
|
154
|
+
default: false
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
computed: {
|
|
158
|
+
getWidth() {
|
|
159
|
+
//medium 184*40 / small 120 40/ mini 58*32
|
|
160
|
+
let width = this.width;
|
|
161
|
+
if (this.btnSize && this.btnSize !== true) {
|
|
162
|
+
width =
|
|
163
|
+
{
|
|
164
|
+
medium: '368rpx',
|
|
165
|
+
small: '240rpx',
|
|
166
|
+
mini: '116rpx'
|
|
167
|
+
}[this.btnSize] || this.width;
|
|
168
|
+
}
|
|
169
|
+
return width;
|
|
170
|
+
},
|
|
171
|
+
getHeight() {
|
|
172
|
+
//medium 184*40 / small 120 40/ mini 58*32
|
|
173
|
+
let height = this.height || (uni && uni.$tui && uni.$tui.tuiButton.height) || '96rpx';
|
|
174
|
+
if (this.btnSize && this.btnSize !== true) {
|
|
175
|
+
height =
|
|
176
|
+
{
|
|
177
|
+
medium: '80rpx',
|
|
178
|
+
small: '80rpx',
|
|
179
|
+
mini: '64rpx'
|
|
180
|
+
}[this.btnSize] || '96rpx';
|
|
181
|
+
}
|
|
182
|
+
return height;
|
|
183
|
+
},
|
|
184
|
+
getSize() {
|
|
185
|
+
return this.size || (uni && uni.$tui && uni.$tui.tuiButton.size) || 32;
|
|
84
186
|
}
|
|
85
187
|
},
|
|
188
|
+
data() {
|
|
189
|
+
return {
|
|
190
|
+
time: 0
|
|
191
|
+
};
|
|
192
|
+
},
|
|
86
193
|
methods: {
|
|
194
|
+
hexToRGB(hex) {
|
|
195
|
+
if (hex.length === 4) {
|
|
196
|
+
let text = hex.substring(1, 4);
|
|
197
|
+
hex = '#' + text + text;
|
|
198
|
+
}
|
|
199
|
+
let result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
|
|
200
|
+
return result
|
|
201
|
+
? {
|
|
202
|
+
r: parseInt(result[1], 16),
|
|
203
|
+
g: parseInt(result[2], 16),
|
|
204
|
+
b: parseInt(result[3], 16)
|
|
205
|
+
}
|
|
206
|
+
: {};
|
|
207
|
+
},
|
|
208
|
+
getColorByType(type, isText, plain) {
|
|
209
|
+
const global = uni && uni.$tui && uni.$tui.color;
|
|
210
|
+
let color = '';
|
|
211
|
+
const colors = {
|
|
212
|
+
primary: (global && global.primary) || '#5677fc',
|
|
213
|
+
white: '#fff',
|
|
214
|
+
danger: (global && global.danger) || '#EB0909',
|
|
215
|
+
warning: (global && global.warning) || '#ff7900',
|
|
216
|
+
green: (global && global.success) || '#07c160',
|
|
217
|
+
blue: (global && global.blue) || '#007aff',
|
|
218
|
+
gray: '#bfbfbf',
|
|
219
|
+
black: '#333333',
|
|
220
|
+
brown: '#ac9157',
|
|
221
|
+
'gray-primary': '#f2f2f2',
|
|
222
|
+
'gray-danger': '#f2f2f2',
|
|
223
|
+
'gray-warning': '#f2f2f2',
|
|
224
|
+
'gray-green': '#f2f2f2'
|
|
225
|
+
};
|
|
226
|
+
if (isText) {
|
|
227
|
+
if (type && ~type.indexOf('gray-')) {
|
|
228
|
+
const tp = type.replace('gray-', '');
|
|
229
|
+
color = colors[tp];
|
|
230
|
+
} else if (type === 'white') {
|
|
231
|
+
color = '#333';
|
|
232
|
+
} else {
|
|
233
|
+
if (plain) {
|
|
234
|
+
color = colors[type];
|
|
235
|
+
} else {
|
|
236
|
+
color = '#fff';
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
} else {
|
|
240
|
+
color = colors[type] || colors.primary;
|
|
241
|
+
}
|
|
242
|
+
return color;
|
|
243
|
+
},
|
|
244
|
+
getShadow(type, plain) {
|
|
245
|
+
const color = this.getColorByType(type);
|
|
246
|
+
if (plain || !color) return 'none';
|
|
247
|
+
const rgb = this.hexToRGB(color);
|
|
248
|
+
return `0 10rpx 14rpx 0 rgba(${rgb.r}, ${rgb.g}, ${rgb.b}, 0.2)`;
|
|
249
|
+
},
|
|
250
|
+
getBgColor(type, plain) {
|
|
251
|
+
return plain ? 'transparent' : this.getColorByType(type);
|
|
252
|
+
},
|
|
253
|
+
getColor(type, plain) {
|
|
254
|
+
return this.getColorByType(type, true, plain);
|
|
255
|
+
},
|
|
87
256
|
handleClick() {
|
|
88
|
-
if (this.disabled) return
|
|
257
|
+
if (this.disabled) return;
|
|
258
|
+
if (this.preventClick) {
|
|
259
|
+
if (new Date().getTime() - this.time <= 200) return;
|
|
260
|
+
this.time = new Date().getTime();
|
|
261
|
+
setTimeout(() => {
|
|
262
|
+
this.time = 0;
|
|
263
|
+
}, 200);
|
|
264
|
+
}
|
|
89
265
|
this.$emit('click', {
|
|
90
266
|
index: Number(this.index)
|
|
91
267
|
});
|
|
@@ -93,16 +269,24 @@ export default {
|
|
|
93
269
|
bindgetuserinfo({ detail = {} } = {}) {
|
|
94
270
|
this.$emit('getuserinfo', detail);
|
|
95
271
|
},
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
272
|
+
bindcontact({ detail = {} } = {}) {
|
|
273
|
+
this.$emit('contact', detail);
|
|
274
|
+
},
|
|
275
|
+
bindgetphonenumber({ detail = {} } = {}) {
|
|
276
|
+
this.$emit('getphonenumber', detail);
|
|
277
|
+
},
|
|
278
|
+
binderror({ detail = {} } = {}) {
|
|
279
|
+
this.$emit('error', detail);
|
|
280
|
+
},
|
|
281
|
+
bindchooseavatar({ detail = {} } = {}) {
|
|
282
|
+
this.$emit('chooseavatar', detail);
|
|
283
|
+
},
|
|
284
|
+
bindlaunchapp({ detail = {} } = {}) {
|
|
285
|
+
this.$emit('launchapp', detail);
|
|
102
286
|
},
|
|
103
287
|
getDisabledClass(disabled, type, plain) {
|
|
104
288
|
let className = '';
|
|
105
|
-
if (disabled && type != 'white') {
|
|
289
|
+
if (disabled && type != 'white' && type.indexOf('-') == -1) {
|
|
106
290
|
let classVal = this.disabledGray ? 'up-gray-disabled' : 'up-dark-disabled';
|
|
107
291
|
className = plain ? 'up-dark-disabled-outline' : classVal;
|
|
108
292
|
}
|
|
@@ -129,99 +313,47 @@ export default {
|
|
|
129
313
|
</script>
|
|
130
314
|
|
|
131
315
|
<style scoped>
|
|
132
|
-
.up-
|
|
133
|
-
|
|
134
|
-
color: #fff;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.up-shadow-primary {
|
|
138
|
-
box-shadow: 0 10rpx 14rpx 0 rgba(86, 119, 252, 0.2);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.up-btn-danger {
|
|
142
|
-
background: #eb0909 !important;
|
|
143
|
-
color: #fff;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.up-shadow-danger {
|
|
147
|
-
box-shadow: 0 10rpx 14rpx 0 rgba(235, 9, 9, 0.2);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.up-btn-warning {
|
|
151
|
-
background: #fc872d !important;
|
|
152
|
-
color: #fff;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.up-shadow-warning {
|
|
156
|
-
box-shadow: 0 10rpx 14rpx 0 rgba(252, 135, 45, 0.2);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.up-btn-green {
|
|
160
|
-
background: #4fb49b !important;
|
|
161
|
-
color: #fff;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.up-shadow-green {
|
|
165
|
-
box-shadow: 0 10rpx 14rpx 0 rgba(53, 176, 106, 0.2);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.up-btn-blue {
|
|
169
|
-
background: #007aff !important;
|
|
170
|
-
color: #fff;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.up-shadow-blue {
|
|
174
|
-
box-shadow: 0 10rpx 14rpx 0 rgba(0, 122, 255, 0.2);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.up-btn-white {
|
|
178
|
-
background: #fff !important;
|
|
179
|
-
color: #333 !important;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.up-btn-gray {
|
|
183
|
-
background: #bfbfbf !important;
|
|
184
|
-
color: #fff !important;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.up-btn-black {
|
|
188
|
-
background: #262871 !important;
|
|
189
|
-
color: #999999 !important;
|
|
190
|
-
}
|
|
191
|
-
.up-btn-hgray {
|
|
192
|
-
background: #707070 !important;
|
|
193
|
-
color: #fff !important;
|
|
194
|
-
}
|
|
195
|
-
.up-shadow-gray {
|
|
196
|
-
box-shadow: 0 10rpx 14rpx 0 rgba(191, 191, 191, 0.2);
|
|
316
|
+
.up-button__wrap {
|
|
317
|
+
position: relative;
|
|
197
318
|
}
|
|
198
319
|
|
|
199
|
-
.up-
|
|
200
|
-
|
|
320
|
+
.up-button__hover:active::after {
|
|
321
|
+
content: '';
|
|
322
|
+
position: absolute;
|
|
323
|
+
width: 100%;
|
|
324
|
+
height: 100%;
|
|
325
|
+
left: 0;
|
|
326
|
+
top: 0;
|
|
327
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
328
|
+
border-radius: 6rpx;
|
|
329
|
+
pointer-events: none;
|
|
201
330
|
}
|
|
202
331
|
|
|
203
|
-
.up-black-hover {
|
|
204
|
-
background: #555 !important;
|
|
205
|
-
color: #999999 !important;
|
|
206
|
-
}
|
|
207
|
-
.up-btn-hover {
|
|
208
|
-
background: #707070 !important;
|
|
209
|
-
color: #fff !important;
|
|
210
|
-
}
|
|
211
332
|
/* button start*/
|
|
212
333
|
|
|
213
334
|
.up-btn {
|
|
214
335
|
width: 100%;
|
|
215
336
|
position: relative;
|
|
216
337
|
border: 0 !important;
|
|
338
|
+
box-sizing: border-box;
|
|
217
339
|
border-radius: 6rpx;
|
|
218
340
|
padding-left: 0;
|
|
219
341
|
padding-right: 0;
|
|
220
342
|
overflow: visible;
|
|
343
|
+
display: flex;
|
|
344
|
+
align-items: center;
|
|
345
|
+
justify-content: center;
|
|
221
346
|
}
|
|
222
347
|
|
|
223
348
|
.up-btn::after {
|
|
224
|
-
|
|
349
|
+
border: 0;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.up-btn__flex-1 {
|
|
353
|
+
flex: 1;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.up-button__border {
|
|
225
357
|
position: absolute;
|
|
226
358
|
width: 200%;
|
|
227
359
|
height: 200%;
|
|
@@ -231,18 +363,12 @@ export default {
|
|
|
231
363
|
left: 0;
|
|
232
364
|
top: 0;
|
|
233
365
|
border-radius: 12rpx;
|
|
234
|
-
border:
|
|
366
|
+
border: 1px solid transparent;
|
|
367
|
+
pointer-events: none;
|
|
235
368
|
}
|
|
236
369
|
|
|
237
|
-
.up-
|
|
238
|
-
|
|
239
|
-
}
|
|
240
|
-
.up-btn-hgray::after {
|
|
241
|
-
border: 1rpx solid #707070;
|
|
242
|
-
}
|
|
243
|
-
.up-white-hover {
|
|
244
|
-
background: #e5e5e5 !important;
|
|
245
|
-
color: #2e2e2e !important;
|
|
370
|
+
.up-text-bold {
|
|
371
|
+
font-weight: bold;
|
|
246
372
|
}
|
|
247
373
|
|
|
248
374
|
.up-dark-disabled {
|
|
@@ -260,165 +386,42 @@ export default {
|
|
|
260
386
|
box-shadow: none;
|
|
261
387
|
}
|
|
262
388
|
|
|
263
|
-
.up-outline-hover {
|
|
264
|
-
opacity: 0.5;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.up-primary-hover {
|
|
268
|
-
background: #4a67d6 !important;
|
|
269
|
-
color: #e5e5e5 !important;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.up-primary-outline::after {
|
|
273
|
-
border: 1rpx solid #5677fc !important;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.up-primary-outline {
|
|
277
|
-
color: #5677fc !important;
|
|
278
|
-
background: transparent;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.up-danger-hover {
|
|
282
|
-
background: #c80808 !important;
|
|
283
|
-
color: #e5e5e5 !important;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.up-danger-outline {
|
|
287
|
-
color: #eb0909 !important;
|
|
288
|
-
background: transparent;
|
|
289
|
-
}
|
|
290
|
-
.up-hgray-outline {
|
|
291
|
-
color: #999999 !important;
|
|
292
|
-
background: transparent;
|
|
293
|
-
}
|
|
294
|
-
.up-hgray-outline::after {
|
|
295
|
-
border: 1rpx solid #999999 !important;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.up-warning-hover {
|
|
299
|
-
background: #d67326 !important;
|
|
300
|
-
color: #e5e5e5 !important;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.up-warning-outline {
|
|
304
|
-
color: #fc872d !important;
|
|
305
|
-
background: transparent;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.up-warning-outline::after {
|
|
309
|
-
border: 1px solid #fc872d !important;
|
|
310
|
-
}
|
|
311
|
-
.up-btn-outline::after {
|
|
312
|
-
border: 1px solid #fc872d !important;
|
|
313
|
-
}
|
|
314
|
-
.up-green-hover {
|
|
315
|
-
background: #4fb49b !important;
|
|
316
|
-
color: #e5e5e5 !important;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.up-green-outline {
|
|
320
|
-
color: #4fb49b !important;
|
|
321
|
-
background: transparent;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.up-green-outline::after {
|
|
325
|
-
border: 1rpx solid #4fb49b !important;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.up-blue-hover {
|
|
329
|
-
background: #0062cc !important;
|
|
330
|
-
color: #e5e5e5 !important;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.up-blue-outline {
|
|
334
|
-
color: #007aff !important;
|
|
335
|
-
background: transparent;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.up-blue-outline::after {
|
|
339
|
-
border: 1rpx solid #007aff !important;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/* #ifndef APP-NVUE */
|
|
343
|
-
.up-btn-gradual {
|
|
344
|
-
background: linear-gradient(90deg, rgb(255, 89, 38), rgb(240, 14, 44)) !important;
|
|
345
|
-
color: #fff !important;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.up-shadow-gradual {
|
|
349
|
-
box-shadow: 0 10rpx 14rpx 0 rgba(235, 9, 9, 0.15);
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
/* #endif */
|
|
353
|
-
|
|
354
|
-
.up-gray-hover {
|
|
355
|
-
background: #a3a3a3 !important;
|
|
356
|
-
color: #898989;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
/* #ifndef APP-NVUE */
|
|
360
|
-
.up-gradual-hover {
|
|
361
|
-
background: linear-gradient(90deg, #d74620, #cd1225) !important;
|
|
362
|
-
color: #fff !important;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/* #endif */
|
|
366
|
-
|
|
367
|
-
.up-gray-outline {
|
|
368
|
-
color: #999 !important;
|
|
369
|
-
background: transparent !important;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.up-white-outline {
|
|
373
|
-
color: #fff !important;
|
|
374
|
-
background: transparent !important;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.up-black-outline {
|
|
378
|
-
background: transparent !important;
|
|
379
|
-
color: #999999 !important;
|
|
380
|
-
}
|
|
381
|
-
.up-hgary-outline {
|
|
382
|
-
background: transparent !important;
|
|
383
|
-
color: #707070 !important;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
.up-gray-outline::after {
|
|
387
|
-
border: 1rpx solid #ccc !important;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
.up-white-outline::after {
|
|
391
|
-
border: 1px solid #fff !important;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.up-black-outline::after {
|
|
395
|
-
border: 1px solid #333 !important;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
389
|
/*圆角 */
|
|
399
390
|
|
|
400
391
|
.up-fillet {
|
|
401
|
-
border-radius:
|
|
392
|
+
border-radius: 220rpx !important;
|
|
402
393
|
}
|
|
403
394
|
|
|
404
|
-
.up-
|
|
405
|
-
border-radius:
|
|
395
|
+
.up-fillet::after {
|
|
396
|
+
border-radius: 220rpx !important;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.up-outline-fillet {
|
|
400
|
+
border-radius: 220rpx !important;
|
|
406
401
|
}
|
|
407
402
|
|
|
408
403
|
.up-outline-fillet::after {
|
|
409
|
-
border-radius:
|
|
404
|
+
border-radius: 220rpx !important;
|
|
410
405
|
}
|
|
411
406
|
|
|
412
407
|
/*平角*/
|
|
413
408
|
.up-rightAngle {
|
|
414
|
-
border-radius: 0;
|
|
409
|
+
border-radius: 0 !important;
|
|
415
410
|
}
|
|
416
411
|
|
|
417
|
-
.up-
|
|
418
|
-
border-radius: 0;
|
|
412
|
+
.up-rightAngle::after {
|
|
413
|
+
border-radius: 0 !important;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.up-outline-rightAngle {
|
|
417
|
+
border-radius: 0 !important;
|
|
419
418
|
}
|
|
420
419
|
|
|
421
420
|
.up-outline-rightAngle::after {
|
|
422
|
-
border-radius: 0;
|
|
421
|
+
border-radius: 0 !important;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.up-btn__link::after {
|
|
425
|
+
border: 0 !important;
|
|
423
426
|
}
|
|
424
427
|
</style>
|