Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
vridge-docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
JIRA
JIRA
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Gyeongho Park
vridge-docs
Commits
d9892858
Commit
d9892858
authored
Feb 25, 2023
by
shj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ADD] 가이드 페이지네이션 개선, 반응형 적용
parent
465eea8a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
44 deletions
+66
-44
guide.scss
docs-front/assets/scss/guide.scss
+24
-11
index.vue
docs-front/pages/_guide/index.vue
+42
-33
No files found.
docs-front/assets/scss/guide.scss
View file @
d9892858
...
@@ -9,22 +9,19 @@
...
@@ -9,22 +9,19 @@
font-weight
:
400
;
font-weight
:
400
;
}
}
.guide-wrap-container
{
.guide-wrap-container
{
height
:
100%
;
padding-right
:
240px
;
padding-right
:
240px
;
}
}
.guide-wrap
{
.guide-wrap
{
min-height
:
90vh
!
important
;
height
:
100%
;
max-width
:
1280px
!
important
;
max-width
:
1280px
!
important
;
margin
:
0
auto
;
margin
:
0
auto
;
margin-top
:
36px
;
margin-bottom
:
36px
;
margin-bottom
:
36px
;
padding
:
36px
;
padding
:
36px
;
background-color
:
#fff
!
important
;
background-color
:
#fff
!
important
;
position
:
relative
;
position
:
relative
;
.guide-wrap-header
{
.guide-wrap-header
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
min-height
:
120px
;
min-height
:
120px
;
padding
:
36px
;
padding
:
36px
;
...
@@ -46,7 +43,8 @@
...
@@ -46,7 +43,8 @@
}
}
.guide-content
{
.guide-content
{
margin-top
:
130px
;
margin-top
:
30px
;
margin-bottom
:
60px
;
width
:
100%
!
important
;
width
:
100%
!
important
;
h2
{
h2
{
...
@@ -56,16 +54,16 @@
...
@@ -56,16 +54,16 @@
padding-bottom
:
12px
;
padding-bottom
:
12px
;
margin-top
:
48px
;
margin-top
:
48px
;
margin-bottom
:
24px
;
margin-bottom
:
24px
;
&
:nth-child
(
1
)
{
margin-top
:
20px
;
}
}
}
img
{
img
{
max-width
:
100%
!
important
;
max-width
:
100%
!
important
;
display
:
block
;
display
:
block
;
margin
:
0
auto
!
important
;
margin
:
0
auto
!
important
;
}
}
>
div
{
>
div
{
width
:
100%
;
width
:
100%
;
...
@@ -78,7 +76,22 @@
...
@@ -78,7 +76,22 @@
}
}
}
}
.pagination
{
position
:
absolute
;
bottom
:
0
;
left
:
0
;
width
:
100%
;
margin-bottom
:
20px
;
hr
{
min-width
:
100%
;
}
button
{
width
:
45%
;
max-width
:
300px
;
}
}
}
}
@media
screen
and
(
max-width
:
1080px
){
@media
screen
and
(
max-width
:
1080px
){
...
...
docs-front/pages/_guide/index.vue
View file @
d9892858
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
</span>
</span>
</v-row>
</v-row>
<v-row
class=
"guide-content pb-
16
"
no-gutters
>
<v-row
class=
"guide-content pb-
4
"
no-gutters
>
<v-skeleton-loader
<v-skeleton-loader
elevation=
"0"
elevation=
"0"
class=
"my-4"
class=
"my-4"
...
@@ -78,58 +78,67 @@
...
@@ -78,58 +78,67 @@
</vridge-dialog>
</vridge-dialog>
</div> -->
</div> -->
<div
v-if=
"!loading && guide && guide.content"
v-html=
"$md.render(guide.content)"
style=
"padding-bottom:200px;"
></div>
<div
v-if=
"!loading && guide && guide.content"
v-html=
"$md.render(guide.content)"
></div>
</v-row>
</v-row>
<v-divider
class=
"my-8"
/>
<v-row
v-if=
"!loading"
no-gutters
class=
"px-6 pagination"
>
<v-divider
class=
"my-3"
/>
<v-row
no-gutters
align=
"center"
>
<v-btn
<v-btn
class=
"primary--text"
:ripple=
"false"
height=
"64"
text
outlined
@
click=
"openGuide(guide.prevGuide)"
v-if=
"guide !== null && guide.prevGuide"
>
v-if=
"guide !== null"
<v-row
no-gutters
align=
"center"
>
:disabled=
"!guide.prevIndex"
<v-col
class=
"mr-8"
>
class=
"primary--text"
:style=
"guide.prevIndex ? '' : 'border: none;'"
:ripple=
"false"
height=
"64"
text
outlined
@
click=
"openGuide(guide.prevIndex)"
>
<v-row
v-if=
"guide.prevIndex"
no-gutters
align=
"center"
>
<v-col
cols=
"2"
sm=
"1"
>
<v-icon
left
>
mdi-chevron-left
</v-icon>
<v-icon
left
>
mdi-chevron-left
</v-icon>
</v-col>
</v-col>
<v-col
align=
"end"
justify
=
"end"
>
<v-col
cols=
"10"
sm=
"11"
align
=
"end"
>
<span
class=
"grey--text"
>
이전 페이지
</span>
<br/
>
<span
:style=
"`color: ${$vuetify.breakpoint.xsOnly ? '#1976d2' : 'grey'}`"
>
이전 페이지
</span
>
<span
style=
"font-size:1.1rem;
font-weight:bold;"
>
<span
class=
"d-none d-sm-flex flex-column"
style=
"font-size:1.1rem;
font-weight:bold;"
>
{{guide.prev
Guide
.title}}
{{guide.prev
Index
.title}}
</span>
</span>
</v-col>
</v-col>
</v-row>
<v-row
v-else
no-gutters
align=
"center"
>
</v-row>
</v-row>
</v-btn>
</v-btn>
<v-skeleton-loader
v-else-if=
"guide === null"
elevation=
"0"
type=
"button"
></v-skeleton-loader>
<v-spacer/>
<v-spacer/>
<v-btn
class=
"primary--text"
:ripple=
"false"
height=
"64"
text
outlined
@
click=
"openGuide(guide.nextGuide)"
v-if=
"guide !== null && guide.nextGuide"
>
<v-btn
v-if=
"guide !== null"
<v-row
no-gutters
align=
"center"
>
:disabled=
"!guide.nextIndex"
<v-col
align=
"start"
justify=
"start"
>
:style=
"guide.nextIndex ? '' : 'border: none;'"
<span
class=
"grey--text"
>
다음 페이지
</span>
<br/>
class=
"primary--text"
<span
style=
"font-size:1.1rem;font-weight:bold;"
>
:ripple=
"false"
{{ guide.nextGuide.title}}
height=
"64"
text
outlined
@
click=
"openGuide(guide.nextIndex)"
>
<v-row
v-if=
"guide.nextIndex"
no-gutters
align=
"center"
>
<v-col
cols=
"10"
sm=
"11"
align=
"start"
>
<span
:style=
"`color: ${$vuetify.breakpoint.xsOnly ? '#1976d2' : 'grey'}`"
>
다음 페이지
</span>
<span
class=
"d-none d-sm-flex flex-column"
style=
"font-size:1.1rem;font-weight:bold;"
>
{{ guide.nextIndex.title}}
</span>
</span>
</v-col>
</v-col>
<v-col
c
lass=
"ml-8
"
>
<v-col
c
ols=
"2"
sm=
"1
"
>
<v-icon
right
>
mdi-chevron-right
</v-icon>
<v-icon
right
>
mdi-chevron-right
</v-icon>
</v-col>
</v-col>
</v-row>
</v-row>
<v-row
v-else
no-gutters
align=
"center"
>
</v-row>
</v-btn>
</v-btn>
<v-skeleton-loader
v-else-if=
"guide === null"
elevation=
"0"
type=
"button"
></v-skeleton-loader>
</v-row>
</v-row>
</v-container>
</v-container>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment