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
27dd74c9
Commit
27dd74c9
authored
Dec 17, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组队信息增加需求 二维码
parent
4a26b69a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
src/components/activity/newyear-2019/preheat/LiveRoom/index.js
+2
-0
src/components/activity/newyear-2019/treasure-box/team.js
+10
-0
No files found.
src/components/activity/newyear-2019/preheat/LiveRoom/index.js
View file @
27dd74c9
...
...
@@ -18,6 +18,7 @@ class LiveRoom extends Component {
list
:
[],
showMark
:
false
,
subUrl
:
''
,
QRCodeUrl
:
''
,
}
}
...
...
@@ -50,6 +51,7 @@ class LiveRoom extends Component {
this
.
setState
({
showMark
:
true
,
subUrl
:
url
,
QRCodeUrl
:
url
,
})
})
}
else
{
...
...
src/components/activity/newyear-2019/treasure-box/team.js
View file @
27dd74c9
...
...
@@ -121,6 +121,15 @@ class TeamInfo extends Component {
fillTeam
=
(
list
,
is_my_team
)
=>
{
let
len
=
list
.
length
;
// 没有创建队伍 并且没有加入他人队伍
if
(
this
.
props
.
user
.
hasError
)
{
for
(
let
i
=
0
;
i
<
5
-
len
;
i
++
)
{
list
.
push
({
head_img
:
''
,
user_name
:
''
,
nobody
:
true
,
})
}
}
else
{
if
(
len
===
0
&&
!
is_my_team
)
{
list
.
push
({
head_img
:
jsCookie
.
get
(
'avatar_file'
),
...
...
@@ -142,6 +151,7 @@ class TeamInfo extends Component {
})
}
}
}
return
list
;
}
...
...
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