xml 莲花准备主题顶部导航

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml 莲花准备主题顶部导航相关的知识,希望对你有一定的参考价值。

<mvt:if expr="NOT ISNULL l.settings:readytheme:navigationitems">
    <ul class="navigation-set &mvte:readytheme:layout; vertical-align">
        <mvt:foreach iterator="navigationitem" array="readytheme:navigationitems">
            <li class="level-1 uppercase<mvt:if expr="'Shop' CIN l.settings:navigationitem:name"> shop-menu<mvt:elseif expr="'About' CIN l.settings:navigationitem:name"> about-menu</mvt:if>"><span>&mvt:navigationitem:link;<mvt:if expr="NOT ISNULL l.settings:navigationitem:items"> <i data-icon="&#x33;" class="orange hide medium-inline"></i></mvt:if></span>
                <mvt:if expr="NOT ISNULL l.settings:navigationitem:items">
                    <ul class="drop-down">
                        <mvt:foreach iterator="navigationitem_level2" array="navigationitem:items">
                            <mvt:if expr="'Links' CIN l.settings:navigationitem_level2:name">
                                 <li class="level-2 column three-fifths nav-title"><span>&mvt:navigationitem_level2:link; <i data-icon="&#x33;" class="orange hide medium-inline"></i></span>
                             <mvt:elseif expr="'Story' CIN l.settings:navigationitem_level2:name">
                                 <li class="level-2 column two-fifths nav-title remove-children"><span class="no-border">&mvt:navigationitem_level2:link;<img src="../images/icons/menu-vid.png" class="large-show hide about-video" /></span>
                            <mvt:else>
                                <li class="level-2 column one-third nav-title"><span>&mvt:navigationitem_level2:link; <i data-icon="&#x33;" class="orange hide medium-inline"></i></span>
                            </mvt:if>
                                <mvt:if expr="NOT ISNULL l.settings:navigationitem_level2:items">
                                    <ul class="clearfix">
                                        <mvt:if expr="'Hindu Statues' CIN l.settings:navigationitem_level2:name">
                                            <mvt:assign name="mcounter" value="0" />
                                            <mvt:foreach iterator="navigationitem_level3" array="navigationitem_level2:items">
                                                <mvt:assign name="mcounter" value="g.mcounter + 1" />
                                                <mvt:if expr="mcounter EQ 1">
                                                    <div class="half">
                                                </mvt:if>
                                                <li class="level-3"><span>&mvt:navigationitem_level3:link;</span></li>
                                                <mvt:if expr="mcounter EQ 11">
                                                    </div>
                                                    <div class="half">
                                                </mvt:if>
                                            </mvt:foreach>
                                            </div>
                                        <mvt:elseif expr="'Links' CIN l.settings:navigationitem_level2:name">
                                            <mvt:assign name="mcounter" value="0" />
                                            <mvt:foreach iterator="navigationitem_level3" array="navigationitem_level2:items">
                                                <mvt:assign name="mcounter" value="g.mcounter + 1" />
                                                <mvt:if expr="mcounter EQ 1">
                                                    <div class="half">
                                                </mvt:if>
                                                <li class="level-3"><span>&mvt:navigationitem_level3:link;</span></li>
                                                <mvt:if expr="mcounter EQ 5">
                                                    </div>
                                                    <div class="half">
                                                </mvt:if>
                                            </mvt:foreach>
                                        <mvt:else>
                                            <mvt:foreach iterator="navigationitem_level3" array="navigationitem_level2:items">
                                                <li class="level-3"><span>&mvt:navigationitem_level3:link;</span></li>
                                            </mvt:foreach>
                                            <mvt:if expr="'Shop By' CIN l.settings:navigationitem_level2:name">
                                                <li class="level-2 has-arrow"><span><a href="/masterpiece-statues.html" target="_self">Masterpieces</a> <i data-icon="&#x35;" class="orange hide medium-inline"></i></span></li>
                                                <li class="level-2 has-arrow"><span><a href="/statues-for-sale.html" target="_self">Sale</a> <i data-icon="&#x35;"class="orange hide medium-inline"></i></span></li>
                                            </mvt:if>
                                        </mvt:if>
                                    </ul>
                                </mvt:if>
                            </li>
                        </mvt:foreach>
                        <mvt:if expr="'Shop Statues' CIN l.settings:navigationitem:name">
							<li class="level-1 show-mobile-nav"><span><a href="/masterpiece-statues.html" target="_self">Masterpieces</a></span></li>
							<li class="level-1 show-mobile-nav"><span><a href="/statues-for-sale.html" target="_self">Sale</a></span></li>
						</mvt:if>
                    </ul>
                </mvt:if>
            </li>
        </mvt:foreach>
        <li id="search-glass">
        <form action="//&mvt:global:domain:name;/SEARCH.html" id="desktop-search" class="hidden-srch"/>
        <input type="search" placeholder="Search..." value="&mvt:global:search;" id="srch-input" name="q" class="textfield srch-bkg searchspring-query" />
        <button type="submit" id="search-submit" value="Search" >
<svg id="search-btn" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" width="34px" viewBox="0 0 216 146" enable-background="new 0 0 216 146" xml:space="preserve" style="fill:#cb803a;margin-bottom:-4px;"><path d="M172.77 123.025L144.825 95.08c6.735-9.722 10.104-20.559 10.104-32.508c0-7.767-1.508-15.195-4.523-22.283 c-3.014-7.089-7.088-13.199-12.221-18.332s-11.242-9.207-18.33-12.221c-7.09-3.015-14.518-4.522-22.285-4.522 c-7.767 0-15.195 1.507-22.283 4.522c-7.089 3.014-13.199 7.088-18.332 12.221c-5.133 5.133-9.207 11.244-12.221 18.3 c-3.015 7.089-4.522 14.516-4.522 22.283c0 7.8 1.5 15.2 4.5 22.283c3.014 7.1 7.1 13.2 12.2 18.3 c5.133 5.1 11.2 9.2 18.3 12.222c7.089 3 14.5 4.5 22.3 4.522c11.951 0 22.787-3.369 32.509-10.104l27.945 27.9 c1.955 2.1 4.4 3.1 7.3 3.096c2.824 0 5.27-1.032 7.332-3.096c2.064-2.063 3.096-4.508 3.096-7.332 C175.785 127.5 174.8 125 172.8 123.025z M123.357 88.357c-7.143 7.143-15.738 10.714-25.787 10.7 c-10.048 0-18.643-3.572-25.786-10.714c-7.143-7.143-10.714-15.737-10.714-25.786c0-10.048 3.572-18.644 10.714-25.786 c7.142-7.143 15.738-10.714 25.786-10.714c10.048 0 18.6 3.6 25.8 10.714c7.143 7.1 10.7 15.7 10.7 25.8 C134.072 72.6 130.5 81.2 123.4 88.357z"/></svg>
</button>
        </form></li>
    </ul>
</mvt:if>

以上是关于xml 莲花准备主题顶部导航的主要内容,如果未能解决你的问题,请参考以下文章

python测试开发django-136.Bootstrap 顶部导航navbar

html 准备主题导航集模板

html 准备主题导航输出

xml 莲花//“订购x小时x分钟,它今天发货!(readytheme项目,所以他可以打开/关闭)

xml 莲花//“订购x小时x分钟,它今天发货!(readytheme项目,所以他可以打开/关闭)

Android状态栏着色(非沉浸式状态栏)