Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
张文文
6 years ago
Commit
3427fa36bcd872d35f7eac56fdf13d4bff0d0b98
1 parent
e647a46d
修改昵称过长问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
js/alliance/components/RankBody.js
js/alliance/components/RankBody.js
View file @
3427fa3
...
...
@@ -65,6 +65,8 @@ class RankItem extends PureComponent {
}
}
let
{
width
}
=
Dimensions
.
get
(
'window'
);
const
styles
=
StyleSheet
.
create
({
itemContainer
:
{
height
:
70
*
DEVICE_WIDTH_RATIO
,
...
...
@@ -80,7 +82,7 @@ const styles = StyleSheet.create({
rank
:
{
fontSize
:
18
,
color
:
'#444444'
,
width
:
23
,
width
:
23
,
marginLeft
:
18
*
DEVICE_WIDTH_RATIO
,
},
avatar
:
{
...
...
@@ -93,8 +95,8 @@ const styles = StyleSheet.create({
name
:
{
fontFamily
:
'PingFang-SC-Regular'
,
fontSize
:
14
,
marginLeft
:
20
,
marginLeft
:
10
*
DEVICE_WIDTH_RATIO
,
maxWidth
:
width
-
230
*
DEVICE_WIDTH_RATIO
,
},
rightContainer
:
{
flex
:
1
,
...
...
@@ -105,7 +107,7 @@ const styles = StyleSheet.create({
amount
:
{
fontSize
:
16
,
color
:
'#444444'
,
fontWeight
:
'bold'
,
fontWeight
:
'bold'
,
},
amountName
:
{
fontFamily
:
'PingFangSC-Regular'
,
...
...
Please
register
or
login
to post a comment