|
|
@ -8,26 +8,37 @@ |
|
|
<script> |
|
|
<script> |
|
|
export default { |
|
|
export default { |
|
|
name:"popup", |
|
|
name:"popup", |
|
|
emits:["open","close"], |
|
|
data(){ |
|
|
props:{ |
|
|
return{ |
|
|
// 需要打开的地址 |
|
|
popurl:'' |
|
|
popurl:{ |
|
|
} |
|
|
Type:String, |
|
|
|
|
|
default:"", |
|
|
|
|
|
}, |
|
|
}, |
|
|
isshow:{ |
|
|
// emits:["open","close"], |
|
|
Type:Boolean, |
|
|
// props:{ |
|
|
defult:false |
|
|
// // 需要打开的地址 |
|
|
|
|
|
// popurl:{ |
|
|
|
|
|
// Type:String, |
|
|
|
|
|
// default:"", |
|
|
|
|
|
// }, |
|
|
|
|
|
// isshow:{ |
|
|
|
|
|
// Type:Boolean, |
|
|
|
|
|
// defult:false |
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
// watch:{ |
|
|
|
|
|
// popurl(e){ |
|
|
|
|
|
// console.log("popup e",e) |
|
|
|
|
|
// let that = this |
|
|
|
|
|
// return that.popurl = e |
|
|
|
|
|
// } |
|
|
|
|
|
// }, |
|
|
|
|
|
onLoad(e) { |
|
|
|
|
|
if(e){ |
|
|
|
|
|
this.popurl =e |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
watch:{ |
|
|
|
|
|
popurl(e){ |
|
|
|
|
|
console.log("popup e",e) |
|
|
|
|
|
let that = this |
|
|
|
|
|
return that.popurl = e |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
|
|
|
// created(e) { |
|
|
// created(e) { |
|
|
// console.log("popup",e) |
|
|
// console.log("popup",e) |
|
|
// //this.popurl = |
|
|
// //this.popurl = |
|
|
|