index.phtml 3.11 KB
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>{{staticTitle}}</title>
    <link rel="stylesheet" href="{{imgUrl}}/2016xinshili-4/css/style.css">
</head>
<body class="{{pageType}}">
    <div class="header-wrap">
        <div class="header">
        </div>
        {{#if tab}}
        <div class="tab-wrap">
            <div class="tab">
                {{#tab}}
                <div class="tab-item tab-{{@index}}" data-type="{{.}}">
                    <div class="before"></div>
                </div>
                {{/tab}}
            </div>
        </div>
        {{/if}}
    </div>
    <div class="main-wrap home">
        <div class="content">
        </div>
        <script type="text/tmpl" id="tmpl">
            <div class="coupons">
                \{{#coupons}}
                <img class="lazy coupon" src="" data-original="{{imgUrl}}/\{{img}}" data-id="\{{id}}">
                \{{/coupons}}
            </div>
            <div class="brands clearfix">
                \{{#brands}}
                <a class="brand" target="_blank" href='\{{url}}'>
                    <img class="lazy" src="" data-original="{{imgUrl}}/\{{img}}">
                </a>
                \{{/brands}}
                <div class="after"></div>
            </div>
            <div class="more">
                <div class="more-title">
                </div>
                <a class="link" target="_blank" href='\{{more.url}}'>
                    <img class="lazy" src="" data-original="{{imgUrl}}/\{{more.img}}">
                </a>
            </div>
        </script>
        <div class="footer">
        </div>
    </div>
    <div class="tip hide fail">
        <div class="title">
            领取失败<br>
            请刷新重新领取
        </div>
        <div class="desc">
            如多次领取失败,请联系客服人员<br>
            带来不便敬请谅解
        </div>
        <a class="button" href="">
            刷新
        </a>
    </div>
    <div class="tip hide success">
        <div class="title">
            领取成功
        </div>
        <div class="sub-title">
             快去分享给更多<br>
             喜爱<span class="title">潮流</span>的小伙伴吧!
        </div>
        <a class="button close" href="">
            返回
        </a>
    </div>
    <div class="tip hide geted">
        <div class="title">
            您已领取过了
        </div>
        <div class="sub-title">
             快去分享给更多<br>
             喜爱<span class="title">潮流</span>的小伙伴吧!
        </div>
        <a class="button close" href="">
            返回
        </a>
    </div>
    <input type="hidden" value="{{pageType}}" id="page-type">
    <input type="hidden" value="{{activityId}}" id="activity-id">
    <script type="text/javascript">
        var isOnline = {{isOnline}};
    </script>
<script type="text/javascript" src="{{jsUrl}}/2016xinshili-4/js/libs.js"></script>
{{# staticJS}}
<script type="text/javascript" src="{{../jsUrl}}/2016xinshili-4/js/{{.}}"></script>
{{/ staticJS}}
</body>