Commit 2335cdd0 by Denglingling

完善【历史订单】筛选弹窗高度布局、底部内容高度布局、错误提示弹窗消失时间

(cherry picked from commit dfd91c2c)
parent 5e6c06c9
...@@ -27,7 +27,7 @@ class ErrorTipModel extends Component { ...@@ -27,7 +27,7 @@ class ErrorTipModel extends Component {
}, () => { }, () => {
setTimeout(() => { setTimeout(() => {
that.closeModal() that.closeModal()
}, 1000) }, 500)
}) })
} }
} }
......
...@@ -8,7 +8,9 @@ import { ...@@ -8,7 +8,9 @@ import {
Image, Image,
TouchableOpacity, TouchableOpacity,
TextInput, TextInput,
Platform Platform,
Alert,
Linking
} from 'react-native'; } from 'react-native';
import { import {
home_background_color, home_background_color,
......
...@@ -21,6 +21,7 @@ import { ...@@ -21,6 +21,7 @@ import {
third_text_color, third_text_color,
second_text_size, second_text_size,
Height, Height,
pxHeight,
} from '../../base/BaseStyle'; } from '../../base/BaseStyle';
import LodingModel from '../common/LodingModel'; import LodingModel from '../common/LodingModel';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
...@@ -276,7 +277,6 @@ class HistoricalOrderPage extends Component { ...@@ -276,7 +277,6 @@ class HistoricalOrderPage extends Component {
// 关闭筛选弹窗 回调 // 关闭筛选弹窗 回调
handleCloseFilterModal(show) { handleCloseFilterModal(show) {
console.log('关闭筛选弹窗 回调======', show)
this.setState({ this.setState({
isShowSelect: show isShowSelect: show
}) })
...@@ -554,9 +554,9 @@ const styles = StyleSheet.create({ ...@@ -554,9 +554,9 @@ const styles = StyleSheet.create({
cont_main: { cont_main: {
backgroundColor: foundation_color, backgroundColor: foundation_color,
maxHeight: Height() - 300, maxHeight: Height() - 240,
minHeight: Height() - 358, minHeight: Height() - 358,
paddingBottom: 10 paddingBottom: pxHeight(60)
}, },
cont_scroll: {}, cont_scroll: {},
cont_box: {}, cont_box: {},
......
...@@ -1945,26 +1945,28 @@ class FilterModel extends Component { ...@@ -1945,26 +1945,28 @@ class FilterModel extends Component {
</View> </View>
<View style={styles.sea_btn_box}> <View style={styles.sea_btn_box}>
<TouchableOpacity <TouchableOpacity
activeOpacity={.8} activeOpacity={.9}
style={[styles.sea_btn_inner, styles.sea_btn_lef]} style={[styles.sea_btn_inner, styles.sea_btn_lef]}
onPress={() => this.handleSubResetCheck()} onPress={() => this.handleSubResetCheck()}
> >
<Text style={[styles.sea_btn_tit, styles.sea_btn_reset]}>重置</Text> <Text style={[styles.sea_btn_tit, styles.sea_btn_reset]}>重置</Text>
</TouchableOpacity> </TouchableOpacity>
<TouchableOpacity <TouchableOpacity
activeOpacity={.8} activeOpacity={.9}
style={styles.sea_btn_inner} style={styles.sea_btn_inner}
onPress={() => this.handleFilterSubmitCheck()} onPress={() => this.handleFilterSubmitCheck()}
> >
<Text style={styles.sea_btn_tit}>确定</Text> <Text style={styles.sea_btn_tit}>确定</Text>
</TouchableOpacity> </TouchableOpacity>
{ this.renderErrorModel() }
</View> </View>
{ this.renderDateModel() } { this.renderDateModel() }
{ this.renderPickerModel() } { this.renderPickerModel() }
{ this.renderErrorModel() }
</View> </View>
) )
} }
...@@ -2069,7 +2071,7 @@ const styles = StyleSheet.create({ ...@@ -2069,7 +2071,7 @@ const styles = StyleSheet.create({
flex: 1, flex: 1,
flexDirection: 'column', flexDirection: 'column',
// backgroundColor: '#FF0000', // backgroundColor: '#FF0000',
height: Height() - 266 height: Height() - 186
}, },
cont_item_box: {}, cont_item_box: {},
top_box: {}, top_box: {},
...@@ -2108,17 +2110,19 @@ const styles = StyleSheet.create({ ...@@ -2108,17 +2110,19 @@ const styles = StyleSheet.create({
fontWeight: 'bold' fontWeight: 'bold'
}, },
top_sea_box: { top_sea_box: {
paddingVertical: 14, // paddingVertical: 14,
position: 'relative', position: 'relative',
backgroundColor: '#F5F5F5' // backgroundColor: '#F5F5F5'
}, },
sea_inner: { sea_inner: {
flexDirection: 'row', flexDirection: 'row',
alignItems: 'center', alignItems: 'center',
paddingHorizontal: 24, paddingHorizontal: 24,
paddingTop: 14,
paddingBottom: 10, paddingBottom: 10,
borderBottomColor: '#C8C8C8', borderBottomColor: '#C8C8C8',
borderBottomWidth: 1 borderBottomWidth: 1,
backgroundColor: '#F5F5F5'
}, },
sea_tit: { sea_tit: {
fontSize: 14, fontSize: 14,
...@@ -2136,11 +2140,13 @@ const styles = StyleSheet.create({ ...@@ -2136,11 +2140,13 @@ const styles = StyleSheet.create({
sea_main: {}, sea_main: {},
sea_container: { sea_container: {
flex: 1 // flex: 1
height: Height()
}, },
sea_scr_box: { sea_scr_box: {
height: Height() - 420, // height: Height() - 360,
backgroundColor: '#F5F5F5' backgroundColor: '#F5F5F5',
flex: 1
}, },
sea_scroll: {}, sea_scroll: {},
sea_sel_opt: { sea_sel_opt: {
...@@ -2305,12 +2311,14 @@ const styles = StyleSheet.create({ ...@@ -2305,12 +2311,14 @@ const styles = StyleSheet.create({
}, },
sea_btn_box: { sea_btn_box: {
flexDirection: 'row' flexDirection: 'row',
// flex: 1,
height: 38
}, },
sea_btn_inner: { sea_btn_inner: {
backgroundColor: promary_color, backgroundColor: promary_color,
width: '50%', width: '50%',
height: pxHeight(54) height: 38,
}, },
sea_btn_lef: { sea_btn_lef: {
backgroundColor: '#E7F1FD' backgroundColor: '#E7F1FD'
...@@ -2319,7 +2327,7 @@ const styles = StyleSheet.create({ ...@@ -2319,7 +2327,7 @@ const styles = StyleSheet.create({
fontSize: 14, fontSize: 14,
fontFamily: font_family_regular, fontFamily: font_family_regular,
textAlign: 'center', textAlign: 'center',
lineHeight: pxHeight(50), lineHeight: 36,
color: title_text_color color: title_text_color
}, },
sea_btn_reset: { sea_btn_reset: {
......
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 sign in to comment