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
于良
8 years ago
Commit
4a2e111691558145158c013d34eaef70e0e1ea00
1 parent
2192cc3a
个人中心字体优化 review by linen
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
js/mine/components/mine/MineListHeader.js
js/mine/components/mine/MineListHeader.js
View file @
4a2e111
...
...
@@ -171,6 +171,8 @@ export default class MineListHeader extends React.Component {
let
bgPaddingTop
=
Platform
.
OS
===
'ios'
?
160
:
45
;
let
paddingContainer
=
(
width
-
36
*
5
)
/
16
;
let
favStringFontSize
=
profile
.
uid
!=
'0'
?
11
:
15
;
return
(
<
View
style
=
{[
styles
.
container
,{
height
:
oHigh
}]}
>
<
Image
source
=
{
bgImage
}
...
...
@@ -286,7 +288,7 @@ export default class MineListHeader extends React.Component {
<
Text
style
=
{
styles
.
top_number_text
}
>
{
mineInfoNum
.
product_favorite_total
+
globalOrderData
.
collect_count
<
100
?
mineInfoNum
.
product_favorite_total
+
globalOrderData
.
collect_count
:
'99+'
}
<
/Text> : nul
l
}
<
Text
style
=
{
styles
.
top_text
}
>
收藏的商品
<
/Text
>
<
Text
style
=
{
[
styles
.
top_text
,
{
fontSize
:
favStringFontSize
}]
}
>
收藏的商品
<
/Text
>
<
/View
>
<
/TouchableOpacity
>
<
View
style
=
{{
...
...
@@ -303,7 +305,7 @@ export default class MineListHeader extends React.Component {
<
Text
style
=
{
styles
.
top_number_text
}
>
{
mineInfoNum
.
brand_favorite_total
<
100
?
mineInfoNum
.
brand_favorite_total
:
'99+'
}
<
/Text> : nul
l
}
<
Text
style
=
{
styles
.
top_text
}
>
收藏的品牌
<
/Text
>
<
Text
style
=
{
[
styles
.
top_text
,
{
fontSize
:
favStringFontSize
}]
}
>
收藏的品牌
<
/Text
>
<
/View
>
<
/TouchableOpacity
>
<
View
style
=
{{
...
...
@@ -320,7 +322,7 @@ export default class MineListHeader extends React.Component {
<
Text
style
=
{
styles
.
top_number_text
}
>
{
mineInfoNum
.
product_browse
<
100
?
mineInfoNum
.
product_browse
:
'99+'
}
<
/Text> : nul
l
}
<
Text
style
=
{
styles
.
top_text
}
>
浏览记录
<
/Text
>
<
Text
style
=
{
[
styles
.
top_text
,
{
fontSize
:
favStringFontSize
}]
}
>
浏览记录
<
/Text
>
<
/View
>
<
/TouchableOpacity
>
<
/View
>
...
...
Please
register
or
login
to post a comment