Commit 7d011225 by 匡雅琴

Merge branch 'v1.0.0' of http://192.168.3.233:8090/h5/glsk-data-view-scene into v1.0.0

2 parents a6cb795d 1112b633
Showing 32 changed files with 523 additions and 34 deletions
/* /*
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2024-01-26 09:50:09 * @Date: 2024-01-26 09:50:09
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: huyue
* @LastEditTime: 2024-01-26 12:09:55 * @LastEditTime: 2024-01-26 16:39:25
* @FilePath: \glsk-data-view-scene\.postcssrc.js * @FilePath: \glsk-data-view-scene\.postcssrc.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
......
...@@ -168,3 +168,9 @@ img { ...@@ -168,3 +168,9 @@ img {
z-index: -1; z-index: -1;
} }
} }
.linear-gradient-text {
color: #5894FF;
background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
\ No newline at end of file \ No newline at end of file
This file is too large to display.
...@@ -14,15 +14,18 @@ ...@@ -14,15 +14,18 @@
<div class="tab"> <div class="tab">
<div v-for="(item, index) in menuList" :key="index"> <div v-for="(item, index) in menuList" :key="index">
<template v-if="item.tabName == 'business' && item.isShow"> <template v-if="item.tabName == 'business' && item.isShow">
<div class="tab-item first-tab" :class="currentMenu == item.tabName ? 'active' : ''" @click.prevent="jump(item.tabName)"> <div class="tab-item first-tab" :class="currentMenu == item.tabName ? 'active' : ''"
@click.prevent="jump(item.tabName)">
<div class="tab-title">{{ firstTab.label }}</div> <div class="tab-title">{{ firstTab.label }}</div>
<img class="arrow-down" @click.stop="openSelect" src="@/assets/images/title-arrow.png" alt=""> <img class="arrow-down" @click.stop="openSelect" src="@/assets/images/title-arrow.png" alt="">
<SelectBox :isShow="isShow" @clickOutside="clickOutside" :dataList="item.children" :boxWidth="'16.94vw'" isObject @selectVal="selectVal"></SelectBox> <SelectBox :isShow="isShow" @clickOutside="clickOutside" :dataList="item.children" :boxWidth="'16.94vw'"
isObject @selectVal="selectVal"></SelectBox>
</div> </div>
</template> </template>
<template v-else> <template v-else>
<div v-show="item.isShow" class="tab-item other-tab" :class="currentMenu == item.tabName ? 'active' : ''" @click="jump(item.tabName)"> <div v-show="item.isShow" class="tab-item other-tab" :class="currentMenu == item.tabName ? 'active' : ''"
<div class="tab-name">{{item.label}}</div> @click="jump(item.tabName)">
<div class="tab-name">{{ item.label }}</div>
</div> </div>
</template> </template>
</div> </div>
...@@ -69,6 +72,7 @@ export default { ...@@ -69,6 +72,7 @@ export default {
created() { created() {
const { menuList, $roleAuth, $role } = this const { menuList, $roleAuth, $role } = this
const permissions = $roleAuth[$role] const permissions = $roleAuth[$role]
console.log(permissions, 'permissions')
menuList.forEach(menu => { menuList.forEach(menu => {
if (menu.children) { if (menu.children) {
menu.children = menu.children.filter(child => { menu.children = menu.children.filter(child => {
...@@ -124,6 +128,7 @@ export default { ...@@ -124,6 +128,7 @@ export default {
box-sizing: border-box; box-sizing: border-box;
padding: 0 26px 0 24px; padding: 0 26px 0 24px;
justify-content: space-between; justify-content: space-between;
.view-title { .view-title {
font-weight: 600; font-weight: 600;
font-size: 24px; font-size: 24px;
...@@ -131,16 +136,20 @@ export default { ...@@ -131,16 +136,20 @@ export default {
letter-spacing: 8px; letter-spacing: 8px;
text-align: center; text-align: center;
} }
.time { .time {
text-align: right; text-align: right;
font-size: 14px; font-size: 14px;
color: #ffffff; color: #ffffff;
.top { .top {
justify-content: flex-end; justify-content: flex-end;
.now { .now {
width: 11.2vw; width: 11.2vw;
} }
} }
.icon { .icon {
width: 14px; width: 14px;
height: 14px; height: 14px;
...@@ -148,11 +157,13 @@ export default { ...@@ -148,11 +157,13 @@ export default {
} }
} }
} }
.tab { .tab {
display: flex; display: flex;
// align-items: center; // align-items: center;
color: #FFFFFF; color: #FFFFFF;
font-size: 16px; font-size: 16px;
&-item { &-item {
position: relative; position: relative;
display: flex; display: flex;
...@@ -166,21 +177,25 @@ export default { ...@@ -166,21 +177,25 @@ export default {
border-image: linear-gradient(90deg, #074989, #30DCFF, #074989) 1; border-image: linear-gradient(90deg, #074989, #30DCFF, #074989) 1;
background-image: linear-gradient(180deg, #001948 0%, #00223C 99%); background-image: linear-gradient(180deg, #001948 0%, #00223C 99%);
cursor: pointer; cursor: pointer;
.tab-title { .tab-title {
max-width: 18.61vw; max-width: 18.61vw;
} }
} }
.first-tab { .first-tab {
position: relative; position: relative;
width: 16.94vw; width: 16.94vw;
box-sizing: border-box; box-sizing: border-box;
justify-content: flex-start; justify-content: flex-start;
padding-left: 1.39vw; padding-left: 1.39vw;
&.active { &.active {
background-image: url('../assets/images/first-tab-bg.png'); background-image: url('../assets/images/first-tab-bg.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
border: none; border: none;
.tab-title { .tab-title {
color: #5894FF; color: #5894FF;
background-image: -webkit-linear-gradient(left, #24D8FF, #7787FF); background-image: -webkit-linear-gradient(left, #24D8FF, #7787FF);
...@@ -188,6 +203,7 @@ export default { ...@@ -188,6 +203,7 @@ export default {
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
} }
} }
.arrow-down { .arrow-down {
position: absolute; position: absolute;
top: 50%; top: 50%;
...@@ -198,14 +214,17 @@ export default { ...@@ -198,14 +214,17 @@ export default {
height: 2.22vh; height: 2.22vh;
} }
} }
.other-tab{
.other-tab {
width: 7.22vw; width: 7.22vw;
box-sizing: border-box; box-sizing: border-box;
&.active { &.active {
background-image: url('../assets/images/other-tab-bg.png'); background-image: url('../assets/images/other-tab-bg.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
border: none; border: none;
.tab-name { .tab-name {
color: #5894FF; color: #5894FF;
background-image: -webkit-linear-gradient(left, #24D8FF, #7787FF); background-image: -webkit-linear-gradient(left, #24D8FF, #7787FF);
...@@ -214,5 +233,4 @@ export default { ...@@ -214,5 +233,4 @@ export default {
} }
} }
} }
} }</style>
</style>
...@@ -11,6 +11,11 @@ const DefaultData = { ...@@ -11,6 +11,11 @@ const DefaultData = {
yearList: ['2023', '2022'], yearList: ['2023', '2022'],
menuList: [ menuList: [
{ {
label: '汽车全生命周期场景图',
tabName: 'lifecycleOfCar',
value: 'lifecycleOfCar'
},
{
tabName: 'business', tabName: 'business',
children: [ children: [
{ {
...@@ -45,6 +50,11 @@ const DefaultData = { ...@@ -45,6 +50,11 @@ const DefaultData = {
tabName: 'interior', tabName: 'interior',
value: 'interior' value: 'interior'
} }
// {
// label: '汽车全生命周期场景图',
// tabName: 'lifecycleOfCar',
// value: 'lifecycleOfCar'
// }
], ],
directionTimer: 3000, directionTimer: 3000,
delayTimer: 3000 delayTimer: 3000
......
...@@ -3,14 +3,17 @@ ...@@ -3,14 +3,17 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-07-04 13:55:35 * @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-26 15:35:55 * @LastEditTime: 2024-01-26 16:22:14
--> -->
<template> <template>
<div class="architecture-container"> <div class="architecture-container">
<div class="architecture-title">{{ mainTitle }}</div> <div class="architecture-title">{{ mainTitle }}</div>
<div class="architecture-main"> <div class="architecture-main">
<div class="architecture-item" v-for="(main, index) in mainList" :key="index"> <div class="architecture-item" v-for="(main, index) in mainList" :key="index">
<div class="architecture-type" :style="{ backgroundImage: 'url(' + require(`@/assets/images/car/row_${main.row}.png`) + ')', height: main.height + 'px', lineHeight: main.height + 'px' }"> <div
class="architecture-type"
:style="{ backgroundImage: 'url(' + require(`@/assets/images/car/row_${main.row}.png`) + ')', height: toTransform(main.height), lineHeight: toTransform(main.height) }"
>
{{ main.title }} {{ main.title }}
</div> </div>
<div class="architecture-desc"> <div class="architecture-desc">
...@@ -20,7 +23,7 @@ ...@@ -20,7 +23,7 @@
{{ item }} {{ item }}
</div> </div>
</template> </template>
<div class="architecture-sub" v-for="(item, idx) in main.desc" :key="idx" :style="{ width: item.width ? item.width + 'px' : '107px' }"> <div class="architecture-sub" v-for="(item, idx) in main.desc" :key="idx" :style="{ width: item.width ? toTransform(item.width) : toTransform(107) }">
{{ item.label ? item.label : item }} {{ item.label ? item.label : item }}
</div> </div>
</div> </div>
...@@ -31,7 +34,10 @@ ...@@ -31,7 +34,10 @@
<div class="architecture-line"></div> <div class="architecture-line"></div>
<div class="architecture-main"> <div class="architecture-main">
<div class="architecture-item" v-for="(main, index) in subList" :key="index"> <div class="architecture-item" v-for="(main, index) in subList" :key="index">
<div class="architecture-type" :style="{ backgroundImage: 'url(' + require(`@/assets/images/car/row_${main.row}.png`) + ')', height: main.height + 'px', lineHeight: main.height + 'px' }"> <div
class="architecture-type"
:style="{ backgroundImage: 'url(' + require(`@/assets/images/car/row_${main.row}.png`) + ')', height: toTransform(main.height), lineHeight: toTransform(main.height) }"
>
{{ main.title }} {{ main.title }}
</div> </div>
<div class="architecture-desc"> <div class="architecture-desc">
...@@ -47,7 +53,7 @@ ...@@ -47,7 +53,7 @@
</template> </template>
<script> <script>
import { mainTitle, subTitle, mainList, subList } from './data' import { mainTitle, subTitle, mainList, subList, VW } from './data'
export default { export default {
name: 'Architecture', name: 'Architecture',
data() { data() {
...@@ -59,7 +65,11 @@ export default { ...@@ -59,7 +65,11 @@ export default {
} }
}, },
created() {}, created() {},
methods: {} methods: {
toTransform(val) {
return ((100 * val) / VW).toFixed(2) + 'vw'
}
}
} }
</script> </script>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-07-04 13:55:35 * @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-26 16:12:21 * @LastEditTime: 2024-01-26 16:20:56
--> -->
<template> <template>
<div class="model-box"> <div class="model-box">
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
</template> </template>
<script> <script>
import { modelTitle, modelList } from './data' import { modelTitle, modelList,VW } from './data'
const VW = 1920
export default { export default {
name: 'Model', name: 'Model',
data() { data() {
...@@ -43,7 +42,7 @@ export default { ...@@ -43,7 +42,7 @@ export default {
created() {}, created() {},
methods: { methods: {
toTransform(val) { toTransform(val) {
return ((100 * val) / 1920).toFixed(2) + 'vw' return ((100 * val) / VW).toFixed(2) + 'vw'
} }
} }
} }
......
export const VW = 1920
export const mainTitle = '广联的新能源车主行业大模型技术架构' export const mainTitle = '广联的新能源车主行业大模型技术架构'
export const mainList = [ export const mainList = [
{ {
......
...@@ -3,13 +3,14 @@ ...@@ -3,13 +3,14 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-07-04 13:55:35 * @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-26 13:44:33 * @LastEditTime: 2024-01-26 16:22:53
--> -->
<template> <template>
<div class="layout"> <div class="layout">
<Head title="广联新能源车主行业大模型"></Head> <Head title="广联新能源车主行业大模型"></Head>
<Architecture></Architecture> <Architecture></Architecture>
<Model></Model> <Model></Model>
<FixedArrow></FixedArrow>
</div> </div>
</template> </template>
...@@ -17,11 +18,13 @@ ...@@ -17,11 +18,13 @@
import Model from './Model' import Model from './Model'
import Architecture from './Architecture' import Architecture from './Architecture'
import Head from '@/components/Head' import Head from '@/components/Head'
import FixedArrow from '@/components/Arrow.vue'
export default { export default {
name: 'energyCar', name: 'energyCar',
components: { components: {
Model, Model,
Architecture, Architecture,
FixedArrow,
Head Head
}, },
data() { data() {
......
<template>
<!-- 汽车全生命周期场景图 -->
<div class="entireLifecycleOfCarCon">
</div>
</template>
<script>
export default {
name: 'EntireLifecycleOfCar',
components: {
},
data() {
return {
}
},
created() {
},
mounted() {
},
methods: {
}
}
</script>
<style></style>
...@@ -57,6 +57,8 @@ export default { ...@@ -57,6 +57,8 @@ export default {
case 'business': case 'business':
sname = 'ViewSolar' sname = 'ViewSolar'
break break
case 'lifecycleOfCar':
sname = 'viewEntireLifecycleOfCar'
// default: // default:
// sname = 'ViewSolar' // sname = 'ViewSolar'
} }
...@@ -81,6 +83,5 @@ export default { ...@@ -81,6 +83,5 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped></style>
</style>
<template>
<!-- 汽车全生命周期场景图 -->
<div class="view-content">
<!-- <div class="scene">
<div class="carousel">
<div class="carousel__cell">1</div>
<div class="carousel__cell">2</div>
<div class="carousel__cell">3</div>
<div class="carousel__cell">4</div>
<div class="carousel__cell">5</div>
<div class="carousel__cell">6</div>
<div class="carousel__cell">7</div>
</div>
</div> -->
<!-- <div class="carousel-options">
<p>
<label>
Cells
<input class="cells-range" type="range" min="3" max="15" value="9" />
</label>
</p>
<p>
<button class="previous-button">Previous</button>
<button class="next-button">Next</button>
</p>
<p>
Orientation:
<label>
<input type="radio" name="orientation" value="horizontal" checked />
horizontal
</label>
<label>
<input type="radio" name="orientation" value="vertical" />
vertical
</label>
</p>
</div> -->
</div>
</template>
<script>
export default {
name: 'ViewEntireLifecycleOfCar',
components: {
},
data() {
return {
}
},
created() {
},
mounted() {
var carousel = document.querySelector('.carousel')
var cells = carousel.querySelectorAll('.carousel__cell')
var cellCount // cellCount set from cells-range input value
var selectedIndex = 0
var cellWidth = carousel.offsetWidth
var cellHeight = carousel.offsetHeight
var isHorizontal = true
var rotateFn = isHorizontal ? 'rotateY' : 'rotateX'
var radius, theta
// console.log( cellWidth, cellHeight );
function rotateCarousel() {
var angle = theta * selectedIndex * -1
carousel.style.transform = 'translateZ(' + -radius + 'px) ' +
rotateFn + '(' + angle + 'deg)'
}
var prevButton = document.querySelector('.previous-button')
prevButton.addEventListener('click', function () {
selectedIndex--
rotateCarousel()
})
var nextButton = document.querySelector('.next-button')
nextButton.addEventListener('click', function () {
selectedIndex++
rotateCarousel()
})
var cellsRange = document.querySelector('.cells-range')
cellsRange.addEventListener('change', changeCarousel)
cellsRange.addEventListener('input', changeCarousel)
function changeCarousel() {
cellCount = cellsRange.value
theta = 360 / cellCount
var cellSize = isHorizontal ? cellWidth : cellHeight
radius = Math.round((cellSize / 2) / Math.tan(Math.PI / cellCount))
for (var i = 0; i < cells.length; i++) {
var cell = cells[i]
if (i < cellCount) {
// visible cell
cell.style.opacity = 1
var cellAngle = theta * i
cell.style.transform = rotateFn + '(' + cellAngle + 'deg) translateZ(' + radius + 'px) ' + `translateZ (100px)`
} else {
// hidden cell
cell.style.opacity = 0
cell.style.transform = 'none'
}
}
rotateCarousel()
}
var orientationRadios = document.querySelectorAll('input[name="orientation"]');
(function () {
for (var i = 0; i < orientationRadios.length; i++) {
var radio = orientationRadios[i]
radio.addEventListener('change', onOrientationChange)
}
})()
function onOrientationChange() {
var checkedRadio = document.querySelector('input[name="orientation"]:checked')
isHorizontal = checkedRadio.value == 'horizontal'
rotateFn = isHorizontal ? 'rotateY' : 'rotateX'
changeCarousel()
}
// set initials
onOrientationChange()
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.view-content {
width: 100%;
height: 100%;
box-sizing: border-box;
position: relative;
padding: 1.78vh 1.67vw;
background-image: url(../../../assets/images/viewEntireLifecycleOfCar/bg.png);
background-size: 100% 100%;
gap: 0 16px;
.top-tab {
margin-bottom: 1.78vh;
height: 5vh;
}
}
* {
box-sizing: border-box;
}
body {
font-family: sans-serif;
text-align: center;
}
.scene {
border: 1px solid #CCC;
margin: 40px 0;
position: relative;
width: 210px;
height: 140px;
margin: 80px auto;
perspective: 1000px;
}
.carousel {
width: 100%;
height: 100%;
position: absolute;
transform: translateZ(-288px);
transform-style: preserve-3d;
transition: transform 1s;
}
.carousel__cell {
position: absolute;
// width: 520px;
width: 260px;
height: 230px;
left: 10px;
top: 10px;
border: 2px solid black;
line-height: 230px;
font-size: 80px;
font-weight: bold;
color: white;
text-align: center;
background-image: url(../../../assets/images/viewEntireLifecycleOfCar/horseRaceLampItemBg.png);
background-size: 100% 100%;
transition: transform 1s, opacity 1s;
}
.carousel__cell:nth-child(9n+1) {
background: hsla(0, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n+2) {
background: hsla(40, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n+3) {
background: hsla(80, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n+4) {
background: hsla(120, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n+5) {
background: hsla(160, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n+6) {
background: hsla(200, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n+7) {
background: hsla(240, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n+8) {
background: hsla(280, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n+0) {
background: hsla(320, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(1) {
transform: rotateY(0deg) translateZ(288px) translateY(200px);
}
.carousel__cell:nth-child(2) {
// transform: rotateY(40deg) translateZ(288px);
left: 250px;
transform: rotateY(35deg) translateZ(150px) translateY(150px) skewY(-5deg) scaleX(-1.5);
;
}
.carousel__cell:nth-child(3) {
left: 200px;
// translateX(200px)
transform: rotateY(102deg) translateZ(288px) skewY(-8deg) scaleX(-1.5);
}
.carousel__cell:nth-child(4) {
left: 125px;
transform: rotateY(153deg) translateZ(288px) translateY(-50px) skewY(-2deg) scaleX(-1.2);
}
.carousel__cell:nth-child(5) {
left: 80px;
transform: rotateY(204deg) translateZ(288px) translateY(-50px) skewY(2deg) scaleX(-1.2);
}
.carousel__cell:nth-child(6) {
left: -40px;
transform: rotateY(255deg) translateZ(288px) skewY(8deg) scaleX(-1.5);
}
.carousel__cell:nth-child(7) {
transform: rotateY(306deg) translateZ(288px) translateY(150px) skewY(5deg) scaleX(-1.5);
}
// .carousel__cell:nth-child(8) {
// transform: rotateY(280deg) translateZ(288px);
// }
// .carousel__cell:nth-child(9) {
// transform: rotateY(320deg) translateZ(288px);
// }
.carousel-options {
display: none;
text-align: center;
position: relative;
z-index: 2;
background: hsla(0, 0%, 100%, 0.8);
}
</style>
<template> <template>
<div class="center"> <div class="center">
<div class="center-top"></div>
<BoxTitle :title="'智能维保'" :textAlign="'center'" class="top-title"></BoxTitle> <BoxTitle :title="'智能维保'" :textAlign="'center'" class="top-title"></BoxTitle>
<StatisticBox :list="maintenanceStatisData"></StatisticBox> <StatisticBox :list="maintenanceStatisData"></StatisticBox>
<NearThread /> <NearThread />
<div class="center-bottom">
<Maintenance></Maintenance>
</div>
</div> </div>
</template> </template>
<script> <script>
import StatisticBox from './components/StatisticBox.vue' import StatisticBox from './components/StatisticBox.vue'
import NearThread from './components/NearThread.vue' import NearThread from './components/NearThread.vue'
import Maintenance from './components/MarketingQuestion.vue'
import { maintenanceStatisData } from './const/index' import { maintenanceStatisData } from './const/index'
export default { export default {
name: 'LifeSceneCenter', name: 'LifeSceneCenter',
components: { components: {
StatisticBox, StatisticBox,
NearThread NearThread,
Maintenance
}, },
data() { data() {
return { return {
...@@ -31,8 +37,21 @@ export default { ...@@ -31,8 +37,21 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.center { .center {
width: 31.67vw; width: 31.67vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
}
&-bottom {
box-sizing: border-box;
padding: 2.59vh 1.04vw;
width: 100%;
height: 38.52vh;
border: 1px solid;
border-image: linear-gradient(to right, #1f5387, #73eaff, #275fca) 1;
.top-title { .top-title {
margin-bottom: 1.48vh; margin-bottom: 1.48vh;
} }
}
} }
</style> </style>
...@@ -35,7 +35,7 @@ const texts = [ ...@@ -35,7 +35,7 @@ const texts = [
import TagCloud from 'TagCloud' import TagCloud from 'TagCloud'
export default { export default {
name: 'HotWords', name: 'HotWords',
components: {BoxTitle}, components: { BoxTitle },
data() { data() {
return {} return {}
}, },
...@@ -47,14 +47,16 @@ export default { ...@@ -47,14 +47,16 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.hot-box { .hot-box {
width: 10.31vw; width: 10.31vw;
height: 23.8vh; height: 23.8vh;
} }
.tagcloud { .tagcloud {
width: 8.85vw !important; width: 8.85vw !important;
height: 8.85vw !important; height: 8.85vw !important;
background-image: url(../../../assets/images/hot-words-bg.png); background-image: url(../../../assets/images/hot-words-bg.png);
background-size: 100% 100%; background-size: 100% 100%;
span { span {
color: #5894FF; color: #5894FF;
background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF); background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF);
......
<template>
<div class="markeing-box">
<Phone :imgName="'ai-dialogue'">
<div class="dialogue-content" slot="content">
<div class="dialog-item">
<img class="avatar m-s-l" src="../../../assets//images/user-avatar.png" alt="">
<div class="user-content m-l">为什么这么贵?不就是一层塑料纸吗?</div>
</div>
<div class="dialog-item">
<div class="user-content m-r">这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。</div>
<img class="avatar m-s-r" src="../../../assets//images/ai-avatar.png" alt="">
</div>
</div>
</Phone>
<Phone class="enterprise-box" :imgName="'scrip-bg'">
<div class="enterprise" slot="content">
<div class="enterprise-item">贴膜和车是没有任何关系的,别误会了,车今天开过来没有贴膜,不是一样的开过来了吗,现在您不贴膜直接开回家吃午饭也是一样能够开回去,不是说不贴膜,车子就不能开了,所以贴膜主要是保护车内人的行驶安全、舒适…</div>
<div class="enterprise-item">材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。</div>
</div>
</Phone>
<div class="markeing-descript">
<div class="second-title">维保线索推送</div>
<div class="descript">大模型识别车辆碰撞并将碰撞信息发送给对接的智慧门店系统,门店专员及时和客户联系,引导车辆进厂维修,提升售后维修产值。</div>
</div>
</div>
</template>
<script>
import Phone from "./Phone.vue"
export default {
name: 'Maintenance',
components: {
Phone
}
}
</script>
<style lang="scss" scoped>
.markeing-box {
display: flex;
align-items: center;
width: 100%;
height: 100%;
}
.dialogue-content {
padding-top: 3.98vh;
font-size: 7.1px;
line-height: 9.76px;
color: #fff;
.dialog-item {
display: flex;
flex-direction: row-reverse;
align-items: center;
align-items: baseline;
margin: 0.65vh 0.26vw 0;
font-size: 5px;
width: 166px;
.user-content {
background: rgba(255, 255, 255, .1);
border-radius: 4.44px 0 4.44px 4.44px;
padding: 4px;
}
}
.avatar {
width: 0.47vw;
height: 0.47vw;
}
.m-s-l {
margin-left: 5px;
}
.m-s-r {
margin-right: 5px;
}
.m-r {
margin-right: 1.04vw;
}
.m-l {
margin-left: 1.04vw;
}
}
.enterprise-box {
margin-left: 0.42vw;
}
.enterprise {
padding-top: 8vh;
font-size: 5px;
color: #FFFFFF;
&-item {
background: rgba(255, 255, 255, .1);
border-radius: 4px;
margin: 0.53vh 0.36vw;
padding: 4px;
}
}
.markeing-descript {
width: 11.04vw;
.second-title {
font-size: 20px;
text-align: center;
color: #5894FF;
background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.descript {
color: #09AEF2;
font-size: 12px;
}
}
</style>
...@@ -27,13 +27,13 @@ ...@@ -27,13 +27,13 @@
<script> <script>
import Phone from "./Phone.vue" import Phone from "./Phone.vue"
export default { export default {
name: 'LifeSceneLeft', name: 'MarketingQuestion',
components: { components: {
Phone Phone
} }
} }
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
.markeing-box { .markeing-box {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -50,9 +50,7 @@ export default { ...@@ -50,9 +50,7 @@ export default {
flex-direction: row-reverse; flex-direction: row-reverse;
align-items: center; align-items: center;
align-items: baseline; align-items: baseline;
margin: 0.65vh 0.26vw 0; padding: 0.65vh 0.26vw 0;
font-size: 5px;
width: 166px;
.user-content { .user-content {
background: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .1);
border-radius: 4.44px 0 4.44px 4.44px; border-radius: 4.44px 0 4.44px 4.44px;
...@@ -81,7 +79,7 @@ export default { ...@@ -81,7 +79,7 @@ export default {
} }
.enterprise { .enterprise {
padding-top: 8vh; padding-top: 8vh;
font-size: 5px; font-size: 7px;
color: #FFFFFF; color: #FFFFFF;
&-item { &-item {
background: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .1);
...@@ -92,6 +90,7 @@ export default { ...@@ -92,6 +90,7 @@ export default {
} }
.markeing-descript { .markeing-descript {
width: 11.04vw; width: 11.04vw;
margin-left: 0.83vw;
.second-title { .second-title {
font-size: 20px; font-size: 20px;
text-align: center; text-align: center;
...@@ -99,6 +98,7 @@ export default { ...@@ -99,6 +98,7 @@ export default {
background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF); background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
margin-bottom: 2.5vh;
} }
.descript { .descript {
color: #09AEF2; color: #09AEF2;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-01-26 11:50:52 * @Date: 2024-01-26 11:50:52
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-01-26 15:29:14 * @LastEditTime: 2024-01-26 15:18:05
--> -->
<template> <template>
<div class="phone-box" :style="{backgroundImage: `url(${require(`assets/images/${imgName}.png`)}`}"> <div class="phone-box" :style="{backgroundImage: `url(${require(`assets/images/${imgName}.png`)}`}">
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
<style lang="scss"> <style lang="scss">
.phone { .phone {
&-box { &-box {
width: 166px; width: 150px;
height: 100%; height: 100%;
// height: 29.81vh; // height: 29.81vh;
// background: url(../../../assets/images/ai-dialogue.png) ; // background: url(../../../assets/images/ai-dialogue.png) ;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!