natasha 2 月之前
父节点
当前提交
cbb5d2d938
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0 1
      src/views/bookShelf/bookItem.vue
  2. 1 1
      src/views/bookShelf/magazineDetail.vue

+ 0 - 1
src/views/bookShelf/bookItem.vue

@@ -1363,7 +1363,6 @@ export default {
   display: flex;
   gap: 24px 36px;
   flex-flow: wrap;
-  width: 100%;
 }
 </style>
 <style lang="scss">

+ 1 - 1
src/views/bookShelf/magazineDetail.vue

@@ -72,7 +72,7 @@
               zIndex: magazineList.length - index,
               height: 783 - (index - activePage) * 16 + 'px',
             }"
-            v-if="index >= activePage && index <= activePage + 3"
+            v-show="index >= activePage && index <= activePage + 3"
           >
             <div
               class="img-box"