提交 ccb1882f 编写于 作者: zhangwen's avatar zhangwen
......@@ -22,20 +22,7 @@
<van-row type="flex" justify="center" >
<div class="lines" style="z-index: 1; position:absolute; left:0px; width: 98%;margin:0 1%;margin-top: 1.5%;">
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
<div v-for="index in 12" :key="index" style="width: 100%; height: 5px; border-bottom: 1px silver solid;"></div>
</div>
</van-row>
......
......@@ -753,6 +753,7 @@ export default class Main extends Vue {
response.data.records.forEach((element: any) => {
this.productList.push(element);
});
// this.productList.push(response.data.records);
if (this.pageNum === response.data.pages) {
......@@ -761,14 +762,18 @@ export default class Main extends Vue {
this.finished = true;
}
this.pageNum = this.pageNum + 1;
//关闭加载
this.loading = false;
// Toast('短信发送成功,5分钟有效');
} else {
// Toast('短信发送失败,请重试');
Toast(response.msg+"");
// 关闭加载
//请求失败的时候关闭loading会无限发送请求,可以改为finished=true 加载完成
this.finished = true;
}
//关闭加载
this.loading = false;
});
}
//点击picket跳转界面
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册