소스 검색

文章图片居中

natasha 10 달 전
부모
커밋
b4a3eb0024
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/bookShelf/articleDetail.vue
  2. 1 0
      src/views/bookShelf/components/PrintModel.vue

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

@@ -2286,6 +2286,7 @@ export default {
 .NNPE-ArticleView {
   figure {
     font-size: 0;
+    text-align: center;
     img {
       max-width: 100%;
     }

+ 1 - 0
src/views/bookShelf/components/PrintModel.vue

@@ -229,6 +229,7 @@
                   <figure
                     v-for="(itemI, indexI) in articleImg[index]"
                     :key="indexI"
+                    style="text-align: center"
                   >
                     <img
                       :src="itemI.src"