Title标题
... 2021-7-29 Less than 1 minute
# Title标题
Tips
2.6.15+
# 普通用法
<avue-form v-model="form" :option="option" ></avue-form>
<script>
export default {
data() {
return {
form:{
title:'我是头部标题',
title1:'我是尾部标题'
},
option:{
column: [{
label: "",
labelWidth:20,
type:'title',
prop: "title",
span:24,
styles:{
color:'red',
fontSize:'24px'
}
},
{
label:'输入框',
prop:'text'
},{
label: "",
labelWidth:20,
type:'title',
prop: "title1",
span:24,
styles:{
color:'green',
fontSize:'18px'
}
},
]
}
};
}
}
</script>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Expand Copy Copy