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
6a1b5b23
Commit
6a1b5b23
authored
Dec 14, 2019
by
FE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rank modify
parent
82f390d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
src/components/activity/newyear-2019/treasure-box/rank.js
+2
-2
src/components/activity/newyear-2019/treasure-box/rank.scss
+9
-0
No files found.
src/components/activity/newyear-2019/treasure-box/rank.js
View file @
6a1b5b23
...
...
@@ -81,7 +81,7 @@ class TreasureRank extends Component {
}
<
/dd
>
<
dd
className
=
"rank-column"
>
<
span
>
{
item
.
user_name
}
<
/span
>
<
span
className
=
"rank-column__name"
>
{
item
.
user_name
}
<
/span
>
<
/dd
>
<
dd
className
=
"rank-column"
>
<
span
>
{
item
.
num
}
<
/span
>
...
...
@@ -97,7 +97,7 @@ class TreasureRank extends Component {
))
}
<
div
className
=
"rank-more"
onClick
=
{
this
.
switchMoreRank
}
>
<
span
className
=
"rank-more__txt"
>
展开
<
/span
>
<
span
className
=
"rank-more__txt"
>
{
isMore
?
'展开'
:
'收起'
}
<
/span
>
<
i
className
=
"rank-more__icon"
data
-
more
=
{
isMore
}
><
/i
>
<
/div
>
<
/div
>
...
...
src/components/activity/newyear-2019/treasure-box/rank.scss
View file @
6a1b5b23
...
...
@@ -120,12 +120,21 @@
}
}
.rank-column__name
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
.rank-column__txt
{
display
:
inline-block
;
width
:
100%
;
box-sizing
:
border-box
;
padding
:
0
5px
;
text-align
:
left
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
a
.rank-column__txt
{
...
...
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