Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
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
baiguangyao
mr-julyedu
Commits
d2230958
Commit
d2230958
authored
Aug 23, 2019
by
FE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
midify btn in togroup page
parent
1b615bcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/components/detail/group/togroup.js
+5
-3
No files found.
src/components/detail/group/togroup.js
View file @
d2230958
...
...
@@ -243,13 +243,15 @@ function GorupContent(props) {
if
(
groupon_member
&&
groupon_member
.
length
>
0
)
{
let
uid
=
''
;
let
flag
=
false
;
groupon_member
.
map
(
item
=>
{
if
(
item
.
user_type
===
1
)
{
uid
=
`
${
item
.
uid
}
`
;
if
(
item
.
uid
==
userInfo
.
data
.
data
.
uid
)
{
// uid = `${item.uid}`;
flag
=
true
}
})
if
(
uid
===
userInfo
.
data
.
data
.
uid
)
{
if
(
flag
)
{
tip
=
<
p
className
=
'tip'
>
{
`拼团省¥
${
pdd_price
}
元`
}
<
/p
>
btn
=
<
span
className
=
'group-btn'
onClick
=
{
props
.
invitedFriends
}
>
邀请好友参团
{
countdown
}
后结束
<
/span
>
dec
=
<
p
className
=
'dec'
>
分享到
3
个群后,成团率高达
98
%<
/p
>
...
...
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