|
@@ -335,16 +335,16 @@ var homeData = new Vue({
|
|
|
$(this).parents('.item').hide();
|
|
|
});
|
|
|
var isActivityStatus = localStorage.getItem('isActivityStatus');
|
|
|
- //美博会弹窗
|
|
|
- // if(isActivityStatus){
|
|
|
- // var lockTime = localStorage.getItem('lockTime');
|
|
|
- // var eTime = this.diffTime(lockTime);
|
|
|
- // _this.showflag = eTime;
|
|
|
- // }else{
|
|
|
- // setTimeout(function () {
|
|
|
- // _this.showflag = true;
|
|
|
- // },1000);
|
|
|
- // }
|
|
|
+ //新加优惠券弹窗
|
|
|
+ if(isActivityStatus){
|
|
|
+ var lockTime = localStorage.getItem('lockTime');
|
|
|
+ var eTime = this.diffTime(lockTime);
|
|
|
+ _this.showflag = eTime;
|
|
|
+ }else{
|
|
|
+ setTimeout(function () {
|
|
|
+ _this.showflag = true;
|
|
|
+ },1000);
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
|