wx.if条件判断和三元表达式同时使用在ios11上会有bug
发布于 6 年前 作者 ping70 14677 次浏览 来自 问答

<cover-view wx:if="{{visitList}}" class=“visit-detail {{!store.isOther?‘show’:‘hide’}}” >

<cover-view class=“blue visit-list”>

<cover-view class="">

<cover-view class=“visit-time”>{{store.visitList.visitTime}}</cover-view>

<cover-view class=“person-tip”>拜访对象:</cover-view>

<cover-view class=“person-name”>{{store.visitList.person}}</cover-view>

</cover-view>

<cover-view class=“detail-word” bindtap=“toStoreDatail”>详情</cover-view>

</cover-view>

<cover-view class=“white visit-info”>

<cover-image src="{{store.visitList.visitImage}}" class=“visitImage”></cover-image>

<cover-view class=“visit-word”>

<cover-view class=“word”>{{store.visitList.visitContent}}</cover-view>

</cover-view>  

</cover-view>

<cover-image class=‘shadow’ src=’/resources/images/shouye/[email protected]></cover-image>   </cover-view>

<!–其它代理人重写 -->

<cover-view class=“store-detail {{store.isOther?‘show’:‘hide’}}”>

<cover-view class=“blue”>

<cover-view class=“name-style”>{{store.storeDetal.name}}</cover-view>

<cover-view class=“address”>

<cover-image class=“address-icon” src="/resources/images/shouye/[email protected]"></cover-image>

<cover-view class=“address-info”>{{store.storeDetal.address}}</cover-view>

</cover-view>

</cover-view>

<cover-view class=“white2 visit-info2”>      

<cover-view class=“daili”>

该门店已被其它地推维护

</cover-view>  

</cover-view>

<cover-image class=‘shadow’ src=’/resources/images/shouye/[email protected]></cover-image>   </cover-view>

</cover-view>

如图,第二部分在安卓显示,在ios11上会不显示

回到顶部