Commit e55b53d9 by zhonghao

优化订单弹窗

parent dabd7bf3
...@@ -225,13 +225,11 @@ const styles = { ...@@ -225,13 +225,11 @@ const styles = {
width: '100%', width: '100%',
}, },
modal: { modal: {
height: scaleSize(1500), height: scaleSize(1400),
width: scaleSize(950), width: scaleSize(950),
backgroundColor: '#fff', backgroundColor: '#fff',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
borderRadius: 20, borderRadius: 20,
marginBottom: 100,
}, },
header: { header: {
flex: 0.15, flex: 0.15,
...@@ -367,8 +365,7 @@ const styles = { ...@@ -367,8 +365,7 @@ const styles = {
}, },
loading: { loading: {
position: 'absolute', position: 'absolute',
top: 850, top: 820,
// bottom: 0,
left: 0, left: 0,
right: 0, right: 0,
width: scaleSize(1150), width: scaleSize(1150),
......
...@@ -56,10 +56,6 @@ class FacePage extends Component { ...@@ -56,10 +56,6 @@ class FacePage extends Component {
// sense = true; // 测试即拿刷脸设备 // sense = true; // 测试即拿刷脸设备
async componentWillMount() { async componentWillMount() {
this.goodsCounterInter = setInterval(() => {
this.getOrderDetailMiniCounter();
}, 3000);
this.orderDetailMiniPop(true);
this.storeKey = await AsyncStorage.getItem('KEY'); this.storeKey = await AsyncStorage.getItem('KEY');
let contact = await AsyncStorage.getItem('CONTACT'); let contact = await AsyncStorage.getItem('CONTACT');
let storeName = await AsyncStorage.getItem('NAME'); let storeName = await AsyncStorage.getItem('NAME');
...@@ -198,8 +194,6 @@ class FacePage extends Component { ...@@ -198,8 +194,6 @@ class FacePage extends Component {
this.setState({ this.setState({
goodsArr: data, goodsArr: data,
}); });
} else {
Toast.show('数据异常');
} }
} catch (error) { } catch (error) {
Toast.show('当前网络存在异常'); Toast.show('当前网络存在异常');
......
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