use.phtml 5.31 KB
<script>
    seajs.use('js/common');
</script>
{{!-- 逛(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', function(d) {
        d.i(true);
    });
</script>
{{/if}}
{{#if guangEzine}}
<script>
    seajs.use('js/guang/detail', function(d) {
        d.i(false);
    });
</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 loginInternational}}
<script>
    seajs.use('js/passport/login/international');
</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 channelPage}}
<script>
    seajs.use('js/index/channel');
    seajs.use('js/index/footer');
</script>
{{/if}}
{{!-- 首页 --}}
{{#if grilsHomePage}}
<script>
    seajs.use('js/home/home', function(h) {
        h.set('girls');
    });
    seajs.use('js/index/footer');
</script>
{{/if}}
{{#if boysHomePage}}
<script>
    seajs.use('js/home/home', function(h) {
        h.set('boys');
    });
    seajs.use('js/index/footer');
</script>
{{/if}}
{{#if kidsHomePage}}
<script>
    seajs.use('js/home/home', function(h) {
        h.set('kids');
    });
    seajs.use('js/index/footer');
</script>
{{/if}}
{{#if lifestyleHomePage}}
<script>
    seajs.use('js/home/home', function(h) {
        h.set('lifestyle');
    });
    seajs.use('js/index/footer');
</script>
{{/if}}
{{!-- 新品到着 --}}
{{#if newArrivalPage}}
<script>
    seajs.use('js/product/newsale/newarrival');
    seajs.use('js/index/footer');
</script>
{{/if}}
{{!-- 折扣专区 --}}
{{#if discountPage}}
<script>
    seajs.use('js/product/newsale/discount');
    seajs.use('js/index/footer');
</script>
{{/if}}
{{!-- 热门排行 --}}
{{#if hotrankPage}}
<script>
    seajs.use('js/product/newsale/hot-rank');
    seajs.use('js/index/footer');
</script>
{{/if}}
{{!-- 商品列表 --}}
{{#if goodListPage}}
<script>
    seajs.use('js/product/list');
    seajs.use('js/index/footer');
</script>
{{/if}}
{{!-- 商品详情 --}}
{{#if goodsDetailPage}}
<script>
    seajs.use('js/product/detail/detail');
</script>
{{/if}}
{{!-- 商品详情评论 --}}
{{#if goodsCommentsPage}}
<script>
    seajs.use('js/product/detail/loadmore');
</script>
{{/if}}
{{!-- 商品详情咨询 --}}
{{#if goodsConsultsPage}}
<script>
    seajs.use('js/product/detail/loadmore');
</script>
{{/if}}
{{!-- 品类 --}}
{{#if categoryPage}}
<script>
    seajs.use('js/category/index');
    seajs.use('js/index/footer');
</script>
{{/if}}
{{!-- 品牌 --}}
{{#if brandPage}}
<script>
    seajs.use('js/category/brand');
    seajs.use('js/index/footer');
</script>
{{/if}}
{{!-- 搜索 --}}
{{#if searchPage}}
<script>
    seajs.use('js/index/search');
    seajs.use('js/index/footer');
</script>
{{/if}}
{{!-- 购物车 --}}
{{#if shoppingCartPage}}
<script>
    seajs.use('js/shopping-cart/cart');
</script>
{{/if}}
{{#if giftAdvancePage}}
<script>
    seajs.use('js/shopping-cart/gift-advance');
</script>
{{/if}}
{{#if orderEnsurePage}}
<script>
    seajs.use('js/shopping-cart/order-ensure');
</script>
{{/if}}
{{!-- 个人中心 --}}
{{#if myIndexPage}}
<script>
    seajs.use('js/me/index');
    seajs.use('js/index/footer');
</script>
{{/if}}
{{#if orderPage}}
<script>
    seajs.use('js/me/order');
</script>
{{/if}}
{{#if orderDetailPage}}
<script>
    seajs.use('js/me/order-detail');
</script>
{{/if}}
{{#if favPage}}
{{!-- 个人中心: 收藏 --}}
<script>
    seajs.use('js/me/fav');
</script>
{{/if}}
{{!-- 个人中心: 意见反馈 --}}
{{#if suggestPage}}
<script>
    seajs.use('js/me/suggest');
</script>
{{/if}}
{{#if couponsPage}}
<script>
    seajs.use('js/me/coupons');
</script>
{{/if}}
{{#if onlineServicePage}}
<script>
    seajs.use('js/me/online-service');
</script>
{{/if}}
{{#if onlineServiceDetailPage}}
<script>
    seajs.use('js/index/footer');
</script>
{{/if}}
{{#if addressPage}}
<script>
    seajs.use('js/me/address');
</script>
{{/if}}
{{#if addressActionPage}}
<script>
    seajs.use('js/me/address-act');
</script>
{{/if}}
{{#if myGuangPage}}
<script>
    seajs.use('js/me/my-guang');
</script>
{{/if}}
{{#if personalDetailsPage}}
<script>
    seajs.use('js/me/personal-details');
</script>
{{/if}}
{{#if browseRecordPage}}
<<<<<<< HEAD
<script>
    seajs.use('js/me/browse-record');
</script>
{{/if}}
{{#if logisticInfoPage}}
=======
>>>>>>> feature/hf
<script>
    seajs.use('js/me/logistic');
</script>
{{/if}}