用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
>[danger] 友情提示:构建器目前只支持HisiPHP Pro版本([我要升级](https://www.hisiphp.com/authorize.html)) ## 文本域(textarea) | 参数 | 类型 | 必须 | 默认 | 说明 | --- | --- | --- | --- | --- | | type | string | Y | | 固定值:textarea | | name | string | Y | | 字段名称 | | title | string | Y | | 标题 | | grid | Array | N | [12, 12, 12, 12] | [栅格布局](栅格布局.md)| | value | string/int | N | | 默认值 | | tips | string | N | | 提示说明 | | placeholder | string | N | | 输入提示 | | class | string | N | | class属性 | | id | string | N | | id属性 | | readonly | bool | N | | readonly属性 | | disabled | bool | N | | disabled属性 | | verify | string | N | | layui表单验证规则,[规则文档](https://www.layui.com/doc/modules/form.html#verify) | >[info]![](https://box.kancloud.cn/11a9ff061cce2e0e63988633cc3562ff_1018x232.jpg) >[]示例代码: ``` $assign['buildForm']['items'] = [ [ 'type' => 'textarea', 'title' => '项目简介', 'name' => 'textarea', 'verify' => 'required', 'placeholder' => '请输入简介,200个字符以内', ], // 更多表单项.... ]; $this->assign($assign); ```