兄弟怎么解决的阿,给解决方案呀,都是好兄弟。
scroll-view 使用自定义下拉刷新, 出现抖动闪烁?<scroll-view refresher-triggered="{{loading}}" refresher-threshold="100" refresher-enabled="{{true}}" style="height: 100%;" scroll-y bindscrolltolower="onReachBottom" bindrefresherrefresh="PullDownRefresh"> <div v-if="schemeList.length === 0" class="scheme_null"> <div class="null"> <img lazy-load :src="nullIcon" alt="" class="nullIcon"/> <div>这里暂时还没有内容</div> <div>去其他地方看看吧</div> </div> </div> <div class="scheme"> <div class="scheme_left" > <div class="demo" v-for="(item,index) in schemeList" :key="index" v-if="index%2 === 0" @click="particulars(item)"> <img lazy-load :src="item.cover_img" mode="widthFix" alt="" class="cover_bulk" v-if="item.plan_type === 1"/> <img lazy-load :src="item.cover_img" mode="widthFix" alt="" class="cover_img" v-if="item.plan_type === 2"/> <img lazy-load :src="videoIcon" alt="" v-if="item.top_img_video_type === 2" class="video_icon"/> <div class="stylist"> <div class="left"> <img lazy-load :src.sync="item.designer.icon" alt="" class="stylist_icon"/> <div class="overFlow">{{item.designer.name}}</div> </div> <div class="right"> <img lazy-load :src.sync="item.is_project_like === 0 ? not_collect : collect" alt="" class="collect_icon" :class="{'collect':item.is_project_like === 1}"/> <div>{{item.project_like_number}}</div> </div> </div> <div class="project_name">{{item.project_name}}</div> <div class="address" v-if="item.plan_type === 1"> <div>{{item.room}}</div>室·<div>{{item.proportion}}</div>m²·<div class="overflow">{{item.province}}{{item.city}}</div> </div> </div> </div> <div class="scheme_right" > <div class="demo" v-for="(item,index) in schemeList" :key="index" v-if="index%2 === 1" @click="particulars(item)"> <img lazy-load :src="item.cover_img" mode="widthFix" alt="" class="cover_bulk" v-if="item.plan_type === 1"/> <img lazy-load :src="item.cover_img" mode="widthFix" alt="" class="cover_img" v-if="item.plan_type === 2"/> <img lazy-load :src="videoIcon" alt="" v-if="item.top_img_video_type === 2" class="video_icon"/> <div class="stylist"> <div class="left"> <img lazy-load :src.sync="item.designer.icon" alt="" class="stylist_icon"/> <div class="overFlow">{{item.designer.name}}</div> </div> <div class="right"> <img lazy-load :src.sync="item.is_project_like === 0 ? not_collect : collect" alt="" class="collect_icon" :class="{'collect':item.is_project_like === 1}"/> <div>{{item.project_like_number}}</div> </div> </div> <div class="project_name">{{item.project_name}}</div> <div class="address" v-if="item.plan_type === 1"> <div>{{item.room}}</div>室·<div>{{item.proportion}}</div>m²·<div class="overflow">{{item.province}}{{item.city}}</div> </div> </div> </div> </div> </scroll-view>
02-21