Toggle navigation
Toggle navigation
This project
Loading...
Sign in
罗广聪
/
ProtectGod
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
罗广聪
2017-09-19 18:05:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
76646a6d0e97a1549652e7ff1b9613906cfcc8df
76646a6d
1 parent
19cd21c8
可提审
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/pages/Discover/index.js
src/pages/Discover/index.js
View file @
76646a6
...
...
@@ -9,6 +9,7 @@ import {
Text
,
TouchableOpacity
,
Clipboard
,
Alert
,
}
from
"react-native"
;
import
{
StackNavigator
,
TabNavigator
}
from
"react-navigation"
;
...
...
@@ -76,7 +77,7 @@ export default class Discover extends Component {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
wordConatier
}
>
<
Text
style
=
{
styles
.
word
}
>
{
word
}
}
<
/Text
>
<
Text
style
=
{
styles
.
word
}
>
{
word
}
<
/Text
>
<
/View
>
<
TouchableOpacity
style
=
{
styles
.
button
}
onPress
=
{()
=>
{
this
.
copyWords
(
word
)}}
>
<
Image
style
=
{
styles
.
btnImg
}
source
=
{
require
(
"../../assets/discover/ic_copy.png"
)}
/
>
...
...
@@ -143,7 +144,6 @@ const styles = StyleSheet.create({
position
:
"absolute"
,
bottom
:
150
,
},
btnImg
:
{
width
:
13
,
height
:
15
,
...
...
Please
register
or
login
to post a comment