|
@@ -39,7 +39,7 @@ export default {
|
|
|
onLoad(e) {
|
|
|
this.list = listJson[e.id - 1]
|
|
|
this.img = `../../static/museum/detail/${Number(e.id)}.png`
|
|
|
- if (this.list.length > 0) {
|
|
|
+ if (this.list.img.length > 0) {
|
|
|
this.options.loop = this.list.img.length > 2 ? true : false
|
|
|
}
|
|
|
},
|
|
@@ -62,6 +62,7 @@ export default {
|
|
|
.app-container {
|
|
|
padding: 0;
|
|
|
position: relative;
|
|
|
+ overflow-x: hidden;
|
|
|
|
|
|
.bg {
|
|
|
width: 100%;
|