-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNavNearBy.js
83 lines (73 loc) · 5.65 KB
/
NavNearBy.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import React ,{Component} from 'react';
import { StyleSheet, Text, View, Image,Dimensions, StatusBar, ScrollView,TouchableWithoutFeedback,TouchableOpacity,ImageBackground,Modal,TouchableHighlight } from 'react-native';
import { Header,Icon,SearchBar,Input,Button,ButtonGroup, Badge} from 'react-native-elements';
export default class NavNearBy extends React.Component{
render(){
return (
<ScrollView style={{height:'100%'}}>
<View style={{flexDirection:'row'}}>
<View style={{width:'100%',height:'100%'}}>
<Input placeholder='検索' leftIcon={<Icon name='search' size={18} color='gray'/>}/>
</View>
</View>
<View style={{flexDirection:'row', alignItems: 'flex-start',flexWrap: 'wrap', width:'100%', height:'100%'}}>
<TouchableOpacity style={{backgroundColor:'white',width:'42%', aspectRatio:1.0, borderRadius:18, margin:'4%', padding:10, shadowColor: 'gray', shadowOffset: { width: 12, height: 12 }, shadowOpacity: 0.4, shadowRadius: 5, elevation: 2,}}>
<View style={{height:'70%' ,padding:'4%', marginTop:'6%'}}>
<View style={{alignSelf:'center', height:'100%',aspectRatio:1.0, padding:'1%', shadowColor: 'gray', shadowOffset: { width: 7, height: 9 }, shadowOpacity: 0.4, shadowRadius: 5, elevation: 2}}>
<Image
source={require('./assets/meidodesu_TP_V.jpg')}
style={{ width:60, height: 60, borderRadius: 60 / 2, alignSelf:'center'}}
/>
</View>
</View>
<Text style={{textAlign:'center', alignSelf:'center', color:'pink', fontSize:16, fontWeight:'bold'}}>#meido</Text>
</TouchableOpacity>
<TouchableOpacity style={{backgroundColor:'pink',width:'42%', aspectRatio:1.0, borderRadius:18, margin:'4%', padding:10, shadowColor: 'gray', shadowOffset: { width: 12, height: 12 }, shadowOpacity: 0.4, shadowRadius: 5, elevation: 2,}}>
<View style={{height:'70%' ,padding:'4%', marginTop:'6%'}}>
<View style={{alignSelf:'center', height:'100%',aspectRatio:1.0, padding:'1%', shadowColor: 'gray', shadowOffset: { width: 7, height: 9 }, shadowOpacity: 0.4, shadowRadius: 5, elevation: 2}}>
<Image
source={require('./assets/meidodesu_TP_V.jpg')}
style={{ width:60, height: 60, borderRadius: 60 / 2, alignSelf:'center'}}
/>
</View>
</View>
<Text style={{textAlign:'center', alignSelf:'center', color:'white', fontSize:16, fontWeight:'bold'}}>#meido</Text>
</TouchableOpacity>
<TouchableOpacity style={{backgroundColor:'pink',width:'42%', aspectRatio:1.0, borderRadius:18, margin:'4%', padding:10, shadowColor: 'gray', shadowOffset: { width: 12, height: 12 }, shadowOpacity: 0.4, shadowRadius: 5, elevation: 2,}}>
<View style={{height:'70%' ,padding:'4%', marginTop:'6%'}}>
<View style={{alignSelf:'center', height:'100%',aspectRatio:1.0, padding:'1%', shadowColor: 'gray', shadowOffset: { width: 7, height: 9 }, shadowOpacity: 0.4, shadowRadius: 5, elevation: 2}}>
<Image
source={require('./assets/meidodesu_TP_V.jpg')}
style={{ width:60, height: 60, borderRadius: 60 / 2, alignSelf:'center'}}
/>
</View>
</View>
<Text style={{textAlign:'center', alignSelf:'center', color:'white', fontSize:16, fontWeight:'bold'}}>#meido</Text>
</TouchableOpacity>
<TouchableOpacity style={{backgroundColor:'pink',width:'42%', aspectRatio:1.0, borderRadius:18, margin:'4%', padding:10, shadowColor: 'gray', shadowOffset: { width: 12, height: 12 }, shadowOpacity: 0.4, shadowRadius: 5, elevation: 2,}}>
<View style={{height:'70%' ,padding:'4%', marginTop:'6%'}}>
<View style={{alignSelf:'center', height:'100%',aspectRatio:1.0, padding:'1%', shadowColor: 'gray', shadowOffset: { width: 7, height: 9 }, shadowOpacity: 0.4, shadowRadius: 5, elevation: 2}}>
<Image
source={require('./assets/meidodesu_TP_V.jpg')}
style={{ width:60, height: 60, borderRadius: 60 / 2, alignSelf:'center'}}
/>
</View>
</View>
<Text style={{textAlign:'center', alignSelf:'center', color:'white', fontSize:16, fontWeight:'bold'}}>#meido</Text>
</TouchableOpacity>
<TouchableOpacity style={{backgroundColor:'pink',width:'42%', aspectRatio:1.0, borderRadius:18, margin:'4%', padding:10, shadowColor: 'gray', shadowOffset: { width: 12, height: 12 }, shadowOpacity: 0.4, shadowRadius: 5, elevation: 2,}}>
<View style={{height:'70%' ,padding:'4%', marginTop:'6%'}}>
<View style={{alignSelf:'center', height:'100%',aspectRatio:1.0, padding:'1%', shadowColor: 'gray', shadowOffset: { width: 7, height: 9 }, shadowOpacity: 0.4, shadowRadius: 5, elevation: 2}}>
<Image
source={require('./assets/meidodesu_TP_V.jpg')}
style={{ width:60, height: 60, borderRadius: 60 / 2, alignSelf:'center'}}
/>
</View>
</View>
<Text style={{textAlign:'center', alignSelf:'center', color:'white', fontSize:16, fontWeight:'bold'}}>#meido</Text>
</TouchableOpacity>
</View>
</ScrollView>
);
}
}