slot="after" 和slot="before"里面的东西只能一开始显示一下,等理解表渲染出来后再也看不到了
<recycle-view
wx:else
batch="{{batchSetRecycleData}}"
lower-threshold="400"
bindscrolltolower="getList"
id="j-recycle">
<recycle-item class="recycleItem" wx:for="{{recycleList}}" wx:key="index" style="width:100%; ">
<view class="itemSlide">
<text class="itemSlide-time" wx:if="{{item.showDate}}">{{item.dateTime}}</text>
<mp-slideview buttons="{{item.slideButtons}}" data-id="1234" bindbuttontap="tapDelGoods">
<view class="itemSlide-inner">
<image class="itemSlide-inner-left" src="{{item.goodsImg}}" mode="aspectFill" lazy-load />
<view class="itemSlide-inner-right">
<text class="itemSlide-inner-right-goodsName mEllipsis">{{item.goodsName}}</text>
<text class="itemSlide-inner-right-storeName ellipsis">店铺:{{item.storeName}}</text>
<text wx:if="{{item.onSale}}" class="itemSlide-inner-right-price">¥{{item.price}}</text>
<text wx:else class="itemSlide-inner-right-price">失效</text>
</view>
</view>
</mp-slideview>
</view>
</recycle-item>
<view slot="after" >
<view class="recycleAfter">
<mp-loading type="circle" show="{{loading}}" />
<text class="" wx:if="{{listEnd}}">- 我是有底线的 -</text>
</view>
</view>
</recycle-view>
麻烦提供能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html