use.phtml 2.06 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/homePage/girls');
    </script>
{{/if}}
{{#if boysHomePage}}
    <script>
        seajs.use('js/homePage/boys');
    </script>
{{/if}}
{{#if kidsHomePage}}
    <script>
        seajs.use('js/homePage/kids');
    </script>
{{/if}}
{{#if lifestyleHomePage}}
    <script>
        seajs.use('js/homePage/lifestyle');
    </script>
{{/if}}

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