Commit b9d00ddb by 前端

首页

1 parent de206edd

154 KB | W: | H:

61.6 KB | W: | H:

src/assets/images/viewEntireLifecycleOfCar/border_1.png
src/assets/images/viewEntireLifecycleOfCar/border_1.png
src/assets/images/viewEntireLifecycleOfCar/border_1.png
src/assets/images/viewEntireLifecycleOfCar/border_1.png
  • 2-up
  • Swipe
  • Onion skin

35.7 KB | W: | H:

49.5 KB | W: | H:

src/assets/images/viewEntireLifecycleOfCar/border_2.png
src/assets/images/viewEntireLifecycleOfCar/border_2.png
src/assets/images/viewEntireLifecycleOfCar/border_2.png
src/assets/images/viewEntireLifecycleOfCar/border_2.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.introduce-box { .introduce-box {
width: 492px; width: 800px;
height: 404px; height: 404px;
background: url('../assets/images/viewEntireLifecycleOfCar/border_1.png'); background: url('../assets/images/viewEntireLifecycleOfCar/border_1.png');
background-size: 100% 100%; background-size: 100% 100%;
...@@ -129,17 +129,17 @@ export default { ...@@ -129,17 +129,17 @@ export default {
&-content { &-content {
margin-top: 50px; margin-top: 50px;
font-size: 18px; font-size: 24px;
color: #dedede; color: #dedede;
letter-spacing: 0; letter-spacing: 0;
line-height: 40px; line-height: 52px;
} }
} }
.books-box { .books-box {
margin-top: 24px; margin-top: 24px;
width: 492px; width: 800px;
height: 496px; height: 467px;
background: url('../assets/images/viewEntireLifecycleOfCar/border_2.png'); background: url('../assets/images/viewEntireLifecycleOfCar/border_2.png');
background-size: 100% 100%; background-size: 100% 100%;
padding: 28px; padding: 28px;
...@@ -154,16 +154,18 @@ export default { ...@@ -154,16 +154,18 @@ export default {
.qualifications-list { .qualifications-list {
display: flex; display: flex;
gap: 17px; gap: 40px;
margin-top: 20px; margin-top: 20px;
.qualifications-item { .qualifications-item {
width: 134px; width: 220px;
height: 100px; height: 66px;
background: url('../assets/images/viewEntireLifecycleOfCar/q-border.png'); background: url('../assets/images/viewEntireLifecycleOfCar/q-border.png');
background-size: 100% 100%; background-size: 100% 100%;
padding: 16px 20px; padding: 25px 20px;
box-sizing: border-box; box-sizing: border-box;
display: flex;
align-items: center;
.qualifications-title { .qualifications-title {
font-size: 13px; font-size: 13px;
...@@ -174,14 +176,14 @@ export default { ...@@ -174,14 +176,14 @@ export default {
font-size: 28px; font-size: 28px;
color: #6578ff; color: #6578ff;
line-height: 36px; line-height: 36px;
margin-top: 10px;
font-weight: 700; font-weight: 700;
margin-left: 20px;
span { span {
font-weight: 500; font-weight: 500;
font-size: 16px; font-size: 16px;
color: #0ffadf; color: #0ffadf;
margin-left: -10px; margin-left: 10px;
&.f28 { &.f28 {
font-size: 28px; font-size: 28px;
...@@ -193,7 +195,7 @@ export default { ...@@ -193,7 +195,7 @@ export default {
.swiper-box { .swiper-box {
padding-top: 28px; padding-top: 28px;
height: 250px; height: 265px;
/deep/ { /deep/ {
.el-carousel__container { .el-carousel__container {
...@@ -221,21 +223,21 @@ export default { ...@@ -221,21 +223,21 @@ export default {
.swiper-body { .swiper-body {
display: flex; display: flex;
gap: 28px 17px; gap: 18px 34px;
flex-wrap: wrap; flex-wrap: wrap;
.books-item { .books-item {
width: 134px; width: 158px;
height: 96px; height: 106px;
background: url('../assets/images/viewEntireLifecycleOfCar/books-border.png'); background: url('../assets/images/viewEntireLifecycleOfCar/books-border.png');
background-size: 100% 100%; background-size: 100% 100%;
position: relative; position: relative;
padding: 8px; padding: 12px 8px;
box-sizing: border-box; box-sizing: border-box;
img { img {
width: 118px; width: 140px;
height: 80px; height: 84px;
opacity: 0.9; opacity: 0.9;
} }
} }
......
...@@ -17,10 +17,11 @@ ...@@ -17,10 +17,11 @@
<!-- 内容区域 开始 --> <!-- 内容区域 开始 -->
<div class="content"> <div class="content">
<transition :name="transitionName"> <transition :name="transitionName">
<video-page v-if="current == 0" />
<view-life-scene-data v-if="current == 2" /> <view-life-scene-data v-if="current == 2" />
<energy-car v-if="current == 1" /> <!-- <energy-car v-if="current == 1" /> -->
<view-operational v-if="current == 3" /> <view-operational v-if="current == 3" />
<view-entire-lifecycleOf-car v-if="current == 0" /> <view-entire-lifecycleOf-car v-if="current == 1" />
<!-- <GlskDataViewSceneIndex v-if="current == 4"></GlskDataViewSceneIndex> --> <!-- <GlskDataViewSceneIndex v-if="current == 4"></GlskDataViewSceneIndex> -->
</transition> </transition>
</div> </div>
...@@ -39,6 +40,7 @@ import ViewLifeSceneData from './pages/ViewLifeSceneData.vue' ...@@ -39,6 +40,7 @@ import ViewLifeSceneData from './pages/ViewLifeSceneData.vue'
import FixedArrow from '@/components/Arrow.vue' import FixedArrow from '@/components/Arrow.vue'
import ViewEntireLifecycleOfCar from './pages/viewEntireLifecycleOfCar.vue' import ViewEntireLifecycleOfCar from './pages/viewEntireLifecycleOfCar.vue'
import GlskDataViewSceneIndex from '../newPage/index.vue' import GlskDataViewSceneIndex from '../newPage/index.vue'
import videoPage from '@/views/videoPage/index.vue'
//energyCar ViewEntireLifecycleOfCar //energyCar ViewEntireLifecycleOfCar
import EnergyCar from '@/views/energyCar/index.vue' import EnergyCar from '@/views/energyCar/index.vue'
export default { export default {
...@@ -49,6 +51,7 @@ export default { ...@@ -49,6 +51,7 @@ export default {
FixedArrow, FixedArrow,
ViewEntireLifecycleOfCar, ViewEntireLifecycleOfCar,
EnergyCar, EnergyCar,
videoPage,
GlskDataViewSceneIndex GlskDataViewSceneIndex
}, },
data() { data() {
...@@ -56,11 +59,12 @@ export default { ...@@ -56,11 +59,12 @@ export default {
activeName: '', activeName: '',
current: 0, current: 0,
titleList: { titleList: {
0: '广联新能源车主服务行业大模型', 0: '让你的用车生活更美好',
1: '广联新能源车主服务行业大模型', 1: '广联新能源车主服务行业大模型',
2: '广联新能源车主服务行业大模型', 2: '广联新能源车主服务行业大模型',
3: '广联数科运营看板', 3: '广联新能源车主服务行业大模型',
4: '广联数科运营看板', 4: '广联数科运营看板',
5: '广联数科运营看板'
}, },
startX: 0, startX: 0,
moveX: 0, moveX: 0,
......
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
<div class="header"> <div class="header">
<div class="title">丰富的行业应用</div> <div class="title">丰富的行业应用</div>
<img class="bg" src="../../../assets/images/viewEntireLifecycleOfCar/header_ring.png" alt="" /> <img class="bg" src="../../../assets/images/viewEntireLifecycleOfCar/header_ring.png" alt="" />
<div v-for="(item, index) in headerLabelList" :key="index" <div v-for="(item, index) in headerLabelList" :key="index" :class="['item_' + `${index + 1}`, item.footer ? '' : 'oneLine']" class="item">
:class="['item_' + `${index + 1}`, item.footer ? '' : 'oneLine']" class="item">
{{ item.header }} {{ item.header }}
<br v-if="item.footer" /> <br v-if="item.footer" />
{{ item.footer }} {{ item.footer }}
...@@ -194,7 +193,7 @@ export default { ...@@ -194,7 +193,7 @@ export default {
// created() { // created() {
// return {} // return {}
// }, // },
created() { }, created() {},
methods: {} methods: {}
} }
...@@ -206,7 +205,7 @@ export default { ...@@ -206,7 +205,7 @@ export default {
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
padding: 1.78vh 1.67vw; padding: 1.78vh 160px;
gap: 0 16px; gap: 0 16px;
display: flex; display: flex;
...@@ -351,9 +350,7 @@ export default { ...@@ -351,9 +350,7 @@ export default {
.footer { .footer {
position: relative; position: relative;
width: 1280px; width: 1280px;
height: 783px; height: 723px;
margin-top: -25px;
.swiper { .swiper {
li { li {
display: flex; display: flex;
...@@ -523,7 +520,6 @@ export default { ...@@ -523,7 +520,6 @@ export default {
ul { ul {
padding: 0; padding: 0;
// list-style: none; // list-style: none;
margin: -30px auto 0;
margin-left: -30px; margin-left: -30px;
list-style: none; list-style: none;
// width: 400px; // width: 400px;
...@@ -555,7 +551,7 @@ li { ...@@ -555,7 +551,7 @@ li {
position: absolute; position: absolute;
width: 260px; width: 260px;
height: 208px; height: 208px;
top: 100px; top: 180px;
left: 0; left: 0;
background: url(../../../assets/images/viewEntireLifecycleOfCar/horseRaceLampItemBg.png); background: url(../../../assets/images/viewEntireLifecycleOfCar/horseRaceLampItemBg.png);
background-size: 100% 100%; background-size: 100% 100%;
......
<template>
<div class="video-container">
<video controls autoplay class="video-box" ref="video">
<source :src="videoSrc" type="video/mp4" />
</video>
<div class="video-pause" @click="hanldPlay('pause')" v-if="status == 'play'">
<img src="@/assets/images/play-icon.png" />
</div>
<div class="video-play" @click="hanldPlay('play')" v-else><img src="@/assets/images/pause-icon.png" /></div>
</div>
</template>
<script>
export default {
name: 'videoPage',
data() {
return {
videoSrc: 'https://www.runoob.com/try/demo_source/movie.mp4',
status: 'play'
}
},
mounted() {},
methods: {
hanldPlay(status) {
this.status = status
if (status == 'pause') {
this.$refs.video.play()
} else {
this.$refs.video.pause()
}
}
}
}
</script>
<style lang="scss" scoped>
.video-container {
width: 1560px;
height: 878px;
border: 4px solid #1377f8;
box-sizing: border-box;
border-radius: 50px;
overflow: hidden;
margin: 20px auto;
position: relative;
.video-box {
width: 100%;
height: 100%;
}
.video-pause,
.video-play {
position: absolute;
top: 50%;
left: 50%;
width: 120px;
height: 120px;
margin-left: -60px;
margin-top: -60px;
border-radius: 50%;
}
}
.video-full {
z-index: 999;
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background: #000000;
.video-box {
position: absolute;
left: 324px;
width: calc(100% - 648px);
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!