123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <?php
- return [
- [
- 'name' => 'condition1',
- 'title' => '条件1',
- 'type' => 'radio',
- 'group' => '选项组一',
- 'content' => [
- 'value1' => '值1',
- 'value2' => '值2',
- ],
- 'value' => 'value2',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ],
- [
- 'name' => 'condition2',
- 'title' => '条件2',
- 'type' => 'checkbox',
- 'group' => '选项组一',
- 'visible' => 'condition1=value1',
- 'content' => [
- 'value1' => '值1',
- 'value2' => '值2',
- 'value3' => '值3',
- ],
- 'value' => 'value1,value2',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ],
- [
- 'name' => 'condition3',
- 'title' => '条件3',
- 'type' => 'select',
- 'group' => '选项组一',
- 'visible' => 'condition1=value2',
- 'content' => [
- 'value1' => '值1',
- 'value2' => '值2',
- ],
- 'value' => 'value1',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ],
- [
- 'name' => 'condition4',
- 'title' => '条件4',
- 'type' => 'selects',
- 'group' => '选项组一',
- 'content' => [
- 'value1' => '值1',
- 'value2' => '值2',
- 'value3' => '值3',
- ],
- 'value' => 'value1,value2',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ],
- [
- 'name' => 'title',
- 'title' => '标题',
- 'type' => 'string',
- 'group' => '选项组一',
- 'visible' => 'condition3=value1',
- 'content' => [],
- 'value' => '3x',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ],
- [
- 'name' => 'domain',
- 'title' => '绑定二级域名前缀',
- 'type' => 'string',
- 'group' => '选项组二',
- 'content' => [],
- 'value' => '',
- 'rule' => '',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ],
- [
- 'name' => 'rewrite',
- 'title' => '伪静态',
- 'type' => 'array',
- 'group' => '选项组二',
- 'content' => [],
- 'value' => [
- 'index/index' => '/example$',
- 'demo/index' => '/example/d/[:name]',
- 'demo/demo1' => '/example/d1/[:name]',
- 'demo/demo2' => '/example/d2/[:name]',
- ],
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ],
- [
- 'name' => '__tips__',
- 'title' => '温馨提示',
- 'type' => 'string',
- 'content' => [],
- 'value' => '这里是提示的文本内容',
- 'rule' => '',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ],
- ];
|