|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="stair">
|
|
|
+ <div class="stair" :style="`height:${maxHei}px;`">
|
|
|
<!-- 左上浏览量 -->
|
|
|
<div class="upleft">
|
|
|
<div class="back" @click="$router.push('/')">返回</div>
|
|
|
@@ -71,6 +71,7 @@ export default {
|
|
|
],
|
|
|
btnDataAc: null,
|
|
|
isShowGood: false,
|
|
|
+ maxHei:0
|
|
|
};
|
|
|
},
|
|
|
//监听属性 类似于data概念
|
|
|
@@ -103,7 +104,9 @@ export default {
|
|
|
this.lookNum = res.data.visit;
|
|
|
},
|
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
- mounted() {},
|
|
|
+ mounted() {
|
|
|
+ this.maxHei =document.documentElement.clientHeight
|
|
|
+ },
|
|
|
beforeCreate() {}, //生命周期 - 创建之前
|
|
|
beforeMount() {}, //生命周期 - 挂载之前
|
|
|
beforeUpdate() {}, //生命周期 - 更新之前
|
|
|
@@ -120,7 +123,6 @@ export default {
|
|
|
margin: 0 auto;
|
|
|
padding: 10px 0 0 3px;
|
|
|
width: 100vw;
|
|
|
- height: 100vh;
|
|
|
background: url("../../assets/img/cBg/1.png");
|
|
|
background-size: 100% 100%;
|
|
|
.upleft {
|