提交 ccb1882f 编写于 作者: zhangwen's avatar zhangwen
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
<template> <template>
<!-- <div> --> <!-- <div> -->
<div class="roolsolt"> <div class="roolsolt">
...@@ -22,25 +22,12 @@ ...@@ -22,25 +22,12 @@
<van-row type="flex" justify="center" > <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 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 v-for="index in 12" :key="index" 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> </div>
</van-row> </van-row>
<van-row type="flex" justify="center" class="integral" > <van-row type="flex" justify="center" class="integral" >
<van-col span="24" style="z-index:2; font-size: 36px;font-weight: 900; margin-top: 5%;">{{ productData.amtMax }}</van-col> <van-col span="24" style="z-index:2; font-size: 36px;font-weight: 900; margin-top: 5%;">{{ productData.amtMax }}</van-col>
</van-row> </van-row>
...@@ -55,9 +42,9 @@ ...@@ -55,9 +42,9 @@
</van-row> </van-row>
</div> </div>
<div style=""> <div style="">
<scroller-view v-calculate-height :height="10000" > <scroller-view v-calculate-height :height="10000" >
<van-collapse v-model="activeNames" v-if="this.productData.prodDesc!=undefined" style=" <van-collapse v-model="activeNames" v-if="this.productData.prodDesc!=undefined" style="
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius: 8px; border-radius: 8px;
...@@ -90,7 +77,7 @@ export default class ProductCard extends Vue { ...@@ -90,7 +77,7 @@ export default class ProductCard extends Vue {
@Prop({ default: {prodDesc:""} }) productData: any | {};//产品数据 @Prop({ default: {prodDesc:""} }) productData: any | {};//产品数据
@Prop({ default: {prodDesc:""} }) desc: any | {};//产品数据 @Prop({ default: {prodDesc:""} }) desc: any | {};//产品数据
//立即登录 //立即登录
activeNames = [""]; activeNames = [""];
......
...@@ -753,6 +753,7 @@ export default class Main extends Vue { ...@@ -753,6 +753,7 @@ export default class Main extends Vue {
response.data.records.forEach((element: any) => { response.data.records.forEach((element: any) => {
this.productList.push(element); this.productList.push(element);
}); });
// this.productList.push(response.data.records); // this.productList.push(response.data.records);
if (this.pageNum === response.data.pages) { if (this.pageNum === response.data.pages) {
...@@ -761,14 +762,18 @@ export default class Main extends Vue { ...@@ -761,14 +762,18 @@ export default class Main extends Vue {
this.finished = true; this.finished = true;
} }
this.pageNum = this.pageNum + 1; this.pageNum = this.pageNum + 1;
//关闭加载
// Toast('短信发送成功,5分钟有效'); this.loading = false;
} else { } else {
// Toast('短信发送失败,请重试'); Toast(response.msg+"");
// 关闭加载
//请求失败的时候关闭loading会无限发送请求,可以改为finished=true 加载完成
this.finished = true;
} }
//关闭加载
this.loading = false;
}); });
} }
//点击picket跳转界面 //点击picket跳转界面
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册