瀏覽代碼

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

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="color: #999; font-weight: bold; width: 80px; text-align: right;">民宿图片</div>
 				<div style="margin: 0 10px; width: 230px;">
 				<div style="margin: 0 10px; width: 230px;">
 					<div style="color: #000; margin: 0 0 10px 0; text-align: center;">封面图:</div>
 					<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">
 						<viewer :images="fileInofImage">
 							<img :src="approved_reject_Data.coverImg" style="border-radius: 5px; max-width: 100%; max-height: 100%; cursor: pointer;" alt="">
 							<img :src="approved_reject_Data.coverImg" style="border-radius: 5px; max-width: 100%; max-height: 100%; cursor: pointer;" alt="">
 						</viewer>
 						</viewer>