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
1c2bcfc91402e70019aed1dba3c0b37f6d7daf62
1 parent
469edc1e
Android禁用滑动返回手势 review by yewanwan
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
ios/YH_Vendor/Info.plist
js/Vendor.js
ios/YH_Vendor/Info.plist
View file @
1c2bcfc
...
...
@@ -21,7 +21,7 @@
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleVersion
</key>
<string>
1.0.0.201606
06
02
</string>
<string>
1.0.0.201606
13
02
</string>
<key>
LSRequiresIPhoneOS
</key>
<true/>
<key>
NSAppTransportSecurity
</key>
...
...
js/Vendor.js
View file @
1c2bcfc
'use strict'
;
import
React
from
'react'
;
import
{
AppRegistry
,
Navigator
,
View
,
Text
,
Image
,
Platform
,
StyleSheet
,
Animated
}
from
'react-native'
;
import
{
AppRegistry
,
Platform
,
StyleSheet
}
from
'react-native'
;
import
{
Provider
,
...
...
@@ -36,9 +36,6 @@ import deliveryStatsInitialState from './reducers/deliveryStats/deliveryStatsIni
import
requestStatsInitialState
from
'./reducers/requestStats/requestStatsInitialState'
;
import
refoundStatisticsInitialState
from
'./reducers/refoundStatistics/refoundStatisticsInitialState'
;
import
NavigationCardStackStyleInterpolator
from
'NavigationCardStackStyleInterpolator'
;
import
App
from
'./containers/App'
;
import
GuideContainer
from
'./containers/GuideContainer'
;
import
DrawerContainer
from
'./containers/DrawerContainer'
;
...
...
@@ -184,6 +181,7 @@ export default function native(platform) {
title
=
{
'修改密码'
}
titleStyle
=
{
styles
.
navTitle
}
type
=
"push"
panHandlers
=
{
Platform
.
OS
===
'android'
?
null
:
undefined
}
/
>
<
Scene
key
=
"Modify"
...
...
@@ -193,6 +191,7 @@ export default function native(platform) {
title
=
'修改密码'
titleStyle
=
{
styles
.
navTitle
}
type
=
"push"
panHandlers
=
{
Platform
.
OS
===
'android'
?
null
:
undefined
}
/
>
<
Scene
key
=
"SaleStats"
...
...
@@ -202,6 +201,7 @@ export default function native(platform) {
navBar
=
{
NavBar
}
titleStyle
=
{
styles
.
navTitle
}
type
=
"push"
panHandlers
=
{
Platform
.
OS
===
'android'
?
null
:
undefined
}
/
>
<
Scene
key
=
"RefoundStats"
...
...
@@ -211,15 +211,17 @@ export default function native(platform) {
navBar
=
{
NavBar
}
titleStyle
=
{
styles
.
navTitle
}
type
=
"push"
panHandlers
=
{
Platform
.
OS
===
'android'
?
null
:
undefined
}
/
>
<
Scene
key
=
"MessageDetail"
component
=
{
MessageDetailContainer
}
hideNavBar
=
{
false
}
navBar
=
{
NavBar
}
title
=
{
'消息'
}
title
=
{
'消息
详情
'
}
titleStyle
=
{
styles
.
navTitle
}
type
=
"push"
panHandlers
=
{
Platform
.
OS
===
'android'
?
null
:
undefined
}
/
>
<
Scene
...
...
@@ -231,6 +233,7 @@ export default function native(platform) {
navBar
=
{
NavBar
}
titleStyle
=
{
styles
.
navTitle
}
type
=
'push'
panHandlers
=
{
Platform
.
OS
===
'android'
?
null
:
undefined
}
/
>
<
Scene
...
...
@@ -242,6 +245,7 @@ export default function native(platform) {
navBar
=
{
NavBar
}
titleStyle
=
{
styles
.
navTitle
}
type
=
'push'
panHandlers
=
{
Platform
.
OS
===
'android'
?
null
:
undefined
}
/
>
<
Scene
...
...
@@ -253,6 +257,7 @@ export default function native(platform) {
navBar
=
{
NavBar
}
titleStyle
=
{
styles
.
navTitle
}
type
=
'push'
panHandlers
=
{
Platform
.
OS
===
'android'
?
null
:
undefined
}
/
>
<
Scene
...
...
@@ -264,6 +269,7 @@ export default function native(platform) {
navBar
=
{
NavBar
}
titleStyle
=
{
styles
.
navTitle
}
type
=
'push'
panHandlers
=
{
Platform
.
OS
===
'android'
?
null
:
undefined
}
/
>
<
Scene
...
...
@@ -275,6 +281,7 @@ export default function native(platform) {
navBar
=
{
NavBar
}
titleStyle
=
{
styles
.
navTitle
}
type
=
'push'
panHandlers
=
{
Platform
.
OS
===
'android'
?
null
:
undefined
}
/
>
<
Scene
key
=
"Drawer"
component
=
{
DrawerContainer
}
type
=
"replace"
hideNavBar
=
{
true
}
getSceneStyle
=
{(
props
)
=>
{
...
...
Please
register
or
login
to post a comment