判断图片数组是否大于0
This commit is contained in:
@@ -166,7 +166,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="image-box"
|
<div class="image-box"
|
||||||
v-if="(housingInfo['data'] && housingInfo['data'].info && housingInfo['data'].info.video) ||
|
v-if="(housingInfo['data'] && housingInfo['data'].info && housingInfo['data'].info.video) ||
|
||||||
(housingInfo['data'] && housingInfo['data'].info && housingInfo['data'].info.picturegroup)">
|
(housingInfo['data'] && housingInfo['data'].info && housingInfo['data'].info.picturegroup.length>0)">
|
||||||
<div class="dis-f al-item">
|
<div class="dis-f al-item">
|
||||||
<img src="../assets/img/detail/videoIcon.png" v-if="housingInfo['data'] &&
|
<img src="../assets/img/detail/videoIcon.png" v-if="housingInfo['data'] &&
|
||||||
housingInfo['data'].info.video &&
|
housingInfo['data'].info.video &&
|
||||||
@@ -316,8 +316,7 @@
|
|||||||
}}
|
}}
|
||||||
</span><span v-if="housingInfo['data'] && housingInfo['data'].info.acreage[1] ? housingInfo['data']
|
</span><span v-if="housingInfo['data'] && housingInfo['data'].info.acreage[1] ? housingInfo['data']
|
||||||
&&
|
&&
|
||||||
housingInfo['data'].info.acreage[1] : 0">~
|
housingInfo['data'].info.acreage[1] : 0">~{{
|
||||||
{{
|
|
||||||
housingInfo['data'] && housingInfo['data'].info.acreage[1] ?
|
housingInfo['data'] && housingInfo['data'].info.acreage[1] ?
|
||||||
housingInfo['data']
|
housingInfo['data']
|
||||||
&&
|
&&
|
||||||
|
|||||||
Reference in New Issue
Block a user