What's happening here? ? ?
李东强
李东强 2021-02-08 12:30:21
0
2
1289

按照老师说的

<div class="header">        <span class="title"><span style="font-size: 20px;">{$title}</span>--后台管理系统</span>        <span class="userinfo">【{$login}】<span><a href="javascript:;">退出</a></span></span>    </div>    <div class="menu" id="menu">        <div class="layui-collapse" lay-accordion>            <div class="layui-colla-item">                <h2 class="layui-colla-title">{$left[0]['title']}</h2>                <div class="layui-colla-content layui-show">                    <ul class="layui-nav layui-nav-tree" lay-filter="test">                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                    </ul>                </div>            </div>            <div class="layui-colla-item">                <h2 class="layui-colla-title">{$left[0]['title']}</h2>                <div class="layui-colla-content">                    <ul class="layui-nav layui-nav-tree" lay-filter="test">                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                    </ul>                </div>            </div>            <div class="layui-colla-item">                <h2 class="layui-colla-title">{$left[0]['title']}</h2>                <div class="layui-colla-content">                    <ul class="layui-nav layui-nav-tree" lay-filter="test">                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                        <li class="layui-nav-item"><a href="list.html">{$left[0]['lists'][0]['title']}</a></li>                    </ul>                </div>            </div>        </div>    </div>1.jpg

李东强
李东强

reply all(2)
沐雨轩

{$left[0]['lists'][0]['title']} This thing is a PHP variable and needs to be defined first

流年

The teacher should have set the name of the variable in a certain file. Can you copy it directly without making any mistakes?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template