<view
wx:for="{{ ele.details }}"
wx:for-item="val"
wx:for-index="lvbang"
wx:key="lvbang"
wx:if="{{ val.isNew ? ele.type === 1 : true }}"
class="{{ item.styleShow === 'ONE' ? 'listTwoT_oneImg' : 'listTwoT_twoImg' }}">
<swiper
wx:if="{{ val.url.length > 1 }}"
style="{{ item.styles.image }}"
autoplay="{{ true }}"
circular="{{ true }}"
interval="{{ 3000 }}"
bindanimationfinish="changeSwiperList"
data-childindex="{{ childindex }}"
data-idx="{{ lvbang }}"
data-index="{{ index }}"
current="{{ val.swiperIndex }}"
>
<block wx:for="{{ val.url }}" wx:for-item="lvb" wx:for-index="idx" wx:key="idx">
<swiper-item key="swiper-item-{{ idx }}" style="{{ item.styles.wrap }}">
<image src="{{ lvb.url }}" lazy-load="{{ true }}" class="imgw100" style="{{ item.styles.image }}" bindtap="handleTapLink" data-item="{{ lvb }}" />
</swiper-item>
</block>
</swiper>
<image wx:elif="{{ val.url.length === 1 }}" src="{{ val.url[0].url }}" class="{{ item.styleShow === 'ONE' ? 'listTwoT_oneImg_cover' : 'listTwoT_twoImg_cover' }}" lazy-load="{{ true }}" style="{{ item.styles.image }}" bindtap="handleTapLink" data-item="{{ val }}" />
</view>
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。