- cover-image做图片轮播时,在真机上图片无法轮播,开发工具正常
<view class="carousel" > <swiper indicator-dots='true' autoplay='true' interval='3000' duration='500' circular="true" > <block wx:for="{{bnrUrl}}" wx:key="key" wx:for-item="titleUrl"> <swiper-item> <cover-image class="titleImage" src="{{titleUrl}}" ></cover-image> <!-- <image src='{{titleUrl.path}}?app=app' class='u-img-slide' mode='aspectFill'></image> --> </swiper-item> </block> </swiper> </view>
2019-12-18 - 真机环境,触摸在cover-image上无法滑动页面
[代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"container"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"userinfo"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]image[代码] [代码]class[代码][代码]=[代码][代码]"userinfo-avatar"[代码] [代码]src[代码][代码]=[代码][代码]"{{userInfo.avatarUrl}}"[代码] [代码]mode[代码][代码]=[代码][代码]"cover"[代码][代码]></[代码][代码]image[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]text[代码] [代码]class[代码][代码]=[代码][代码]"userinfo-nickname"[代码][代码]>{{userInfo.nickName}}</[代码][代码]text[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"titleImage"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]cover-image[代码] [代码]src[代码][代码]=[代码][代码]"../../img/logo.png"[代码][代码]></[代码][代码]cover-image[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"products"[代码] [代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"product"[代码] [代码]wx:for[代码][代码]=[代码][代码]"{{products}}"[代码] [代码]wx:key[代码][代码]=[代码][代码]"key"[代码] [代码]wx:for-item[代码][代码]=[代码][代码]"product"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]cover-image[代码] [代码]class[代码][代码]=[代码][代码]"productImage"[代码] [代码]bindtap[代码][代码]=[代码][代码]"orderProduct"[代码] [代码]data-id[代码][代码]=[代码][代码]"{{product.id}}"[代码][代码] [代码][代码]data-url[代码][代码]=[代码][代码]"{{product.url}}"[代码] [代码]src[代码][代码]=[代码][代码]"{{product.url}}"[代码][代码]></[代码][代码]cover-image[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码]</[代码][代码]view[代码][代码]>[代码] 微信是最新的版本,真机环境,触摸在cover-image上无法滑动页面,开发工具可以滑动,
2019-12-09