zhongshujie
2024-10-16 7c76f3858a6985116a9910f4e5cb95bc9e460f78
农大社优化
2个文件已修改
27 ■■■■ 已修改文件
src/App.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/botany/view/components/header.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/App.vue
@@ -64,18 +64,18 @@
      // artAndDrama
      // mathBook
      this.activeBook = await this.config.getBookConfig(
      process.env.VUE_APP_RESOURCE_CTX +
        (process.env.VUE_APP_ENV == "product"
          ? process.env.VUE_APP_BOOK_ID
          : "mathBook")
      );
      // this.activeBook = await this.config.getBookConfig(
      //   'http://182.92.203.7:3007/books/resource/'+
      // process.env.VUE_APP_RESOURCE_CTX +
      //   (process.env.VUE_APP_ENV == "product"
      //     ? process.env.VUE_APP_BOOK_ID
      //     : "botany")
      //     : "mathBook")
      // );
      this.activeBook = await this.config.getBookConfig(
        'http://182.92.203.7:3007/books/resource/'+
        (process.env.VUE_APP_ENV == "product"
          ? process.env.VUE_APP_BOOK_ID
          : "botany")
      );
      // 测试试读30页
      // this.activeBook.tryPageCount = 10;
      this.config.activeBook = this.activeBook;
src/books/botany/view/components/header.vue
@@ -1100,7 +1100,8 @@
}
.cover {
  max-width: 816px;
  min-height: 1150px;
}
.header-img {
@@ -1152,7 +1153,7 @@
.main-box {
  position: absolute;
  top: 250px;
  right: 98px;
  right: 12%;
}
.main-text {
@@ -1168,7 +1169,7 @@
.text-box {
  position: absolute;
  top: 500px;
  right: 98px;
  right: 12%;
}
.text-box-bottom {
@@ -1178,7 +1179,7 @@
}
.text-top {
  /* width: 611px; */
  width: 520px;
  padding: 37px 36px 25px 33px;
  background: rgba(55, 201, 111, 0.06);
  border-radius: 0px 29px 0px 29px;
@@ -1242,8 +1243,6 @@
}
.block {
  max-width: 542px;
  min-width: 542px;
  text-indent: 0em;
  font-family: KaiTi, KaiTi;
  font-weight: 400;