Skip to content
Snippets Groups Projects
Commit 3d9f1358 authored by 최지원's avatar 최지원
Browse files

aborting unneeded files.

parent d4c8ac72
No related branches found
No related tags found
1 merge request!18aborting unneeded files.
<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
<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>
<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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment