src/App.vue
@@ -58,7 +58,7 @@ } else { this.activeBook = await this.config.getBookConfig( // childHealth this.config.resourceCtx + "lifeCare" this.config.resourceCtx + "embedded" ); // 测试试读30页 // this.activeBook.tryPageCount = 10; @@ -109,4 +109,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>