Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dd2de9ee
authored
Apr 11, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 增加切换关闭弹框
1 parent
aa927852
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
pages/detail/components/Media_1.vue
pages/detail/detail.vue
pages/detail/components/Media_1.vue
View file @
dd2de9e
...
@@ -193,6 +193,11 @@ export default {
...
@@ -193,6 +193,11 @@ export default {
showPopup
(
e
)
{
showPopup
(
e
)
{
this
.
$refs
[
e
].
open
()
this
.
$refs
[
e
].
open
()
},
},
closeAllPopup
(){
this
.
$refs
.
carBrandListVisible
.
close
()
this
.
$refs
.
carBoxVisible
.
close
()
this
.
$refs
.
employeeBoxVisible
.
close
()
}
}
}
}
}
</
script
>
</
script
>
...
...
pages/detail/detail.vue
View file @
dd2de9e
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<media
_1
<media
_1
:views=
"media[1]"
:views=
"media[1]"
:penSwitch=
"penSwitch"
:penSwitch=
"penSwitch"
ref=
"media1"
/>
/>
</view>
</view>
<view
:class=
"['view',
{ showView: id == 2 }]">
<view
:class=
"['view',
{ showView: id == 2 }]">
...
@@ -168,6 +169,7 @@ export default {
...
@@ -168,6 +169,7 @@ export default {
},
},
/**切换素材 */
/**切换素材 */
choose
(
e
)
{
choose
(
e
)
{
if
(
this
.
id
==
1
)
this
.
$refs
.
media1
.
closeAllPopup
()
this
.
id
=
e
.
id
;
this
.
id
=
e
.
id
;
this
.
getFindSoureDetail
(
e
.
id
);
this
.
getFindSoureDetail
(
e
.
id
);
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment