💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
>[danger] 友情提示:构建器目前只支持HisiPHP Pro版本([我要升级](https://www.hisiphp.com/authorize.html)) ## 穿梭框(transfer) | 参数 | 类型 | 必须 | 默认 | 说明 | --- | --- | --- | --- | --- | | type | string | Y | | 固定值:transfer | | name | string | Y | | 字段名称 | | title | string | Y | | 标题 | | options | array | Y | | 配置参数,详细配置[请点此查看](https://www.layui.com/doc/modules/transfer.html#options) | >[info] ![](https://img.kancloud.cn/94/48/9448945e0bda39691683077fde1c2ae1_587x378.png) >[]示例代码: ``` $assign['buildForm']['items'] = [ [ 'type' => 'transfer', 'title' => '穿梭框', 'name' => 'transfer', 'options' => [ 'title' => ['待选地区', '已选地区'], 'data' => [ ['value' => 1, 'title' => '北京'], ['value' => 2, 'title' => '上海'], ['value' => 3, 'title' => '广州'], ['value' => 4, 'title' => '深圳'], ['value' => 5, 'title' => '南京'], ['value' => 6, 'title' => '天津'], ['value' => 7, 'title' => '重庆'], ], 'value' => [1, 3, 6], // 更多参数..... ], ], // 更多表单项..... ]; $this->assign($assign); ```