xiaoe_mp_npm 1.0.14-test02 → 1.0.14-test03
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -285,17 +285,9 @@ Component({
|
|
|
285
285
|
},
|
|
286
286
|
observers: {
|
|
287
287
|
item(val) {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
is_viewUsingInfo: false,
|
|
292
|
-
coupon_type: this.data.couponType
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
// 只有列表需要处理
|
|
296
|
-
if (this.data.isNewList) {
|
|
297
|
-
this.initCouponType();
|
|
298
|
-
}
|
|
288
|
+
// 只有列表需要处理
|
|
289
|
+
if (val && this.data.isNewList) {
|
|
290
|
+
this.initCouponType();
|
|
299
291
|
}
|
|
300
292
|
}
|
|
301
293
|
},
|
|
@@ -394,10 +386,6 @@ Component({
|
|
|
394
386
|
this.triggerEvent('receivedSuccess');
|
|
395
387
|
// 抛出方法拉起弹窗
|
|
396
388
|
this.triggerEvent('showReceivePopup', { couponInfo: data });
|
|
397
|
-
// 全屏端领取成功关闭优惠券弹窗
|
|
398
|
-
if (this.properties.isFullScreen) {
|
|
399
|
-
this.triggerEvent('closeCounpon');
|
|
400
|
-
}
|
|
401
389
|
}
|
|
402
390
|
};
|
|
403
391
|
const failCb = data => {
|
package/package.json
CHANGED
|
@@ -285,17 +285,9 @@ Component({
|
|
|
285
285
|
},
|
|
286
286
|
observers: {
|
|
287
287
|
item(val) {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
is_viewUsingInfo: false,
|
|
292
|
-
coupon_type: this.data.couponType
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
// 只有列表需要处理
|
|
296
|
-
if (this.data.isNewList) {
|
|
297
|
-
this.initCouponType();
|
|
298
|
-
}
|
|
288
|
+
// 只有列表需要处理
|
|
289
|
+
if (val && this.data.isNewList) {
|
|
290
|
+
this.initCouponType();
|
|
299
291
|
}
|
|
300
292
|
}
|
|
301
293
|
},
|
|
@@ -394,10 +386,6 @@ Component({
|
|
|
394
386
|
this.triggerEvent('receivedSuccess');
|
|
395
387
|
// 抛出方法拉起弹窗
|
|
396
388
|
this.triggerEvent('showReceivePopup', { couponInfo: data });
|
|
397
|
-
// 全屏端领取成功关闭优惠券弹窗
|
|
398
|
-
if (this.properties.isFullScreen) {
|
|
399
|
-
this.triggerEvent('closeCounpon');
|
|
400
|
-
}
|
|
401
389
|
}
|
|
402
390
|
};
|
|
403
391
|
const failCb = data => {
|