Commit bd99c151 authored by Mac's avatar Mac

1

parent 2410098b
<style lang="scss" scoped> <style lang="scss" scoped>
</style> </style>
<template> <template>
<view class="MyGroupLeader"> <view class="MyGroupLeader">
<matchmaking <u-empty v-if="data.list.length == 0" text="暂无数据" mode="list"></u-empty>
:navs="data" <view v-if="data.list.length > 0" style="
></matchmaking> height: calc(100vh);
</view> width: calc(100vw);
</template> overflow: hidden;
">
<script> <scroll-view :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" @scrolltolower="lower"
import matchmaking from "@/components/matchmaking/index"; :style="{ height: '100%' }">
export default { <matchmaking :navs="data"></matchmaking>
components:{ <u-loadmore :status="status" :load-text="loadText" :font-size="24" :margin-top="20" :margin-bottom="20"
matchmaking bg-color="#FFF" />
}, </scroll-view>
data(){ </view>
return{ </view>
pageTitle: "我的群组", </template>
data:{
<script>
import matchmaking from "@/components/matchmaking/index";
listStyle: -1, export default {
components: {
list:[ matchmaking
{Age: "27", },
AlbumList: ["https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/SaleBefore/Goods/637685412905618441.jpg"], data() {
Authentication: 0, return {
Education: "本科", pageTitle: "我的群组",
Height: 168, msg: {
IDCardNo: "93", pageIndex: 1,
Industry: "", pageSize: 10,
Marriage: "未婚", lookGroupIds: "3"
Photo: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1633178376000_572.png", },
Score: 0, page_count: 1,
SexStr: "女", loading: false,
YearMoneyTypeStr: null, status: "loadmore",
id: 128527, loadText: {
name: "橙霜113号"}, loadmore: "轻轻上拉,加载更多",
{ loading: "努力加载中",
Age: "32", nomore: "没有更多了",
AlbumList: ["https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/SaleBefore/Goods/637685422998050082.jpg",], },
Authentication: 1, data: {
Education: "大专", listStyle: -1,
Height: 155, list: []
IDCardNo: "88", }
Industry: "", }
Marriage: "离异无孩", },
Photo: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1633178376000_572.png", created() {
Score: 0, uni.setNavigationBarTitle({
SexStr: "女", title: this.pageTitle,
YearMoneyTypeStr: null, });
id: 128539, this.init()
name: "阿黛"} },
] methods: {
} init() {
} this.loading = true;
}, this.request2({
created(){ url: '/api/AppletMiai/GetUserGroupList',
uni.setNavigationBarTitle({ data: this.msg
title: this.pageTitle, },
}); res => {
}, if (res.resultCode == 1) {
methods:{ this.loading = false;
this.data.list = this.data.list.concat(res.data.pageData.list);
} this.data.listStyle = res.data.pageData.listStyle;
} this.page_count = res.data.pageCount;
if (this.page_count == 1) {
this.status = "nomore";
}
}
}
);
},
lower(e) {
if (this.msg.pageIndex < this.page_count) {
this.msg.pageIndex++;
this.status = "loading";
this.init();
} else {
this.status = "nomore";
}
},
}
}
</script> </script>
...@@ -354,7 +354,7 @@ export default { ...@@ -354,7 +354,7 @@ export default {
let UserGroupIds = uni.getStorageSync("mall_UserInfo") ? uni.getStorageSync("mall_UserInfo").UserGroupIds : ''; let UserGroupIds = uni.getStorageSync("mall_UserInfo") ? uni.getStorageSync("mall_UserInfo").UserGroupIds : '';
switch (item.link_url) { switch (item.link_url) {
case "/pages/blindDate/personal/MyGroupLeader": case "/pages/blindDate/personal/MyGroupLeader":
if (item.groupId && UserGroupIds.indexOf((item.groupId).toString())!=-1) { if (item.groupId &&UserGroupIds!='' && UserGroupIds.indexOf((item.groupId).toString())!=-1) {
flag = true; flag = true;
} else { } else {
flag = false; flag = false;
......
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