多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
如下图所示。选择不同的单项项,就显示不同的表单项 ~~~ $this->form_items = [ ['text','name','链接名称'], ['text','link','链接网址'], ['radio','type','链接类型','',['1'=>'图片链接','0'=>'文字链接'],'img'], ['image','image','LOGO'], ['textarea','image_about','LOGO描述'], ['textarea','name_about','文字描述'], ['radio','status','状态','',['隐藏','显示'],1], ['text','sort','排序值'], ]; //触动显示,这里就是关键 $this->tab_ext['trigger'] = [ ['type','1','image,image_about'], ['type','0','name_about'], ]; ~~~ [![](https://box.kancloud.cn/d56a5129b650893b04e72522a449ba50_1558x734.jpg)](https://box.kancloud.cn/d56a5129b650893b04e72522a449ba50_1558x734.jpg) ![](https://box.kancloud.cn/b5ddcdf4ce9fea9d69234c1647e42cb6_901x476.png) 大家可以下载友情链接安装研究学习 [https://x1.php168.com/appstore/content/show/id/3.html](https://x1.php168.com/appstore/content/show/id/3.html)