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
63017bcf
Commit
63017bcf
authored
Mar 05, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
66ca6b05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
22 deletions
+31
-22
persondetails.vue
pages/blindDate/persondetails.vue
+31
-22
No files found.
pages/blindDate/persondetails.vue
View file @
63017bcf
...
...
@@ -193,18 +193,21 @@
未认证
</view>
</view>
<view
class=
"guanzhu"
:style=
"
{background:mainColor}" v-if="dataList.IsFollow==0" @click="dianjiguanzhu(dataList.IsFollow)">
关注
</view>
<view
class=
"guanzhu"
:style=
"
{background:mainColor}" v-if="dataList.IsFollow==1">
已关注
</view>
<view
class=
"guanzhu"
:style=
"
{background:mainColor}" v-if="dataList.IsFollow==2">
被关注
</view>
<view
class=
"guanzhu"
:style=
"
{background:mainColor}" v-if="dataList.IsFollow==3">
互关
<view
@
click=
"dianjiguanzhu(dataList)"
v-if=
"dataList.IsFollow!=-1"
>
<view
class=
"guanzhu"
:style=
"
{background:mainColor}" v-if="dataList.IsFollow==0" >
关注
</view>
<view
class=
"guanzhu"
:style=
"
{background:mainColor}" v-if="dataList.IsFollow==1">
已关注
</view>
<view
class=
"guanzhu"
:style=
"
{background:mainColor}" v-if="dataList.IsFollow==2">
被关注
</view>
<view
class=
"guanzhu"
:style=
"
{background:mainColor}" v-if="dataList.IsFollow==3">
互关
</view>
</view>
</view>
</view>
</view>
...
...
@@ -391,20 +394,26 @@
url
:
'/pages/blindDate/personal/editmaterial?UserId='
+
this
.
UserId
});
},
dianjiguanzhu
(
ID
){
//关注操作
this
.
request2
(
{
dianjiguanzhu
(
x
){
//关注操作
let
ID
=
0
;
if
(
x
.
IsFollow
!=
0
){
ID
=
x
.
MyFollowId
}
this
.
request2
({
url
:
'/api/AppletMiai/GetFollowMember'
,
data
:
{
ID
:
ID
,
UserId
:
this
.
UserId
}
data
:
{
ID
:
ID
,
UserId
:
x
.
Id
,
}
},
res
=>
{
if
(
res
.
resultCode
==
1
)
{
uni
.
showToast
({
title
:
res
.
message
,
icon
:
'none'
})
this
.
init
()
}
uni
.
showToast
(
{
title
:
res
.
message
,
icon
:
'none'
})
this
.
init
()
}
);
},
...
...
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