good-info.html 1.43 KB
<div class="good-info">
    <div class="good-detail-img">
        {{# isLike}}
            <a class="good-islike good-like iconfont" href="javascript:;">&#xe60f;</a>
        {{/ isLike}}
        {{^ isLike}}
            <a class="good-islike iconfont" href="javascript:;">&#xe60f;</a>
        {{/ isLike}}
        <a class="good-thumb" href="{{url}}">
            <img src="{{thumb}}">
        </a>
        <div class="tag-container">
            {{# isNew}}
                <div class="good-tag new-tag clearfix">
                    <i></i>
                    <span>新品到着</span>
                    <em>NEW</em>
                </div>
            {{/ isNew}}
            {{# isSale}}
                <div class="good-tag sale-tag clearfix">
                    <i></i>
                    <span>打折商品</span>
                    <em>SALE</em>
                </div>
            {{/ isSale}}
            {{# isFew}}
                <div class="good-tag few-tag clearfix">
                    <i></i>
                    <span>即将售罄</span>
                    <em>FEW</em>
                </div>
            {{/ isFew}}
        </div>
    </div>
    <div class="good-detail-text">
        <div class="name">
            <a href="{{url}}">{{name}}</a>
        </div>
        <div class="price">
            <span class="sale-price">¥{{salePrice}}</span>
            <span class="market-price">¥{{price}}</span>
        </div>
    </div>
</div>