meixioacomponent 0.4.48 → 0.4.49
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
CHANGED
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
|
|
23
23
|
<script>
|
|
24
24
|
export default {
|
|
25
|
-
name:
|
|
25
|
+
name: 'baseSection',
|
|
26
26
|
data() {
|
|
27
|
-
return {}
|
|
27
|
+
return {}
|
|
28
28
|
},
|
|
29
29
|
mounted() {
|
|
30
30
|
this.$nextTick(() => {
|
|
31
|
-
this.init()
|
|
32
|
-
})
|
|
31
|
+
this.init()
|
|
32
|
+
})
|
|
33
33
|
},
|
|
34
34
|
beforeDestroy() {},
|
|
35
35
|
props: {
|
|
@@ -55,24 +55,24 @@ export default {
|
|
|
55
55
|
computed: {
|
|
56
56
|
module: {
|
|
57
57
|
set(val) {
|
|
58
|
-
this.$emit(
|
|
58
|
+
this.$emit('input', val)
|
|
59
59
|
},
|
|
60
60
|
get() {
|
|
61
|
-
return this.$props.value
|
|
61
|
+
return this.$props.value
|
|
62
62
|
},
|
|
63
63
|
},
|
|
64
64
|
},
|
|
65
65
|
methods: {
|
|
66
66
|
init() {
|
|
67
|
-
if (!this.$props.event) return
|
|
67
|
+
if (!this.$props.event) return
|
|
68
68
|
},
|
|
69
69
|
handleOpen() {
|
|
70
|
-
if (this.$props.disable) return
|
|
71
|
-
this.module = !this.module
|
|
72
|
-
this.$emit(
|
|
70
|
+
if (this.$props.disable) return
|
|
71
|
+
this.module = !this.module
|
|
72
|
+
this.$emit('visibleContent', this.module)
|
|
73
73
|
},
|
|
74
74
|
},
|
|
75
|
-
}
|
|
75
|
+
}
|
|
76
76
|
</script>
|
|
77
77
|
|
|
78
78
|
<style lang="less" scoped>
|
|
@@ -106,9 +106,22 @@ export default {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
.header-text {
|
|
109
|
+
position: relative;
|
|
110
|
+
display: inline-block;
|
|
109
111
|
color: var(--font-color-d);
|
|
110
112
|
font-size: var(--font-size-base);
|
|
111
113
|
font-weight: var(--font-weight-kg);
|
|
114
|
+
margin-left: var(--margin-4);
|
|
115
|
+
&::before {
|
|
116
|
+
top: 0px;
|
|
117
|
+
left: -10px;
|
|
118
|
+
width: 4px;
|
|
119
|
+
height: 100%;
|
|
120
|
+
content: '';
|
|
121
|
+
position: absolute;
|
|
122
|
+
border-radius: var(--radius);
|
|
123
|
+
background: var(--color-primary);
|
|
124
|
+
}
|
|
112
125
|
}
|
|
113
126
|
.section-content {
|
|
114
127
|
padding: calc(var(--padding-4) * 2) 0px;
|
package/src/component/test.vue
CHANGED
|
@@ -544,7 +544,7 @@ export default {
|
|
|
544
544
|
<!-- 普通表单 -->
|
|
545
545
|
|
|
546
546
|
<!-- 上传表单 -->
|
|
547
|
-
<template>
|
|
547
|
+
<!-- <template>
|
|
548
548
|
<base-dialog-form
|
|
549
549
|
ref="dialogFormVue"
|
|
550
550
|
:title="`测试表格`"
|
|
@@ -782,9 +782,9 @@ export default {
|
|
|
782
782
|
}
|
|
783
783
|
</script>
|
|
784
784
|
|
|
785
|
-
<style></style>
|
|
785
|
+
<style></style> -->
|
|
786
786
|
|
|
787
|
-
|
|
787
|
+
<template>
|
|
788
788
|
<base-form-wrap
|
|
789
789
|
:rowNumber="2"
|
|
790
790
|
:disables="disables"
|
|
@@ -826,4 +826,4 @@ export default {
|
|
|
826
826
|
}
|
|
827
827
|
</script>
|
|
828
828
|
|
|
829
|
-
<style lang="less" scoped></style>
|
|
829
|
+
<style lang="less" scoped></style>
|