0
点赞
收藏
分享

微信扫一扫

elastic search查找字段的方法

玉字璧 2024-11-08 阅读 11
css前端

固定好盒子的宽度,高度随传过来的图片大小决定

<div class="tab-con"> 
    <img
       :src="concertInfo.detail"
       alt=""
     >
</div>
.tab-con {
        margin-bottom: 20px;
        width: 700px;

        img {
          width: 700px;
          height: auto;
          object-fit: contain;
        }
      }
举报

相关推荐

0 条评论