Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
FE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ajou-WSD-Team6
FE
Commits
db363712
Commit
db363712
authored
5 years ago
by
최지원
Browse files
Options
Downloads
Patches
Plain Diff
UI update
parent
b67d7e73
Branches
Branches containing commit
No related tags found
1 merge request
!22
UI update
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/views/WriteFindPost.vue
+7
-7
7 additions, 7 deletions
src/views/WriteFindPost.vue
with
7 additions
and
7 deletions
src/views/WriteFindPost.vue
+
7
−
7
View file @
db363712
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment