Commit cb0bd4fd authored by Mac's avatar Mac

1

parent bd99c151
......@@ -32,7 +32,7 @@
msg: {
pageIndex: 1,
pageSize: 10,
lookGroupIds: "3"
lookGroupIds: "1"
},
page_count: 1,
loading: false,
......@@ -52,6 +52,11 @@
uni.setNavigationBarTitle({
title: this.pageTitle,
});
},
onLoad(options) {
if (options && options.groupId) {
this.msg.lookGroupIds = options.groupId
}
this.init()
},
methods: {
......@@ -73,15 +78,15 @@
}
}
);
},
lower(e) {
if (this.msg.pageIndex < this.page_count) {
this.msg.pageIndex++;
this.status = "loading";
this.init();
} else {
this.status = "nomore";
}
},
lower(e) {
if (this.msg.pageIndex < this.page_count) {
this.msg.pageIndex++;
this.status = "loading";
this.init();
} else {
this.status = "nomore";
}
},
}
}
......
......@@ -237,7 +237,7 @@
v-for="(item, index) in mItem.MeunList"
:key="index"
:name="item.name"
@click="goUrl(item.link_url)"
@click="goUrl(item.link_url,item)"
v-if="pandu(item)"
>
<image
......@@ -364,11 +364,15 @@ export default {
}
return flag;
},
goUrl(url) {
goUrl(url,item=null) {
if (url == "/pages/balance/balance") {
uni.navigateTo({
url: "/pages/balance/balance?balance=" + this.user_info.balance,
});
}else if (url == "/pages/blindDate/personal/MyGroupLeader") {
uni.navigateTo({
url: "/pages/blindDate/personal/MyGroupLeader?groupId=" +item.groupId ,
});
} else {
uni.navigateTo({
url: url,
......
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