• 预览
  • 代码

内容管理 - 栏目导航

栏目导航是网站的导航菜单信息,正常分为头部、中部、尾部导航,主要作为文章发布的分类。
测试Demo

测试数据
Array
(
    [0] => Array
        (
            [id] => 1
            [pid] => 0
            [model_id] => 0
            [single] => 1
            [name] => 关于我们
            [route] => about
            [icon] => fa fa-vcard
            [thumb] => 
            [url] => https://www.copylian.com/
            [title] => 关于我们
            [keywords] => 关于我们
            [description] => 关于我们
            [open] => 2
            [position] => 2
            [other] => 
            [weigh] => 1
            [status] => 1
            [create_time] => 2019-01-18 14:01:01
            [update_time] => 2019-01-18 16:58:49
            [child] => Array
                (
                )

        )

    [1] => Array
        (
            [id] => 2
            [pid] => 0
            [model_id] => 0
            [single] => 1
            [name] => 联系我们
            [route] => contact
            [icon] => fa fa-phone-square
            [thumb] => 
            [url] => 
            [title] => 联系我们
            [keywords] => 联系我们
            [description] => 联系我们
            [open] => 1
            [position] => 2
            [other] => 
            [weigh] => 2
            [status] => 1
            [create_time] => 2019-01-18 14:02:08
            [update_time] => 2019-01-18 14:15:06
            [child] => Array
                (
                )

        )

    [2] => Array
        (
            [id] => 3
            [pid] => 0
            [model_id] => 1
            [single] => 0
            [name] => 我的文章
            [route] => article
            [icon] => fa fa-paint-brush
            [thumb] => 
            [url] => 
            [title] => 我的文章
            [keywords] => 我的文章
            [description] => 
            [open] => 1
            [position] => 2
            [other] => onclick="alert('123')"
            [weigh] => 3
            [status] => 1
            [create_time] => 2019-01-18 14:03:02
            [update_time] => 2019-01-18 14:20:45
            [child] => Array
                (
                    [0] => Array
                        (
                            [id] => 5
                            [pid] => 3
                            [model_id] => 1
                            [single] => 0
                            [name] => 生活日记
                            [route] => article
                            [icon] => fa fa-bookmark-o
                            [thumb] => 
                            [url] => 
                            [title] => 
                            [keywords] => 
                            [description] => 
                            [open] => 1
                            [position] => 2
                            [other] => 
                            [weigh] => 5
                            [status] => 1
                            [create_time] => 2019-01-18 14:03:57
                            [update_time] => 2019-01-18 14:20:18
                            [child] => Array
                                (
                                )

                        )

                    [1] => Array
                        (
                            [id] => 6
                            [pid] => 3
                            [model_id] => 1
                            [single] => 0
                            [name] => 记录人生
                            [route] => article
                            [icon] => fa fa-book
                            [thumb] => 
                            [url] => 
                            [title] => 
                            [keywords] => 
                            [description] => 
                            [open] => 1
                            [position] => 2
                            [other] => 
                            [weigh] => 6
                            [status] => 1
                            [create_time] => 2019-01-18 14:04:16
                            [update_time] => 2019-01-18 14:14:15
                            [child] => Array
                                (
                                )

                        )

                )

        )

    [3] => Array
        (
            [id] => 4
            [pid] => 0
            [model_id] => 1
            [single] => 0
            [name] => 我的生活
            [route] => life
            [icon] => fa fa-bell-slash
            [thumb] => 
            [url] => 
            [title] => 
            [keywords] => 
            [description] => 
            [open] => 2
            [position] => 2
            [other] => 
            [weigh] => 4
            [status] => 1
            [create_time] => 2019-01-18 14:03:35
            [update_time] => 2019-01-19 16:08:40
            [child] => Array
                (
                )

        )

)