Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
triplan_front
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
Jaehoon Pae
triplan_front
Commits
5f3b652f
Commit
5f3b652f
authored
5 years ago
by
DEVSI
Browse files
Options
Downloads
Patches
Plain Diff
mypage ui
parent
e535a0aa
No related branches found
No related tags found
1 merge request
!44
mypage ui
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/views/MyPage.vue
+25
-17
25 additions, 17 deletions
src/views/MyPage.vue
with
25 additions
and
17 deletions
src/views/MyPage.vue
+
25
−
17
View file @
5f3b652f
<
template
>
<div
id=
"mypage"
>
<h1>
마이 페이지
</h1>
<table>
<table
class=
"table table-striped table-responsive-sm"
style=
"width:400px"
>
<tr>
<td>
이름
</td>
<td>
{{
user
.
user_name
}}
</td>
</tr>
<tr>
<tr
class=
"table-success"
>
<td>
아이디
</td>
<td>
{{
user
.
user_id
}}
</td>
</tr>
...
...
@@ -14,7 +14,7 @@
<td>
이메일
</td>
<td>
{{
user
.
user_email
}}
</td>
</tr>
<tr>
<tr
class=
"table-success"
>
<td>
성별
</td>
<td
v-if=
"user.user_gender"
>
남
</td>
<td
v-else
>
여
</td>
...
...
@@ -23,22 +23,24 @@
<td>
연락처
</td>
<td>
{{
user
.
user_phone
}}
</td>
</tr>
<h3
style=
"margin-left: 170px;"
>
내가 만든 일정 목록
</h3>
<div
v-if=
"tours.length===0"
style=
"margin-left: 170px;"
>
내가 만든 일정이 없습니다.
</div>
</table>
<h1>
내가 만든 일정 목록
</h1>
<table
class=
"table table-striped table-responsive-sm"
style=
"width:400px"
>
<div
v-if=
"tours.length===0"
>
내가 만든 일정이 없습니다.
</div>
<tr
v-else
>
<td
colspan=
"2"
>
<div
class=
"centered"
v-for=
"tour in tours"
:key=
"tour.idPlan"
>
<div
style=
"border: 3px solid #4cbaa8;; border-radius: 10%; margin:10px; padding: 10px
"
>
<div
class=
"card mt-3
"
>
<router-link
:to=
"
{ name: 'DetailTour', params: { id: tour.idPlan }}">
{{
tour
.
title
}}
<br><br>
{{
tour
.
depart_day
}}
~
{{
tour
.
arrive_day
}}
<br><br>
{{
tour
.
country_name
}}
<br><br>
<ul
class=
"list-group list-group-flush"
>
<li
class=
"list-group-item"
style=
"font-size:27px"
>
{{
tour
.
title
}}
</li>
<li
class=
"list-group-item"
>
{{
tour
.
depart_day
}}
~
{{
tour
.
arrive_day
}}
</li>
<li
class=
"list-group-item"
>
{{
tour
.
country_name
}}
</li>
</ul>
</router-link>
<button
@
click=
"clickToggleShare($event, tour.idPlan)"
>
{{
shareButtonText
(
tour
)
}}
</button>
<div
class=
"card-body"
>
<button
class=
"btn btn-outline-success"
@
click=
"clickToggleShare($event, tour.idPlan)"
>
{{
shareButtonText
(
tour
)
}}
</button>
</div>
</div>
</div>
</td>
...
...
@@ -89,17 +91,23 @@ export default {
}
</
script
>
<
style
>
*
{
color
:
#000000
;
}
#mypage
{
margin
:
15%
auto
auto
auto
}
table
{
margin
:
auto
;
padding
:
30px
;
text-align
:
center
;
border
:
4px
solid
#d6fff3
;
border-radius
:
5
px
;
font-family
:
'Nanum Pen Script'
,
cursive
!important
;
width
:
40
px
;
}
td
{
padding
:
10px
;
background-color
:
#d6fff3
;
}
h1
{
font-family
:
'Nanum Pen Script'
,
cursive
!important
;
}
</
style
>
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