提交 78d6440f authored 作者: 吴强's avatar 吴强

提交登陆界面

上级 79ce5da9
......@@ -174,6 +174,7 @@ dependencies {
compile "com.facebook.react:react-native:+" // From node_modules
compile project(':react-native-vector-icons') // 2017-10-31 wq add
compile project(':react-native-splash-screen') //2017-11-7 wq Add for welcome screen
compile project(':react-native-camera')
}
// Run this once to be able to run the application with BUCK
......
......@@ -7,6 +7,9 @@
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-sdk
android:minSdkVersion="16"
......
......@@ -6,6 +6,7 @@ import android.support.multidex.MultiDex;
import com.bolan.android.modules.IDCardReactPackage;
import com.facebook.react.ReactApplication;
import com.lwansbrough.RCTCamera.RCTCameraPackage;
import com.microsoft.codepush.react.CodePush;
import com.learnium.RNDeviceInfo.RNDeviceInfo;
import com.facebook.react.ReactNativeHost;
......@@ -37,6 +38,7 @@ public class MainApplication extends Application implements ReactApplication {
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new RCTCameraPackage(),
new CodePush(BuildConfig.CODEPUSH_KEY, getApplicationContext(), BuildConfig.DEBUG, "http://192.168.1.2:3000"),
new RNDeviceInfo(),
new IDCardReactPackage(),
......
rootProject.name = 'bolanManagerApp'
include ':react-native-camera'
project(':react-native-camera').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-camera/android')
include ':react-native-code-push'
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app')
include ':react-native-device-info'
......
......@@ -41,6 +41,7 @@
3FB191FD84A84EE59701A8DA /* libSplashScreen.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78557CAE6D494E449ACA2E70 /* libSplashScreen.a */; };
1A1EABAFBB254C51AA95A884 /* libCodePush.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5049A267195B4A6D95EE87C7 /* libCodePush.a */; };
BDC17299171149F2874B1AB8 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 83AC580FC9064DB19C36CE97 /* libz.tbd */; };
373C7FA9E2A645858860CEE6 /* libRCTCamera.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 57D2AA2056CB4B029AC613BB /* libRCTCamera.a */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
......@@ -276,6 +277,8 @@
83AC580FC9064DB19C36CE97 /* libz.tbd */ = {isa = PBXFileReference; name = "libz.tbd"; path = "usr/lib/libz.tbd"; sourceTree = SDKROOT; fileEncoding = undefined; lastKnownFileType = sourcecode.text-based-dylib-definition; explicitFileType = undefined; includeInIndex = 0; };
BE6C1D88183E4F098BBEED33 /* SplashScreen.xcodeproj */ = {isa = PBXFileReference; name = "SplashScreen.xcodeproj"; path = "../node_modules/react-native-splash-screen/ios/SplashScreen.xcodeproj"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; };
78557CAE6D494E449ACA2E70 /* libSplashScreen.a */ = {isa = PBXFileReference; name = "libSplashScreen.a"; path = "libSplashScreen.a"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; };
0640C8B84C334158A1518970 /* RCTCamera.xcodeproj */ = {isa = PBXFileReference; name = "RCTCamera.xcodeproj"; path = "../node_modules/react-native-camera/ios/RCTCamera.xcodeproj"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; };
57D2AA2056CB4B029AC613BB /* libRCTCamera.a */ = {isa = PBXFileReference; name = "libRCTCamera.a"; path = "libRCTCamera.a"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
......@@ -309,6 +312,7 @@
1A1EABAFBB254C51AA95A884 /* libCodePush.a in Frameworks */,
BDC17299171149F2874B1AB8 /* libz.tbd in Frameworks */,
3FB191FD84A84EE59701A8DA /* libSplashScreen.a in Frameworks */,
373C7FA9E2A645858860CEE6 /* libRCTCamera.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -480,6 +484,7 @@
20C53C1323F44CCBB35F0247 /* RNDeviceInfo.xcodeproj */,
F140EEF54B894D10B664588B /* CodePush.xcodeproj */,
BE6C1D88183E4F098BBEED33 /* SplashScreen.xcodeproj */,
0640C8B84C334158A1518970 /* RCTCamera.xcodeproj */,
);
name = Libraries;
sourceTree = "<group>";
......@@ -1040,12 +1045,14 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-device-info/RNDeviceInfo",
"$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**",
"$(SRCROOT)\..\node_modules\react-native-splash-screen\ios",
"$(SRCROOT)\..\node_modules\react-native-camera\ios",
);
};
name = Debug;
......@@ -1069,12 +1076,14 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-device-info/RNDeviceInfo",
"$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**",
"$(SRCROOT)\..\node_modules\react-native-splash-screen\ios",
"$(SRCROOT)\..\node_modules\react-native-camera\ios",
);
};
name = Release;
......@@ -1099,6 +1108,7 @@
"$(SRCROOT)/../node_modules/react-native-device-info/RNDeviceInfo",
"$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**",
"$(SRCROOT)\..\node_modules\react-native-splash-screen\ios",
"$(SRCROOT)\..\node_modules\react-native-camera\ios",
);
};
name = Debug;
......@@ -1122,6 +1132,7 @@
"$(SRCROOT)/../node_modules/react-native-device-info/RNDeviceInfo",
"$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**",
"$(SRCROOT)\..\node_modules\react-native-splash-screen\ios",
"$(SRCROOT)\..\node_modules\react-native-camera\ios",
);
};
name = Release;
......@@ -1154,12 +1165,14 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-device-info/RNDeviceInfo",
"$(SRCROOT)\..\node_modules\react-native-splash-screen\ios",
"$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**",
"$(SRCROOT)\..\node_modules\react-native-camera\ios",
);
};
name = Debug;
......@@ -1192,12 +1205,14 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-device-info/RNDeviceInfo",
"$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**",
"$(SRCROOT)\..\node_modules\react-native-splash-screen\ios",
"$(SRCROOT)\..\node_modules\react-native-camera\ios",
);
};
name = Release;
......@@ -1225,6 +1240,7 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
};
name = Debug;
......@@ -1252,6 +1268,7 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
};
name = Release;
......
......@@ -4,6 +4,147 @@
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@babel/code-frame": {
"version": "7.0.0-beta.31",
"resolved": "http://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.0.0-beta.31.tgz",
"integrity": "sha1-Rz0CHsxXOizOHAfVtQnVIV9GujU=",
"dev": true,
"requires": {
"chalk": "2.3.0",
"esutils": "2.0.2",
"js-tokens": "3.0.2"
},
"dependencies": {
"ansi-styles": {
"version": "3.2.0",
"resolved": "http://registry.npm.taobao.org/ansi-styles/download/ansi-styles-3.2.0.tgz",
"integrity": "sha1-wVm41b4PnlpvNG2rlPFs4CIWG4g=",
"dev": true,
"requires": {
"color-convert": "1.9.0"
}
},
"chalk": {
"version": "2.3.0",
"resolved": "http://registry.npm.taobao.org/chalk/download/chalk-2.3.0.tgz",
"integrity": "sha1-tepI78nBeT3MybR2fJORTT8tUro=",
"dev": true,
"requires": {
"ansi-styles": "3.2.0",
"escape-string-regexp": "1.0.5",
"supports-color": "4.5.0"
}
},
"supports-color": {
"version": "4.5.0",
"resolved": "http://registry.npm.taobao.org/supports-color/download/supports-color-4.5.0.tgz",
"integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=",
"dev": true,
"requires": {
"has-flag": "2.0.0"
}
}
}
},
"@babel/helper-function-name": {
"version": "7.0.0-beta.31",
"resolved": "http://registry.npm.taobao.org/@babel/helper-function-name/download/@babel/helper-function-name-7.0.0-beta.31.tgz",
"integrity": "sha1-r+Y615kgmYk0ixEJtE/rZqokX1c=",
"dev": true,
"requires": {
"@babel/helper-get-function-arity": "7.0.0-beta.31",
"@babel/template": "7.0.0-beta.31",
"@babel/traverse": "7.0.0-beta.31",
"@babel/types": "7.0.0-beta.31"
}
},
"@babel/helper-get-function-arity": {
"version": "7.0.0-beta.31",
"resolved": "http://registry.npm.taobao.org/@babel/helper-get-function-arity/download/@babel/helper-get-function-arity-7.0.0-beta.31.tgz",
"integrity": "sha1-EXbXklJ0EhjgrshyraB++ys3pJM=",
"dev": true,
"requires": {
"@babel/types": "7.0.0-beta.31"
}
},
"@babel/template": {
"version": "7.0.0-beta.31",
"resolved": "http://registry.npm.taobao.org/@babel/template/download/@babel/template-7.0.0-beta.31.tgz",
"integrity": "sha1-V3uyk4n2xJfD59AUYX59ZxP2i9o=",
"dev": true,
"requires": {
"@babel/code-frame": "7.0.0-beta.31",
"@babel/types": "7.0.0-beta.31",
"babylon": "7.0.0-beta.31",
"lodash": "4.17.4"
},
"dependencies": {
"babylon": {
"version": "7.0.0-beta.31",
"resolved": "http://registry.npm.taobao.org/babylon/download/babylon-7.0.0-beta.31.tgz",
"integrity": "sha1-fsEPgeDkVv0PhVrWD6MMKsRUKD8=",
"dev": true
}
}
},
"@babel/traverse": {
"version": "7.0.0-beta.31",
"resolved": "http://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.0.0-beta.31.tgz",
"integrity": "sha1-2zmUma10rv2gFPDBAyGrJVE0sd8=",
"dev": true,
"requires": {
"@babel/code-frame": "7.0.0-beta.31",
"@babel/helper-function-name": "7.0.0-beta.31",
"@babel/types": "7.0.0-beta.31",
"babylon": "7.0.0-beta.31",
"debug": "3.1.0",
"globals": "10.3.0",
"invariant": "2.2.2",
"lodash": "4.17.4"
},
"dependencies": {
"babylon": {
"version": "7.0.0-beta.31",
"resolved": "http://registry.npm.taobao.org/babylon/download/babylon-7.0.0-beta.31.tgz",
"integrity": "sha1-fsEPgeDkVv0PhVrWD6MMKsRUKD8=",
"dev": true
},
"debug": {
"version": "3.1.0",
"resolved": "http://registry.npm.taobao.org/debug/download/debug-3.1.0.tgz",
"integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"globals": {
"version": "10.3.0",
"resolved": "http://registry.npm.taobao.org/globals/download/globals-10.3.0.tgz",
"integrity": "sha1-cWq6k2V7VmMLWg533l6orGIVr6o=",
"dev": true
}
}
},
"@babel/types": {
"version": "7.0.0-beta.31",
"resolved": "http://registry.npm.taobao.org/@babel/types/download/@babel/types-7.0.0-beta.31.tgz",
"integrity": "sha1-QsnIZ4T2dMFz+yGILKlkMzQCneQ=",
"dev": true,
"requires": {
"esutils": "2.0.2",
"lodash": "4.17.4",
"to-fast-properties": "2.0.0"
},
"dependencies": {
"to-fast-properties": {
"version": "2.0.0",
"resolved": "http://registry.npm.taobao.org/to-fast-properties/download/to-fast-properties-2.0.0.tgz",
"integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
"dev": true
}
}
},
"abab": {
"version": "1.0.4",
"resolved": "http://registry.npm.taobao.org/abab/download/abab-1.0.4.tgz",
......@@ -72,6 +213,22 @@
"object-assign": "4.1.1"
}
},
"agent-base": {
"version": "2.1.1",
"resolved": "http://registry.npm.taobao.org/agent-base/download/agent-base-2.1.1.tgz",
"integrity": "sha1-1t4Q1a9hMtW9aSQn1G/FOFOQlMc=",
"requires": {
"extend": "3.0.1",
"semver": "5.0.3"
},
"dependencies": {
"semver": {
"version": "5.0.3",
"resolved": "http://registry.npm.taobao.org/semver/download/semver-5.0.3.tgz",
"integrity": "sha1-d0Zt5YnNXTyV8TiqeLxWmjy10no="
}
}
},
"ajv": {
"version": "5.2.3",
"resolved": "http://registry.npm.taobao.org/ajv/download/ajv-5.2.3.tgz",
......@@ -132,9 +289,9 @@
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
},
"antd-mobile": {
"version": "2.0.1",
"resolved": "http://registry.npm.taobao.org/antd-mobile/download/antd-mobile-2.0.1.tgz",
"integrity": "sha1-MRvLOMwVwmsBVn77ftd9g5+xGJk=",
"version": "2.0.2",
"resolved": "http://registry.npm.taobao.org/antd-mobile/download/antd-mobile-2.0.2.tgz",
"integrity": "sha1-H/AYqApnWjmAz+JnRgZAgBbBedA=",
"requires": {
"array-tree-filter": "1.0.1",
"babel-runtime": "6.26.0",
......@@ -155,13 +312,13 @@
"rmc-date-picker": "6.0.5",
"rmc-dialog": "1.0.5",
"rmc-feedback": "1.0.2",
"rmc-input-number": "1.0.2",
"rmc-input-number": "1.0.3",
"rmc-list-view": "0.11.3",
"rmc-nuka-carousel": "3.0.0",
"rmc-picker": "5.0.3",
"rmc-pull-to-refresh": "1.0.4",
"rmc-pull-to-refresh": "1.0.5",
"rmc-steps": "1.0.0",
"rmc-tabs": "1.2.10",
"rmc-tabs": "1.2.16",
"rmc-tooltip": "1.0.1",
"rn-topview": "0.1.6"
}
......@@ -310,6 +467,11 @@
"resolved": "http://registry.npm.taobao.org/assert-plus/download/assert-plus-1.0.0.tgz",
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
},
"ast-types": {
"version": "0.9.14",
"resolved": "http://registry.npm.taobao.org/ast-types/download/ast-types-0.9.14.tgz",
"integrity": "sha1-00ul3/udFaRDUf0qnYLkqyg4tbo="
},
"ast-types-flow": {
"version": "0.0.7",
"resolved": "http://registry.npm.taobao.org/ast-types-flow/download/ast-types-flow-0.0.7.tgz",
......@@ -407,149 +569,21 @@
}
},
"babel-eslint": {
"version": "8.0.1",
"resolved": "http://registry.npm.taobao.org/babel-eslint/download/babel-eslint-8.0.1.tgz",
"integrity": "sha1-XXGL56MoYl0AYCLrKT7TAIy9Y0Y=",
"version": "8.0.2",
"resolved": "http://registry.npm.taobao.org/babel-eslint/download/babel-eslint-8.0.2.tgz",
"integrity": "sha1-5E+5oDfXSUhgcdUtZTEvXCCqdTA=",
"dev": true,
"requires": {
"babel-code-frame": "7.0.0-beta.0",
"babel-traverse": "7.0.0-beta.0",
"babel-types": "7.0.0-beta.0",
"babylon": "7.0.0-beta.22"
"@babel/code-frame": "7.0.0-beta.31",
"@babel/traverse": "7.0.0-beta.31",
"@babel/types": "7.0.0-beta.31",
"babylon": "7.0.0-beta.31"
},
"dependencies": {
"ansi-styles": {
"version": "3.2.0",
"resolved": "http://registry.npm.taobao.org/ansi-styles/download/ansi-styles-3.2.0.tgz",
"integrity": "sha1-wVm41b4PnlpvNG2rlPFs4CIWG4g=",
"dev": true,
"requires": {
"color-convert": "1.9.0"
}
},
"babel-code-frame": {
"version": "7.0.0-beta.0",
"resolved": "http://registry.npm.taobao.org/babel-code-frame/download/babel-code-frame-7.0.0-beta.0.tgz",
"integrity": "sha1-QYp7Xz99yaRnDmGxFYtMVmG+yY0=",
"dev": true,
"requires": {
"chalk": "2.2.0",
"esutils": "2.0.2",
"js-tokens": "3.0.2"
}
},
"babel-helper-function-name": {
"version": "7.0.0-beta.0",
"resolved": "http://registry.npm.taobao.org/babel-helper-function-name/download/babel-helper-function-name-7.0.0-beta.0.tgz",
"integrity": "sha1-0bZ3m2R+XFwx6+sF4TuZjk01LVY=",
"dev": true,
"requires": {
"babel-helper-get-function-arity": "7.0.0-beta.0",
"babel-template": "7.0.0-beta.0",
"babel-traverse": "7.0.0-beta.0",
"babel-types": "7.0.0-beta.0"
}
},
"babel-helper-get-function-arity": {
"version": "7.0.0-beta.0",
"resolved": "http://registry.npm.taobao.org/babel-helper-get-function-arity/download/babel-helper-get-function-arity-7.0.0-beta.0.tgz",
"integrity": "sha1-nRq3ITu17+HvFjio6hSJlptai24=",
"dev": true,
"requires": {
"babel-types": "7.0.0-beta.0"
}
},
"babel-messages": {
"version": "7.0.0-beta.0",
"resolved": "http://registry.npm.taobao.org/babel-messages/download/babel-messages-7.0.0-beta.0.tgz",
"integrity": "sha1-bfASluSfyPvQY3OUMmoWfzbagXs=",
"dev": true
},
"babel-template": {
"version": "7.0.0-beta.0",
"resolved": "http://registry.npm.taobao.org/babel-template/download/babel-template-7.0.0-beta.0.tgz",
"integrity": "sha1-hQg8+eQ5XV5Iv1FU16jWmRyv7Ps=",
"dev": true,
"requires": {
"babel-traverse": "7.0.0-beta.0",
"babel-types": "7.0.0-beta.0",
"babylon": "7.0.0-beta.22",
"lodash": "4.17.4"
}
},
"babel-traverse": {
"version": "7.0.0-beta.0",
"resolved": "http://registry.npm.taobao.org/babel-traverse/download/babel-traverse-7.0.0-beta.0.tgz",
"integrity": "sha1-2hS+m3YvYqLwYNtGTqr92M0HKkE=",
"dev": true,
"requires": {
"babel-code-frame": "7.0.0-beta.0",
"babel-helper-function-name": "7.0.0-beta.0",
"babel-messages": "7.0.0-beta.0",
"babel-types": "7.0.0-beta.0",
"babylon": "7.0.0-beta.22",
"debug": "3.1.0",
"globals": "10.1.0",
"invariant": "2.2.2",
"lodash": "4.17.4"
}
},
"babel-types": {
"version": "7.0.0-beta.0",
"resolved": "http://registry.npm.taobao.org/babel-types/download/babel-types-7.0.0-beta.0.tgz",
"integrity": "sha1-64tuVWRw5tzErvmC15rSKUabUWk=",
"dev": true,
"requires": {
"esutils": "2.0.2",
"lodash": "4.17.4",
"to-fast-properties": "2.0.0"
}
},
"babylon": {
"version": "7.0.0-beta.22",
"resolved": "http://registry.npm.taobao.org/babylon/download/babylon-7.0.0-beta.22.tgz",
"integrity": "sha1-dPCtgu18fDz+q3TPaE+BUQQWG2U=",
"dev": true
},
"chalk": {
"version": "2.2.0",
"resolved": "http://registry.npm.taobao.org/chalk/download/chalk-2.2.0.tgz",
"integrity": "sha1-R3s78vm4/Vyp5Cl0fjf3JO568kA=",
"dev": true,
"requires": {
"ansi-styles": "3.2.0",
"escape-string-regexp": "1.0.5",
"supports-color": "4.5.0"
}
},
"debug": {
"version": "3.1.0",
"resolved": "http://registry.npm.taobao.org/debug/download/debug-3.1.0.tgz",
"integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"globals": {
"version": "10.1.0",
"resolved": "http://registry.npm.taobao.org/globals/download/globals-10.1.0.tgz",
"integrity": "sha1-RCWhiBvg0za0qCOoKnvnJdXdmHw=",
"dev": true
},
"supports-color": {
"version": "4.5.0",
"resolved": "http://registry.npm.taobao.org/supports-color/download/supports-color-4.5.0.tgz",
"integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=",
"dev": true,
"requires": {
"has-flag": "2.0.0"
}
},
"to-fast-properties": {
"version": "2.0.0",
"resolved": "http://registry.npm.taobao.org/to-fast-properties/download/to-fast-properties-2.0.0.tgz",
"integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
"version": "7.0.0-beta.31",
"resolved": "http://registry.npm.taobao.org/babylon/download/babylon-7.0.0-beta.31.tgz",
"integrity": "sha1-fsEPgeDkVv0PhVrWD6MMKsRUKD8=",
"dev": true
}
}
......@@ -1622,6 +1656,11 @@
"node-int64": "0.4.0"
}
},
"buffer-crc32": {
"version": "0.2.13",
"resolved": "http://registry.npm.taobao.org/buffer-crc32/download/buffer-crc32-0.2.13.tgz",
"integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI="
},
"builtin-modules": {
"version": "1.1.1",
"resolved": "http://registry.npm.taobao.org/builtin-modules/download/builtin-modules-1.1.1.tgz",
......@@ -1779,6 +1818,19 @@
"resolved": "http://registry.npm.taobao.org/code-point-at/download/code-point-at-1.1.0.tgz",
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c="
},
"code-push": {
"version": "1.11.2-beta",
"resolved": "http://registry.npm.taobao.org/code-push/download/code-push-1.11.2-beta.tgz",
"integrity": "sha1-ZC9Rme2w/W1tMA5DmIOwO4slJzc=",
"requires": {
"q": "1.5.1",
"recursive-fs": "0.1.4",
"slash": "1.0.0",
"superagent": "1.8.5",
"superagent-proxy": "1.0.2",
"yazl": "2.4.3"
}
},
"color": {
"version": "0.11.4",
"resolved": "http://registry.npm.taobao.org/color/download/color-0.11.4.tgz",
......@@ -1850,6 +1902,11 @@
"component-indexof": "0.0.3"
}
},
"component-emitter": {
"version": "1.2.1",
"resolved": "http://registry.npm.taobao.org/component-emitter/download/component-emitter-1.2.1.tgz",
"integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY="
},
"component-indexof": {
"version": "0.0.3",
"resolved": "http://registry.npm.taobao.org/component-indexof/download/component-indexof-0.0.3.tgz",
......@@ -2026,6 +2083,11 @@
"resolved": "http://registry.npm.taobao.org/cookie-signature/download/cookie-signature-1.0.6.tgz",
"integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
},
"cookiejar": {
"version": "2.0.6",
"resolved": "http://registry.npm.taobao.org/cookiejar/download/cookiejar-2.0.6.tgz",
"integrity": "sha1-Cr81atANHFohnYjURRgEbdAmrP4="
},
"core-js": {
"version": "2.5.1",
"resolved": "http://registry.npm.taobao.org/core-js/download/core-js-2.5.1.tgz",
......@@ -2246,6 +2308,11 @@
"assert-plus": "1.0.0"
}
},
"data-uri-to-buffer": {
"version": "1.2.0",
"resolved": "http://registry.npm.taobao.org/data-uri-to-buffer/download/data-uri-to-buffer-1.2.0.tgz",
"integrity": "sha1-dxY+qcINhkG0cH6PGKvfmnjzSDU="
},
"dateformat": {
"version": "2.2.0",
"resolved": "http://registry.npm.taobao.org/dateformat/download/dateformat-2.2.0.tgz",
......@@ -2267,8 +2334,7 @@
"deep-is": {
"version": "0.1.3",
"resolved": "http://registry.npm.taobao.org/deep-is/download/deep-is-0.1.3.tgz",
"integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
"dev": true
"integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ="
},
"default-require-extensions": {
"version": "1.0.0",
......@@ -2295,6 +2361,23 @@
"integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=",
"dev": true
},
"degenerator": {
"version": "1.0.4",
"resolved": "http://registry.npm.taobao.org/degenerator/download/degenerator-1.0.4.tgz",
"integrity": "sha1-/PSQo37OJmRk2cxDGrmMWBnO0JU=",
"requires": {
"ast-types": "0.9.14",
"escodegen": "1.9.0",
"esprima": "3.1.3"
},
"dependencies": {
"esprima": {
"version": "3.1.3",
"resolved": "http://registry.npm.taobao.org/esprima/download/esprima-3.1.3.tgz",
"integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM="
}
}
},
"del": {
"version": "2.2.2",
"resolved": "http://registry.npm.taobao.org/del/download/del-2.2.2.tgz",
......@@ -2551,6 +2634,19 @@
"is-symbol": "1.0.1"
}
},
"es6-promise": {
"version": "4.1.1",
"resolved": "http://registry.npm.taobao.org/es6-promise/download/es6-promise-4.1.1.tgz",
"integrity": "sha1-iBHpCRXZoNujYnTwskLb2nj5ySo="
},
"es6-promisify": {
"version": "5.0.0",
"resolved": "http://registry.npm.taobao.org/es6-promisify/download/es6-promisify-5.0.0.tgz",
"integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=",
"requires": {
"es6-promise": "4.1.1"
}
},
"escape-html": {
"version": "1.0.3",
"resolved": "http://registry.npm.taobao.org/escape-html/download/escape-html-1.0.3.tgz",
......@@ -2565,7 +2661,6 @@
"version": "1.9.0",
"resolved": "http://registry.npm.taobao.org/escodegen/download/escodegen-1.9.0.tgz",
"integrity": "sha1-mBGi8mXcHNOJRCDuNxcGS2MriFI=",
"dev": true,
"requires": {
"esprima": "3.1.3",
"estraverse": "4.2.0",
......@@ -2577,8 +2672,7 @@
"esprima": {
"version": "3.1.3",
"resolved": "http://registry.npm.taobao.org/esprima/download/esprima-3.1.3.tgz",
"integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=",
"dev": true
"integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM="
}
}
},
......@@ -2921,8 +3015,7 @@
"estraverse": {
"version": "4.2.0",
"resolved": "http://registry.npm.taobao.org/estraverse/download/estraverse-4.2.0.tgz",
"integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=",
"dev": true
"integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM="
},
"esutils": {
"version": "2.0.2",
......@@ -2966,6 +3059,11 @@
"resolved": "http://registry.npm.taobao.org/exenv/download/exenv-1.2.2.tgz",
"integrity": "sha1-KueOhdmJQVhnCwPUe+wfA72Ru50="
},
"exit-hook": {
"version": "1.1.1",
"resolved": "http://registry.npm.taobao.org/exit-hook/download/exit-hook-1.1.1.tgz",
"integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g="
},
"expand-brackets": {
"version": "0.1.5",
"resolved": "http://registry.npm.taobao.org/expand-brackets/download/expand-brackets-0.1.5.tgz",
......@@ -3066,8 +3164,7 @@
"fast-levenshtein": {
"version": "2.0.6",
"resolved": "http://registry.npm.taobao.org/fast-levenshtein/download/fast-levenshtein-2.0.6.tgz",
"integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
"dev": true
"integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc="
},
"fastjson_ref_resolver": {
"version": "0.0.3",
......@@ -3142,6 +3239,11 @@
"object-assign": "4.1.1"
}
},
"file-uri-to-path": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/file-uri-to-path/download/file-uri-to-path-1.0.0.tgz",
"integrity": "sha1-VTp7hEb/b2hDWcRF8eN6BdrMM90="
},
"filename-regex": {
"version": "2.0.1",
"resolved": "http://registry.npm.taobao.org/filename-regex/download/filename-regex-2.0.1.tgz",
......@@ -3281,6 +3383,11 @@
"mime-types": "2.1.17"
}
},
"formidable": {
"version": "1.0.17",
"resolved": "http://registry.npm.taobao.org/formidable/download/formidable-1.0.17.tgz",
"integrity": "sha1-71SRSQ+UM7cF+qdyScmQKa40hVk="
},
"fresh": {
"version": "0.3.0",
"resolved": "http://registry.npm.taobao.org/fresh/download/fresh-0.3.0.tgz",
......@@ -3301,6 +3408,38 @@
"resolved": "http://registry.npm.taobao.org/fs.realpath/download/fs.realpath-1.0.0.tgz",
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
},
"ftp": {
"version": "0.3.10",
"resolved": "http://registry.npm.taobao.org/ftp/download/ftp-0.3.10.tgz",
"integrity": "sha1-kZfYYa2BQvPmPVqDv+TFn3MwiF0=",
"requires": {
"readable-stream": "1.1.14",
"xregexp": "2.0.0"
},
"dependencies": {
"isarray": {
"version": "0.0.1",
"resolved": "http://registry.npm.taobao.org/isarray/download/isarray-0.0.1.tgz",
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
},
"readable-stream": {
"version": "1.1.14",
"resolved": "http://registry.npm.taobao.org/readable-stream/download/readable-stream-1.1.14.tgz",
"integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
"requires": {
"core-util-is": "1.0.2",
"inherits": "2.0.3",
"isarray": "0.0.1",
"string_decoder": "0.10.31"
}
},
"string_decoder": {
"version": "0.10.31",
"resolved": "http://registry.npm.taobao.org/string_decoder/download/string_decoder-0.10.31.tgz",
"integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
}
}
},
"function-bind": {
"version": "1.1.1",
"resolved": "http://registry.npm.taobao.org/function-bind/download/function-bind-1.1.1.tgz",
......@@ -3335,6 +3474,19 @@
"resolved": "http://registry.npm.taobao.org/get-stream/download/get-stream-3.0.0.tgz",
"integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ="
},
"get-uri": {
"version": "2.0.1",
"resolved": "http://registry.npm.taobao.org/get-uri/download/get-uri-2.0.1.tgz",
"integrity": "sha1-29ysrNjGCKODFoaTaBF2l6FjHFk=",
"requires": {
"data-uri-to-buffer": "1.2.0",
"debug": "2.6.9",
"extend": "3.0.1",
"file-uri-to-path": "1.0.0",
"ftp": "0.3.10",
"readable-stream": "2.3.3"
}
},
"getpass": {
"version": "0.1.7",
"resolved": "http://registry.npm.taobao.org/getpass/download/getpass-0.1.7.tgz",
......@@ -3597,6 +3749,16 @@
"statuses": "1.4.0"
}
},
"http-proxy-agent": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/http-proxy-agent/download/http-proxy-agent-1.0.0.tgz",
"integrity": "sha1-zBzjjkU7+YSg93AtLdWcc9CBKEo=",
"requires": {
"agent-base": "2.1.1",
"debug": "2.6.9",
"extend": "3.0.1"
}
},
"http-signature": {
"version": "1.2.0",
"resolved": "http://registry.npm.taobao.org/http-signature/download/http-signature-1.2.0.tgz",
......@@ -3607,6 +3769,16 @@
"sshpk": "1.13.1"
}
},
"https-proxy-agent": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/https-proxy-agent/download/https-proxy-agent-1.0.0.tgz",
"integrity": "sha1-NffabEjOTdv6JkiRrFk+5f+GceY=",
"requires": {
"agent-base": "2.1.1",
"debug": "2.6.9",
"extend": "3.0.1"
}
},
"iconv-lite": {
"version": "0.4.19",
"resolved": "http://registry.npm.taobao.org/iconv-lite/download/iconv-lite-0.4.19.tgz",
......@@ -3786,6 +3958,11 @@
"resolved": "http://registry.npm.taobao.org/invert-kv/download/invert-kv-1.0.0.tgz",
"integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY="
},
"ip": {
"version": "1.1.5",
"resolved": "http://registry.npm.taobao.org/ip/download/ip-1.1.5.tgz",
"integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo="
},
"is-absolute-url": {
"version": "2.1.0",
"resolved": "http://registry.npm.taobao.org/is-absolute-url/download/is-absolute-url-2.1.0.tgz",
......@@ -5004,7 +5181,6 @@
"version": "0.3.0",
"resolved": "http://registry.npm.taobao.org/levn/download/levn-0.3.0.tgz",
"integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
"dev": true,
"requires": {
"prelude-ls": "1.1.2",
"type-check": "0.3.2"
......@@ -5552,6 +5728,11 @@
"resolved": "http://registry.npm.taobao.org/negotiator/download/negotiator-0.5.3.tgz",
"integrity": "sha1-Jp1cR2gQ7JLtvntsLygxY4T5p+g="
},
"netmask": {
"version": "1.0.6",
"resolved": "http://registry.npm.taobao.org/netmask/download/netmask-1.0.6.tgz",
"integrity": "sha1-ICl+idhvb2QA8lDZ9Pa0wZRfzTU="
},
"node-fetch": {
"version": "1.7.3",
"resolved": "http://registry.npm.taobao.org/node-fetch/download/node-fetch-1.7.3.tgz",
......@@ -5737,7 +5918,6 @@
"version": "0.8.2",
"resolved": "http://registry.npm.taobao.org/optionator/download/optionator-0.8.2.tgz",
"integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=",
"dev": true,
"requires": {
"deep-is": "0.1.3",
"fast-levenshtein": "2.0.6",
......@@ -5750,8 +5930,7 @@
"wordwrap": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/wordwrap/download/wordwrap-1.0.0.tgz",
"integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=",
"dev": true
"integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus="
}
}
},
......@@ -5782,6 +5961,11 @@
"win-release": "1.1.1"
}
},
"os-shim": {
"version": "0.1.3",
"resolved": "http://registry.npm.taobao.org/os-shim/download/os-shim-0.1.3.tgz",
"integrity": "sha1-a2LDeRz3kJ6jXtRuF2WLtBfLORc="
},
"os-tmpdir": {
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/os-tmpdir/download/os-tmpdir-1.0.2.tgz",
......@@ -5811,6 +5995,86 @@
"integrity": "sha1-5OlPMR6rvIYzoeeZCBZfyiYkG2s=",
"dev": true
},
"pac-proxy-agent": {
"version": "2.0.0",
"resolved": "http://registry.npm.taobao.org/pac-proxy-agent/download/pac-proxy-agent-2.0.0.tgz",
"integrity": "sha1-vrF80rBqILN51X4bLiwpvg3+X5o=",
"requires": {
"agent-base": "2.1.1",
"debug": "2.6.9",
"get-uri": "2.0.1",
"http-proxy-agent": "1.0.0",
"https-proxy-agent": "1.0.0",
"pac-resolver": "3.0.0",
"raw-body": "2.3.2",
"socks-proxy-agent": "3.0.1"
},
"dependencies": {
"bytes": {
"version": "3.0.0",
"resolved": "http://registry.npm.taobao.org/bytes/download/bytes-3.0.0.tgz",
"integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg="
},
"depd": {
"version": "1.1.1",
"resolved": "http://registry.npm.taobao.org/depd/download/depd-1.1.1.tgz",
"integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k="
},
"http-errors": {
"version": "1.6.2",
"resolved": "http://registry.npm.taobao.org/http-errors/download/http-errors-1.6.2.tgz",
"integrity": "sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=",
"requires": {
"depd": "1.1.1",
"inherits": "2.0.3",
"setprototypeof": "1.0.3",
"statuses": "1.4.0"
}
},
"raw-body": {
"version": "2.3.2",
"resolved": "http://registry.npm.taobao.org/raw-body/download/raw-body-2.3.2.tgz",
"integrity": "sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=",
"requires": {
"bytes": "3.0.0",
"http-errors": "1.6.2",
"iconv-lite": "0.4.19",
"unpipe": "1.0.0"
}
},
"socks-proxy-agent": {
"version": "3.0.1",
"resolved": "http://registry.npm.taobao.org/socks-proxy-agent/download/socks-proxy-agent-3.0.1.tgz",
"integrity": "sha1-Lq58+OKoLTRWV2FTmn+XGMVhdlk=",
"requires": {
"agent-base": "4.1.1",
"socks": "1.1.10"
},
"dependencies": {
"agent-base": {
"version": "4.1.1",
"resolved": "http://registry.npm.taobao.org/agent-base/download/agent-base-4.1.1.tgz",
"integrity": "sha1-ktik/CUko7CbNmajO2yXlg8j1qQ=",
"requires": {
"es6-promisify": "5.0.0"
}
}
}
}
}
},
"pac-resolver": {
"version": "3.0.0",
"resolved": "http://registry.npm.taobao.org/pac-resolver/download/pac-resolver-3.0.0.tgz",
"integrity": "sha1-auoweH2wqJFwTet4AKcip2FabyY=",
"requires": {
"co": "4.6.0",
"degenerator": "1.0.4",
"ip": "1.1.5",
"netmask": "1.0.6",
"thunkify": "2.1.2"
}
},
"parse-glob": {
"version": "3.0.4",
"resolved": "http://registry.npm.taobao.org/parse-glob/download/parse-glob-3.0.4.tgz",
......@@ -6509,8 +6773,7 @@
"prelude-ls": {
"version": "1.1.2",
"resolved": "http://registry.npm.taobao.org/prelude-ls/download/prelude-ls-1.1.2.tgz",
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
"dev": true
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ="
},
"prepend-http": {
"version": "1.0.4",
......@@ -6567,6 +6830,28 @@
"object-assign": "4.1.1"
}
},
"proxy-agent": {
"version": "2.1.0",
"resolved": "http://registry.npm.taobao.org/proxy-agent/download/proxy-agent-2.1.0.tgz",
"integrity": "sha1-o6Kzhm3r/rebt5HzRdybyHbn/4Y=",
"requires": {
"agent-base": "2.1.1",
"debug": "2.6.9",
"extend": "3.0.1",
"http-proxy-agent": "1.0.0",
"https-proxy-agent": "1.0.0",
"lru-cache": "2.6.5",
"pac-proxy-agent": "2.0.0",
"socks-proxy-agent": "2.1.1"
},
"dependencies": {
"lru-cache": {
"version": "2.6.5",
"resolved": "http://registry.npm.taobao.org/lru-cache/download/lru-cache-2.6.5.tgz",
"integrity": "sha1-5W1jVBSO3o13B7WNFDIg/QjfD9U="
}
}
},
"prr": {
"version": "0.0.0",
"resolved": "http://registry.npm.taobao.org/prr/download/prr-0.0.0.tgz",
......@@ -6585,8 +6870,7 @@
"q": {
"version": "1.5.1",
"resolved": "http://registry.npm.taobao.org/q/download/q-1.5.1.tgz",
"integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=",
"dev": true
"integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc="
},
"qs": {
"version": "4.0.0",
......@@ -6687,7 +6971,7 @@
"requires": {
"dom-align": "1.6.5",
"prop-types": "15.6.0",
"rc-util": "4.1.1"
"rc-util": "4.2.0"
}
},
"rc-animate": {
......@@ -6708,7 +6992,7 @@
"babel-runtime": "6.26.0",
"classnames": "2.2.5",
"prop-types": "15.6.0",
"rc-util": "4.1.1"
"rc-util": "4.2.0"
}
},
"rc-collapse": {
......@@ -6770,7 +7054,7 @@
"classnames": "2.2.5",
"prop-types": "15.6.0",
"rc-animate": "2.4.1",
"rc-util": "4.1.1"
"rc-util": "4.2.0"
}
},
"rc-slider": {
......@@ -6781,8 +7065,8 @@
"babel-runtime": "6.26.0",
"classnames": "2.2.5",
"prop-types": "15.6.0",
"rc-tooltip": "3.6.0",
"rc-util": "4.1.1",
"rc-tooltip": "3.7.0",
"rc-util": "4.2.0",
"shallowequal": "1.0.2",
"warning": "3.0.0"
},
......@@ -6806,32 +7090,32 @@
}
},
"rc-tooltip": {
"version": "3.6.0",
"resolved": "http://registry.npm.taobao.org/rc-tooltip/download/rc-tooltip-3.6.0.tgz",
"integrity": "sha1-VgpQeIKwzRV5/1pc3SsyLhnd2R4=",
"version": "3.7.0",
"resolved": "http://registry.npm.taobao.org/rc-tooltip/download/rc-tooltip-3.7.0.tgz",
"integrity": "sha1-OvvxCYZffNz+Q3UvPz9QH3vjeqo=",
"requires": {
"babel-runtime": "6.26.0",
"prop-types": "15.6.0",
"rc-trigger": "2.1.0"
"rc-trigger": "2.2.2"
}
},
"rc-trigger": {
"version": "2.1.0",
"resolved": "http://registry.npm.taobao.org/rc-trigger/download/rc-trigger-2.1.0.tgz",
"integrity": "sha1-EnAnyROssG380Zpv8CvrRERfTLg=",
"version": "2.2.2",
"resolved": "http://registry.npm.taobao.org/rc-trigger/download/rc-trigger-2.2.2.tgz",
"integrity": "sha1-sMZms3zOTtJzAKfnENZ790RNEq0=",
"requires": {
"babel-runtime": "6.26.0",
"create-react-class": "15.6.2",
"prop-types": "15.6.0",
"rc-align": "2.3.4",
"rc-animate": "2.4.1",
"rc-util": "4.1.1"
"rc-util": "4.2.0"
}
},
"rc-util": {
"version": "4.1.1",
"resolved": "http://registry.npm.taobao.org/rc-util/download/rc-util-4.1.1.tgz",
"integrity": "sha1-k1DpwANotQzY+9kXdcwc+eLKcrI=",
"version": "4.2.0",
"resolved": "http://registry.npm.taobao.org/rc-util/download/rc-util-4.2.0.tgz",
"integrity": "sha1-2s7FBzVnWiEfHJRXEwapDouXJI8=",
"requires": {
"add-dom-event-listener": "1.0.2",
"babel-runtime": "6.26.0",
......@@ -6974,11 +7258,191 @@
}
}
},
"react-native-camera": {
"version": "0.12.0",
"resolved": "http://registry.npm.taobao.org/react-native-camera/download/react-native-camera-0.12.0.tgz",
"integrity": "sha1-Ua+orPFpbZ2XMHS2RUxboszmrBg=",
"requires": {
"prop-types": "15.6.0"
}
},
"react-native-camera-roll-picker": {
"version": "1.2.3",
"resolved": "http://registry.npm.taobao.org/react-native-camera-roll-picker/download/react-native-camera-roll-picker-1.2.3.tgz",
"integrity": "sha1-sRf9OiuQEtzM7hJhqbxCcia41tI="
},
"react-native-code-push": {
"version": "5.1.3-beta",
"resolved": "http://registry.npm.taobao.org/react-native-code-push/download/react-native-code-push-5.1.3-beta.tgz",
"integrity": "sha1-LIor5/UZ3482mEHXkHavfs1m0yg=",
"requires": {
"code-push": "1.11.2-beta",
"glob": "5.0.15",
"inquirer": "1.1.2",
"plist": "1.2.0",
"xcode": "0.9.2"
},
"dependencies": {
"ansi-escapes": {
"version": "1.4.0",
"resolved": "http://registry.npm.taobao.org/ansi-escapes/download/ansi-escapes-1.4.0.tgz",
"integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4="
},
"bplist-creator": {
"version": "0.0.4",
"resolved": "http://registry.npm.taobao.org/bplist-creator/download/bplist-creator-0.0.4.tgz",
"integrity": "sha1-SsBJZ4LhJ6hcHSAmpPXrIqev+ZE=",
"requires": {
"stream-buffers": "0.2.6"
}
},
"bplist-parser": {
"version": "0.0.6",
"resolved": "http://registry.npm.taobao.org/bplist-parser/download/bplist-parser-0.0.6.tgz",
"integrity": "sha1-ONo0cYF9+dRKs4kuJ3B7u9daEbk="
},
"cli-cursor": {
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/cli-cursor/download/cli-cursor-1.0.2.tgz",
"integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=",
"requires": {
"restore-cursor": "1.0.1"
}
},
"external-editor": {
"version": "1.1.1",
"resolved": "http://registry.npm.taobao.org/external-editor/download/external-editor-1.1.1.tgz",
"integrity": "sha1-Etew24UPf/fnCBuvQAVwAGDEYAs=",
"requires": {
"extend": "3.0.1",
"spawn-sync": "1.0.15",
"tmp": "0.0.29"
}
},
"figures": {
"version": "1.7.0",
"resolved": "http://registry.npm.taobao.org/figures/download/figures-1.7.0.tgz",
"integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=",
"requires": {
"escape-string-regexp": "1.0.5",
"object-assign": "4.1.1"
}
},
"glob": {
"version": "5.0.15",
"resolved": "http://registry.npm.taobao.org/glob/download/glob-5.0.15.tgz",
"integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=",
"requires": {
"inflight": "1.0.6",
"inherits": "2.0.3",
"minimatch": "3.0.4",
"once": "1.4.0",
"path-is-absolute": "1.0.1"
}
},
"inquirer": {
"version": "1.1.2",
"resolved": "http://registry.npm.taobao.org/inquirer/download/inquirer-1.1.2.tgz",
"integrity": "sha1-rDul8GuOcpGr2fIpEsA/Cc/i3R8=",
"requires": {
"ansi-escapes": "1.4.0",
"chalk": "1.1.3",
"cli-cursor": "1.0.2",
"cli-width": "2.2.0",
"external-editor": "1.1.1",
"figures": "1.7.0",
"lodash": "4.17.4",
"mute-stream": "0.0.6",
"pinkie-promise": "2.0.1",
"run-async": "2.3.0",
"rx": "4.1.0",
"string-width": "1.0.2",
"strip-ansi": "3.0.1",
"through": "2.3.8"
}
},
"is-fullwidth-code-point": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/is-fullwidth-code-point/download/is-fullwidth-code-point-1.0.0.tgz",
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
"requires": {
"number-is-nan": "1.0.1"
}
},
"mute-stream": {
"version": "0.0.6",
"resolved": "http://registry.npm.taobao.org/mute-stream/download/mute-stream-0.0.6.tgz",
"integrity": "sha1-SJYrGeFp/R38JAs/HnMXYnu8R9s="
},
"onetime": {
"version": "1.1.0",
"resolved": "http://registry.npm.taobao.org/onetime/download/onetime-1.1.0.tgz",
"integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k="
},
"pegjs": {
"version": "0.9.0",
"resolved": "http://registry.npm.taobao.org/pegjs/download/pegjs-0.9.0.tgz",
"integrity": "sha1-9q76LjzlYWkgjlIXnf5B+JFBo2k="
},
"restore-cursor": {
"version": "1.0.1",
"resolved": "http://registry.npm.taobao.org/restore-cursor/download/restore-cursor-1.0.1.tgz",
"integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=",
"requires": {
"exit-hook": "1.1.1",
"onetime": "1.1.0"
}
},
"simple-plist": {
"version": "0.1.4",
"resolved": "http://registry.npm.taobao.org/simple-plist/download/simple-plist-0.1.4.tgz",
"integrity": "sha1-EOtRtH4zxVbrjsRtXuZNZOcX210=",
"requires": {
"bplist-creator": "0.0.4",
"bplist-parser": "0.0.6",
"plist": "1.2.0"
}
},
"stream-buffers": {
"version": "0.2.6",
"resolved": "http://registry.npm.taobao.org/stream-buffers/download/stream-buffers-0.2.6.tgz",
"integrity": "sha1-GBwI1bs2kARfaUAbmuanoM8zE/w="
},
"string-width": {
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/string-width/download/string-width-1.0.2.tgz",
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
"requires": {
"code-point-at": "1.1.0",
"is-fullwidth-code-point": "1.0.0",
"strip-ansi": "3.0.1"
}
},
"tmp": {
"version": "0.0.29",
"resolved": "http://registry.npm.taobao.org/tmp/download/tmp-0.0.29.tgz",
"integrity": "sha1-8lEl/w3Z2jzLDC3Tce4SiLuRKMA=",
"requires": {
"os-tmpdir": "1.0.2"
}
},
"uuid": {
"version": "3.0.1",
"resolved": "http://registry.npm.taobao.org/uuid/download/uuid-3.0.1.tgz",
"integrity": "sha1-ZUS7ot/ajBzxfmKaOjBeK7H+5sE="
},
"xcode": {
"version": "0.9.2",
"resolved": "http://registry.npm.taobao.org/xcode/download/xcode-0.9.2.tgz",
"integrity": "sha1-uJaaLXv4tf6vutFivZfeOfFuKQc=",
"requires": {
"pegjs": "0.9.0",
"simple-plist": "0.1.4",
"uuid": "3.0.1"
}
}
}
},
"react-native-collapsible": {
"version": "0.9.0",
"resolved": "http://registry.npm.taobao.org/react-native-collapsible/download/react-native-collapsible-0.9.0.tgz",
......@@ -7188,9 +7652,9 @@
}
},
"react-navigation": {
"version": "1.0.0-beta.16",
"resolved": "http://registry.npm.taobao.org/react-navigation/download/react-navigation-1.0.0-beta.16.tgz",
"integrity": "sha1-IOLzQf4XTpvxva+64c0YjG+Y8P8=",
"version": "1.0.0-beta.19",
"resolved": "http://registry.npm.taobao.org/react-navigation/download/react-navigation-1.0.0-beta.19.tgz",
"integrity": "sha1-luFZxLZ2D1H8ktXBw2kHkM/0288=",
"requires": {
"babel-plugin-transform-define": "1.3.0",
"clamp": "1.0.1",
......@@ -7289,6 +7753,16 @@
"util-deprecate": "1.0.2"
}
},
"recursive-fs": {
"version": "0.1.4",
"resolved": "http://registry.npm.taobao.org/recursive-fs/download/recursive-fs-0.1.4.tgz",
"integrity": "sha1-R+CLHdq419mpYKoNDa6nb4dbY/o="
},
"reduce-component": {
"version": "1.0.1",
"resolved": "http://registry.npm.taobao.org/reduce-component/download/reduce-component-1.0.1.tgz",
"integrity": "sha1-4Mk1QsV0UhvqE98PlIjtgqt3xdo="
},
"reduce-css-calc": {
"version": "1.3.0",
"resolved": "http://registry.npm.taobao.org/reduce-css-calc/download/reduce-css-calc-1.3.0.tgz",
......@@ -7556,7 +8030,7 @@
"requires": {
"babel-runtime": "6.26.0",
"dom-align": "1.6.5",
"rc-util": "4.1.1"
"rc-util": "4.2.0"
}
},
"rmc-calendar": {
......@@ -7607,9 +8081,9 @@
}
},
"rmc-input-number": {
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/rmc-input-number/download/rmc-input-number-1.0.2.tgz",
"integrity": "sha1-DaST9i77zcH2j3yJ/GeY4fixSts=",
"version": "1.0.3",
"resolved": "http://registry.npm.taobao.org/rmc-input-number/download/rmc-input-number-1.0.3.tgz",
"integrity": "sha1-fmKgdnNtNi2Ai/zbTSSvX4ncxBc=",
"requires": {
"babel-runtime": "6.26.0",
"classnames": "2.2.5",
......@@ -7650,9 +8124,9 @@
}
},
"rmc-pull-to-refresh": {
"version": "1.0.4",
"resolved": "http://registry.npm.taobao.org/rmc-pull-to-refresh/download/rmc-pull-to-refresh-1.0.4.tgz",
"integrity": "sha1-/lf1BBiNfBqIY+yxy5CckpZZxPc=",
"version": "1.0.5",
"resolved": "http://registry.npm.taobao.org/rmc-pull-to-refresh/download/rmc-pull-to-refresh-1.0.5.tgz",
"integrity": "sha1-hGJqnGpqtXgdONplGYoBnC4Cles=",
"requires": {
"babel-runtime": "6.26.0",
"classnames": "2.2.5"
......@@ -7668,9 +8142,9 @@
}
},
"rmc-tabs": {
"version": "1.2.10",
"resolved": "http://registry.npm.taobao.org/rmc-tabs/download/rmc-tabs-1.2.10.tgz",
"integrity": "sha1-K6/hd0w9mvZlslkHm7jYJZFcfoU=",
"version": "1.2.16",
"resolved": "http://registry.npm.taobao.org/rmc-tabs/download/rmc-tabs-1.2.16.tgz",
"integrity": "sha1-TDonUj70ZMxLBJyRz6wx7ke2yws=",
"requires": {
"babel-runtime": "6.26.0",
"rc-gesture": "0.0.15"
......@@ -7692,7 +8166,7 @@
"requires": {
"babel-runtime": "6.26.0",
"rc-animate": "2.4.1",
"rc-util": "4.1.1",
"rc-util": "4.2.0",
"rmc-align": "1.0.0"
}
},
......@@ -7714,6 +8188,11 @@
"is-promise": "2.1.0"
}
},
"rx": {
"version": "4.1.0",
"resolved": "http://registry.npm.taobao.org/rx/download/rx-4.1.0.tgz",
"integrity": "sha1-pfE/957zt0D+MKqAP7CfmIBdR4I="
},
"rx-lite": {
"version": "4.0.8",
"resolved": "http://registry.npm.taobao.org/rx-lite/download/rx-lite-4.0.8.tgz",
......@@ -7881,6 +8360,11 @@
"resolved": "http://registry.npm.taobao.org/setimmediate/download/setimmediate-1.0.5.tgz",
"integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
},
"setprototypeof": {
"version": "1.0.3",
"resolved": "http://registry.npm.taobao.org/setprototypeof/download/setprototypeof-1.0.3.tgz",
"integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ="
},
"shallowequal": {
"version": "0.2.2",
"resolved": "http://registry.npm.taobao.org/shallowequal/download/shallowequal-0.2.2.tgz",
......@@ -7975,6 +8459,11 @@
"resolved": "http://registry.npm.taobao.org/slide/download/slide-1.1.6.tgz",
"integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc="
},
"smart-buffer": {
"version": "1.1.15",
"resolved": "http://registry.npm.taobao.org/smart-buffer/download/smart-buffer-1.1.15.tgz",
"integrity": "sha1-fxFLW2X6s+KjWqd1uxLw0cZJvxY="
},
"sntp": {
"version": "2.0.2",
"resolved": "http://registry.npm.taobao.org/sntp/download/sntp-2.0.2.tgz",
......@@ -7983,6 +8472,25 @@
"hoek": "4.2.0"
}
},
"socks": {
"version": "1.1.10",
"resolved": "http://registry.npm.taobao.org/socks/download/socks-1.1.10.tgz",
"integrity": "sha1-W4t/x8jzQcU+0FbpKbe/Tei6e1o=",
"requires": {
"ip": "1.1.5",
"smart-buffer": "1.1.15"
}
},
"socks-proxy-agent": {
"version": "2.1.1",
"resolved": "http://registry.npm.taobao.org/socks-proxy-agent/download/socks-proxy-agent-2.1.1.tgz",
"integrity": "sha1-huuwcZMlhjeHDhO3vZnybGY989M=",
"requires": {
"agent-base": "2.1.1",
"extend": "3.0.1",
"socks": "1.1.10"
}
},
"sort-keys": {
"version": "1.1.2",
"resolved": "http://registry.npm.taobao.org/sort-keys/download/sort-keys-1.1.2.tgz",
......@@ -8016,6 +8524,15 @@
"resolved": "http://registry.npm.taobao.org/sparkles/download/sparkles-1.0.0.tgz",
"integrity": "sha1-Gsu/tZJDbRC76PeFt8xvgoFQEsM="
},
"spawn-sync": {
"version": "1.0.15",
"resolved": "http://registry.npm.taobao.org/spawn-sync/download/spawn-sync-1.0.15.tgz",
"integrity": "sha1-sAeZVX63+wyDdsKdROih6mfldHY=",
"requires": {
"concat-stream": "1.6.0",
"os-shim": "0.1.3"
}
},
"spdx-correct": {
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/spdx-correct/download/spdx-correct-1.0.2.tgz",
......@@ -8190,6 +8707,86 @@
"schema-utils": "0.3.0"
}
},
"superagent": {
"version": "1.8.5",
"resolved": "http://registry.npm.taobao.org/superagent/download/superagent-1.8.5.tgz",
"integrity": "sha1-HA3cOvMOgOuE68BcshItqP6UC1U=",
"requires": {
"component-emitter": "1.2.1",
"cookiejar": "2.0.6",
"debug": "2.6.9",
"extend": "3.0.0",
"form-data": "1.0.0-rc3",
"formidable": "1.0.17",
"methods": "1.1.2",
"mime": "1.3.4",
"qs": "2.3.3",
"readable-stream": "1.0.27-1",
"reduce-component": "1.0.1"
},
"dependencies": {
"async": {
"version": "1.5.2",
"resolved": "http://registry.npm.taobao.org/async/download/async-1.5.2.tgz",
"integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo="
},
"extend": {
"version": "3.0.0",
"resolved": "http://registry.npm.taobao.org/extend/download/extend-3.0.0.tgz",
"integrity": "sha1-WkdDU7nzNT3dgXbf03uRyDpG8dQ="
},
"form-data": {
"version": "1.0.0-rc3",
"resolved": "http://registry.npm.taobao.org/form-data/download/form-data-1.0.0-rc3.tgz",
"integrity": "sha1-01vGLn+8KTeuePlIqqDTjZBgdXc=",
"requires": {
"async": "1.5.2",
"combined-stream": "1.0.5",
"mime-types": "2.1.17"
}
},
"isarray": {
"version": "0.0.1",
"resolved": "http://registry.npm.taobao.org/isarray/download/isarray-0.0.1.tgz",
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
},
"mime": {
"version": "1.3.4",
"resolved": "http://registry.npm.taobao.org/mime/download/mime-1.3.4.tgz",
"integrity": "sha1-EV+eO2s9rylZmDyzjxSaLUDrXVM="
},
"qs": {
"version": "2.3.3",
"resolved": "http://registry.npm.taobao.org/qs/download/qs-2.3.3.tgz",
"integrity": "sha1-6eha2+ddoLvkyOBHaghikPhjtAQ="
},
"readable-stream": {
"version": "1.0.27-1",
"resolved": "http://registry.npm.taobao.org/readable-stream/download/readable-stream-1.0.27-1.tgz",
"integrity": "sha1-a2eYPCA1fO/QfwFlABoW1xDZEHg=",
"requires": {
"core-util-is": "1.0.2",
"inherits": "2.0.3",
"isarray": "0.0.1",
"string_decoder": "0.10.31"
}
},
"string_decoder": {
"version": "0.10.31",
"resolved": "http://registry.npm.taobao.org/string_decoder/download/string_decoder-0.10.31.tgz",
"integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
}
}
},
"superagent-proxy": {
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/superagent-proxy/download/superagent-proxy-1.0.2.tgz",
"integrity": "sha1-ktNmBXj2GO1DqCz4yseZ/ik4ui0=",
"requires": {
"debug": "2.6.9",
"proxy-agent": "2.1.0"
}
},
"supports-color": {
"version": "2.0.0",
"resolved": "http://registry.npm.taobao.org/supports-color/download/supports-color-2.0.0.tgz",
......@@ -8328,6 +8925,11 @@
"xtend": "4.0.1"
}
},
"thunkify": {
"version": "2.1.2",
"resolved": "http://registry.npm.taobao.org/thunkify/download/thunkify-2.1.2.tgz",
"integrity": "sha1-+qDp0jDFGsyVyhOjYawFyn4EVT0="
},
"time-stamp": {
"version": "1.1.0",
"resolved": "http://registry.npm.taobao.org/time-stamp/download/time-stamp-1.1.0.tgz",
......@@ -8409,7 +9011,6 @@
"version": "0.3.2",
"resolved": "http://registry.npm.taobao.org/type-check/download/type-check-0.3.2.tgz",
"integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
"dev": true,
"requires": {
"prelude-ls": "1.1.2"
}
......@@ -8808,6 +9409,11 @@
"resolved": "http://registry.npm.taobao.org/xpipe/download/xpipe-1.0.5.tgz",
"integrity": "sha1-jdi/Rfw/f1Xw4FS4ePQ6YmFNr98="
},
"xregexp": {
"version": "2.0.0",
"resolved": "http://registry.npm.taobao.org/xregexp/download/xregexp-2.0.0.tgz",
"integrity": "sha1-UqY+VsoLhKfzpfPWGHLxJq16WUM="
},
"xtend": {
"version": "4.0.1",
"resolved": "http://registry.npm.taobao.org/xtend/download/xtend-4.0.1.tgz",
......@@ -8893,6 +9499,14 @@
}
}
},
"yazl": {
"version": "2.4.3",
"resolved": "http://registry.npm.taobao.org/yazl/download/yazl-2.4.3.tgz",
"integrity": "sha1-7CblzIfVYBud+EMtvdPNLlFzoHE=",
"requires": {
"buffer-crc32": "0.2.13"
}
},
"zscroller": {
"version": "0.4.7",
"resolved": "http://registry.npm.taobao.org/zscroller/download/zscroller-0.4.7.tgz",
......
......@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"devDependencies": {
"babel-eslint": "^8.0.1",
"babel-eslint": "^8.0.2",
"babel-plugin-import": "^1.6.2",
"babel-preset-flow": "^6.23.0",
"babel-preset-react-native-stage-0": "^1.0.1",
......@@ -21,10 +21,11 @@
"style-loader": "^0.19.0"
},
"scripts": {
"start": "react-native start",
"android": "react-native run-android",
"android-bundle": "react-native bundle --platform android --entry-file index.js --reset-cache --bundle-output android/app/src/main/assets/index.android.bundle --dev false --assets-dest android/app/src/main/res/",
"ios": "react-native run-ios",
"start": "node node_modules/react-native/local-cli/cli.js start",
"android": "node node_modules/react-native/local-cli/cli.js run-android",
"android-bundle": "node node_modules/react-native/local-cli/cli.js bundle --platform android --entry-file index.js --reset-cache --bundle-output android/app/src/main/assets/index.android.bundle --dev false --assets-dest android/app/src/main/res/",
"android-release-run": "node node_modules/react-native/local-cli/cli.js run-android --variant=release",
"ios": "node node_modules/react-native/local-cli/cli.js run-ios",
"test": "node node_modules/jest/bin/jest.js --watch",
"lint": "eslint --ext .js src test",
"flow_init": "flow init"
......@@ -33,7 +34,7 @@
"preset": "jest-expo"
},
"dependencies": {
"antd-mobile": "^2.0.1",
"antd-mobile": "^2.0.2",
"dva-core": "^1.1.0",
"dva-loading": "^1.0.3",
"fastjson_ref_resolver": "0.0.3",
......@@ -42,11 +43,12 @@
"rc-form": "^1.4.8",
"react": "^16.0.0-beta.5",
"react-native": "^0.49.3",
"react-native-camera": "^0.12.0",
"react-native-code-push": "^5.1.3-beta",
"react-native-device-info": "^0.12.1",
"react-native-splash-screen": "^3.0.6",
"react-native-vector-icons": "^4.4.2",
"react-navigation": "^1.0.0-beta.14",
"react-navigation": "^1.0.0-beta.19",
"react-redux": "^5.0.6",
"redux-persist": "^4.10.1"
}
......
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
} from 'react-native';
import Camera from 'react-native-camera';
class CameraComponent extends Component {
takePicture() {
const options = {};
//options.location = ...
this.camera.capture({ metadata: options })
.then((data) => console.log(data))
.catch(err => console.error(err));
}
render() {
return (
<View style={styles.container}>
<Camera
ref={(cam) => {
this.camera = cam;
}}
style={styles.preview}
aspect={Camera.constants.Aspect.fill}
barCodeTypes={['pdf417', 'code128']}
onBarCodeRead={evt => console.log(evt)}
>
<Text style={styles.capture} onPress={this.takePicture.bind(this)}>[CAPTURE]</Text>
</Camera>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
flexDirection: 'row',
},
preview: {
flex: 1,
justifyContent: 'flex-end',
alignItems: 'center',
},
capture: {
flex: 0,
backgroundColor: '#fff',
borderRadius: 5,
color: '#000',
padding: 10,
margin: 40,
},
});
export default CameraComponent;
......@@ -6,7 +6,11 @@ import {
StyleSheet,
View,
Text,
Image,
Dimensions,
} from 'react-native';
import Icon from 'react-native-vector-icons/FontAwesome';
import LoginBg from '../../image/loginbg.png';
import { createAction } from '../utils/index';
@connect()
......@@ -14,79 +18,84 @@ class Login extends Component {
render() {
const { getFieldProps } = this.props.form;
return (
<View style={LoginStyles.loginView} >
<List renderHeader={() => <View><Text style={LoginStyles.listText}>深圳查房系统</Text></View>}>
<InputItem
{...getFieldProps('userName')}
clear
placeholder="请输入用户名"
ref={(el) => { this.autoFocusInst = el; }}
>用户名
</InputItem>
<List.Item style={LoginStyles.separator} />
<InputItem
{...getFieldProps('password')}
clear
type="password"
placeholder="请输入密码"
ref={(el) => { this.customFocusInst = el; }}
>密码
</InputItem>
<List.Item style={LoginStyles.separator} />
<WhiteSpace type="lg" />
<List.Item>
<Button
type="primary"
onClick={() => {
this.props.form.validateFields((error, value) => {
this.props.dispatch(createAction('login/login')(value));
});
}}
>登陆
</Button>
</List.Item>
</List>
</View>
<Image source={LoginBg} style={LoginStyles.loginView} resizeMode="cover">
<View style={LoginStyles.TextInputView}>
<List
renderHeader={() => <View><Text style={LoginStyles.listText}>深圳房屋普查系统</Text></View>}
>
<InputItem
{...getFieldProps('userName')}
clear
placeholder="请输入用户名"
ref={(el) => { this.autoFocusInst = el; }}
><Icon name="user-o" size={16} color="#4F8EF7" />
</InputItem>
<InputItem
{...getFieldProps('password')}
clear
type="password"
placeholder="请输入密码"
ref={(el) => { this.customFocusInst = el; }}
><Icon name="lock" size={16} color="#4F8EF7" />
</InputItem>
<WhiteSpace type="lg" />
<List.Item>
<Button
type="primary"
onClick={() => {
this.props.form.validateFields((error, value) => {
this.props.dispatch(createAction('login/login')(value));
});
}}
>登陆
</Button>
</List.Item>
</List>
</View>
</Image>
);
}
}
const LoginStyles = StyleSheet.create({
listText: {
// fontWeight: '900',
fontSize: 20,
color: '#000000',
fontSize: 25,
color: '#ffffff',
textAlign: 'center',
justifyContent: 'center',
},
loginView: {
flex: 1,
padding: 30,
backgroundColor: '#ffffff',
width: null,
height: null,
},
TextInputView: {
marginTop: 10,
height: 50,
backgroundColor: '#ffffff',
marginTop: Dimensions.get('window').height * 0.2,
backgroundColor: '#365cc1',
borderRadius: 5,
borderWidth: 0.3,
borderColor: '#000000',
borderColor: '#365cc1',
flexDirection: 'column',
justifyContent: 'center',
},
separator: {
backgroundColor: '#333333',
height: 0.4,
padding: 0,
margin: 3,
marginLeft: 15,
marginRight: 15,
},
TextInput: {
backgroundColor: '#ffffff',
height: 45,
margin: 18,
},
loginText: {
txtBorder: {
height: 50,
flex: 1,
borderWidth: 1,
borderColor: '#51A7F9',
marginLeft: 50,
marginRight: 50,
borderRadius: 25,
flexDirection: 'row',
},
loginText: {
color: '#ffffff',
fontWeight: 'bold',
width: 30,
......
......@@ -8,6 +8,7 @@ import { List, InputItem, Toast, WhiteSpace } from 'antd-mobile';
import Icon from 'react-native-vector-icons/FontAwesome';
import { connect } from 'react-redux';
import { createAction } from '../../../utils';
import CameraComponent from '../../../components/cameraComponent';
@connect(({ DSRInfoDetail }) => ({ DSRInfoDetail }))
class DSRInfoDetailScreen extends React.Component {
......@@ -127,6 +128,18 @@ class DSRInfoDetailScreen extends React.Component {
</Icon.Button>
</View>
<WhiteSpace />
<WhiteSpace />
<View style={{ flexDirection: 'row', justifyContent: 'space-between' }}>
<Icon.Button
name="edit"
backgroundColor="#08BBF9"
onPress={this.onEdit}
>
拍照
</Icon.Button>
</View>
<WhiteSpace />
<CameraComponent />
<List>
{
metas.map((m) => {
......@@ -141,6 +154,7 @@ class DSRInfoDetailScreen extends React.Component {
})
}
</List>
</ScrollView>
);
}
......
import React, { Component } from 'react';
import { View, Text, Image, StyleSheet } from 'react-native';
import { View, Text, Image, StyleSheet, ToolbarAndroid } from 'react-native';
import { TabNavigator } from 'react-navigation';
import Icon from 'react-native-vector-icons/MaterialIcons';
import userInfoPageScreen from './userinfo/index';
......@@ -111,6 +111,16 @@ const styles = StyleSheet.create({
width: 26,
height: 26,
},
containerToolbar: {
flex: 1,
justifyContent: 'flex-start',
alignItems: 'stretch',
backgroundColor: '#F5FCFF',
},
toolbar: {
backgroundColor: '#e9eaed',
height: 56,
},
});
export default MainPage;
......
......@@ -15,7 +15,7 @@ class WelcomeScreen extends Component {
render() {
return (
<View style={styles.container}>
<Text>wle</Text>
<Text>wlecome</Text>
</View>
);
......
......@@ -30,7 +30,8 @@ const config = {
productId: 'manager-app-sz',
footerText: '上海铂蓝信息科技有限公司',
contextPath: '',
apiContextPath: 'http://14.21.68.149:9089/test',
// apiContextPath: 'http://14.21.68.149:9089/test',
apiContextPath: 'http://192.168.1.22:8080/bm',
defaultDateFormat,
defaultTimeFormat,
defaultDateTimeFormat,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论