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

Merge branch 'writeFindPost.vue' into 'master'

UI update

See merge request !22
parents b67d7e73 db363712
No related branches found
No related tags found
1 merge request!22UI update
......@@ -9,9 +9,6 @@
<!-- <v-flex xs12 md4>
<v-text-field label="글 제목" v-model="findpost.title"/>
</v-flex> -->
<v-flex xs12 md12>
<v-text-field label="반려견 견종" v-model="petType" class="purple-input"/>
</v-flex>
<v-flex xs12 md12>
<v-text-field label="발견장소" v-model="findPlace" class="purple-input"/>
</v-flex>
......@@ -22,12 +19,15 @@
<v-textarea label="내용" v-model="body" class="purple-input" />
</v-flex>
<v-flex xs12 md12>
<file-input label="File input"></file-input>
<file-input label="견종분류"></file-input>
<input type="file" label="photo input" @change="fileSeleted">
<v-btn color="green" @click="sendFile">Send</v-btn>
<v-btn color="green" @click="sendFile">유사견종</v-btn>
</v-flex>
{{result}}
확률이 높은 견종 : {{result}}
<v-flex xs12 text-xs-right>
<v-flex xs12 md12>
<v-text-field label="견종을 모를시엔 유사견종을 참고하세요." v-model="petType" class="purple-input"/>
</v-flex>
<v-btn class="mx-0 font-weight-light" color="success" @click="onClicked">작성 완료</v-btn>
</v-flex>
</v-layout>
......@@ -92,7 +92,7 @@ export default {
console.log(`${key}`);
}
this.$http.post('/finderboard/image',formData,config).then((respose)=>{
this.result = respose.data.result;
this.result = respose.data.result[0];
}).catch((err)=>{
alert(err.message);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment