index.phtml 2.15 KB
{{>layout/header}}
<div class="coupon-area-page yoho-page">
    {{# content}}
    {{#if isSingleImage}}
    <a href="{{url}}"><img src="{{src}}" class="just-img"/></a>
    {{/if}}
    {{#if isCarouselBanner}}
    {{> home/banner_top}}
    {{/if}}
    {{#if isFocus}}
    {{> home/banner_top}}
    {{/if}}
    {{#if isCoupon}}
    <div class="coupon-floor" coupon-id="{{couponID}}">
        {{#if showFloorTitle}}
        <div class="floor-title">
            {{floorTitle}}
        </div>
        {{/if}}
        <div class="floor-main" style="background-image: url({{image.src}});">
            <a href="{{image.url}}" class="main-left"></a>
            {{#if isGet}}
            <div class="main-right-receive">
                <span class="on-receive"></span>
            </div>
            <a href="{{image.url}}" class="main-right-use" style="display: none">
                <span class="received"></span>
            </a>
            {{/if}}
            {{#if isGeted}}
            <a href="{{image.url}}" class="main-right-use">
                <span class="received"></span>
            </a>
            {{/if}}
            {{#if isZero}}
            <a href="{{image.url}}" class="main-right-go">
                <span class="zero"></span>
            </a>
            {{/if}}
        </div>
    </div>
    {{/if}}
    {{#if isImageList}}
    {{> coupon/imagelist}}
    {{/if}}
    {{#if isNewArrival}}
    {{> coupon/newarrival}}
    {{/if}}
    {{# share}}
    <input id="shareLink" type="hidden" value="{{shareLink}}">
    <input id="shareDesc" type="hidden" value="{{shareDesc}}">
    <input id="shareImg" type="hidden" value="{{shareImg}}">
    <input id="shareTitle" type="hidden" value="{{shareTitle}}">
    {{/ share}}
    {{#if noData}}
    <input id="noData" type="hidden">
    {{/if}}
    {{/ content}}
</div>
<div class="floor-mask"></div>
<div class="floor-message">
    <div class="coupon-message-content"></div>
    <div class="coupon-message-op">
        <span class="coupon-message-op-rel">刷新</span>
    </div>
</div>
<div class="floor-tooltip">
    <div class="iconfont icon-box">&#xe648;</div>
    <div class="icon-msg">领取成功</div>
</div>
{{> layout/footer}}