src/App.vue
@@ -63,6 +63,8 @@ } else { this.activeBook = await this.config.getBookConfig( // childHealth // lifeCare // sportsAndHealth this.config.resourceCtx + "sportsAndHealth" ); // 测试试读30页 @@ -114,4 +116,27 @@ border-bottom: 2px solid; cursor: pointer; } /* swiper */ .swiper-container{ width: 100%; height: 100%; } .imgBox{ position: relative; } .imgBox img{ max-width: 100%; max-height: 100%; width: auto; height: auto; position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto; } </style>