Commit e55b53d9 by zhonghao

优化订单弹窗

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