Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-web
Project
Project
Details
Activity
Releases
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
中通客车项目
zhongtong-avi-web
Commits
5be99869
Commit
5be99869
authored
Nov 02, 2019
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fea(AVI轮播): AVI详情工作区轮播效果开发
parent
205bbe15
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
137 additions
and
10 deletions
+137
-10
route.js
src/lang/zh/route.js
+4
-1
permission.js
src/permission.js
+2
-1
index.js
src/router/index.js
+31
-8
index.vue
src/views/Monitor/CarouselAvi/index.vue
+100
-0
No files found.
src/lang/zh/route.js
View file @
5be99869
...
@@ -48,5 +48,8 @@ export default {
...
@@ -48,5 +48,8 @@ export default {
StationPaintingWorkShop
:
'涂装车间'
,
StationPaintingWorkShop
:
'涂装车间'
,
// 监控大屏
// 监控大屏
CenterControl
:
'监控大屏'
,
CenterControl
:
'监控大屏'
,
CenterControlIndex
:
'监控大屏'
CenterControlIndex
:
'监控大屏'
,
// 轮播AVI
CarouselAvi
:
'AVI轮播'
,
CarouselAviIndex
:
'AVI轮播'
}
}
src/permission.js
View file @
5be99869
...
@@ -27,7 +27,8 @@ const whiteList = [
...
@@ -27,7 +27,8 @@ const whiteList = [
'/monitor/monitorPutty'
,
'/monitor/monitorPutty'
,
'/monitor/monitorMiddleCoat'
,
'/monitor/monitorMiddleCoat'
,
'/monitor/monitorComplexionPaint'
,
'/monitor/monitorComplexionPaint'
,
'/monitor/monitorFinishedCar'
'/monitor/monitorFinishedCar'
,
'/carouselAvi/index'
]
]
NProgress
.
configure
({
NProgress
.
configure
({
...
...
src/router/index.js
View file @
5be99869
...
@@ -49,6 +49,21 @@ export const constantRouterMap = [{
...
@@ -49,6 +49,21 @@ export const constantRouterMap = [{
component
:
()
=>
import
(
'@/views/ErrorPage/401'
),
component
:
()
=>
import
(
'@/views/ErrorPage/401'
),
hidden
:
true
hidden
:
true
},
},
{
path
:
'/carouselAvi'
,
component
:
()
=>
import
(
'@/views/Layout/lsd'
),
redirect
:
'/carouselAvi/index'
,
meta
:
{
title
:
'CarouselAvi'
,
icon
:
'template'
,
openNewWindow
:
true
},
hidden
:
true
,
children
:
[
{
path
:
'index'
,
component
:
()
=>
import
(
'@/views/Monitor/CarouselAvi/index'
),
name
:
'CarouselAviIndex'
,
meta
:
{
title
:
'CarouselAviIndex'
,
icon
:
'template'
}
}
]
},
{
{
path
:
'/led'
,
path
:
'/led'
,
component
:
()
=>
import
(
'@/views/Layout/lsd'
),
component
:
()
=>
import
(
'@/views/Layout/lsd'
),
...
@@ -57,49 +72,57 @@ export const constantRouterMap = [{
...
@@ -57,49 +72,57 @@ export const constantRouterMap = [{
hidden
:
true
,
hidden
:
true
,
children
:
[
children
:
[
{
{
path
:
'stationElectrophoresis'
,
//电泳
//电泳
path
:
'stationElectrophoresis'
,
component
:
()
=>
import
(
'@/views/Led/Station/electrophoresis'
),
component
:
()
=>
import
(
'@/views/Led/Station/electrophoresis'
),
name
:
'StationElectrophoresis'
,
name
:
'StationElectrophoresis'
,
meta
:
{
title
:
'StationElectrophoresis'
,
icon
:
'template'
}
meta
:
{
title
:
'StationElectrophoresis'
,
icon
:
'template'
}
},
},
{
{
path
:
'stationInsulatingAnticorrosive'
,
//隔热防腐
//隔热防腐
path
:
'stationInsulatingAnticorrosive'
,
component
:
()
=>
import
(
'@/views/Led/Station/insulatingAnticorrosive'
),
component
:
()
=>
import
(
'@/views/Led/Station/insulatingAnticorrosive'
),
name
:
'StationInsulatingAnticorrosive'
,
name
:
'StationInsulatingAnticorrosive'
,
meta
:
{
title
:
'stationInsulatingAnticorrosive'
,
icon
:
'template'
}
meta
:
{
title
:
'stationInsulatingAnticorrosive'
,
icon
:
'template'
}
},
},
{
{
path
:
'stationPutty'
,
//腻子
//腻子
path
:
'stationPutty'
,
component
:
()
=>
import
(
'@/views/Led/Station/putty'
),
component
:
()
=>
import
(
'@/views/Led/Station/putty'
),
name
:
'StationPutty'
,
name
:
'StationPutty'
,
meta
:
{
title
:
'StationPutty'
,
icon
:
'template'
}
meta
:
{
title
:
'StationPutty'
,
icon
:
'template'
}
},
},
{
{
path
:
'stationApplyArtificial'
,
//中涂人工
//中涂人工
path
:
'stationApplyArtificial'
,
component
:
()
=>
import
(
'@/views/Led/Station/applyArtificial'
),
component
:
()
=>
import
(
'@/views/Led/Station/applyArtificial'
),
name
:
'StationApplyArtificial'
,
name
:
'StationApplyArtificial'
,
meta
:
{
title
:
'StationApplyArtificial'
,
icon
:
'template'
}
meta
:
{
title
:
'StationApplyArtificial'
,
icon
:
'template'
}
},
},
{
{
path
:
'stationFloatingCoatRobot'
,
//中涂机器人
//中涂机器人
path
:
'stationFloatingCoatRobot'
,
component
:
()
=>
import
(
'@/views/Led/Station/floatingCoatRobot'
),
component
:
()
=>
import
(
'@/views/Led/Station/floatingCoatRobot'
),
name
:
'StationFloatingCoatRobot'
,
name
:
'StationFloatingCoatRobot'
,
meta
:
{
title
:
'StationFloatingCoatRobot'
,
icon
:
'template'
}
meta
:
{
title
:
'StationFloatingCoatRobot'
,
icon
:
'template'
}
},
},
{
{
path
:
'stationSurfaceVarnish'
,
//面/清漆
//面/清漆
path
:
'stationSurfaceVarnish'
,
component
:
()
=>
import
(
'@/views/Led/Station/surfaceVarnish'
),
component
:
()
=>
import
(
'@/views/Led/Station/surfaceVarnish'
),
name
:
'StationSurfaceVarnish'
,
name
:
'StationSurfaceVarnish'
,
meta
:
{
title
:
'StationSurfaceVarnish'
,
icon
:
'template'
}
meta
:
{
title
:
'StationSurfaceVarnish'
,
icon
:
'template'
}
},
},
{
{
path
:
'stationSprayDryingRoom'
,
//喷漆室,烘干室
//喷漆室,烘干室
path
:
'stationSprayDryingRoom'
,
component
:
()
=>
import
(
'@/views/Led/Station/sprayDryingRoom'
),
component
:
()
=>
import
(
'@/views/Led/Station/sprayDryingRoom'
),
name
:
'StationSprayDryingRoom'
,
name
:
'StationSprayDryingRoom'
,
meta
:
{
title
:
'StationSprayDryingRoom'
,
icon
:
'template'
}
meta
:
{
title
:
'StationSprayDryingRoom'
,
icon
:
'template'
}
},
},
{
{
path
:
'stationPaintingWorkShop'
,
//涂装车间
//涂装车间
path
:
'stationPaintingWorkShop'
,
component
:
()
=>
import
(
'@/views/Led/Station/paintingWorkShop'
),
component
:
()
=>
import
(
'@/views/Led/Station/paintingWorkShop'
),
name
:
'StationPaintingWorkShop'
,
name
:
'StationPaintingWorkShop'
,
meta
:
{
title
:
'StationPaintingWorkShop'
,
icon
:
'template'
}
meta
:
{
title
:
'StationPaintingWorkShop'
,
icon
:
'template'
}
...
...
src/views/Monitor/CarouselAvi/index.vue
0 → 100644
View file @
5be99869
<
template
>
<!-- AVI详情工作区轮播 -->
<div
class=
"swiper-pack"
>
<swiper
:options=
"swiperOption"
ref=
"mySwiper"
>
<!-- 钣金车 -->
<swiper-slide>
<SheetMetalCar></SheetMetalCar>
</swiper-slide>
<!-- 电泳 -->
<swiper-slide>
<Electroporesis></Electroporesis>
</swiper-slide>
<!-- 密封防腐 -->
<swiper-slide>
<SealedAnticorrosion></SealedAnticorrosion>
</swiper-slide>
<!-- 腻子 -->
<swiper-slide>
<Putty></Putty>
</swiper-slide>
<!-- 中涂 -->
<swiper-slide>
<MiddleCoat></MiddleCoat>
</swiper-slide>
<!-- 面/色漆 -->
<swiper-slide>
<ComplexionPaint></ComplexionPaint>
</swiper-slide>
<!-- 成品 -->
<swiper-slide>
<FinishedCar></FinishedCar>
</swiper-slide>
</swiper>
</div>
</
template
>
<
script
>
import
{
swiper
,
swiperSlide
}
from
'vue-awesome-swiper'
// 钣金车
import
SheetMetalCar
from
'../components/SheetMetalCar'
// 电泳
import
Electroporesis
from
'../components/Electrophoresis'
// 密封防腐
import
SealedAnticorrosion
from
'../components/SealedAnticorrosion'
// 腻子
import
Putty
from
'../components/Putty'
// 中涂
import
MiddleCoat
from
'../components/MiddleCoat'
// 面/色漆
import
ComplexionPaint
from
'../components/ComplexionPaint'
// 成品
import
FinishedCar
from
'../components/FinishedCar'
export
default
{
name
:
'CarouselAviIndex'
,
components
:
{
swiper
,
swiperSlide
,
SheetMetalCar
,
Electroporesis
,
SealedAnticorrosion
,
Putty
,
MiddleCoat
,
ComplexionPaint
,
FinishedCar
},
data
()
{
return
{
// swiper配置信息
swiperOption
:
{
autoplay
:
{
delay
:
8000
,
loop
:
true
}
}
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.swiper-pack
{
min-height
:
100%
;
background
:
rgba
(
0
,
7
,
12
,
1
);
.swiper-container
{
.swiper-wrapper
{
.swiper-slide
{
width
:
1600px
;
height
:
900px
;
overflow
:
hidden
;
}
}
}
}
</
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