|
|
<div class="redbag-user-container" data-received="{{pageData.received}}" data-sharecode="{{pageData.shareCode}}">
|
|
|
{{# pageData}}
|
|
|
{{#if received}}
|
|
|
<div class="received-content">
|
|
|
{{#isEqualOr rewardType 1}}
|
|
|
{{#isEqualOr couponAmount 5}}
|
|
|
<img src="http://img12.static.yhbimg.com/sns/2018/08/02/15/02a4fbd09374acfdc2b97cabd059e32669.png" class="red-bag1 use" />
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr couponAmount 10}}
|
|
|
<img src="http://img11.static.yhbimg.com/sns/2018/08/02/15/0188ee9e04c067fa701f33f7be24bb97ca.png" class="red-bag2 use" />
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr couponAmount 20}}
|
|
|
<img src="http://img11.static.yhbimg.com/sns/2018/08/02/15/0185441fd89c3bc4a78cd202c9c40eb633.png" class="red-bag3 use" />
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr couponAmount 50}}
|
|
|
<img src="http://img11.static.yhbimg.com/sns/2018/08/02/15/01645486f02c4d38679b5058bde79abf02.png" class="red-bag50 use" />
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr couponAmount 80}}
|
|
|
<img src="http://img12.static.yhbimg.com/sns/2018/08/02/15/02c329c8192bcdddd7467a8c44501b4525.png" class="red-bag80 use" />
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr couponAmount 100}}
|
|
|
<img src="http://img11.static.yhbimg.com/sns/2018/08/02/15/01b6568f91129e886548ab5ff0f5a71ae8.png" class="red-bag100 use" />
|
|
|
{{/isEqualOr}}
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr rewardType 2}}
|
|
|
<img src="{{rewardUrl}}" class="red-bag-other use"/>
|
|
|
{{/isEqualOr}}
|
|
|
<button type="button" class="go-use"></button>
|
|
|
</div>
|
|
|
{{else}}
|
|
|
{{#if received}}
|
|
|
<div class="received-wrapper show">
|
|
|
<div class="received-content">
|
|
|
{{#isEqualOr rewardType 1}}
|
|
|
{{#isEqualOr couponAmount 5}}
|
|
|
<img src="//img12.static.yhbimg.com/sns/2018/08/02/15/02a4fbd09374acfdc2b97cabd059e32669.png" class="red-bag1 use"/>
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr couponAmount 10}}
|
|
|
<img src="//img11.static.yhbimg.com/sns/2018/08/02/15/0188ee9e04c067fa701f33f7be24bb97ca.png" class="red-bag2 use"/>
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr couponAmount 20}}
|
|
|
<img src="//img11.static.yhbimg.com/sns/2018/08/02/15/0185441fd89c3bc4a78cd202c9c40eb633.png" class="red-bag3 use"/>
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr couponAmount 50}}
|
|
|
<img src="//img11.static.yhbimg.com/sns/2018/08/02/15/01645486f02c4d38679b5058bde79abf02.png" class="red-bag50 use"/>
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr couponAmount 80}}
|
|
|
<img src="//img12.static.yhbimg.com/sns/2018/08/02/15/02c329c8192bcdddd7467a8c44501b4525.png" class="red-bag80 use"/>
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr couponAmount 100}}
|
|
|
<img src="//img11.static.yhbimg.com/sns/2018/08/02/15/01b6568f91129e886548ab5ff0f5a71ae8.png" class="red-bag100 use"/>
|
|
|
{{/isEqualOr}}
|
|
|
{{/isEqualOr}}
|
|
|
{{#isEqualOr rewardType 2}}
|
|
|
<div class="reward-pic"></div>
|
|
|
<p>恭喜您获得</p>
|
|
|
<p class="reward-name">{{rewardName}}</p>
|
|
|
{{/isEqualOr}}
|
|
|
|
|
|
<button type="button" class="go-use">立即使用</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
{{else}}
|
|
|
<div class="received-wrapper">
|
|
|
<div class="received-content">
|
|
|
<div class="reward-pic"></div>
|
|
|
<p>恭喜您获得</p>
|
|
|
<p class="reward-name"></p>
|
|
|
<button type="button" class="go-use">立即使用</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
|
|
|
<div class="rewards-content">
|
|
|
<i class="cuo-icon"></i>
|
|
|
<img src="http://img11.static.yhbimg.com/sns/2018/10/23/14/01bd162a441d22ab50e29244cf66fc4072.png" class="receiveRedBag"/>
|
|
|
<div class="reward-container ">
|
|
|
<div class="reward-items">
|
|
|
{{#each config.data}}
|
|
|
<div id="item_{{this.rewardId}}" data-id="{{this.rewardId}}" data-index="{{@index}}"
|
|
|
class="item item-{{@index}}">
|
|
|
<img src="{{this.rewardImageUrl}}">
|
|
|
<div class="item-mask"></div>
|
|
|
</div>
|
|
|
{{/each}}
|
|
|
<div class="item receive-redbag">
|
|
|
<img src="//img11.static.yhbimg.com/article/2018/11/07/16/018b792dffba52e7435771ae5851862cde.png">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="reward-pannel">
|
|
|
<div class="reward-light left"></div>
|
|
|
<div class="reward-light right"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
<input type="hidden" id="msg" value="{{message}}">
|
|
|
<input type="hidden" id="msg" value="{{message}}">
|
|
|
{{/ pageData}}
|
|
|
<div class="activity-rule">
|
|
|
<i class="hand"></i>
|
|
|
<p class="title">活动规则</p>
|
|
|
<p class="txt txt-1">领取权益需填写注册有货账户时绑定的手机号,认证后即可参与抽奖;</p>
|
|
|
<p class="txt txt-2">若忘记或不确定手机号是否绑定账户,请先联系微信客服进行查询;</p>
|
|
|
<p class="txt txt-3">抽中的优惠券将被放入您的有货账户中,若抽中免单/微信红包/实物奖品,请截图后联系微信客服;</p>
|
|
|
<p class="txt last">*此活动最终解释权归Yoho!Buy所有</p>
|
|
|
</div>
|
|
|
<div class="activity-rule">
|
|
|
<i class="hand"></i>
|
|
|
<p class="title">活动规则</p>
|
|
|
<p class="txt txt-1">领取权益需填写注册有货账户时绑定的手机号,认证后即可参与抽奖;</p>
|
|
|
<p class="txt txt-2">若忘记或不确定手机号是否绑定账户,请先联系微信客服进行查询;</p>
|
|
|
<p class="txt txt-3">抽中的优惠券将被放入您的有货账户中,若抽中免单/微信红包/实物奖品,请截图后联系微信客服;</p>
|
|
|
<p class="txt last">*此活动最终解释权归Yoho!Buy所有</p>
|
|
|
</div>
|
|
|
</div> |
...
|
...
|
|