first add files
This commit is contained in:
1
ProjectLiaisonForm/pages/textarea/maxcharacter/index.js
Normal file
1
ProjectLiaisonForm/pages/textarea/maxcharacter/index.js
Normal file
@@ -0,0 +1 @@
|
||||
Component({});
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"t-textarea": "tdesign-miniprogram/textarea/textarea"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<t-textarea
|
||||
t-class="external-class"
|
||||
label="标签文字"
|
||||
placeholder="设置最大字符个数,一个汉字表示两个字符"
|
||||
maxcharacter="200"
|
||||
disableDefaultPadding="{{true}}"
|
||||
indicator
|
||||
/>
|
||||
@@ -0,0 +1,3 @@
|
||||
.external-class {
|
||||
height: 324rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user