Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
ZhangJianFrontEnd
Overview
Overview
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
vue-project
ZhangJian
ZhangJianFrontEnd
Commits
2654119f
Commit
2654119f
authored
Aug 10, 2021
by
wangr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
bc5a85cf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
2 deletions
+28
-2
Right.vue
src/pages/index/Right.vue
+28
-2
No files found.
src/pages/index/Right.vue
View file @
2654119f
...
@@ -38,9 +38,12 @@
...
@@ -38,9 +38,12 @@
<popup-frame
<popup-frame
:visible
.
sync=
"showVisible"
:visible
.
sync=
"showVisible"
@
beforeClose=
"beforeCloses"
@
beforeClose=
"beforeCloses"
class=
"topic-frame"
>
>
<div
class=
"img"
>
<div
class=
"img"
>
<img
src=
"../../../static/images/index/supply-demand2.jpg"
alt=
""
>
<img
src=
"../../../static/images/index/supply-demand1.jpg"
alt=
""
v-show=
"topicShow"
>
<img
src=
"../../../static/images/index/supply-demand2.jpg"
alt=
""
v-show=
"!topicShow"
>
<div
class=
"button"
@
click=
"topicChange"
></div>
</div>
</div>
</popup-frame>
</popup-frame>
<div
class=
"right-bottom"
>
<div
class=
"right-bottom"
>
...
@@ -227,7 +230,8 @@ export default {
...
@@ -227,7 +230,8 @@ export default {
img
:
'../../../static/images/index/topic-bg1.png'
img
:
'../../../static/images/index/topic-bg1.png'
}
}
]
],
topicShow
:
true
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -542,7 +546,12 @@ export default {
...
@@ -542,7 +546,12 @@ export default {
// 关闭交流会/专题弹框弹框前的回调
// 关闭交流会/专题弹框弹框前的回调
beforeCloses
(
flag
)
{
beforeCloses
(
flag
)
{
this
.
showVisible
=
flag
this
.
showVisible
=
flag
},
// 交流会/专题弹框切换
topicChange
()
{
this
.
topicShow
=
!
this
.
topicShow
}
}
}
}
}
}
</
script
>
</
script
>
...
@@ -783,5 +792,21 @@ export default {
...
@@ -783,5 +792,21 @@ export default {
}
}
}
}
}
}
.topic-frame
{
width
:
100%
;
height
:
100%
;
.img{
position
:
relative
;
width
:
100%
;
height
:
100%
;
.button{
width
:
50px
;
height
:
100px
;
position
:
absolute
;
top
:
40%
;
right
:
10px
;
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
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