Commit 09a6d45d by Giang Tran

edit moment

parent dbb16f2e
...@@ -37,37 +37,65 @@ const Wallet = (props) => { ...@@ -37,37 +37,65 @@ const Wallet = (props) => {
/> />
</Tab.Navigator> </Tab.Navigator>
</View> </View>
<View style={styles.footer}>
<TouchableOpacity <TouchableOpacity
onPress={() => navigate.navigate(WALLETDEPOSIT)} onPress={() => navigate.navigate(WALLETDEPOSIT)}
style={styles.btn}> style={styles.btnLeft}>
<Text style={styles.txtTitle}>Np tin</Text> <Text style={styles.txtTitle}>Np tin</Text>
</TouchableOpacity> </TouchableOpacity>
<TouchableOpacity <TouchableOpacity
onPress={() => navigate.navigate(WALLETWITHDRAW)} onPress={() => navigate.navigate(WALLETWITHDRAW)}
style={styles.btn}> style={styles.btnRight}>
<Text style={styles.txtTitle}>Rút tin</Text> <Text style={styles.txtTitle}>Rút tin</Text>
</TouchableOpacity> </TouchableOpacity>
</View> </View>
</View>
); );
}; };
const styles = StyleSheet.create({ const styles = StyleSheet.create({
footer: { footer: {
height: 60, height: 50,
width: '100%', width: '100%',
flexDirection: 'row', flexDirection: 'row',
justifyContent: 'space-around', justifyContent: 'space-around',
}, },
btn: { btnRight: {
width: 140,
height: 40,
backgroundColor: R.colors.main,
borderRadius: 10,
justifyContent: 'center',
alignItems: 'center',
position: 'absolute',
bottom: 10,
right: 30,
shadowColor: '#AFA9A9',
shadowOffset: {
width: 0,
height: 1,
},
shadowOpacity: 0.25,
shadowRadius: 1.84,
elevation: 1,
},
btnLeft: {
width: 140, width: 140,
height: 40, height: 40,
backgroundColor: R.colors.main, backgroundColor: R.colors.main,
borderRadius: 10, borderRadius: 10,
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
position: 'absolute',
bottom: 10,
left: 30,
shadowColor: '#AFA9A9',
shadowOffset: {
width: 0,
height: 1,
},
shadowOpacity: 0.25,
shadowRadius: 1.84,
elevation: 1,
}, },
txtTitle: { txtTitle: {
fontSize: getFontXD(42), fontSize: getFontXD(42),
......
...@@ -16,9 +16,9 @@ const Item = (props) => { ...@@ -16,9 +16,9 @@ const Item = (props) => {
<Text style={styles.txtBig}>{item.title}</Text> <Text style={styles.txtBig}>{item.title}</Text>
<Block space={'between'} margin={[10, 0, 0, 0]} row flex={1}> <Block space={'between'} margin={[10, 0, 0, 0]} row flex={1}>
<Block> <Block>
<Text style={styles.txtLeft}>Tien nap toi thieu</Text> <Text style={styles.txtLeft}>Tin np ti thiu</Text>
<Text style={styles.txtLeft}>Hoa hong</Text> <Text style={styles.txtLeft}>Hoa hng</Text>
<Text style={styles.txtLeft}>Thoi gian</Text> <Text style={styles.txtLeft}>Thi gian</Text>
</Block> </Block>
<Block> <Block>
<Text style={styles.txtRight}>{item.minPay} USD</Text> <Text style={styles.txtRight}>{item.minPay} USD</Text>
...@@ -82,8 +82,8 @@ const styles = StyleSheet.create({ ...@@ -82,8 +82,8 @@ const styles = StyleSheet.create({
color: 'black', color: 'black',
}, },
imgIcon: { imgIcon: {
width: WIDTHXD(220), width: 90,
height: HEIGHTXD(220), height: 90,
resizeMode: 'contain', resizeMode: 'contain',
}, },
txtLeft: { txtLeft: {
......
...@@ -85,7 +85,7 @@ const styles = StyleSheet.create({ ...@@ -85,7 +85,7 @@ const styles = StyleSheet.create({
containerBtn: { containerBtn: {
backgroundColor: R.colors.main, backgroundColor: R.colors.main,
position: 'absolute', position: 'absolute',
bottom: 50, bottom: 30,
right: 20, right: 20,
width: WIDTHXD(144), width: WIDTHXD(144),
height: WIDTHXD(144), height: WIDTHXD(144),
......
...@@ -147,6 +147,7 @@ const styles = StyleSheet.create({ ...@@ -147,6 +147,7 @@ const styles = StyleSheet.create({
paddingHorizontal: 10, paddingHorizontal: 10,
paddingVertical: 6, paddingVertical: 6,
marginLeft: 20, marginLeft: 20,
borderRadius: 10,
}, },
txt: { txt: {
fontSize: getFontXD(42), fontSize: getFontXD(42),
......
...@@ -30,7 +30,7 @@ const Item = (props) => { ...@@ -30,7 +30,7 @@ const Item = (props) => {
const styles = StyleSheet.create({ const styles = StyleSheet.create({
container: { container: {
marginVertical: 15, marginTop: 15,
}, },
row: { row: {
flexDirection: 'row', flexDirection: 'row',
...@@ -49,9 +49,8 @@ const styles = StyleSheet.create({ ...@@ -49,9 +49,8 @@ const styles = StyleSheet.create({
color: '#A2A2A2', color: '#A2A2A2',
}, },
img: { img: {
width: '100%', height: 180,
height: 260, borderRadius: 10,
borderRadius: 5,
marginTop: 5, marginTop: 5,
}, },
row: { row: {
......
...@@ -40,7 +40,7 @@ export default Item; ...@@ -40,7 +40,7 @@ export default Item;
const styles = StyleSheet.create({ const styles = StyleSheet.create({
container: { container: {
marginTop: 10, marginTop: 10,
height: HEIGHTXD(250), paddingVertical: 10,
shadowColor: '#000', shadowColor: '#000',
shadowOffset: { shadowOffset: {
width: 0, width: 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment