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
1a0d69ae
Commit
1a0d69ae
authored
Apr 25, 2023
by
shj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ADD] 가이드 목차 관리 - 비밀번호 확인 후 접근 가능하도록 수정
parent
10c8da3f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
70 additions
and
42 deletions
+70
-42
default.vue
docs-front/layouts/default.vue
+70
-42
No files found.
docs-front/layouts/default.vue
View file @
1a0d69ae
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
<div
class=
"search-container"
v-show=
"showSearch"
>
<div
class=
"search-container"
v-show=
"showSearch"
>
<v-text-field
<v-text-field
v-model=
"keyword"
v-model=
"keyword"
@
keydown
.
enter=
"
editOn
"
@
keydown
.
enter=
"
loadPWDialog
"
:maxlength=
"50"
:maxlength=
"50"
solo
solo
dense
dense
...
@@ -161,8 +161,22 @@
...
@@ -161,8 +161,22 @@
<v-progress-linear
absolute
bottom
:value=
"scrollPositionRate"
height=
"1"
background-color=
"#eee"
color=
"primary"
style=
"transition:none !important;"
/>
<v-progress-linear
absolute
bottom
:value=
"scrollPositionRate"
height=
"1"
background-color=
"#eee"
color=
"primary"
style=
"transition:none !important;"
/>
<v-dialog
v-model=
"editDialogPWActive"
width=
"200"
>
<v-form
class=
"pa-5"
@
submit
.
prevent
>
<span>
비밀번호를 입력하세요.
</span>
<v-text-field
id=
"editModePWInput"
v-model=
"editDialogPW"
type=
"password"
autofocus
@
keydown
.
enter=
"checkEditModePW"
/>
</v-form>
</v-dialog>
<v-dialog
<v-dialog
v-model=
"editDialogActive"
v-model=
"editDialogActive"
content-class=
"edit-dialog"
>
>
<div
class=
"edit-dialog-container"
>
<div
class=
"edit-dialog-container"
>
<h2
class=
"pa-4 text-center"
>
인덱스 관리
</h2>
<h2
class=
"pa-4 text-center"
>
인덱스 관리
</h2>
...
@@ -306,6 +320,8 @@ export default{
...
@@ -306,6 +320,8 @@ export default{
// 인덱스 관리
// 인덱스 관리
editDialogActive
:
false
,
editDialogActive
:
false
,
editDialogPWActive
:
false
,
editDialogPW
:
''
,
editModeList
:
[],
editModeList
:
[],
editModeRemainList
:
[],
editModeRemainList
:
[],
editFormMethod
:
''
,
editFormMethod
:
''
,
...
@@ -405,10 +421,19 @@ export default{
...
@@ -405,10 +421,19 @@ export default{
}
}
})
})
},
},
editOn
(){
loadPWDialog
(){
if
(
this
.
keyword
===
'열려라 문'
){
if
(
this
.
keyword
===
'열려라 문'
){
this
.
editDialogPWActive
=
true
}
},
checkEditModePW
(){
if
(
this
.
editDialogPW
===
'vaz1l-9633!'
){
this
.
editDialogPWActive
=
false
this
.
editDialogActive
=
true
this
.
editDialogActive
=
true
this
.
$store
.
commit
(
'setEditMode'
,
true
)
this
.
$store
.
commit
(
'setEditMode'
,
true
)
this
.
editDialogPW
=
''
}
else
{
alert
(
'비밀번호가 일치하지 않습니다.'
)
}
}
},
},
setEditTarget
(
item
){
setEditTarget
(
item
){
...
@@ -626,9 +651,11 @@ export default{
...
@@ -626,9 +651,11 @@ export default{
}
}
.v-dialog
{
.v-dialog
{
background-color
:
white
;
&
.edit-dialog
{
width
:
70vw
!
important
;
width
:
70vw
!
important
;
height
:
80vh
;
height
:
80vh
;
background-color
:
white
;
.edit-dialog-container
{
.edit-dialog-container
{
height
:
100%
;
height
:
100%
;
...
@@ -680,6 +707,7 @@ export default{
...
@@ -680,6 +707,7 @@ export default{
}
}
}
}
}
}
}
}
}
html
.search-on
{
html
.search-on
{
@media
screen
and
(
max-width
:
600px
)
{
@media
screen
and
(
max-width
:
600px
)
{
...
...
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