VideoFaceTrial

156 阅读1分钟
import React from 'react';
import {
  View,
  Text,
  StyleSheet
} from 'react-native';
import {
  CommonButton,
  FaceWaiting
} from '../../../components';
import { ColorCommon, GapCommon } from '../../../assets/publicConsts';
import { Px2Dp } from '../../../utils/Tool';

// 视频面审落地页
export default class VideoFaceTrial extends React.Component {
  render() {
    return (
      <View style={styles.container}>
        <View style={styles.mainContent}>
          <FaceWaiting width={96} height={96} />
          <View style={styles.textWrap}>
            <Text style={styles.textContent}>您的视频面审结果正在加急审核中</Text>
            <Text style={styles.textContent}>请耐心等待!</Text>
          </View>
        </View>
        <View style={styles.sideMargin}>
          <CommonButton
            text="我知道了"
          />
        </View>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: ColorCommon.white
  },
  mainContent: {
    flex: 1,
    alignSelf: 'center',
    alignItems: 'center',
    justifyContent: 'center',
    width: Px2Dp(295),
  },
  textWrap: {
    marginTop: Px2Dp(GapCommon.gapBase * 8)
  },
  textContent: {
    color: ColorCommon.dark,
    fontSize: 18,
    lineHeight: 24,
    textAlign: 'center',
  },
  sideMargin: {
    paddingLeft: 4 * GapCommon.gapBase,
    paddingRight: 4 * GapCommon.gapBase,
    marginBottom: 4 * GapCommon.gapBase
  },
});