收藏
回答

求大佬解答?

给图片写下下面代码之后,

<image mode="{{index2===0?'widthFix':'scaleToFill'}}" src="{{item2.image_src}}" ></image>

在写下下面的代码之后后面四个图片高度直接变成零了。有没有大佬解答一下为什么??/

.floor_list{

  navigator{

    float: left;

    width: 33.33%; 

&:nth-last-child(-n+4){

  height: 33.33vm * 386 /232 /2;

  }

    image{

      width: 100%;

      height: 100%;

    }

  }

}

回答关注问题邀请回答
收藏

5 个回答

登录 后发表内容
问题标签