File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <div >
3
- <h5 >示例</h5 >
4
- <h6 >默认用法</h6 >
2
+ <div class = " textbox-demo " >
3
+ <!-- <h4 >示例</h4> -- >
4
+ <h4 >默认用法</h4 >
5
5
<nut-textbox v-model =" val" ></nut-textbox >
6
- <h6 >自定义高度:100px</h6 >
6
+ <h4 >自定义高度:100px</h4 >
7
7
<nut-textbox :txtAreaH =" 100" :maxNum =" 300" ></nut-textbox >
8
8
9
- <h6 >自定义提示语</h6 >
9
+ <h4 >自定义提示语</h4 >
10
10
<nut-textbox :placeText =" '请填写详细情况请填写详细情况'" ></nut-textbox >
11
11
12
12
13
- <h6 >自定义字数限制</h6 >
13
+ <h4 >自定义字数限制</h4 >
14
14
<nut-textbox :maxNum =" 100" ></nut-textbox >
15
15
16
16
17
- <h6 >限制字数不可超出</h6 >
17
+ <h4 >限制字数不可超出</h4 >
18
18
<nut-textbox :switchMax =" true" :maxNum =" 10" :txtAreaH =" 100" textBgColor =" #efefef" ></nut-textbox >
19
19
20
20
21
- <h6 >字数超出报错</h6 >
21
+ <h4 >字数超出报错</h4 >
22
22
<nut-textbox :maxNum =" 10" :txtAreaH =" 100" @errorFunc =" overLength" ></nut-textbox >
23
23
24
24
25
- <h6 >自定义文本框背景色</h6 >
25
+ <h4 >自定义文本框背景色</h4 >
26
26
<nut-textbox :switchMax =" true" :maxNum =" 10" :txtAreaH =" 100" textBgColor =" #feefef" ></nut-textbox >
27
27
28
- <h6 >不显示字数限制</h6 >
28
+ <h4 >不显示字数限制</h4 >
29
29
<nut-textbox :limitShow =" false" :maxNum =" 10" ></nut-textbox >
30
30
31
- <h6 >输入回调返回文字</h6 >
31
+ <h4 >输入回调返回文字</h4 >
32
32
<nut-textbox :maxNum =" 10" txtAreaH =" 100" @inputFunc =" inputText" ></nut-textbox >
33
33
</div >
34
34
</template >
@@ -50,6 +50,3 @@ export default {
50
50
}
51
51
}
52
52
</script >
53
-
54
- <style lang="scss" scoped>
55
- </style >
You can’t perform that action at this time.
0 commit comments