初始化项目
Showing
with
11976 additions
and
0 deletions
.buckconfig
0 → 100644
.eslintrc.js
0 → 100644
.flowconfig
0 → 100644
.gitattributes
0 → 100644
.gitignore
0 → 100644
.prettierrc.js
0 → 100644
.watchmanconfig
0 → 100644
App.js
0 → 100644
__tests__/App-test.js
0 → 100644
android/app/_BUCK
0 → 100644
android/app/build.gradle
0 → 100644
android/app/build_defs.bzl
0 → 100644
android/app/debug.keystore
0 → 100644
No preview for this file type
android/app/proguard-rules.pro
0 → 100644
android/app/src/debug/AndroidManifest.xml
0 → 100644
android/app/src/main/AndroidManifest.xml
0 → 100644
2.98 KB
4.91 KB
2.05 KB
2.79 KB
4.46 KB
6.93 KB
6.31 KB
10.4 KB
9.03 KB
15.2 KB
android/app/src/main/res/values/strings.xml
0 → 100644
android/app/src/main/res/values/styles.xml
0 → 100644
android/build.gradle
0 → 100644
android/gradle.properties
0 → 100644
android/gradle/wrapper/gradle-wrapper.jar
0 → 100644
No preview for this file type
android/gradlew
0 → 100755
android/gradlew.bat
0 → 100644
android/settings.gradle
0 → 100644
app.json
0 → 100644
app/Router.js
0 → 100644
app/action/EquipAction.js
0 → 100644
app/action/LoginAction.js
0 → 100644
app/action/QuickAction.js
0 → 100644
app/action/SelfAction.js
0 → 100644
app/action/TransAction.js
0 → 100644
app/base/ActionTypes.js
0 → 100644
app/base/BaseConstants.js
0 → 100644
app/base/BaseStyle.js
0 → 100644
app/containers/common/CellTextStyle.js
0 → 100644
app/containers/common/DateModel.js
0 → 100644
app/containers/common/DialogModel.js
0 → 100644
app/containers/common/HeadBackItem.js
0 → 100644
app/containers/common/ItemCellModel.js
0 → 100644
app/containers/common/LodingModel.js
0 → 100644
app/containers/common/ProductModel.js
0 → 100644
app/containers/common/ShowModel.js
0 → 100644
app/containers/common/StatusBarView.js
0 → 100644
app/containers/equipConsu/EquipConsuPage.js
0 → 100644
app/containers/home/HomePage.js
0 → 100644
app/containers/login/LoginPage.js
0 → 100644
app/containers/quickOrder/QuickOrderPage.js
0 → 100644
app/containers/selfOrder/SelfOrderPage.js
0 → 100644
app/containers/transOrder/TransOrderPage.js
0 → 100644
app/images/arr_left.png
0 → 100644
540 Bytes
app/images/arr_rig.png
0 → 100644
380 Bytes
app/images/arr_rig_small.png
0 → 100644
182 Bytes
app/images/arrow_icon.png
0 → 100644
348 Bytes
app/images/auxili_tool.png
0 → 100644
548 Bytes
app/images/close_icon.png
0 → 100644
706 Bytes
app/images/cor_blue.png
0 → 100644
479 Bytes
app/images/cor_green.png
0 → 100644
2.31 KB
app/images/cp_test.png
0 → 100644
880 Bytes
app/images/cp_test_1.png
0 → 100644
635 Bytes
app/images/equip_bag.png
0 → 100644
580 Bytes
app/images/equip_consu.png
0 → 100644
1.43 KB
app/images/frame_icon.png
0 → 100644
253 Bytes
app/images/less_icon.png
0 → 100644
786 Bytes
app/images/less_icon_.png
0 → 100644
819 Bytes
app/images/login_bg.png
0 → 100644
1.24 MB
app/images/logo_foo.png
0 → 100644
3.56 KB
app/images/model_test.png
0 → 100644
5.57 KB
app/images/plur_icon.png
0 → 100644
616 Bytes
app/images/plur_icon_.png
0 → 100644
561 Bytes
app/images/quick_order.png
0 → 100644
1.57 KB
app/images/record_icon.png
0 → 100644
850 Bytes
app/images/record_small.png
0 → 100644
407 Bytes
app/images/return_login.png
0 → 100644
1.06 KB
app/images/screw_box.png
0 → 100644
560 Bytes
app/images/search_icon.png
0 → 100644
747 Bytes
app/images/search_small.png
0 → 100644
402 Bytes
app/images/self_order.png
0 → 100644
1.08 KB
app/images/surg_temp.png
0 → 100644
572 Bytes
app/images/trans_order.png
0 → 100644
1.25 KB
app/network/RequestUtils.js
0 → 100644
app/reducers/index.js
0 → 100644
app/reducers/module/equip.js
0 → 100644
File mode changed
app/reducers/module/login.js
0 → 100644
app/reducers/module/quick.js
0 → 100644
app/reducers/module/self.js
0 → 100644
app/reducers/module/trans.js
0 → 100644
File mode changed
app/store/configureStore.js
0 → 100644
app/utils/Utils.js
0 → 100644
babel.config.js
0 → 100644
index.js
0 → 100644
ios/OrderApp-tvOS/Info.plist
0 → 100644
ios/OrderApp-tvOSTests/Info.plist
0 → 100644
ios/OrderApp.xcodeproj/project.pbxproj
0 → 100644
ios/OrderApp/AppDelegate.h
0 → 100644
ios/OrderApp/AppDelegate.m
0 → 100644
ios/OrderApp/Base.lproj/LaunchScreen.xib
0 → 100644
ios/OrderApp/Images.xcassets/Contents.json
0 → 100644
ios/OrderApp/Info.plist
0 → 100644
ios/OrderApp/main.m
0 → 100644
ios/OrderAppTests/Info.plist
0 → 100644
ios/OrderAppTests/OrderAppTests.m
0 → 100644
ios/Podfile
0 → 100644
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git' | ||
platform :ios, '9.0' | ||
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' | ||
def add_flipper_pods!(versions = {}) | ||
versions['Flipper'] ||= '~> 0.33.1' | ||
versions['DoubleConversion'] ||= '1.1.7' | ||
versions['Flipper-Folly'] ||= '~> 2.1' | ||
versions['Flipper-Glog'] ||= '0.3.6' | ||
versions['Flipper-PeerTalk'] ||= '~> 0.0.4' | ||
versions['Flipper-RSocket'] ||= '~> 1.0' | ||
pod 'FlipperKit', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitLayoutPlugin', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/SKIOSNetworkPlugin', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitUserDefaultsPlugin', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitReactPlugin', versions['Flipper'], :configuration => 'Debug' | ||
# List all transitive dependencies for FlipperKit pods | ||
# to avoid them being linked in Release builds | ||
pod 'Flipper', versions['Flipper'], :configuration => 'Debug' | ||
pod 'Flipper-DoubleConversion', versions['DoubleConversion'], :configuration => 'Debug' | ||
pod 'Flipper-Folly', versions['Flipper-Folly'], :configuration => 'Debug' | ||
pod 'Flipper-Glog', versions['Flipper-Glog'], :configuration => 'Debug' | ||
pod 'Flipper-PeerTalk', versions['Flipper-PeerTalk'], :configuration => 'Debug' | ||
pod 'Flipper-RSocket', versions['Flipper-RSocket'], :configuration => 'Debug' | ||
pod 'FlipperKit/Core', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/CppBridge', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FBCxxFollyDynamicConvert', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FBDefines', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FKPortForwarding', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitHighlightOverlay', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitLayoutTextSearchable', versions['Flipper'], :configuration => 'Debug' | ||
pod 'FlipperKit/FlipperKitNetworkPlugin', versions['Flipper'], :configuration => 'Debug' | ||
end | ||
# Post Install processing for Flipper | ||
def flipper_post_install(installer) | ||
installer.pods_project.targets.each do |target| | ||
if target.name == 'YogaKit' | ||
target.build_configurations.each do |config| | ||
config.build_settings['SWIFT_VERSION'] = '4.1' | ||
end | ||
end | ||
end | ||
end | ||
target 'OrderApp' do | ||
# Pods for OrderApp | ||
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector" | ||
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec" | ||
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired" | ||
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety" | ||
pod 'React', :path => '../node_modules/react-native/' | ||
pod 'React-Core', :path => '../node_modules/react-native/' | ||
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules' | ||
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/' | ||
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS' | ||
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation' | ||
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob' | ||
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image' | ||
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS' | ||
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network' | ||
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings' | ||
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text' | ||
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration' | ||
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/' | ||
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact' | ||
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi' | ||
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor' | ||
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector' | ||
pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon" | ||
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon" | ||
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true | ||
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' | ||
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' | ||
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec' | ||
pod 'RNFS', :path => '../node_modules/react-native-fs' | ||
pod 'react-native-viewpager', :path => '../node_modules/@react-native-community/viewpager' | ||
pod 'RNAudio', :path => '../node_modules/react-native-audio' | ||
target 'OrderAppTests' do | ||
inherit! :complete | ||
# Pods for testing | ||
end | ||
use_native_modules! | ||
# Enables Flipper. | ||
# | ||
# Note that if you have use_frameworks! enabled, Flipper will not work and | ||
# you should disable these next few lines. | ||
add_flipper_pods! | ||
post_install do |installer| | ||
flipper_post_install(installer) | ||
end | ||
end | ||
target 'OrderApp-tvOS' do | ||
# Pods for OrderApp-tvOS | ||
target 'OrderApp-tvOSTests' do | ||
inherit! :search_paths | ||
# Pods for testing | ||
end | ||
end |
ios/Podfile.lock
0 → 100644
metro.config.js
0 → 100644
package-lock.json
0 → 100644
This diff could not be displayed because it is too large.
package.json
0 → 100644
{ | ||
"name": "OrderApp", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"android": "react-native run-android", | ||
"ios": "react-native run-ios", | ||
"start": "react-native start", | ||
"test": "jest", | ||
"lint": "eslint .", | ||
"postinstall": "npx jetify" | ||
}, | ||
"dependencies": { | ||
"@ant-design/react-native": "^3.3.0", | ||
"@react-native-community/viewpager": "^3.3.0", | ||
"babel-plugin-import": "^1.13.0", | ||
"react": "16.11.0", | ||
"react-native": "0.62.2", | ||
"react-native-audio": "^4.3.0", | ||
"react-native-date-picker": "^2.7.9", | ||
"react-native-datepicker": "^1.7.2", | ||
"react-native-fs": "2.14.1", | ||
"react-native-gesture-handler": "1.3.0", | ||
"react-native-image-picker": "0.27.0", | ||
"react-native-picker-select": "^7.0.0", | ||
"react-native-root-toast": "3.1.1", | ||
"react-native-scrollable-tab-view": "^1.0.0", | ||
"react-native-shadow": "^1.2.2", | ||
"react-native-sound": "^0.11.0", | ||
"react-native-svg": "^12.1.0", | ||
"react-native-video": "^4.4.5", | ||
"react-navigation": "3.11.0", | ||
"react-redux": "7.1.0", | ||
"redux": "4.0.1", | ||
"redux-persist": "5.10.0", | ||
"redux-thunk": "2.3.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.6.2", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-native-community/eslint-config": "^0.0.5", | ||
"babel-jest": "^24.9.0", | ||
"eslint": "^6.5.1", | ||
"jest": "^24.9.0", | ||
"metro-react-native-babel-preset": "^0.58.0", | ||
"react-devtools": "^4.6.0", | ||
"react-test-renderer": "16.11.0", | ||
"redux-devtools": "^3.5.0" | ||
}, | ||
"jest": { | ||
"preset": "react-native" | ||
} | ||
} |
Please
register
or
sign in
to comment