💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
方法: ~~~ tpl_form_textarea($name, $title, $value = '', $help_text = '', $attr = [], $extra_class = 'layui-input', $extra_attr = [], $extra_css = []) ~~~ 参数描述: | 参数 | 名称 | 变量类型 | | --- | --- | --- | | name | 表单name值 | string | | title | 表单描述 | string | | default | 默认值 | string | | help\_text | 帮助文本 | string | | extra\_attr | 额外属性 | string | | extra\_class | 属性 | string | | extra\_css | 额外css | string | | attr | 属性,详见下表 | array | 代码示例: ~~~ <?php echo tpl_form_textarea('desc','普通文本域','我爱layui','请输入内容'); ?> ~~~ 效果图: ![](https://git.kancloud.cn/repos/caike_/wq_frame/raw/b46bdc3ca04f2c2d269b313cae88d5a7ca837c14/images/%E5%A4%9A%E8%A1%8C%E6%96%87%E6%9C%AC.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODc0MDg0NTIsImlhdCI6MTU4NzM2NTI1MiwicmVwb3NpdG9yeSI6ImNhaWtlX1wvd3FfZnJhbWUiLCJ1c2VyIjp7InVzZXJuYW1lIjoieWhsMTgiLCJuYW1lIjoiTXJZZTU4NjkiLCJlbWFpbCI6IjU1NTg1MTkwQHFxLmNvbSIsInRva2VuIjoiNzE1MTdkYjM3ODBkMjIwNjI3NTk5ZTIzNGU0YThmOTYiLCJhdXRob3JpemUiOnsicHVsbCI6dHJ1ZSwicHVzaCI6dHJ1ZSwiYWRtaW4iOnRydWV9fX0.J8UpRlTnE5Y5M6P7EkjuqpLGrCv3SEJs3zdcT_SFAGw)