|
@@ -386,18 +386,19 @@
|
|
});
|
|
});
|
|
},
|
|
},
|
|
close(type) {
|
|
close(type) {
|
|
- this.showTrans = false;
|
|
|
|
- this.$emit('change', {
|
|
|
|
- show: false,
|
|
|
|
- type: this.type,
|
|
|
|
- });
|
|
|
|
- this.$emit('close');
|
|
|
|
- clearTimeout(this.timer);
|
|
|
|
- // // 自定义关闭事件
|
|
|
|
- // this.customOpen && this.customClose()
|
|
|
|
- this.timer = setTimeout(() => {
|
|
|
|
- this.showPopup = false;
|
|
|
|
- }, 300);
|
|
|
|
|
|
+ // 必须要登录
|
|
|
|
+ // this.showTrans = false;
|
|
|
|
+ // this.$emit('change', {
|
|
|
|
+ // show: false,
|
|
|
|
+ // type: this.type,
|
|
|
|
+ // });
|
|
|
|
+ // this.$emit('close');
|
|
|
|
+ // clearTimeout(this.timer);
|
|
|
|
+ // // // 自定义关闭事件
|
|
|
|
+ // // this.customOpen && this.customClose()
|
|
|
|
+ // this.timer = setTimeout(() => {
|
|
|
|
+ // this.showPopup = false;
|
|
|
|
+ // }, 300);
|
|
},
|
|
},
|
|
// TODO 处理冒泡事件,头条的冒泡事件有问题 ,先这样兼容
|
|
// TODO 处理冒泡事件,头条的冒泡事件有问题 ,先这样兼容
|
|
touchstart() {
|
|
touchstart() {
|