detail.hbs 3.36 KB
{{# result}}
<div id="global-detail-page" class="global-detail-page yoho-page" data-skn="{{product_skn}}">
    <div class="banner-container">
        <div class="global-tag">
            <div class="global-country">
            {{#isEqualOr is_plane 'Y'}}
                <span class="global-plane"></span>
            {{/isEqualOr}}
            <span>{{country_name}}</span>
            </div>
            {{#isEqualOr is_limited 'Y'}}
            <div class="global-limited">
                <span>限量</span>
            </div>
            {{/isEqualOr}}
        </div>
        
        {{# bannerTop}}
            {{> detail/banner-swiper-arrow}}
        {{/ bannerTop}}
    </div>
    
    <div class="goods-name"><h1 class="name">{{product_name}}</h1></div>
    
    <div class="price-date">
        <div>
            <span class="final-price">{{show_final_price}}</span>
            {{# show_orign_price}}
                <span class="orign-price">{{.}}</span>
            {{/ show_orign_price}}
        </div>
        <div>
            <span class="sales-price">当前价:{{show_sales_price}}</span>
            {{# show_market_price}}
            <span class="market-price">原价:{{.}}</span>
            {{/ show_market_price}}
        </div>
    </div>
    
    <div class="country">
        <span class="country-name">{{country_name}}</span>
        <span class="product-source">{{product_source}}</span>
    </div>
    
    {{# illustrate}}
    <div class="illustrate">
        <div class="illustrate-title">
            <div class="title checked"><i class="iconfont checked"></i>{{title1}}</div>
            <div class="title notice"><i class="iconfont notice"></i>{{title2}}</div>
            <div class="illustrate-down"><i class="iconfont down"></i></div>
        </div>
        <div class="illustrate-contents">
            <div class="content checked">
                <i class="iconfont checked"></i>{{title1}}
                <div class="text">{{content1}}</div>
            </div>
            <div class="content notice">
                <i class="iconfont notice"></i>{{title2}}
                <div class="text">{{content2}}</div>
            </div>
            <div class="illustrate-up"><i class="iconfont up"></i></div>
        </div>
    </div>
    {{/ illustrate}}

    {{# brand_info}}
    <div class="enter-store">
        {{#if brand_ico}}
            <a class="store-logo" href="{{brand_url}}">
                <img class="lazy" src="{{image2 brand_ico w=47 h=47 q=60}}" alt="{{brand_name}}">
            </a>
        {{/if}}
        <a class="store-name" href="{{brand_url}}">{{brand_name}}</a>
        <a class="store-link" href="{{brand_url}}">进入店铺<span class="iconfont">&#xe604;</span></a>
    </div>
    {{/ brand_info}}

    <div class="customer-service">
        <a href="{{customer_service}}">
            <span class="customer-name">全球购购物须知</span>
            <span class="customer-link iconfont">&#xe604;</span>
        </a>
    </div>

    <div id="productDesc" class="product-desc"></div>

    <div class="cart-bar">
        {{#unless @root.wap.common.removeCartCount}}
            <input type="hidden" id="remove-cart-count" value="1">
        {{/unless}}
        <a href="{{../cartUrl}}" class="num-incart iconfont"><span class="num-tag hide"></span>&#xe62c;</a>
        <a href="javascript:;" class="addto-cart">下载APP购买</a>
    </div>
</div>
{{/ result}}