use.phtml 2.52 KB

{{!-- 逛(PLUS+STAR) --}}
{{#if psList}}
    <script>
        seajs.use('js/guang/plus-star/list');
    </script>
{{/if}}
{{#if psDetail}}
    <script>
        seajs.use('js/guang/plus-star/detail');
    </script>
{{/if}}
{{#if guangHome}}
    <script>
        seajs.use('js/guang/home');
    </script>
{{/if}}
{{#if guangList}}
    <script>
        seajs.use('js/guang/list');
    </script>
{{/if}}
{{#if guangDetail}}
    <script>
        seajs.use('js/guang/detail');
    </script>
{{/if}}

{{!-- 注册 --}}
{{#if regIndex}}
    <script>
        seajs.use('js/passport/register/register');
    </script>
{{/if}}
{{#if regCode}}
    <script>
        seajs.use('js/passport/register/code');
    </script>
{{/if}}
{{#if regPwd}}
    <script>
        seajs.use('js/passport/register/password');
    </script>
{{/if}}

{{!-- 登陆 --}}
{{#if loginIndex}}
    <script>
        seajs.use('js/passport/login/login');
    </script>
{{/if}}
{{#if loginInterational}}
    <script>
        seajs.use('js/passport/login/interational');
    </script>
{{/if}}

{{!-- 密码找回 --}}
{{#if backEmail}}
    <script>
        seajs.use('js/passport/back/email');
    </script>
{{/if}}
{{#if backEmailSuccess}}
    <script>
        seajs.use('js/passport/back/email-success');
    </script>
{{/if}}
{{#if backMobile}}
    <script>
        seajs.use('js/passport/back/mobile');
    </script>
{{/if}}
{{#if backCode}}
    <script>
        seajs.use('js/passport/back/code');
    </script>
{{/if}}
{{#if backNewPwd}}
    <script>
        seajs.use('js/passport/back/new-password');
    </script>
{{/if}}

{{!-- 首页 --}}
{{#if grilsHomePage}}
    <script>
        seajs.use('js/home/home');     
    </script>
{{/if}}
{{#if boysHomePage}}
    <script>
        seajs.use('js/home/home');
    </script>
{{/if}}
{{#if kidsHomePage}}
    <script>
        seajs.use('js/home/home');
    </script>
{{/if}}
{{#if lifestyleHomePage}}
    <script>
        seajs.use('js/home/home');
    </script>
{{/if}}

{{!-- 新品到着 --}}
{{#if newArrival}}
    <script>
        seajs.use('js/product/newsale/newarrival');
    </script>
{{/if}}
{{!-- 折扣专区 --}}
{{#if discount}}
    <script>
        seajs.use('js/product/newsale/discount');
    </script>
{{/if}}

{{!-- 品类 --}}
{{#if categoryPage}}
    <script>
        seajs.use('js/category/index');
    </script>
{{/if}}
{{!-- 品牌 --}}
{{#if brandPage}}
    <script>
        seajs.use('js/category/brand');
    </script>
{{/if}}

{{!-- 搜索 --}}
{{#if searchPage}}
    <script>
        seajs.use('js/index/search');
    </script>
{{/if}}