Authored by liangxs

领券修改

@@ -14,9 +14,12 @@ $receive.on('touchend',function(){ @@ -14,9 +14,12 @@ $receive.on('touchend',function(){
14 success:function(data){ 14 success:function(data){
15 var msg=data.msg; 15 var msg=data.msg;
16 var status=data.status; 16 var status=data.status;
17 - console.log(status);  
18 if(!status){ 17 if(!status){
19 $tooltip.show(); 18 $tooltip.show();
  19 + setTimeout(function(){
  20 + $tooltip.hide();
  21 + location.reload();
  22 + },3000);
20 }else{ 23 }else{
21 $message.find('.coupon-message-content').text(msg); 24 $message.find('.coupon-message-content').text(msg);
22 $mask.show(); 25 $mask.show();
@@ -123,7 +123,16 @@ @@ -123,7 +123,16 @@
123 background-color: rgba(60, 60, 60, .7); 123 background-color: rgba(60, 60, 60, .7);
124 display: none; 124 display: none;
125 border-radius: 8rem/$pxConvertRem; 125 border-radius: 8rem/$pxConvertRem;
126 - line-height: 140rem/$pxConvertRem;  
127 - text-align: center;  
128 color: #fff; 126 color: #fff;
  127 +
  128 + .icon-box{
  129 + height: 84rem/$pxConvertRem;
  130 + line-height: 84rem/$pxConvertRem;
  131 + text-align: center;
  132 + }
  133 +
  134 + .icon-msg{
  135 + height: 56rem/$pxConvertRem;
  136 + text-align: center;
  137 + }
129 } 138 }
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 <a href="{{go}}"> 36 <a href="{{go}}">
37 <div style="height: 100%;width:100%" class="coupon-right-goBox"> 37 <div style="height: 100%;width:100%" class="coupon-right-goBox">
38 <div class="coupon-right-st">已领取</div> 38 <div class="coupon-right-st">已领取</div>
39 - <div class="coupon-right-go">去逛逛</div> 39 + <div class="coupon-right-go">去使用</div>
40 </div></a> 40 </div></a>
41 {{/if}} 41 {{/if}}
42 {{/if}} 42 {{/if}}
@@ -56,8 +56,8 @@ @@ -56,8 +56,8 @@
56 </div> 56 </div>
57 </div> 57 </div>
58 <div class="coupon-tooltip"> 58 <div class="coupon-tooltip">
59 - <img src=""/>  
60 - <div>领取成功</div> 59 + <div class="iconfont icon-box">&#xe648;</div>
  60 + <div class="icon-msg">领取成功</div>
61 </div> 61 </div>
62 {{/floor}} 62 {{/floor}}
63 {{> layout/footer}} 63 {{> layout/footer}}