<div class="layui-tab?layui-tab-card?site-demo-button" style="position:?relative;">
<ul class="layui-nav">
<li class="layui-nav-item?layui-this">
<a href="#" data-url="shopping" data-id="33" class="site-demo-active" data-type="tabAdd">主页</a>
</li>
<li class="layui-nav-item">
<a href="javascript:;">123</a>
<dl class="layui-nav-child">
<dd>
<a href="#" data-url="111" data-id="11" data-title="选项a" class="site-demo-active" data-type="tabAdd">选项a</a>
</dd>
<dd>
<a href="#" data-url="b" data-id="22" data-title="选项b" class="site-demo-active" data-type="tabAdd">选项b</a>
</dd>
</dl>
</li>
<li class="layui-nav-item">
<a href="#" data-url="111" data-id="33" class="site-demo-active" data-type="tabAdd">产品c</a>
</li>
</ul>
<div class="layui-tab" lay-filter="demo" lay-allowclose="true">
<ul class="layui-tab-title" style="display:?none;">
</ul>
<div class="layui-tab-content">
</div>
</div>
</div>
希望刚进入的时候就能定位到首页,就是shopping.html,天啦,第一次用layui,心态要爆炸了,看了一上午还是很晕,希望了解的走过路过,能给点小思路,谢谢各位了!!!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…