first add files
This commit is contained in:
1
ProjectLiaisonForm/pages/input/maxlength/index.js
Normal file
1
ProjectLiaisonForm/pages/input/maxlength/index.js
Normal file
@@ -0,0 +1 @@
|
||||
Component({});
|
||||
6
ProjectLiaisonForm/pages/input/maxlength/index.json
Normal file
6
ProjectLiaisonForm/pages/input/maxlength/index.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"t-input": "tdesign-miniprogram/input/input"
|
||||
}
|
||||
}
|
||||
8
ProjectLiaisonForm/pages/input/maxlength/index.wxml
Normal file
8
ProjectLiaisonForm/pages/input/maxlength/index.wxml
Normal file
@@ -0,0 +1,8 @@
|
||||
<t-input class="custom-class" label="标签文字" placeholder="请输入文字" tips="最大输入10个字符" maxlength="{{10}}" />
|
||||
<t-input
|
||||
class="custom-class"
|
||||
label="标签文字"
|
||||
placeholder="请输入文字"
|
||||
tips="最大输入10个字符,汉字算两个"
|
||||
maxcharacter="{{10}}"
|
||||
/>
|
||||
3
ProjectLiaisonForm/pages/input/maxlength/index.wxss
Normal file
3
ProjectLiaisonForm/pages/input/maxlength/index.wxss
Normal file
@@ -0,0 +1,3 @@
|
||||
.custom-class {
|
||||
--td-input-align-items: start;
|
||||
}
|
||||
Reference in New Issue
Block a user