| | |
| | | } else { |
| | | this.activeBook = await this.config.getBookConfig( |
| | | // childHealth |
| | | this.config.resourceCtx + "sportsAndHealth" |
| | | this.config.resourceCtx + "lifeCare" |
| | | ); |
| | | // 测试试读30页 |
| | | // this.activeBook.tryPageCount = 10; |
| | |
| | | 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> |