diff --git a/src/views/FindPost.vue b/src/views/FindPost.vue deleted file mode 100644 index 1995bfc7a649417ef470043dd6ddab2819f92de5..0000000000000000000000000000000000000000 --- a/src/views/FindPost.vue +++ /dev/null @@ -1,93 +0,0 @@ -<template> - <div id="app"> - <section id="write"> - <br><br> - <input v-model="title" placeholder="글 제목"> - <br><br> - <input v-model="body" placeholder="내용"> - <br><br> - <input v-model="petName" placeholder="반려견 이름"> - <br><br> - <input v-model="petSex" placeholder="반려견 성별"> - <br><br> - <input v-model="petType" placeholder="반려견 견종"> - <br><br> - <input v-model="findPlace" placeholder="발견한 장소"> - <br><br> - <input v-model="findDate" placeholder="발견 일시"> - <br><br> - <input v-model="money" placeholder="사례금(만원)"> - <br><br> - <input type="file" @change="fileSeleted"> - <button v-on:click="sendFile">send</button> - </section> - </div> -</template> - -<script> -export default { - data(){ - return{ - title: '', - body: '', - created: '', - writer: '', - petName: '', - petSex: '', - petType: '', - findPlace: '', - findDate: '', - money: 0, - comment:[{ - body:'', - writer:'', - created:'', - }] - } - }, - methods: { - clicked: function(){ - this.$http.post('/finderboard',{ - body: this.body, - findPlace: this.findPlace, - petType: this.petType, - }).then((response) => { - alert("글 작성 버튼 클릭됨", response) - this.$router.push('/finderboard') - }).catch((err) => { - alert("Error", err) - }) - }, - sendFile:function(){ - var formData=new FormData(); - var config={ - header:{'Content-Type': 'multipart/form-data'} - }; - console.log(this.file); - formData.append('img',this.file); - formData.append('body',this.body); - formData.append('petName',this.petName); - formData.append('petSex',this.petSex); - formData.append('petType',this.petType); - formData.append('lostPlace',this.lostPlace); - formData.append('lostDate',this.lostDate); - formData.append('money',this.money); - - for(let key of formData.entries()){ - console.log(`${key}`); - } - - this.$http.post('/losterboard',formData,config).then((response) => { - console.log(response); - this.$router.push('/losterboard') - }).catch((err) => { - alert(err); - }) - } - } -} -</script> - -<style> - -</style> \ No newline at end of file diff --git a/src/views/Maps.vue b/src/views/Maps.vue deleted file mode 100644 index 14d29e404adb7bbf986599335bb0ac9208297c4d..0000000000000000000000000000000000000000 --- a/src/views/Maps.vue +++ /dev/null @@ -1,33 +0,0 @@ -<template> - <div> - <div class="mapouter"> - <div class="gmap_canvas"> - <iframe - id="gmap_canvas" - width="100%" - height="100%" - src="https://maps.google.com/maps?q=google&t=&z=13&ie=UTF8&iwloc=&output=embed" - frameborder="0" - scrolling="no" - marginheight="0" - marginwidth="0" - /> - </div> - </div> - </div> -</template> - -<style> -.mapouter { - text-align:right; - height:100%; - width:100%; - position: absolute; -} -.gmap_canvas { - overflow:hidden; - background:none!important; - height:100%; - width:100%; -} -</style> diff --git a/src/views/Upgrade.vue b/src/views/Upgrade.vue deleted file mode 100644 index a8bb5f67ca7c31d5ac192acffbb133dbf85d6174..0000000000000000000000000000000000000000 --- a/src/views/Upgrade.vue +++ /dev/null @@ -1,68 +0,0 @@ -<template> - <v-container> - <v-layout justify-center> - <v-flex xs12 sm10 md8> - <material-card color="primary" title="Vuetify Material Dashboard PRO" text="Are you looking for more components? Please check our Premium Version of Vuetify Material Dashboard PRO."> - <table class="v-table"> - <thead> - <tr> - <th/> - <th class="subheading font-weight-light">Free</th> - <th class="subheading font-weight-light">PRO</th> - </tr> - </thead> - <tbody class="text-xs-center"> - <tr> - <th class="text-xs-left font-weight-light subheading">Components</th> - <td>60</td> - <td>200</td> - </tr> - <tr> - <th class="text-xs-left font-weight-light subheading">Plugins</th> - <td>2</td> - <td>4</td> - </tr> - <tr> - <th class="text-xs-left font-weight-light subheading">Example Pages</th> - <td>3</td> - <td>8</td> - </tr> - <tr> - <th class="text-xs-left font-weight-light subheading">Login, Register, Pricing, Lock Pages</th> - <td> - <v-icon color="error">mdi-close</v-icon> - </td> - <td> - <v-icon color="success">mdi-check</v-icon> - </td> - </tr> - <tr> - <th class="text-xs-left font-weight-light subheading">Premium Support</th> - <td> - <v-icon color="error">mdi-close</v-icon> - </td> - <td> - <v-icon color="success">mdi-check</v-icon> - </td> - </tr> - <tr> - <th/> - <td>Free</td> - <td>Just for <b class="subheading">$79</b></td> - </tr> - <tr> - <th/> - <td> - <v-btn color="grey" disabled>Current Version</v-btn> - </td> - <td> - <v-btn color="success" target="_blank" href="https://www.creative-tim.com/product/vuetify-material-dashboard-pro?ref=vtymd-upgrade-page">Upgrade to Pro</v-btn> - </td> - </tr> - </tbody> - </table> - </material-card> - </v-flex> - </v-layout> - </v-container> -</template>