limit.phtml 2.14 KB
{{> layout/header}}
<div class="limit-good-page yoho-page">
    <div class="top clearfix">
        <p>我在Yoho!Buy有货发现了一个限定发售商品</p>
    </div>
    <div class="banner">
        <img src="{{banner}}" alt="">
    </div>
    <div class="detail clearfix">
        <p class="name">{{name}}</p>
        <div class="sale-info">
            <span class="price">{{price}}</span>
            <span class="date">
                <span class="iconfont">&#xe603;</span>
                <span class="text">{{releaseDate}}</span>
            </span>
        </div>
    </div>

    {{#if attaches}}
    <div class="goodDesc">
        {{# attaches}}
            {{#img}}
                <img src="{{attachUrl}}" alt="{{attachName}}">
            {{/img}}

            {{#text}}
                <p class="desc">{{intro}}</p>
            {{/text}}

            {{#video}}
                <video poster="{{img}}"  controls="controls" controls="controls" preload="metadata" loop="loop" width="100%" name="media">
                    <source src="{{attachUrl}}" type="video/ogg;codecs=" theora,vorbis"" media="screen" />
                    <source src="{{attachUrl}}"/>
                </video>
            {{/video}}
        {{/attaches}}
    </div>
    {{/if}}

    <div class="bottom">
        <div class="logo"></div>
        <div class="left">
            <a href="{{appSrc}}">
                <button class="btn">
                    立即下载
                </button>
            </a>
        </div>
        <div class="right">
            <span>下载Yoho!Buy有货APP</span>
            <span>抢购超级限量款</span>
        </div>
    </div>
{{#wxshare}}
    <script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <input id="shareLink" type="hidden" value="{{shareLink}}">
    <input id="shareImg" type="hidden" value="{{shareImg}}">
    <input id="shareTitle" type="hidden" value="{{shareTitle}}">
    <input id="shareDesc" type="hidden" value="{{shareDesc}}">
{{/wxshare}}
</div>

{{> layout/footer}}

<script type="text/javascript">
    seajs.use('js/plugin/wx-share', function(share) {
        share();
    });
</script>