- IOS端swiper组件切换current>0后面的swiper-item不显示,安卓无此问题。?
[代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"swiper_cont"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]swiper[代码] [代码]indicator-dots[代码][代码]=[代码][代码]"{{false}}"[代码] [代码]current[代码][代码]=[代码][代码]"{{currentIndex}}"[代码] [代码]autoplay[代码][代码]=[代码][代码]"{{false}}"[代码] [代码]previous-margin[代码][代码]=[代码][代码]"46rpx"[代码] [代码]next-margin[代码][代码]=[代码][代码]"46rpx"[代码] [代码]bindchange[代码][代码]=[代码][代码]"handdleSwiper"[代码] [代码]style[代码][代码]=[代码][代码]" height: 463rpx;"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]swiper-item[代码] [代码]style[代码][代码]=[代码][代码]"height: 403rpx;"[代码] [代码]wx:for[代码][代码]=[代码][代码]"{{cardList}}"[代码] [代码]wx:key[代码][代码]=[代码][代码]"{{item.scardid}}"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"card {{currentIndex === index ? '' : 'card_s'}}"[代码] [代码]style[代码][代码]=[代码][代码]" background: url({{cdnPath}}img/myOilCard/bg.png) no-repeat; background-size: 100% 100%; margin: 71rpx auto 0 auto;"[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{item.scardid}}"[代码][代码]>[代码][代码] [代码][代码]<!-- -->[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"info"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"cardName"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]image[代码] [代码]src[代码][代码]=[代码][代码]"{{cdnPath}}img/myOilCard/cardLogo.png"[代码] [代码]alt [代码][代码]mode[代码][代码]=[代码][代码]"widthFix"[代码] [代码]class[代码][代码]=[代码][代码]"img"[代码][代码]></[代码][代码]image[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]text[代码][代码]>中石化友途加油卡</[代码][代码]text[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"h1"[代码][代码]>{{item.scardid}}</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"p"[代码][代码]>持卡人:{{item.owner}}</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"type"[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{item.cardType === '3' || item.cardType === '4'}}"[代码] [代码]style[代码][代码]=[代码][代码]" background: url({{cdnPath}}img/myOilCard/typeBg.png) no-repeat; background-size: 100% 100%;"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]text[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{item.cardType === '3'}}"[代码][代码]>主卡</[代码][代码]text[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]text[代码] [代码]wx:elif[代码][代码]=[代码][代码]"{{item.cardType === '4'}}"[代码][代码]>副卡</[代码][代码]text[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]text[代码] [代码]wx:elif[代码][代码]=[代码][代码]"{{item.cardType === '1'}}"[代码][代码]>待校验</[代码][代码]text[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]text[代码] [代码]wx:elif[代码][代码]=[代码][代码]"{{item.cardType === '2'}}"[代码][代码]>卡号错误</[代码][代码]text[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"deletBtn"[代码] [代码]data-item[代码][代码]=[代码][代码]"{{item}}"[代码] [代码]bindtap[代码][代码]=[代码][代码]"deletCard"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]text[代码][代码]>删除此卡</[代码][代码]text[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"card {{currentIndex === index ? '' : 'card_s'}}"[代码] [代码]bindtap[代码][代码]=[代码][代码]"addOilNewCard"[代码] [代码]style[代码][代码]=[代码][代码]" background: url({{cdnPath}}img/myOilCard/bg.png) no-repeat; background-size: 100% 100%; margin: 71rpx auto 0 auto;"[代码] [代码]wx:else>[代码][代码] [代码][代码]<!-- -->[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"add"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"icon"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]image[代码] [代码]src[代码][代码]=[代码][代码]"{{cdnPath}}img/myOilCard/add.png"[代码] [代码]alt [代码][代码]mode[代码][代码]=[代码][代码]"widthFix"[代码] [代码]class[代码][代码]=[代码][代码]"img"[代码][代码]></[代码][代码]image[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"h1"[代码][代码]>添加加油卡</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]swiper-item[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]swiper[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码]求解,该问题怎么解决。安卓机型测试 华为 VIVO OPPO无问题。苹果测试 6 8 机型 系统13.1.3有这个问题 。
2019-10-30 - video组件URL在手机上加载错误在开发工具者中正常
- 当前 Bug 的表现 在微信客户端打开小程序,onload函数加载出数据列表是正常的,但是video组件窗口显示视频资源加载失败,报错MEDIA_ERR_NETWORK 但是在开发工具中一切正常,可正常加载和播放
2019-01-29