Ver código fonte

1.修改个人信息图片
2.个人中心右侧设置点击跳转

zhangmengjie 5 anos atrás
pai
commit
6d265e389a

Diferenças do arquivo suprimidas por serem muito extensas
+ 64 - 63
android/app/src/main/assets/index.android.bundle


BIN
android/app/src/main/res/drawable-mdpi/pages_images_userinfo_arrow.png


BIN
android/app/src/main/res/drawable-mdpi/pages_images_userinfo_back_white.png


BIN
android/app/src/main/res/drawable-mdpi/pages_images_userinfo_birthday.png


BIN
android/app/src/main/res/drawable-mdpi/pages_images_userinfo_grade.png


BIN
android/app/src/main/res/drawable-mdpi/pages_images_userinfo_headportrait.png


BIN
android/app/src/main/res/drawable-mdpi/pages_images_userinfo_location.png


BIN
android/app/src/main/res/drawable-mdpi/pages_images_userinfo_nickname.png


BIN
android/app/src/main/res/drawable-mdpi/pages_images_userinfo_school.png


+ 39 - 39
package.json

@@ -1,41 +1,41 @@
 {
-  "name": "efunbox_mobile_8",
-  "version": "8.0.0",
-  "private": true,
-  "scripts": {
-    "start": "node node_modules/react-native/local-cli/cli.js start",
-    "test": "jest",
-    "add-react-navigation": "yarn add react-navigation && yarn add react-native-gesture-handler -S && react-native link react-native-gesture-handler",
-    "add-react-native-video": "yarn add react-native-video && react-native link  ",
-    "android": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res && react-native run-android"
-  },
-  "dependencies": {
-    "react": "16.8.3",
-    "react-art": "^16.8.6",
-    "react-dom": "^16.8.6",
-    "react-native": "0.59.4",
-    "react-native-device-info": "^2.1.1",
-    "react-native-gesture-handler": "^1.1.0",
-    "react-native-image-picker": "^0.28.1",
-    "react-native-orientation": "^3.1.3",
-    "react-native-splash-screen": "^3.2.0",
-    "react-native-storage": "^1.0.1",
-    "react-native-swiper": "^1.5.14",
-    "react-native-video": "^4.4.1",
-    "react-native-web": "^0.11.2",
-    "react-native-wechat": "^1.9.10",
-    "react-native-yunpeng-alipay": "^2.0.0",
-    "react-navigation": "^3.9.1"
-  },
-  "devDependencies": {
-    "@babel/core": "^7.4.3",
-    "@babel/runtime": "^7.4.3",
-    "babel-jest": "^24.7.1",
-    "jest": "^24.7.1",
-    "metro-react-native-babel-preset": "^0.53.1",
-    "react-test-renderer": "16.8.3"
-  },
-  "jest": {
-    "preset": "react-native"
-  }
+	"name": "efunbox_mobile_8",
+	"version": "8.0.0",
+	"private": true,
+	"scripts": {
+		"start": "node node_modules/react-native/local-cli/cli.js start",
+		"test": "jest",
+		"add-react-navigation": "yarn add react-navigation && yarn add react-native-gesture-handler -S && react-native link react-native-gesture-handler",
+		"add-react-native-video": "yarn add react-native-video && react-native link  ",
+		"android": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res && react-native run-android"
+	},
+	"dependencies": {
+		"react": "16.8.3",
+		"react-art": "^16.8.6",
+		"react-dom": "^16.8.6",
+		"react-native": "0.59.4",
+		"react-native-device-info": "^2.1.1",
+		"react-native-gesture-handler": "^1.1.0",
+		"react-native-image-picker": "^0.28.1",
+		"react-native-orientation": "^3.1.3",
+		"react-native-splash-screen": "^3.2.0",
+		"react-native-storage": "^1.0.1",
+		"react-native-swiper": "^1.5.14",
+		"react-native-video": "^4.4.1",
+		"react-native-web": "^0.11.2",
+		"react-native-wechat": "^1.9.10",
+		"react-native-yunpeng-alipay": "^2.0.0",
+		"react-navigation": "^3.9.1"
+	},
+	"devDependencies": {
+		"@babel/core": "^7.4.3",
+		"@babel/runtime": "^7.4.3",
+		"babel-jest": "^24.7.1",
+		"jest": "^24.7.1",
+		"metro-react-native-babel-preset": "^0.53.1",
+		"react-test-renderer": "16.8.3"
+	},
+	"jest": {
+		"preset": "react-native"
+	}
 }

+ 1 - 1
pages/PersonalInfo.js

@@ -638,7 +638,7 @@ export default class PersonalInfo extends BasePage {
 										onPress={() => this.logout()}
 									>
 										<ImageBackground
-											source={require('./images/userInfo/logoutbg1.png')}
+											source={require('./images/userInfo/logoutbg.png')}
 											style={{
 												flex: 1,
 												width: '100%',

BIN
pages/images/userInfo/arrow.png


BIN
pages/images/userInfo/back_white.png


BIN
pages/images/userInfo/birthday.png


BIN
pages/images/userInfo/grade.png


BIN
pages/images/userInfo/headportrait.png


BIN
pages/images/userInfo/location.png


BIN
pages/images/userInfo/logoutbg1.png


BIN
pages/images/userInfo/nickname.png


BIN
pages/images/userInfo/school.png


+ 1 - 1
pages/userCenter.js

@@ -145,7 +145,7 @@ export default class userCenter extends BasePage {
 								textcolor={'#fff'}
 								backPress={() => this.goBack()}
 								// backgroundColor={"transparent"}
-								// rightPress={this.showSharedDialog.bind(this)}
+								rightPress={() => this.toNextPage('PersonalInfo')}
 							/>
 						</View>
 						<View style={styles.userInfo}>