@@ -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>