闫增涛
2024-05-29 b1afe1bb63a9eae10b4e069c60f4db80b6816078
src/App.vue
@@ -58,10 +58,10 @@
    } else {
      this.activeBook = await this.config.getBookConfig(
        // childHealth
        this.config.resourceCtx + "childHealth"
        this.config.resourceCtx + "embedded"
      );
      // 测试试读30页
      // this.activeBook.tryPageCount = 30;
      // this.activeBook.tryPageCount = 10;
      this.config.activeBook = this.activeBook;
      this.config.goodsStore = this.activeBook.storeRefcode;
@@ -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>