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
c3a8750fe46998a962fcc70aa9d668a9d8f36039
1 parent
18e10a0a
添加资源review by daiqiang
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
js/guang/components/detail/Tags.js
js/guang/image/lab_icon@2x.png
js/guang/components/detail/Tags.js
View file @
c3a8750
...
...
@@ -33,13 +33,13 @@ export default class Tags extends React.Component {
return
(
<
View
style
=
{
styles
.
container
}
>
<
Image
style
=
{
styles
.
tagImage
}
/
>
<
Image
style
=
{
styles
.
tagImage
}
source
=
{
require
(
'../../image/lab_icon.png'
)}
/
>
<
View
style
=
{
styles
.
tagContainer
}
>
{
tags
.
map
((
value
,
i
)
=>
{
return
(
<
Text
key
=
{
i
}
style
=
{
styles
.
tag
}
<
Text
key
=
{
i
}
style
=
{
styles
.
tag
}
onPress
=
{()
=>
{
this
.
props
.
onPressTag
&&
this
.
props
.
onPressTag
(
value
.
url
)
}}
...
...
@@ -67,11 +67,11 @@ let styles = StyleSheet.create({
paddingBottom
:
0
,
},
tagImage
:
{
backgroundColor
:
'
gray
'
,
backgroundColor
:
'
transparent
'
,
top
:
20
,
left
:
10
,
width
:
25
,
height
:
25
,
width
:
20
,
height
:
20
,
marginRight
:
0
,
},
tagContainer
:
{
...
...
js/guang/image/lab_icon@2x.png
0 → 100644
View file @
c3a8750
2.03 KB
Please
register
or
login
to post a comment