Commit 08b0c413 authored by youjie's avatar youjie

no message

parent a03ce182
...@@ -177,11 +177,11 @@ ...@@ -177,11 +177,11 @@
}, },
onReachBottom() { onReachBottom() {
if (this.msg.pageIndex < this.pageCount) { if (this.msg.pageIndex < this.pageCount) {
data.pageState = "loading"; this.pageState = "loading";
if (this.timer) clearTimeout(this.timer); if (this.timer) clearTimeout(this.timer);
this.timer = setTimeout(() => { this.timer = setTimeout(() => {
this.msg.pageIndex++; this.msg.pageIndex++;
that.getList(); this.getList();
}, 1000); }, 1000);
} else { } else {
this.pageState = "none"; this.pageState = "none";
......
...@@ -197,7 +197,6 @@ ...@@ -197,7 +197,6 @@
<van-icon name="close" color="#111111" size="48rpx" @click="showPopup=false"/> <van-icon name="close" color="#111111" size="48rpx" @click="showPopup=false"/>
</view> </view>
</van-popup> </van-popup>
</view> </view>
</template> </template>
......
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
}, },
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 20, pageSize: 10,
KeyWords: '182155',//关键词 KeyWords: '182155',//关键词
}, },
pageCount: 0, pageCount: 0,
...@@ -196,14 +196,16 @@ ...@@ -196,14 +196,16 @@
} }
}) })
item.checked = true item.checked = true
// data.form.Target.Id = item.Id console.log(item.StuId,'----')
data.form.Target.AccountId = item.AccountId return
data.form.Target.Id = item.Id
data.form.Target.AccountId = item.Target.AccountId
data.form.Target.StuId = item.StuId data.form.Target.StuId = item.StuId
data.form.Target.OpenId = item.OpenId data.form.Target.OpenId = item.Target.OpenId
data.form.Target.WeChatName = item.WeChatName data.form.Target.WeChatName = item.Target.WeChatName
data.form.Target.WeChatImg = item.WeChatImg data.form.Target.WeChatImg = item.Target.WeChatImg
data.form.Target.UnionId = item.UnionId data.form.Target.UnionId = item.Target.UnionId
// let msgData = { // data.form = {
// Id: item.Id, // Id: item.Id,
// AccountId: item.AccountId, // AccountId: item.AccountId,
// StuId: item.StuId, // StuId: item.StuId,
...@@ -212,7 +214,7 @@ ...@@ -212,7 +214,7 @@
// WeChatImg: item.WeChatImg, // WeChatImg: item.WeChatImg,
// UnionId: item.UnionId // UnionId: item.UnionId
// } // }
console.log(data.form,'----')
}, },
clickIcon(){ clickIcon(){
......
...@@ -310,15 +310,16 @@ ...@@ -310,15 +310,16 @@
// }); // });
}, },
onShow(){ onShow(){
this.dataList = []
this.getData() this.getData()
}, },
onReachBottom() { onReachBottom() {
if (this.msg.pageIndex < this.pageCount) { if (this.msg.pageIndex < this.pageCount) {
data.pageState = "loading"; this.pageState = "loading";
if (this.timer) clearTimeout(this.timer); if (this.timer) clearTimeout(this.timer);
this.timer = setTimeout(() => { this.timer = setTimeout(() => {
this.msg.pageIndex++; this.msg.pageIndex++;
that.getData(); this.getData();
}, 1000); }, 1000);
} else { } else {
this.pageState = "none"; this.pageState = "none";
......
...@@ -259,11 +259,11 @@ ...@@ -259,11 +259,11 @@
}, },
onReachBottom() { onReachBottom() {
if (this.msg.pageIndex < this.pageCount) { if (this.msg.pageIndex < this.pageCount) {
data.pageState = "loading"; this.pageState = "loading";
if (this.timer) clearTimeout(this.timer); if (this.timer) clearTimeout(this.timer);
this.timer = setTimeout(() => { this.timer = setTimeout(() => {
this.msg.pageIndex++; this.msg.pageIndex++;
that.getList(); this.getList();
}, 1000); }, 1000);
} else { } else {
this.pageState = "none"; this.pageState = "none";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment