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

UI update

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