8 changed files with 87 additions and 74 deletions
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
@ -1,21 +1,31 @@ |
|||
<template> |
|||
<div id="ty"></div> |
|||
<div id="ty"></div> |
|||
</template> |
|||
<script> |
|||
export default{ |
|||
data(){ |
|||
return{ |
|||
export default { |
|||
data() { |
|||
return {}; |
|||
}, |
|||
|
|||
} |
|||
}, |
|||
mounted(){ |
|||
console.log("ty vue") |
|||
console.log(this.$route.meta) |
|||
let bgurl = this.$route.meta |
|||
this.$emit("bgimg",bgurl) |
|||
}, |
|||
methods:{ |
|||
|
|||
} |
|||
} |
|||
mounted() { |
|||
// console.log("ty vue"); |
|||
// console.log(this.$route.meta); |
|||
// let bgurl = this.$route.meta; |
|||
// this.$emit("bgimg", bgurl); |
|||
}, |
|||
beforeDestroy(){ |
|||
// console.log("des index"); |
|||
}, |
|||
methods: {}, |
|||
}; |
|||
</script> |
|||
<style> |
|||
div.btgym::before{ |
|||
background-image: none !important; |
|||
content: ""; |
|||
} |
|||
div.btgym{ |
|||
clear: both; |
|||
background-image:url('../../assets/ty/tybg.jpg') !important; |
|||
} |
|||
</style> |
|||
|
|||
Loading…
Reference in new issue