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
1fe6215d
Commit
1fe6215d
authored
Aug 16, 2021
by
yuanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
599bd4fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
Left.vue
src/pages/index/Left.vue
+8
-3
No files found.
src/pages/index/Left.vue
View file @
1fe6215d
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
</div>
</div>
<!-- 弹框 -->
<!-- 弹框 -->
<popup-frame
:visible=
"visible"
:layout=
"
{width: '960px', height: '540px'}" @beforeClose="closePopup">
<popup-frame
:visible=
"visible"
:layout=
"
{width: '960px', height: '540px'}" @beforeClose="closePopup">
<img
:src=
"
require('../../../static/images/index/studentDemeanor' + picIndex + '.png')
"
alt=
"弹框"
>
<img
:src=
"
pics[picIndex]
"
alt=
"弹框"
>
</popup-frame>
</popup-frame>
</div>
</div>
</
template
>
</
template
>
...
@@ -193,7 +193,12 @@ export default {
...
@@ -193,7 +193,12 @@ export default {
greatKey
:
0
,
greatKey
:
0
,
// 弹框是否显示
// 弹框是否显示
visible
:
false
,
visible
:
false
,
picIndex
:
1
picIndex
:
1
,
pics
:
[
require
(
'../../../static/images/index/studentDemeanor1.png'
),
require
(
'../../../static/images/index/studentDemeanor2.png'
),
require
(
'../../../static/images/index/studentDemeanor3.png'
)
]
}
}
},
},
...
@@ -392,7 +397,7 @@ export default {
...
@@ -392,7 +397,7 @@ export default {
},
},
// 打开学员风采弹框
// 打开学员风采弹框
openStudent
(
index
)
{
openStudent
(
index
)
{
this
.
picIndex
=
index
+
1
this
.
picIndex
=
index
this
.
visible
=
true
this
.
visible
=
true
},
},
// 关闭弹框
// 关闭弹框
...
...
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