@10yun/cv-mobile-ui 0.5.62 → 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 +10 -10
- 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/libs/ctocode/index.js +1 -0
- package/uview-plus/libs/ctocode/richText.js +0 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view class="up-white__space" :class="['up-whitespace__' + (getHeight ? '' : size)]" :style="getStyles" @tap="handleClick">
|
|
3
|
+
<slot></slot>
|
|
4
|
+
</view>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
emits: ['click'],
|
|
10
|
+
name: 'tuiWhiteSpace',
|
|
11
|
+
props: {
|
|
12
|
+
//small、default、large
|
|
13
|
+
size: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: 'default'
|
|
16
|
+
},
|
|
17
|
+
height: {
|
|
18
|
+
type: [Number, String],
|
|
19
|
+
default: 0
|
|
20
|
+
},
|
|
21
|
+
background: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: 'transparent'
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
computed: {
|
|
27
|
+
getHeight() {
|
|
28
|
+
let styles = '';
|
|
29
|
+
const h = Number(this.height);
|
|
30
|
+
if (h && h > 0) {
|
|
31
|
+
styles += `height:${h}rpx;`;
|
|
32
|
+
}
|
|
33
|
+
return styles;
|
|
34
|
+
},
|
|
35
|
+
getStyles() {
|
|
36
|
+
let styles = `background:${this.background};`;
|
|
37
|
+
styles += this.getHeight;
|
|
38
|
+
return styles;
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
methods: {
|
|
42
|
+
handleClick() {
|
|
43
|
+
this.$emit('click');
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
</script>
|
|
48
|
+
|
|
49
|
+
<style scoped>
|
|
50
|
+
.up-white__space {
|
|
51
|
+
/* #ifndef APP-NVUE */
|
|
52
|
+
width: 100%;
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
/* #endif */
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.up-whitespace__small {
|
|
58
|
+
height: 10rpx;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.up-whitespace__default {
|
|
62
|
+
height: 20rpx;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.up-whitespace__large {
|
|
66
|
+
height: 30rpx;
|
|
67
|
+
}
|
|
68
|
+
</style>
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view
|
|
3
|
+
class="up-wing__blank-wrap"
|
|
4
|
+
:class="[radius ? 'up-wing__blank-hidden' : '', getPadding ? '' : `up-wing__blank-${getSize}`]"
|
|
5
|
+
:style="getStyles"
|
|
6
|
+
@tap="handleClick"
|
|
7
|
+
>
|
|
8
|
+
<slot></slot>
|
|
9
|
+
</view>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
export default {
|
|
14
|
+
name: 'up-wing-blank',
|
|
15
|
+
emits: ['click'],
|
|
16
|
+
props: {
|
|
17
|
+
//small、default、large
|
|
18
|
+
size: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: ''
|
|
21
|
+
},
|
|
22
|
+
gap: {
|
|
23
|
+
type: [Number, String],
|
|
24
|
+
default: 0
|
|
25
|
+
},
|
|
26
|
+
background: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: ''
|
|
29
|
+
},
|
|
30
|
+
radius: {
|
|
31
|
+
type: [Number, String],
|
|
32
|
+
default: 0
|
|
33
|
+
},
|
|
34
|
+
marginTop: {
|
|
35
|
+
type: [Number, String],
|
|
36
|
+
default: 0
|
|
37
|
+
},
|
|
38
|
+
marginBottom: {
|
|
39
|
+
type: [Number, String],
|
|
40
|
+
default: 0
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
computed: {
|
|
44
|
+
getSize() {
|
|
45
|
+
const app = uni && uni.$fui && uni.$fui.fuiWingBlank;
|
|
46
|
+
return this.size || (app && app.size) || 'default';
|
|
47
|
+
},
|
|
48
|
+
getPadding() {
|
|
49
|
+
let styles = '';
|
|
50
|
+
const app = uni && uni.$fui && uni.$fui.fuiWingBlank;
|
|
51
|
+
const padding = Number(this.gap || (app && app.gap) || 0);
|
|
52
|
+
if (padding && padding > 0) {
|
|
53
|
+
styles += `padding:0 ${padding}rpx;`;
|
|
54
|
+
}
|
|
55
|
+
return styles;
|
|
56
|
+
},
|
|
57
|
+
getStyles() {
|
|
58
|
+
const app = uni && uni.$fui && uni.$fui.fuiWingBlank;
|
|
59
|
+
let bgColor = this.background || (app && app.background) || 'transparent';
|
|
60
|
+
|
|
61
|
+
let styles = `background:${bgColor};border-radius:${this.radius}rpx;margin-top:${this.marginTop}rpx;margin-bottom:${this.marginBottom}rpx;`;
|
|
62
|
+
styles += this.getPadding;
|
|
63
|
+
return styles;
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
methods: {
|
|
67
|
+
handleClick() {
|
|
68
|
+
this.$emit('click');
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
</script>
|
|
73
|
+
|
|
74
|
+
<style scoped>
|
|
75
|
+
.up-wing__blank-wrap {
|
|
76
|
+
/* #ifndef APP-NVUE */
|
|
77
|
+
width: 100%;
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
/* #endif */
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.up-wing__blank-hidden {
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.up-wing__blank-small {
|
|
87
|
+
padding: 0 10rpx;
|
|
88
|
+
padding: 0 16rpx;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.up-wing__blank-default {
|
|
92
|
+
padding: 0 20rpx;
|
|
93
|
+
padding: 0 24rpx;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.up-wing__blank-large {
|
|
97
|
+
padding: 0 30rpx;
|
|
98
|
+
padding: 0 32rpx;
|
|
99
|
+
}
|
|
100
|
+
</style>
|