<scroll-view class="scroll_view" style="height: 500rpx;" scroll-y="true" lower-threshold="130" @scrolltolower="scrollLower">
<view class="gongshi-box">
<view class="sec" v-for="(item, i) in gongshiList" :key="i" v-if="gongshiList != ''">
<view class="">用户: {{ item.nickname }} {{ item.create_time }} 抽中:{{ item.prize_level }}</view>
</view>
<view class="bom" v-if="gongshiList == ''"><text>暂无数据~</text></view>
</view>
</scroll-view>
//加载更多
scrollLower(e){
this.page++;
var obj = {
box_id: this.box_id,
page: this.page
};
this.$Request.get(this.$api.index.winningRecord, obj).then(res => {
this.gongshiList = this.gongshiList.concat(res.data.list);
});
},
.scroll_view{
::-webkit-scrollbar{
width: 0;
height: 0;
color: transparent;
}
}