@@ -60,6 +60,8 @@
:imgs-arr="imageList"
:mobile-gap="10"
class="vwf"
+ :max-cols="2"
+ :img-width="waterfallImgWidth"
@click="onClickExhibitionImage"
>
<!-- 顶部item图片 -->
@@ -169,6 +171,9 @@ export default {
}
ret.shift()
return ret
+ },
+ waterfallImgWidth() {
+ return (window.innerWidth - 2 * 0.5 * window.innerHeight * 0.025276 - 10 * 2) / 2
},
mounted() {