|
|
|
@ -13,16 +13,19 @@ export default {
|
|
|
|
|
props: {
|
|
|
|
|
src: {
|
|
|
|
|
type: String,
|
|
|
|
|
required: true
|
|
|
|
|
required: true,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
height: document.documentElement.clientHeight - 94.5 + "px;",
|
|
|
|
|
loading: true,
|
|
|
|
|
url: this.src
|
|
|
|
|
url: this.src,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
console.log(this.url);
|
|
|
|
|
},
|
|
|
|
|
mounted: function () {
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
@ -31,6 +34,6 @@ export default {
|
|
|
|
|
window.onresize = function temp() {
|
|
|
|
|
that.height = document.documentElement.clientHeight - 94.5 + "px;";
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|