index.phtml 1.76 KB
{{>layout/header}}
{{# content}}
    {{#each list}}
        {{#if isCoupon}}
            <div class="coupon-floor">
                {{#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}}
    {{/each}}
{{/ content}}
<div class="floor-mask"></div>
<div class="floor-message">
    <div class="coupon-message-content"></div>
    <div class="coupon-message-op">
        <a href="http://m.dev.yohobuy.com/coupon/floor">
            <span class="coupon-message-op-rel">刷新</span>
        </a>
    </div>
</div>
<div class="floor-tooltip">
    <div class="iconfont icon-box">&#xe648;</div>
    <div class="icon-msg">领取成功</div>
</div>
{{> layout/footer}}