收藏
回答

wx.if条件判断和三元表达式同时使用在ios11上会有bug

问题模块
API和组件

<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/yy9@2x.png'></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/gprs-1icon@2x.png"></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/yy9@2x.png'></cover-image>   </cover-view>

</cover-view>

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

最后一次编辑于  2017-12-20  (未经腾讯允许,不得转载)
回答关注问题邀请回答
收藏