page-container微信版本7.0.12无法使用
<page-container class="reserve-model" show="{{showReserve||showBanner}}" z-index="{{1000}}" customStyle="z-index:299" bindafterleave="setModelData">
<view class="reserve-content" wx:if="{{showReserve}}">
<dj-reserve bindreserve = "reserve" userTel="{{userTel}}"> </dj-reserve>
</view>
<view class="banner-details" wx:if="{{showBanner}}">
<swiper bindchange="bannerChange" current="{{bannerIndex-1}}" circular="true">
<swiper-item wx:for="{{bannerList}}" wx:key="index">
<image wx:if="{{item.type=='img'}}" src="{{item.url}}" mode="widthFix"></image>
<video wx:else src="{{item.url}}" loop="{{true}}" object-fit="cover" enable-play-gesture="true"></video>
</swiper-item>
</swiper>
<view class="banner-top">{{bannerIndex}}/{{bannerList.length}}</view>
<view class="banner-bottom">{{bannerText}}</view>
</view>
</page-container>
this.setData({
showReserve: true
})
iphonex 执行时无效