诀别求thinkphp的二级菜单和幻灯片轮播源码

WBOY
Release: 2016-06-13 11:57:09
Original
950 people have browsed it

分别求thinkphp的二级菜单和幻灯片轮播源码
[{id:'',
  name:'',
  submenu[{id:'',name:'',link:''}     ]
  },     
{...}]
如这种结构,表自关联,字段有:id,name,pid,请问后台怎么封装?想拼成字符串返回前台样式如下


       


自己没拼成功,因为比较的急,所以请大家帮帮忙。

另外还需要一个幻灯片轮播的源码,能实现幻灯片的管理
------解决方案--------------------
过了几个月了,还没解决?
------解决方案--------------------
上面那个结构不是json_decode一下就变成数组了吗
之后循环一下显示到页面上就行了 要什么样的效果就怎样输出

幻灯片轮播网上很多例子,找一个试试就行了
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template