Easy to call the labels of the four-level column or more levels of columns
When we are building a website, we will encounter columns with four levels or more levels that cannot be called. Now Yiyou has supported the addition and calling of multi-level columns. (As shown ):
The picture calls to the fourth-level column. Because the left navigation is called under the current column, it starts from the second-level column. Now share its calling tags as follows:
{eyou:models type="first" currentstyle="cur" id="field1"}
<li> <a href="javascript:;">{$field1.typename}</a>
{eyou:notempty name="$field1.children"}
<ul>
{eyou:models name="$field1.children" id="field2"}
<li> <a href="{$field2.typeurl}">{$field2.typename}</a>
{eyou:notempty name="$field2.children"}
<ul>
{eyou:models name="$field2.children" id="field3"}
<li class="{$field3.currentstyle}"> <a href="{$field3.typeurl}">{$field3.typename}</a> </li>
{/eyou:models}
</ul>
{/eyou:notempty}
</li>
{/eyou:models}
</ul>
{/eyou:notempty}
</li>
{/eyou:models}

The above is the "Easy You Call the Level 4 Column or More Level Columns" shared by Suyou Network and everyone. Thank you very much for reading this article patiently. We will provide you with more information on reference, use or learning and communication.We can also provide you with:Enterprise website construction, website imitation, website copying, imitation site, foreign trade website construction, foreign trade website construction, company official website productionFor services, our company serves customers with the service concept of "integrity, professionalism, pragmatism and innovation".If you need cooperation, please scan the code to consult, and we will serve you sincerely.
TAG Label: