|
| 1 | +!&-->{"title": "组件演示","to": "/submit","upload": "/upload"} |
| 2 | + |
| 3 | +# 组件演示 |
| 4 | + |
| 5 | +&-->{"type": "text","id": "t","config": {"holder": "文字", "type":"text"},"req": true} |
| 6 | + |
| 7 | +&-->{"type": "text","id": "tnum","config": {"holder": "数值", "type":"number"},"req": false} |
| 8 | + |
| 9 | +&-->{"type": "text","id": "tmail","config": {"holder": "邮箱", "type":"email"},"req": false} |
| 10 | + |
| 11 | +&-->{"type": "text","id": "turl","config": {"holder": "url", "type":"url"},"req": false} |
| 12 | + |
| 13 | +&-->{"type": "text","id": "tdate","config": {"holder": "日期", "type":"date"},"req": false} |
| 14 | + |
| 15 | +&-->{"type": "text","id": "ttime","config": {"holder": "时间", "type":"time"},"req": false} |
| 16 | + |
| 17 | +&-->{"type": "textarea","id": "tarea","config": {"holder": "输入框提示文字"},"req": true} |
| 18 | + |
| 19 | +--- |
| 20 | + |
| 21 | +&-->{"type": "radios","id": "r","config": {"opt": ["a","b","c"], "br":false},"req": true} |
| 22 | + |
| 23 | +&-->{"type": "checkboxs","id": "c1","config": {"label": "d", "br":false},"req": true} |
| 24 | + |
| 25 | +&-->{"type": "checkboxs","id": "c2","config": {"label": "e", "br":false},"req": true} |
| 26 | + |
| 27 | +--- |
| 28 | + |
| 29 | +&-->{"type": "select","id": "s","config": {"opt": ["a a","b b","c c"]},"req": false} |
| 30 | + |
| 31 | +--- |
| 32 | + |
| 33 | +&-->{"type": "tagsinput","id": "tag1","config": {"pinnedtags": true, "tags": ["aaa","bbb","ccc"]},"req": false} |
| 34 | + |
| 35 | +&-->{"type": "tagsinput","id": "tag2","config": {"pinnedtags": false},"req": false} |
| 36 | + |
| 37 | +--- |
| 38 | + |
| 39 | +&-->{"type": "files","id": "file1","config": {"withtext": true},"req": false} |
| 40 | + |
| 41 | +&-->{"type": "files","id": "file2","config": {"withtext": false, "accept": "application/json"},"req": false} |
| 42 | + |
| 43 | +--- |
| 44 | + |
| 45 | +&-->{"type": "table","id": "table1","config": {"column": ["不是","可能不是","不知道","可能是","是"], "row": ["行1111111111","行22222","行3"]},"req": false} |
0 commit comments