Procházet zdrojové kódy

去掉阴影,增加舰队钱包

vbea před 1 rokem
rodič
revize
211132af9c

+ 2 - 2
Strides-APP/android/app/version.properties

@@ -1,2 +1,2 @@
-#Fri Dec 27 16:50:43 CST 2024
-VERSION_CODE=556
+#Fri Dec 27 17:03:08 CST 2024
+VERSION_CODE=560

+ 2 - 1
Strides-APP/app/components/ShadowView.js

@@ -57,6 +57,7 @@ const styles = StyleSheet.create({
     opacity: .8,
     marginTop: -8,
     marginLeft: 20,
-    marginRight: 20
+    marginRight: 20,
+    display: "none"
   }
 })

+ 7 - 6
Strides-APP/app/pages/my/ProfileV2.js

@@ -125,7 +125,7 @@ export default class ProfileV2 extends Component {
     return (
       <ScrollView style={styles.container}>
         {/* Profile Info */}
-        <EndView/>
+        <EndView half/>
         <Button
           style={styles.cardView}
           viewStyle={styles.profileView}
@@ -159,6 +159,7 @@ export default class ProfileV2 extends Component {
             name='angle-right'/>
         </Button>
         <ShadowViewV2/>
+        <EndView half/>
         {/* Wallet Info */}
         <Button 
           style={styles.cardView}
@@ -185,8 +186,8 @@ export default class ProfileV2 extends Component {
               style={styles.cardIcon}
               source={require('../../images/user/card-wallet.png')}/>
             <View style={styles.cardInfo}>
-              <TextView style={styles.cardLabel}>{this.state.userInfo.groupWallet.walletName}</TextView>
-              <TextView style={styles.cardPrimary}>{this.state.userInfo.groupWallet.expireTime}</TextView>
+              <TextView style={styles.cardLabel}>{this.state.userInfo.groupWallet.walletName}:</TextView>
+              <TextView style={styles.cardPrimary}>{this.state.userInfo.groupWallet.creditStr}, Expires on {this.state.userInfo.groupWallet.expireTime}</TextView>
             </View>
           </Button>
           <ShadowViewV2/>
@@ -398,7 +399,7 @@ export default class ProfileV2 extends Component {
           style={styles.deleteButton}
           text={$t('profile.logout')}
           textColor={textLight}
-          elevation={16}
+          elevation={4}
           onClick={() => this.logout()}
         />
       </ScrollView>
@@ -453,7 +454,7 @@ const styles = StyleSheet.create({
   },
   cardView: {
     zIndex: 2,
-    marginTop: 0,
+    marginTop: 8,
     marginLeft: 16,
     marginRight: 16,
     borderRadius: 10,
@@ -556,7 +557,7 @@ const styles = StyleSheet.create({
   },
   deleteButton: {
     borderRadius: 4,
-    ...$margin(4, 16, 16),
+    ...$margin(16, 16, 24),
     backgroundColor: '#EA0A2A'
   },
   userTypeView: {