xiatian 5 years ago
parent
commit
452f999603
1 changed files with 14 additions and 9 deletions
  1. 14 9
      src/modules/marking/views/TpMain.vue

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

@@ -85,15 +85,17 @@
         >右旋</el-button
         >右旋</el-button
       >
       >
       <div class="block-seperator"></div>
       <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>
     </el-dialog>
   </div>
   </div>
 </template>
 </template>
@@ -514,4 +516,7 @@ img {
 .paper >>> .photo-answers-block a {
 .paper >>> .photo-answers-block a {
   cursor: pointer;
   cursor: pointer;
 }
 }
+.img-div {
+  text-align: center;
+}
 </style>
 </style>