@10yun/cv-mobile-ui 0.5.13 → 0.5.15
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/ui-cv/cv-banner/cv-banner.vue +1 -0
- package/ui-cv/cv-banner-card/cv-banner-card.vue +1 -0
- package/ui-cv/cv-base-audio/cv-base-audio.vue +1 -0
- package/ui-cv/cv-btn-base/cv-btn-base.vue +17 -14
- package/ui-cv/cv-cell-row/cv-cell-row.vue +2 -4
- package/ui-cv/cv-checkbox-group/cv-checkbox-group.vue +1 -0
- package/ui-cv/cv-code-sms/cv-code-sms.vue +1 -0
- package/ui-cv/cv-date-base/cv-date-base.vue +1 -0
- package/ui-cv/cv-datetime-base/cv-datetime-base.vue +1 -0
- package/ui-cv/cv-datetime-linkage/cv-datetime-linkage.vue +1 -0
- package/ui-cv/cv-dialog-bottom/cv-dialog-bottom.vue +1 -0
- package/ui-cv/cv-dialog-share/cv-dialog-share.vue +2 -0
- package/ui-cv/cv-draw-barcode/cv-draw-barcode.vue +1 -0
- package/ui-cv/cv-draw-posters/cv-draw-posters.vue +1 -0
- package/ui-cv/cv-draw-qrcode/cv-draw-qrcode.vue +1 -0
- package/ui-cv/cv-editor-parse/cv-editor-parse.vue +1 -0
- package/ui-cv/cv-editor-parse/u-parse.vue +1 -0
- package/ui-cv/cv-editor-quill/cv-editor-quill.vue +1 -0
- package/ui-cv/cv-filter-hm/cv-filter-hm.vue +1 -0
- package/ui-cv/cv-form-base/cv-form-base.vue +0 -1
- package/ui-cv/cv-form-item/cv-form-item.vue +0 -1
- package/ui-cv/cv-geo-local/cv-geo-local.vue +1 -0
- package/ui-cv/cv-geo-region/cv-geo-region.vue +1 -0
- package/ui-cv/cv-input-digit/cv-input-digit.vue +1 -0
- package/ui-cv/cv-input-idcard/cv-input-idcard.vue +1 -0
- package/ui-cv/cv-input-number/cv-input-number.vue +1 -0
- package/ui-cv/cv-input-password/cv-input-password.vue +1 -0
- package/ui-cv/cv-input-text/cv-input-text.vue +1 -0
- package/ui-cv/cv-lists-base/cv-lists-base.vue +1 -0
- package/ui-cv/cv-lists-swiper/cv-lists-swipe2r.vue +1 -0
- package/ui-cv/cv-lists-swiper/cv-lists-swiper.vue +1 -0
- package/ui-cv/cv-nav-col/cv-nav-col.vue +1 -0
- package/ui-cv/cv-picker1/cv-picker1.vue +1 -0
- package/ui-cv/cv-picker2/cv-picker2.vue +1 -0
- package/ui-cv/cv-picker3/cv-picker3.vue +1 -0
- package/ui-cv/cv-radio-group/cv-radio-group.vue +1 -0
- package/ui-cv/cv-rate/cv-rate.vue +1 -0
- package/ui-cv/cv-rate/uni-rate.vue +1 -0
- package/ui-cv/cv-search/cv-search.vue +1 -0
- package/ui-cv/cv-specs/cv-specs.vue +1 -0
- package/ui-cv/cv-switch/cv-switch.vue +1 -0
- package/ui-cv/cv-tab-lists/cv-tab-lists.vue +1 -0
- package/ui-cv/cv-tabs-box/cv-tabs-box.vue +1 -0
- package/ui-cv/cv-textarea/cv-textarea.vue +1 -0
- package/ui-cv/cv-time-base/cv-time-base.vue +1 -0
- package/ui-cv/cv-treaty/cv-treaty.vue +1 -1
- package/ui-cv/cv-upload-avatar/cv-upload-avatar.vue +1 -0
- package/ui-cv/cv-upload-image/cv-upload-image.vue +1 -1
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<script>
|
|
5
5
|
export default {
|
|
6
6
|
name: 'cvBtnBase',
|
|
7
|
+
emits: ['click'],
|
|
7
8
|
props: {
|
|
8
9
|
size: {
|
|
9
10
|
type: [String],
|
|
@@ -26,7 +27,9 @@ export default {
|
|
|
26
27
|
}
|
|
27
28
|
},
|
|
28
29
|
data() {
|
|
29
|
-
return {
|
|
30
|
+
return {
|
|
31
|
+
loadingStatus: true
|
|
32
|
+
};
|
|
30
33
|
},
|
|
31
34
|
created() {},
|
|
32
35
|
methods: {
|
|
@@ -36,30 +39,30 @@ export default {
|
|
|
36
39
|
}
|
|
37
40
|
},
|
|
38
41
|
parentClick(evt) {
|
|
39
|
-
this.$emit('click', evt);
|
|
40
42
|
if (this.autoLoading) {
|
|
41
|
-
this.loadingStatus
|
|
43
|
+
if (this.loadingStatus) {
|
|
44
|
+
this.loadingStatus = false;
|
|
45
|
+
this.$emit('click', () => {
|
|
46
|
+
this.loadingStatus = true;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
} else {
|
|
50
|
+
this.$emit('click', evt);
|
|
42
51
|
}
|
|
43
|
-
this.$emit('click', () => {
|
|
44
|
-
this.loadingStatus = false;
|
|
45
|
-
});
|
|
46
52
|
}
|
|
47
53
|
}
|
|
48
54
|
};
|
|
49
55
|
</script>
|
|
50
|
-
|
|
51
56
|
<style>
|
|
52
57
|
.cv-button-wrap {
|
|
53
58
|
padding: 0 10px;
|
|
54
|
-
/* margin-top: 10px;
|
|
55
|
-
font-size: 14px;
|
|
56
|
-
margin: 0px 15px; */
|
|
57
|
-
/* line-height: 100%; */
|
|
58
|
-
/* padding: 6px 5px; */
|
|
59
|
-
/* margin-bottom: 5px; */
|
|
60
59
|
margin: 0 10px;
|
|
60
|
+
margin-bottom: 10px;
|
|
61
|
+
font-size: 15px;
|
|
62
|
+
}
|
|
63
|
+
.cv-button-wrap:last-child {
|
|
64
|
+
margin-bottom: 0;
|
|
61
65
|
}
|
|
62
|
-
|
|
63
66
|
.cv-button-item2 {
|
|
64
67
|
display: flex;
|
|
65
68
|
justify-content: center;
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
|
|
39
39
|
<script>
|
|
40
40
|
export default {
|
|
41
|
+
name: 'cvCellRow',
|
|
41
42
|
emits: ['click'],
|
|
42
|
-
name: 'cvCell',
|
|
43
43
|
options: {
|
|
44
44
|
addGlobalClass: true
|
|
45
45
|
},
|
|
@@ -77,9 +77,7 @@ export default {
|
|
|
77
77
|
data() {
|
|
78
78
|
return {};
|
|
79
79
|
},
|
|
80
|
-
created() {
|
|
81
|
-
// console.log(this.$slots);
|
|
82
|
-
},
|
|
80
|
+
created() {},
|
|
83
81
|
methods: {
|
|
84
82
|
bingClick() {
|
|
85
83
|
this.$emit('click');
|
|
@@ -37,6 +37,7 @@ import cvCheckboxOptBase from '../cv-checkbox-opt-base/cv-checkbox-opt-base.vue'
|
|
|
37
37
|
import cvCheckboxOptTag from '../cv-checkbox-opt-tag/cv-checkbox-opt-tag.vue';
|
|
38
38
|
export default {
|
|
39
39
|
name: 'cvCheckboxGroup',
|
|
40
|
+
emits: ['input', 'update:modelValue'],
|
|
40
41
|
components: {
|
|
41
42
|
cvCheckboxOptBase,
|
|
42
43
|
cvCheckboxOptTag
|
|
@@ -36,6 +36,7 @@ import cvRadioOptBase from '../cv-radio-opt-base/cv-radio-opt-base.vue';
|
|
|
36
36
|
import cvRadioOptTag from '../cv-radio-opt-tag/cv-radio-opt-tag.vue';
|
|
37
37
|
export default {
|
|
38
38
|
name: 'cvRadioGroup',
|
|
39
|
+
emits: ['input', 'update:modelValue'],
|
|
39
40
|
components: {
|
|
40
41
|
cvRadioOptBase,
|
|
41
42
|
cvRadioOptTag
|