ProcessManagement.js
1.51 KB
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
import React, {Component} from 'react';
import {
View,
Text,
Image,
TextInput,
ScrollView,
TouchableOpacity,
StyleSheet
} from "react-native";
import {NoDoublePress} from "../utils/Common";
import {width} from "../utils/getSize";
import PickerView from "../components/PickerView";
import FiveStarView from "../components/FiveStarView";
export default class ProcessManagement extends Component {
constructor(props) {
super(props);
this.state={
querySwitch: 'Common',
};
}
componentWillMount() {
//设置头部
this.props.navigation.setParams({
isBack:true,
title: '组件'
});
}
render() {
return (
<View style={{flex: 1, backgroundColor: 'white'}}>
<TouchableOpacity
style={{width: width, flexDirection: 'row', justifyContent: 'center', alignItems: 'center'}}
activeOpacity={0.8}
onPress={() =>{}}
>
<View style={{flex: 1}}>
<Text style={{fontSize: 16}}>日期</Text>
<TextInput placeholderTextColor={"#999999"}/>
</View>
</TouchableOpacity>
<PickerView />
<FiveStarView/>
</View>
);
}
}
const styles = StyleSheet.create({
lineStyle: {
width: '100%',
height: 3,
position: 'absolute',
bottom: 0,
},
})