|
@@ -92,7 +92,6 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.$nextTick(()=>{
|
|
|
- console.log(!this.$route.query.key, !this.$route.query.region);
|
|
|
if (!this.$route.query.key||!this.$route.query.region) {
|
|
|
alert('读取数据失败,请确认链接是否正确')
|
|
|
}
|
|
@@ -100,8 +99,6 @@ export default {
|
|
|
this.query = this.$route.query
|
|
|
this.currentData = this.data[this.$route.query.region][this.$route.query.key]
|
|
|
this.active = this.currentData.content[0]
|
|
|
- console.log(this.currentData);
|
|
|
-
|
|
|
})
|
|
|
|
|
|
// document.title = "毛泽东同志遗物专题展";
|
|
@@ -116,12 +113,13 @@ export default {
|
|
|
background-size: cover;
|
|
|
background-position: center center;
|
|
|
background-repeat: no-repeat;
|
|
|
- padding: 20px 0 0;
|
|
|
+ padding: 12px 0 0;
|
|
|
font-size: 0;
|
|
|
.top {
|
|
|
margin: 0 auto;
|
|
|
width: 70%;
|
|
|
height: 10%;
|
|
|
+ margin-bottom: 2%;
|
|
|
> img {
|
|
|
width: 100%;
|
|
|
}
|