<template>
    <div class="admin-wrap">
        <div class="content-box">
            <div class="title-wrap">
                <h2 class="main-title">홍보 / news</h2>
            </div>
            <div class="content-wrap">
                <table class="insert-table">
                    <tbody>
                        <tr>
                            <th>제목</th>
                            <td><input type="text" name="" id="newsTitle"></td>
                        </tr>
                        <tr>
                            <th>내용</th>
                            <td><textarea name="" id="" cols="30" rows="10"></textarea></td>
                        </tr>
                    </tbody>
                </table>
                <div class="btn-wrap">
                    <button class="dark-gray-btn" @click="selectList">이전</button>
                    <button class="blue-btn">글쓰기</button>
                </div>
            </div>
        </div>
    </div>
</template>
<script>


export default {

    data() {
        return {};
    },
    methods: {
        selectList:function(){
            this.$router.push({ path: '/adm/newsSelectList.page'});
        }
    },
    watch: {},
    computed: {},
    components: {},
    mounted() {
    }
};
</script>
<style scoped>
.news-wrap,
.content-box {
    width: 100%;
    height: 100%;
    font-size: 1.3rem;
}

.insert-table {
    border-top: 3px solid #ddd;
    border-bottom: 3px solid #ddd;
}

textarea{
    width: 100%;
    height: 450px;
}

.dark-gray-btn{
    margin-right: 5px;
}
</style>
