Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
yh_vendor
·
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
于良
9 years ago
Commit
196f48c977e5437c50eda0ddb7916ba4f6230252
1 parent
0793d1e1
日历选择控件确定取消按钮居中 review by yewanwan
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
js/components/calendar/Calendar.js
js/components/calendar/Calendar.js
View file @
196f48c
...
...
@@ -560,7 +560,7 @@ export default class Calendar extends Component {
return
(
<
View
style
=
{
styles
.
buttonContainer
}
>
<
TouchableOpacity
onPress
=
{()
=>
{
this
.
props
.
onCancel
()}}
style
=
{
styles
.
button
}
>
<
Text
style
=
{
[
styles
.
text
,
styles
.
cancelText
]
}
>
<
Text
style
=
{
styles
.
text
}
>
取消
<
/Text
>
<
/TouchableOpacity
>
...
...
@@ -587,8 +587,6 @@ export default class Calendar extends Component {
const
styles
=
StyleSheet
.
create
({
buttonContainer
:
{
flexDirection
:
'row'
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
borderTopWidth
:
0.5
,
borderTopColor
:
'#B0B0B0'
,
backgroundColor
:
'white'
,
...
...
@@ -598,9 +596,11 @@ const styles = StyleSheet.create({
height
:
44
,
borderBottomWidth
:
0.5
,
borderBottomColor
:
'#B0B0B0'
,
alignSelf
:
'center'
,
alignItems
:
'center'
,
justifyContent
:
'center'
,
},
text
:
{
paddingTop
:
15
,
fontSize
:
14
,
color
:
'#444444'
,
textAlign
:
'center'
,
...
...
@@ -608,7 +608,7 @@ const styles = StyleSheet.create({
},
seprator
:
{
width
:
0.5
,
height
:
35
,
height
:
44
,
backgroundColor
:
'#B0B0B0'
,
},
});
...
...
Please
register
or
login
to post a comment