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
23c500e2
Commit
23c500e2
authored
Mar 30, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8264cdb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
11 deletions
+16
-11
postDetails.vue
pages/blindDate/postDetails.vue
+16
-11
No files found.
pages/blindDate/postDetails.vue
View file @
23c500e2
...
@@ -408,7 +408,7 @@
...
@@ -408,7 +408,7 @@
</view>
</view>
<view
style=
"font-size: 16px;color: #111111;display: flex;align-items: center;font-weight: bold;margin-top: 15px;"
>
<view
style=
"font-size: 16px;color: #111111;display: flex;align-items: center;font-weight: bold;margin-top: 15px;"
>
<text>
评论
</text>
<text>
评论
</text>
<text
style=
"margin-left: 15px;"
>
(
{{
details
.
ReplyNum
}}
)
</text>
<text
style=
"margin-left: 15px;"
>
(
{{
ReplyNum
}}
)
</text>
</view>
</view>
<u-empty
v-if=
"g.length == 0"
text=
"暂无回复"
mode=
"list"
></u-empty>
<u-empty
v-if=
"g.length == 0"
text=
"暂无回复"
mode=
"list"
></u-empty>
...
@@ -679,6 +679,7 @@
...
@@ -679,6 +679,7 @@
type
:
1
,
type
:
1
,
},
},
oneheight
:
0
,
oneheight
:
0
,
ReplyNum
:
0
,
}
}
},
},
mounted
(){
mounted
(){
...
@@ -694,6 +695,7 @@
...
@@ -694,6 +695,7 @@
withShareTicket
:
true
,
withShareTicket
:
true
,
menus
:
[
"shareAppMessage"
,
"shareTimeline"
],
menus
:
[
"shareAppMessage"
,
"shareTimeline"
],
});
});
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
console
.
log
(
options
)
console
.
log
(
options
)
...
@@ -701,6 +703,7 @@
...
@@ -701,6 +703,7 @@
this
.
msg
.
ActivityId
=
options
.
Id
;
this
.
msg
.
ActivityId
=
options
.
Id
;
this
.
sendMsg
.
ActivityId
=
options
.
Id
;
this
.
sendMsg
.
ActivityId
=
options
.
Id
;
this
.
getActivityInfo
()
this
.
getActivityInfo
()
this
.
getCount
()
//获取评论的总数量
}
}
let
UserId
=
uni
.
getStorageSync
(
'mall_UserInfo'
)?
uni
.
getStorageSync
(
'mall_UserInfo'
).
UserId
:
0
;
let
UserId
=
uni
.
getStorageSync
(
'mall_UserInfo'
)?
uni
.
getStorageSync
(
'mall_UserInfo'
).
UserId
:
0
;
this
.
sendMsg
.
ReplyUserId
=
UserId
this
.
sendMsg
.
ReplyUserId
=
UserId
...
@@ -755,7 +758,17 @@
...
@@ -755,7 +758,17 @@
};
};
},
},
methods
:{
methods
:{
getCount
(){
this
.
request2
(
{
url
:
'/api/AppletMiai/GetActivityDiscussCount'
,
data
:
{
ActivityId
:
this
.
msg
.
ActivityId
}
},
res
=>
{
this
.
ReplyNum
=
res
.
data
.
totalCount
}
);
},
getActivityInfo
(){
getActivityInfo
(){
this
.
request2
(
this
.
request2
(
{
{
...
@@ -917,15 +930,7 @@
...
@@ -917,15 +930,7 @@
this
.
ParentName
=
''
;
this
.
ParentName
=
''
;
this
.
sendMsg
.
Content
=
''
this
.
sendMsg
.
Content
=
''
}
}
this
.
request2
(
this
.
getCount
()
{
url
:
'/api/AppletMiai/GetActivityInfo'
,
data
:
{
ActivityId
:
this
.
msg
.
ActivityId
}
},
res
=>
{
this
.
details
.
ReplyNum
=
res
.
data
.
ReplyNum
}
);
this
.
initialize
()
this
.
initialize
()
}
}
);
);
...
...
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