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 {
<style lang="scss" scoped>
.introduce-box {
width: 492px;
width: 800px;
height: 404px;
background: url('../assets/images/viewEntireLifecycleOfCar/border_1.png');
background-size: 100% 100%;
......@@ -129,17 +129,17 @@ export default {
&-content {
margin-top: 50px;
font-size: 18px;
font-size: 24px;
color: #dedede;
letter-spacing: 0;
line-height: 40px;
line-height: 52px;
}
}
.books-box {
margin-top: 24px;
width: 492px;
height: 496px;
width: 800px;
height: 467px;
background: url('../assets/images/viewEntireLifecycleOfCar/border_2.png');
background-size: 100% 100%;
padding: 28px;
......@@ -154,16 +154,18 @@ export default {
.qualifications-list {
display: flex;
gap: 17px;
gap: 40px;
margin-top: 20px;
.qualifications-item {
width: 134px;
height: 100px;
width: 220px;
height: 66px;
background: url('../assets/images/viewEntireLifecycleOfCar/q-border.png');
background-size: 100% 100%;
padding: 16px 20px;
padding: 25px 20px;
box-sizing: border-box;
display: flex;
align-items: center;
.qualifications-title {
font-size: 13px;
......@@ -174,14 +176,14 @@ export default {
font-size: 28px;
color: #6578ff;
line-height: 36px;
margin-top: 10px;
font-weight: 700;
margin-left: 20px;
span {
font-weight: 500;
font-size: 16px;
color: #0ffadf;
margin-left: -10px;
margin-left: 10px;
&.f28 {
font-size: 28px;
......@@ -193,7 +195,7 @@ export default {
.swiper-box {
padding-top: 28px;
height: 250px;
height: 265px;
/deep/ {
.el-carousel__container {
......@@ -221,21 +223,21 @@ export default {
.swiper-body {
display: flex;
gap: 28px 17px;
gap: 18px 34px;
flex-wrap: wrap;
.books-item {
width: 134px;
height: 96px;
width: 158px;
height: 106px;
background: url('../assets/images/viewEntireLifecycleOfCar/books-border.png');
background-size: 100% 100%;
position: relative;
padding: 8px;
padding: 12px 8px;
box-sizing: border-box;
img {
width: 118px;
height: 80px;
width: 140px;
height: 84px;
opacity: 0.9;
}
}
......
......@@ -17,10 +17,11 @@
<!-- 内容区域 开始 -->
<div class="content">
<transition :name="transitionName">
<video-page v-if="current == 0" />
<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-entire-lifecycleOf-car v-if="current == 0" />
<view-entire-lifecycleOf-car v-if="current == 1" />
<!-- <GlskDataViewSceneIndex v-if="current == 4"></GlskDataViewSceneIndex> -->
</transition>
</div>
......@@ -39,6 +40,7 @@ import ViewLifeSceneData from './pages/ViewLifeSceneData.vue'
import FixedArrow from '@/components/Arrow.vue'
import ViewEntireLifecycleOfCar from './pages/viewEntireLifecycleOfCar.vue'
import GlskDataViewSceneIndex from '../newPage/index.vue'
import videoPage from '@/views/videoPage/index.vue'
//energyCar ViewEntireLifecycleOfCar
import EnergyCar from '@/views/energyCar/index.vue'
export default {
......@@ -49,6 +51,7 @@ export default {
FixedArrow,
ViewEntireLifecycleOfCar,
EnergyCar,
videoPage,
GlskDataViewSceneIndex
},
data() {
......@@ -56,11 +59,12 @@ export default {
activeName: '',
current: 0,
titleList: {
0: '广联新能源车主服务行业大模型',
0: '让你的用车生活更美好',
1: '广联新能源车主服务行业大模型',
2: '广联新能源车主服务行业大模型',
3: '广联数科运营看板',
3: '广联新能源车主服务行业大模型',
4: '广联数科运营看板',
5: '广联数科运营看板'
},
startX: 0,
moveX: 0,
......@@ -85,7 +89,7 @@ export default {
let m = _this.moveX
if (m < -30) {
console.log('向左滑动事件被触发!')
_this.nextClick()
} else if (m > 30) {
console.log('向右滑动事件被触发!')
......
......@@ -7,8 +7,7 @@
<div class="header">
<div class="title">丰富的行业应用</div>
<img class="bg" src="../../../assets/images/viewEntireLifecycleOfCar/header_ring.png" alt="" />
<div v-for="(item, index) in headerLabelList" :key="index"
:class="['item_' + `${index + 1}`, item.footer ? '' : 'oneLine']" class="item">
<div v-for="(item, index) in headerLabelList" :key="index" :class="['item_' + `${index + 1}`, item.footer ? '' : 'oneLine']" class="item">
{{ item.header }}
<br v-if="item.footer" />
{{ item.footer }}
......@@ -194,7 +193,7 @@ export default {
// created() {
// return {}
// },
created() { },
created() {},
methods: {}
}
......@@ -206,7 +205,7 @@ export default {
height: 100%;
box-sizing: border-box;
position: relative;
padding: 1.78vh 1.67vw;
padding: 1.78vh 160px;
gap: 0 16px;
display: flex;
......@@ -351,9 +350,7 @@ export default {
.footer {
position: relative;
width: 1280px;
height: 783px;
margin-top: -25px;
height: 723px;
.swiper {
li {
display: flex;
......@@ -523,7 +520,6 @@ export default {
ul {
padding: 0;
// list-style: none;
margin: -30px auto 0;
margin-left: -30px;
list-style: none;
// width: 400px;
......@@ -555,7 +551,7 @@ li {
position: absolute;
width: 260px;
height: 208px;
top: 100px;
top: 180px;
left: 0;
background: url(../../../assets/images/viewEntireLifecycleOfCar/horseRaceLampItemBg.png);
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!