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
2f1e0214
Commit
2f1e0214
authored
Aug 10, 2021
by
yuanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹框
parent
274e88b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
7 deletions
+20
-7
Left.vue
src/pages/index/Left.vue
+20
-7
studentDemeanor.jpg
static/images/index/studentDemeanor.jpg
+0
-0
No files found.
src/pages/index/Left.vue
View file @
2f1e0214
...
...
@@ -99,15 +99,20 @@
</vue-seamless-scroll>
</div>
</div>
<!-- 弹框 -->
<popup-frame
:visible=
"visible"
:layout=
"
{width: '960px', height: '543px'}" @beforeClose="closePopup">
<img
src=
"../../../static/images/index/studentDemeanor.jpg"
alt=
"弹框"
>
</popup-frame>
</div>
</
template
>
<
script
>
import
TitleLine
from
'@/components/TitleLine'
import
BarChart
from
'@/components/echarts/BarChart.vue'
import
PieChart
from
'@/components/echarts/PieChart.vue'
import
LineChart
from
'@/components/echarts/LineChart.vue'
import
Swiper
from
'@/components/Swiper'
import
TitleLine
from
'components/TitleLine'
import
BarChart
from
'components/echarts/BarChart.vue'
import
PieChart
from
'components/echarts/PieChart.vue'
import
LineChart
from
'components/echarts/LineChart.vue'
import
Swiper
from
'components/Swiper'
import
PopupFrame
from
'components/PopupFrame.vue'
import
{
swiperSlide
}
from
'vue-awesome-swiper'
import
utils
from
'utils'
export
default
{
...
...
@@ -119,7 +124,8 @@ export default {
PieChart
,
LineChart
,
Swiper
,
swiperSlide
swiperSlide
,
PopupFrame
},
filters
:
{
...
...
@@ -185,7 +191,9 @@ export default {
step
:
0.35
,
singleHeight
:
50
},
greatKey
:
0
greatKey
:
0
,
// 弹框是否显示
visible
:
false
}
},
...
...
@@ -385,6 +393,11 @@ export default {
// 打开学员风采弹框
openStudent
(
index
)
{
console
.
log
(
index
)
this
.
visible
=
true
},
// 关闭弹框
closePopup
(
data
)
{
this
.
visible
=
data
},
// 把数组中的key转成name
formatArr
(
arr
)
{
...
...
static/images/index/studentDemeanor.jpg
0 → 100644
View file @
2f1e0214
199 KB
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