xiatian 5 年之前
父節點
當前提交
452f999603
共有 1 個文件被更改,包括 14 次插入9 次删除
  1. 14 9
      src/modules/marking/views/TpMain.vue

+ 14 - 9
src/modules/marking/views/TpMain.vue

@@ -85,15 +85,17 @@
         >右旋</el-button
       >
       <div class="block-seperator"></div>
-      <img
-        :src="picForm.imgUrl"
-        height="100%"
-        width="100%"
-        :style="{
-          width: '90%',
-          transform: 'rotate(' + picForm.rotate + 'deg)'
-        }"
-      />
+      <div class="img-div">
+        <img
+          :src="picForm.imgUrl"
+          height="100%"
+          width="100%"
+          :style="{
+            width: '100%',
+            transform: 'rotate(' + picForm.rotate + 'deg)'
+          }"
+        />
+      </div>
     </el-dialog>
   </div>
 </template>
@@ -514,4 +516,7 @@ img {
 .paper >>> .photo-answers-block a {
   cursor: pointer;
 }
+.img-div {
+  text-align: center;
+}
 </style>