Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
bd99c151
Commit
bd99c151
authored
Oct 28, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2410098b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
88 additions
and
71 deletions
+88
-71
MyGroupLeader.vue
pages/blindDate/personal/MyGroupLeader.vue
+87
-70
blinddate-user.vue
pages/user-center/components/blinddate-user.vue
+1
-1
No files found.
pages/blindDate/personal/MyGroupLeader.vue
View file @
bd99c151
<
style
lang=
"scss"
scoped
>
</
style
>
<
template
>
<view
class=
"MyGroupLeader"
>
<matchmaking
:navs=
"data"
></matchmaking>
</view>
</
template
>
<
script
>
import
matchmaking
from
"@/components/matchmaking/index"
;
export
default
{
components
:{
matchmaking
},
data
(){
return
{
pageTitle
:
"我的群组"
,
data
:{
listStyle
:
-
1
,
list
:[
{
Age
:
"27"
,
AlbumList
:
[
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/SaleBefore/Goods/637685412905618441.jpg"
],
Authentication
:
0
,
Education
:
"本科"
,
Height
:
168
,
IDCardNo
:
"93"
,
Industry
:
""
,
Marriage
:
"未婚"
,
Photo
:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1633178376000_572.png"
,
Score
:
0
,
SexStr
:
"女"
,
YearMoneyTypeStr
:
null
,
id
:
128527
,
name
:
"橙霜113号"
},
{
Age
:
"32"
,
AlbumList
:
[
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/SaleBefore/Goods/637685422998050082.jpg"
,],
Authentication
:
1
,
Education
:
"大专"
,
Height
:
155
,
IDCardNo
:
"88"
,
Industry
:
""
,
Marriage
:
"离异无孩"
,
Photo
:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1633178376000_572.png"
,
Score
:
0
,
SexStr
:
"女"
,
YearMoneyTypeStr
:
null
,
id
:
128539
,
name
:
"阿黛"
}
]
}
}
},
created
(){
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
});
},
methods
:{
}
}
<
style
lang=
"scss"
scoped
>
</
style
>
<
template
>
<view
class=
"MyGroupLeader"
>
<u-empty
v-if=
"data.list.length == 0"
text=
"暂无数据"
mode=
"list"
></u-empty>
<view
v-if=
"data.list.length > 0"
style=
"
height: calc(100vh);
width: calc(100vw);
overflow: hidden;
"
>
<scroll-view
:scroll-y=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
@
scrolltolower=
"lower"
:style=
"
{ height: '100%' }">
<matchmaking
:navs=
"data"
></matchmaking>
<u-loadmore
:status=
"status"
:load-text=
"loadText"
:font-size=
"24"
:margin-top=
"20"
:margin-bottom=
"20"
bg-color=
"#FFF"
/>
</scroll-view>
</view>
</view>
</
template
>
<
script
>
import
matchmaking
from
"@/components/matchmaking/index"
;
export
default
{
components
:
{
matchmaking
},
data
()
{
return
{
pageTitle
:
"我的群组"
,
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
lookGroupIds
:
"3"
},
page_count
:
1
,
loading
:
false
,
status
:
"loadmore"
,
loadText
:
{
loadmore
:
"轻轻上拉,加载更多"
,
loading
:
"努力加载中"
,
nomore
:
"没有更多了"
,
},
data
:
{
listStyle
:
-
1
,
list
:
[]
}
}
},
created
()
{
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
});
this
.
init
()
},
methods
:
{
init
()
{
this
.
loading
=
true
;
this
.
request2
({
url
:
'/api/AppletMiai/GetUserGroupList'
,
data
:
this
.
msg
},
res
=>
{
if
(
res
.
resultCode
==
1
)
{
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
>
pages/user-center/components/blinddate-user.vue
View file @
bd99c151
...
...
@@ -354,7 +354,7 @@ export default {
let
UserGroupIds
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserGroupIds
:
''
;
switch
(
item
.
link_url
)
{
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
;
}
else
{
flag
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment