Withdraw.js 3.55 KB
import React, { Component } from 'react';
import { View, Text, StyleSheet,TouchableOpacity,Image, TextInput, Dimensions } from 'react-native';
import CheckBox from '@react-native-community/checkbox'
import X from '../../assets/X.svg'
import { ScrollView } from 'react-native-gesture-handler';
import Heart from '../../assets/heart_.svg'
import Chat from '../../assets/chat_.svg'
import Home from '../../assets/home.svg'
import QR from '../../assets/qr.svg'
import Alarm from '../../assets/alarm.svg'

import Notice from '../Notice'

export default class AddTab extends Component {
    static navigationOptions = {
        
        headerShown: false
        
    }
    constructor(props) {
        super(props)
    }
    state = {
        currentState:0
    }
    componentDidMount() {

    }
    render() {
        return (
            <View style={{height:"100%"}}>
                <View style={{width:"100%",flexDirection:"row",paddingTop:16,paddingBottom:16,paddingLeft:16,backgroundColor:"#615F5F"}}>
                    <TouchableOpacity onPress={() => this.props.navigation.goBack(null)}>
                        <Image source={require('../../assets/back.png')}/>
                    </TouchableOpacity>
                    <Text style={{color:"white",fontSize:16,marginLeft:16}}>
                        회원탈퇴
                    </Text>
                </View>
            <View style={{paddingLeft:30,paddingRight:30,width:"100%",backgroundColor:"white",flex:1,justifyContent:"center",alignSelf:"center"}}>
               <Text style={{color:"black",fontWeight:"bold",fontSize:17,marginBottom:18}}>
                    탈퇴 하시겠습니까?
               </Text>
               <Text style={{color:"black",fontWeight:"bold",fontSize:14,marginBottom:24}}>
                    상가톡을 이용하시는데 불편한 점이 있으셨나요?
                    고객센터로 문의 주시면 친절히 답변 드리겠습니다.
               </Text>
               <TouchableOpacity onPress={() => this.props.navigation.navigate("Inquiry",{currentState:2})} style={{borderColor:"#615F5F",borderWidth:2,width:"30%",alignSelf:"center",marginBottom:92}}>
                   <Text style={{textAlign:"center"}}>
                       문의하기
                   </Text>
               </TouchableOpacity>
               <Text style={{color:"black",fontWeight:"bold",fontSize:17}}>
                    보유하신 쿠폰, 스탬프, 결제내역 
                    모든 이용내역과 회원정보 등의 기록은
                    삭제되며, 복구할   없습니다.
               </Text>
            </View><View style={{flexDirection:"row",width:"100%",position:"absolute",backgroundColor:"white",bottom:0}}>
                <TouchableOpacity style={{backgroundColor:"#FFD63A",width:"50%",paddingTop:21,paddingBottom:19}}>
                    <Text style={{textAlign:"center",fontWeight:"bold",fontSize:15}}>
                        탈퇴취소
                    </Text>

                </TouchableOpacity>
                <TouchableOpacity onPress={() => this.props.navigation.navigate("Phone_Check")} style={{backgroundColor:"white",width:"50%",paddingTop:21,paddingBottom:19}}>
                    <Text style={{textAlign:"center",fontWeight:"bold",fontSize:15}}>
                        탈퇴하기
                    </Text>

                </TouchableOpacity>
            </View>
            
            </View>
        );
    }
}
 
const style = StyleSheet.create({
    container: {
        flex: 1,
        alignItems: 'center',
        justifyContent: 'center',
    }
});