Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mould-vuecli3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lhfe
mould-vuecli3
Commits
49057154
Commit
49057154
authored
Aug 27, 2020
by
Jeff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹窗
parent
56e2c783
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
6 deletions
+58
-6
index.vue
src/components/header/index.vue
+5
-5
modalLayer.vue
src/components/modal/modalLayer.vue
+4
-1
selectContent.vue
src/components/modal/selectContent.vue
+26
-0
selectModal.vue
src/components/modal/selectModal.vue
+23
-0
No files found.
src/components/header/index.vue
View file @
49057154
...
...
@@ -6,10 +6,10 @@
</div>
<tip-panel
/>
<div
class=
"show-
complete
"
@
click=
"show
Complete
Modal"
class=
"show-
modal
"
@
click=
"showModal"
>
show-
complete
show-
modal
</div>
</div>
</
template
>
...
...
@@ -25,8 +25,8 @@ export default {
created
()
{},
mounted
()
{},
methods
:
{
show
Complete
Modal
()
{
this
.
$modal
.
show
(
'
complete
Modal'
)
showModal
()
{
this
.
$modal
.
show
(
'
select
Modal'
)
}
}
}
...
...
src/components/modal/modalLayer.vue
View file @
49057154
<
template
>
<div
class=
"modal-layer"
>
<complete-modal
/>
<select-modal
/>
</div>
</
template
>
<
script
>
import
CompleteModal
from
'@/components/modal/completeModal'
import
SelectModal
from
'@/components/modal/selectModal'
export
default
{
components
:
{
CompleteModal
CompleteModal
,
SelectModal
},
data
()
{
return
{}
...
...
src/components/modal/selectContent.vue
0 → 100644
View file @
49057154
<
template
>
<div>
<div
class=
"close-btn"
@
click=
"close"
>
close
</div>
选择视频
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{}
},
methods
:
{
close
()
{
this
.
$modal
.
hide
(
'selectModal'
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
src/components/modal/selectModal.vue
View file @
49057154
<
template
>
<modal
name=
"selectModal"
:click-to-close=
"false"
>
<select-content
/>
</modal>
</
template
>
<
script
>
import
SelectContent
from
'./selectContent'
export
default
{
components
:
{
SelectContent
},
data
()
{
return
{}
},
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
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