ソースを参照

民宿图片封面图太高显示问题。

soft5566 2 年 前
コミット
a88b1e322f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/myAgent/index.vue

+ 1 - 1
src/views/myAgent/index.vue

@@ -52,7 +52,7 @@
 				<div style="color: #999; font-weight: bold; width: 80px; text-align: right;">民宿图片</div>
 				<div style="margin: 0 10px; width: 230px;">
 					<div style="color: #000; margin: 0 0 10px 0; text-align: center;">封面图:</div>
-					<div style="border-radius: 5px; width: 240px;  height: 180px; display: flex; justify-content: center; align-items: center;">
+					<div style="border-radius: 5px; width: 240px; height: 180px; display: flex; justify-content: center; align-items: center; overflow: hidden;">
 						<viewer :images="fileInofImage">
 							<img :src="approved_reject_Data.coverImg" style="border-radius: 5px; max-width: 100%; max-height: 100%; cursor: pointer;" alt="">
 						</viewer>