35 lines
638 B
Vue
35 lines
638 B
Vue
<template>
|
|
<div class="app-container home">
|
|
<img src="@/assets/images/gogogo.jpg" >
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "Index",
|
|
data() {
|
|
return {
|
|
// 版本号
|
|
version: "3.8.6"
|
|
};
|
|
},
|
|
methods: {
|
|
goTarget(href) {
|
|
window.open(href, "_blank");
|
|
}
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
img{
|
|
position: absolute; /* 或者使用 'fixed',取决于您希望图片相对于哪个元素进行定位 */
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover; /* 保持图像纵横比并填充整个容器,可能裁剪边缘 */
|
|
}
|
|
</style>
|
|
|