Commit cb0bd4fd authored by Mac's avatar Mac

1

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