Commit 795df0b8 by 匡雅琴

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

2 parents 5e573a0a 4a674fdf
Showing 44 changed files with 1054 additions and 88 deletions
/*
* @Author: yangming yangming@didihu.com.cn
* @Date: 2024-01-26 09:50:09
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-26 12:09:55
* @FilePath: \glsk-data-view-scene\.postcssrc.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
// https://github.com/michael-ciniawsky/postcss-load-config // https://github.com/michael-ciniawsky/postcss-load-config
module.exports = { module.exports = {
plugins: { plugins: {
...@@ -10,7 +18,7 @@ module.exports = { ...@@ -10,7 +18,7 @@ module.exports = {
// selectorBlackList: ['van-','ignore','ign-','.hairlines'] // selectorBlackList: ['van-','ignore','ign-','.hairlines']
// }, // },
'postcss-px-to-viewport': { 'postcss-px-to-viewport': {
viewportWidth: 1440, // 视窗的宽度,对应的是我们设计稿的宽度,一般是750 viewportWidth: 1920, // 视窗的宽度,对应的是我们设计稿的宽度,一般是750
unitPrecision: 3, // 指定`px`转换为视窗单位值的小数位数(很多时候无法整除) unitPrecision: 3, // 指定`px`转换为视窗单位值的小数位数(很多时候无法整除)
viewportUnit: 'vw', // 指定需要转换成的视窗单位,建议使用vw viewportUnit: 'vw', // 指定需要转换成的视窗单位,建议使用vw
selectorBlackList: ['.ignore', '.hairlines', 'ign-'], // 指定不转换为视窗单位的类,可以自定义,可以无限添加,建议定义一至两个通用的类名 selectorBlackList: ['.ignore', '.hairlines', 'ign-'], // 指定不转换为视窗单位的类,可以自定义,可以无限添加,建议定义一至两个通用的类名
...@@ -18,4 +26,4 @@ module.exports = { ...@@ -18,4 +26,4 @@ module.exports = {
mediaQuery: false // 允许在媒体查询中转换`px` mediaQuery: false // 允许在媒体查询中转换`px`
} }
} }
}
\ No newline at end of file \ No newline at end of file
}
.top_head {
display: flex;
justify-content: space-between;
background: url('../assets/images/top_bg.png') no-repeat center bottom;
background-size: 100% auto;
height: 102px;
.logo,
.right_box {
flex: 1;
flex-shrink: 0;
box-sizing: border-box;
}
.logo {
.img {
width: 166px;
height: 36px;
margin: 18px 0 0 32px;
}
}
.title_box {
box-sizing: border-box;
padding-top: 19px;
text-align: center;
.title {
flex: 2;
font-family: SourceHanSansCN-Bold;
font-weight: 700;
font-size: 44px;
letter-spacing: 5px;
// background: linear-gradient(left right, #00c8ff 0%, #0069f2 100%);
// background-clip: text;
// -webkit-background-clip: text;
// -webkit-text-fill-color: transparent;
background: linear-gradient(to right,
#00c8ff 0%,
#0069f2 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
.right_box {
display: flex;
justify-content: flex-end;
.time_box {
display: flex;
flex-direction: column;
margin-top: 19px;
.date {
font-family: SourceHanSansCN-Medium;
font-weight: 500;
font-size: 10px;
color: #56FEFE;
letter-spacing: 0;
line-height: 15px;
}
.time {
font-family: SourceHanSansCN-Medium;
font-weight: 500;
font-size: 20px;
color: #56FEFE;
letter-spacing: 2px;
line-height: 29px;
}
}
.welcome {
width: 196px;
height: 52px;
background: url('../assets/images/top_user.png') no-repeat top center;
background-size: 100% auto;
text-align: center;
margin: 10px 24px 0 68px;
line-height: 52px;
span {
font-family: SourceHanSansCN-Regular;
font-weight: 400;
font-size: 14px;
color: #56FEFE;
letter-spacing: 0;
// margin-top:16px;
line-height: 0;
}
}
}
}
\ No newline at end of file \ No newline at end of file
<template>
<div>
<!-- 左箭头 开始 -->
<div class="left_arrow">
<img src="@/assets/images/arrow_left.png" class="img" alt="" />
<img src="@/assets/images/arrow_circle.png" class="circle" alt="" />
</div>
<!-- 左箭头 end -->
<!-- 右箭头 开始 -->
<div class="right_arrow">
<img src="@/assets/images/arrow_right.png" class="img" alt="" />
<img src="@/assets/images/arrow_circle.png" class="circle" alt="" />
</div>
<!-- 右箭头 end -->
</div>
</template>
<script>
export default {
name: 'FixedArrow',
data() {
return {}
}
}
</script>
<style lang="scss" scoped>
.left_arrow,
.right_arrow {
position: fixed;
top: 0;
bottom: 0;
z-index: 10;
width: 100px;
.img {
width: 48px;
height: 48px;
opacity: 0;
cursor: pointer;
position: fixed;
top: 50%;
transform: translateY(-50%);
z-index: 12;
}
.circle {
width: 84px;
height: 84px;
position: fixed;
top: 50%;
// transform: translateY(-50%);
margin-top: -42px;
z-index: 11;
opacity: 0;
}
}
.left_arrow {
left: 0;
.img {
left: 18px;
}
.circle {
left: 0;
}
}
.right_arrow {
right: 0;
.img {
right: 18px;
}
.circle {
right: 0;
}
}
.left_arrow:hover,
.right_arrow:hover {
.img {
opacity: 1;
}
.circle {
opacity: 1;
animation: rotate360 1.2s ease-out 0s;
}
}
@keyframes rotate360 {
100% {
transform: rotate(360deg);
}
}
</style>
\ No newline at end of file \ No newline at end of file
<template>
<div class="top_head">
<!-- logo 开始 -->
<div class="logo">
<img src="@/assets/images/top_logo.png" class="img" alt="" />
</div>
<!-- logo end -->
<!-- 标题 开始 -->
<div class="title_box">
<span class="title">{{ title }}</span>
</div>
<!-- 标题 end -->
<!-- 欢迎词 开始 -->
<div class="right_box">
<!-- 日期、时间 开始 -->
<div class="time_box">
<span class="date">{{ month }}月{{ day }}日 {{ week }}</span>
<span class="time">{{ time }}</span>
</div>
<!-- 日期、时间 end -->
<div class="welcome">
<span>欢迎回来!</span>
</div>
</div>
<!-- 欢迎词 end -->
<fixed-arrow />
</div>
</template>
<script>
import FixedArrow from '@/components/Arrow.vue';
export default {
name: 'TopHead',
props: {
title: {
type: String,
default: '广联数科运营看板'
}
},
components:{
FixedArrow
},
data() {
return {
month: '',
day: '',
week: '',
time: '',
timeInterval: ''
}
},
mounted() {
let weekList = {
1: '周一',
2: '周二',
3: '周三',
4: '周四',
5: '周五',
6: '周六',
7: '周日'
}
let m = new Date()
this.month = m.getMonth() + 1
this.day = m.getDate()
this.week = weekList[m.getDay()]
this.initTime();
},
methods: {
// 定时获取时间
initTime() {
let _this = this
if (this.timeInterval) {
clearInterval(this.timeInterval)
}
_this.timeInterval = setInterval(function () {
_this.time = _this.getTime()
}, 1000)
},
// 获取时间
getTime() {
let time = ''
let o = new Date()
let h = o.getHours()
let m = o.getMinutes()
let s = o.getSeconds()
time = `${h < 10 ? '0' + h : h}:${m < 10 ? '0' + m : m}:${s < 10 ? '0' + s : s}`
return time
}
}
}
</script>
<style lang="scss" scoped>
@import '@/assets/css/topHead.scss';
</style>
\ No newline at end of file \ No newline at end of file
...@@ -29,8 +29,15 @@ const pages = [ ...@@ -29,8 +29,15 @@ const pages = [
backgroundColor: '#F7F7F7' backgroundColor: '#F7F7F7'
} }
}, },
// {
// name: 'lifeSceneDataPage',
// meta: {
// isTab: true,
// backgroundColor: '#F7F7F7'
// }
// },
{ {
name: 'lifeSceneDataPage', name: 'energyCar',
meta: { meta: {
isTab: true, isTab: true,
backgroundColor: '#F7F7F7' backgroundColor: '#F7F7F7'
......
<!--
* @Description:
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-26 15:35:55
-->
<template>
<div class="architecture-container">
<div class="architecture-title">{{ mainTitle }}</div>
<div class="architecture-main">
<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' }">
{{ main.title }}
</div>
<div class="architecture-desc">
<div class="architecture-desc-border">
<template v-if="main.classification">
<div class="architecture-classification" v-for="(item, idx) in main.classification" :key="idx">
{{ item }}
</div>
</template>
<div class="architecture-sub" v-for="(item, idx) in main.desc" :key="idx" :style="{ width: item.width ? item.width + 'px' : '107px' }">
{{ item.label ? item.label : item }}
</div>
</div>
</div>
</div>
</div>
<div class="architecture-subTitle">{{ subTitle }}</div>
<div class="architecture-line"></div>
<div class="architecture-main">
<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' }">
{{ main.title }}
</div>
<div class="architecture-desc">
<div class="architecture-desc-border gap-6">
<div class="architecture-sub" v-for="(item, idx) in main.desc" :key="idx" :style="{ width: item.width + 'px' }">
{{ item.label }}
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import { mainTitle, subTitle, mainList, subList } from './data'
export default {
name: 'Architecture',
data() {
return {
mainTitle,
subTitle,
mainList,
subList
}
},
created() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.architecture-container {
position: absolute;
left: 0px;
top: 167px;
width: 792px;
height: 747px;
background: url('../../assets/images/car/border.png');
background-size: 100% 100%;
.architecture-title {
padding-top: 20px;
font-weight: 700;
font-size: 24px;
letter-spacing: 0;
text-align: center;
text-align: center;
background: linear-gradient(to right, #01a4f9, #6df5f9);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 30px;
}
.architecture-subTitle {
color: #56f4fe;
letter-spacing: 0;
text-align: center;
text-shadow: 0 0 12px #0ad6fb;
margin-top: 26px;
background: linear-gradient(to right, #01a4f9, #6df5f9);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 19px;
position: relative;
&::before {
content: '';
width: 231.3px;
position: absolute;
top: 11px;
height: 0.77px;
left: 50px;
background: linear-gradient(to right, transparent, #09aef2, transparent);
}
&::after {
content: '';
width: 231.3px;
position: absolute;
top: 11px;
right: 50px;
height: 0.77px;
background: linear-gradient(to right, transparent, #09aef2, transparent);
}
}
.architecture-line {
width: 779.12px;
height: 0.77px;
background: linear-gradient(to right, transparent, #09aef2, transparent);
margin: 25px 0px 30px 0px;
}
.architecture-main {
margin-left: 20px;
}
}
.architecture-item {
display: flex;
.architecture-type {
width: 170.14px;
font-weight: 700;
font-size: 21.56px;
color: #09aef2;
letter-spacing: 2.31px;
background-size: 100% 100%;
text-align: center;
margin-bottom: 13px;
}
.architecture-desc {
flex: 1;
margin-left: 13px;
&-border {
flex-wrap: wrap;
display: flex;
gap: 6px 9px;
&.gap-6 {
gap: 6px;
}
.architecture-classification {
font-size: 13.86px;
color: #56f4fe;
letter-spacing: 0;
text-align: center;
text-shadow: 0 0 12px #0ad6fb;
width: calc(25% - 8px);
margin-bottom: 10px;
}
.architecture-sub {
width: 106.24px;
height: 30.77px;
line-height: 31px;
background: #0e2141;
font-size: 12.32px;
color: #ffffff;
letter-spacing: 0;
text-align: center;
}
}
}
}
</style>
<!--
* @Description:
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-26 16:12:21
-->
<template>
<div class="model-box">
<div class="model-title">{{ modelTitle }}</div>
<div class="model-line">
<img src="@/assets/images/car/line.png" />
</div>
<div class="model-body">
<div
class="model-item"
v-for="(item, index) in modelList"
:key="index"
:class="{ p16: index < 5 ? true : false }"
:style="{
backgroundImage: 'url(' + require(`@/assets/images/car/car_${item.order}.png`) + ')',
height: toTransform(item.height),
width: toTransform(item.width),
top: toTransform(item.top),
right: toTransform(item.right)
}"
>
<div class="model-item-title" :class="{ filter_7: item.filter ? true : false }">{{ item.title }}</div>
<div class="model-item-content">{{ item.content }}</div>
</div>
</div>
</div>
</template>
<script>
import { modelTitle, modelList } from './data'
const VW = 1920
export default {
name: 'Model',
data() {
return { modelTitle, modelList }
},
created() {},
methods: {
toTransform(val) {
return ((100 * val) / 1920).toFixed(2) + 'vw'
}
}
}
</script>
<style lang="scss" scoped>
.model-box {
position: absolute;
top: 167px;
right: 70px;
.model-title {
font-weight: 700;
font-size: 24px;
color: #77e9ff;
letter-spacing: 0;
text-align: center;
width: 804.82px;
margin-left: calc(100% - 800px);
background: linear-gradient(to right, #01a4f9, #6df5f9);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.model-line {
margin: 5px 0px 0px calc(100% - 800px);
width: 804.82px;
height: 12.23px;
}
.model-body {
position: relative;
width: 1575.18px;
height: 915.9px;
background: url('../../assets/images/car/road.png');
background-size: 100% 100%;
.model-item {
position: absolute;
background-size: 100% 100%;
padding: 13px 10px;
box-sizing: border-box;
&.p16 {
padding: 16px;
}
&-title {
font-weight: 700;
font-size: 18px;
color: #44ffff;
letter-spacing: 0;
background: linear-gradient(to right, #01a4f9, #6df5f9);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 4px;
&.filter_7 {
opacity: 0.7;
}
}
&-content {
font-size: 15px;
color: #ffffff;
line-height: 20px;
}
}
}
}
</style>
export const mainTitle = '广联的新能源车主行业大模型技术架构'
export const mainList = [
{
title: '业务应用层',
row: 3,
height: 105,
desc: [
'营销知识库',
'智能SOP策略',
'销售辅助助手',
'营销文案助手',
'智能客服',
'碰撞检测',
'出险概率评估',
'驾驶行为评分',
'个性化定价',
'工单图片AI审核',
'功率动态调节',
'车辆残值估算',
'电池回收评估'
]
},
{
title: '场景模型',
desc: ['数字化营销', '数字维保', 'UBI续保', '二手车交易', '新能源'],
height: 52,
row: 1
},
{
title: 'Agent服务',
row: 2,
height: 68,
desc: ['LangChain', 'Tools封装', 'Agent模版', 'Agent设计', 'Agent策略构建', '管理授权', 'Token管理', '规则管理', '多租户管理', '任务监测']
},
{
title: '数据体系',
row: 1,
height: 52,
desc: ['营销数据', '车联网数据', '视频数据', '企业知识库', '行业知识库']
},
{
title: '0ps平台',
row: 3,
height: 105,
classification: ['数据工程', '模型微调', '模型构建', '运维部署'],
desc: [
{ label: '低质过滤', width: 64 },
{ label: '冗余去除', width: 64 },
{ label: '强化学习', width: 64 },
{ label: 'SFT', width: 64 },
{ label: '伦理与安全', width: 136 },
{ label: 'CI/CD', width: 64 },
{ label: '监控告警', width: 64 },
{ label: '隐私消除', width: 136 },
{ label: '标注对比', width: 136 },
{ label: '多模型集成', width: 136 },
{ label: '安全合规', width: 64 },
{ label: '日志管理', width: 64 }
]
}
]
export const subTitle = '广联新能源车主行业大模型'
export const subList = [
{
title: '底座大模型',
row: 3,
height: 68,
desc: [
{ label: 'NLP 大模型', width: 136 },
{ label: 'CV大模型', width: 136 },
{ label: '多模态大模型', width: 136 },
{ label: '预测决策大模型', width: 136 },
{ label: '智谱Al chatGLM', width: 184 },
{ label: '盘古基础大模型', width: 184 },
{ label: 'Azure ChatGPT', width: 184 }
]
}
]
export const modelTitle = '广联的新能源车主行业大模型定位'
export const modelList = [
{
order: '1',
title: '1. 车辆研发',
width: 286.8,
filter: true,
right: 232,
top: 13,
height: 100.22,
content: '区域油耗分析、健康度分析、元器件质量分析、电池寿命分析'
},
{
order: '2',
title: '2. 车辆运输',
right: 637,
filter: true,
top: 38,
width: 149.95,
height: 92.97,
content: '电子围栏、在途运输监督'
},
{
order: '3',
title: '3. 车辆销售-购车',
width: 228.78,
filter: true,
height: 100.05,
top: 157,
right: 602,
content: '用户爱好分析、用户活动区域、老客户试乘试驾推荐'
},
{
order: '4',
title: '4. 车辆交付-权益、轻改、保险',
width: 317.93,
top: 144,
right: 123,
height: 101.16,
content: '新车交付过程中的权益、轻改、电池延保等增值衍生业务的用户精准营销'
},
{
order: '5.1',
title: '5.1 车辆使用-车主服务',
width: 239.07,
top: 273,
right: 370,
height: 114.27,
content: '油耗优化建议,驾驶行为优化建议,续航里程预测,车辆自检与风险预测'
},
{
order: '5.2',
width: 244.53,
height: 112.3,
right: -20,
top: 324,
title: '5.2 车辆使用-主机厂分析',
content: 'T-BOX版本统计。单车工况分析、车辆载重分析、车辆用途分析、故障分析、电池寿命预测'
},
{
order: '5.3',
title: '5.3 车辆使用-续保',
width: 194.79,
height: 91.38,
top: 425,
right: 323,
content: '新型UBI产品、驾驶行为分析、电池延保等'
},
{
order: '5.4',
title: '5.4 车辆使用-售后服务',
width: 252.62,
top: 560,
height: 115.72,
right: 63,
content: '维修保障提醒、维修方案管理、在线排故、智能推荐、故障处理推送、救援保障'
},
{
order: '5.5',
title: '5.5 车辆使用-商用车管理',
width: 266.76,
filter: true,
top: 606,
right: 513,
height: 123.61,
content: '商用车油耗分析、商用车月收入评估、运行轨迹回放、运输路线优化、商用车综合评分'
},
{
order: '6',
width: 274.53,
top: 751,
height: 95.83,
right: 276,
title: '6. 卖车环节-二手车交易支撑',
content: '车身健康度评估、车辆残值评估、电池状况检测'
}
]
<!--
* @Description:
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-26 13:44:33
-->
<template>
<div class="layout">
<Head title="广联新能源车主行业大模型"></Head>
<Architecture></Architecture>
<Model></Model>
</div>
</template>
<script>
import Model from './Model'
import Architecture from './Architecture'
import Head from '@/components/Head'
export default {
name: 'energyCar',
components: {
Model,
Architecture,
Head
},
data() {
return {}
},
created() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.layout {
width: 100vw;
height: 100vh;
position: absolute;
overflow: hidden;
top: 0px;
left: 0px;
background: url('../../assets/images/bg.png') 100% 100%;
}
</style>
...@@ -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: huyue * @LastEditors: huyue
* @LastEditTime: 2023-08-22 16:02:45 * @LastEditTime: 2024-01-26 11:42:10
--> -->
<template> <template>
<div class="layout"> <div class="layout">
......
...@@ -3,58 +3,51 @@ ...@@ -3,58 +3,51 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-07-04 13:55:35 * @Date: 2023-07-04 13:55:35
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-08-22 17:31:50 * @LastEditTime: 2024-01-26 11:39:51
--> -->
<template> <template>
<div class="view-content"> <div class="view-content">
<div class="content"> <div class="content">
<LifeSceneLeft></LifeSceneLeft> <LifeSceneLeft></LifeSceneLeft>
<LifeSceneCenter></LifeSceneCenter> <LifeSceneCenter></LifeSceneCenter>
<LifeSceneRight></LifeSceneRight> <LifeSceneRight></LifeSceneRight>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import LifeSceneLeft from "../../lifeSceneDataPage/LifeSceneLeft.vue" import LifeSceneLeft from '../../lifeSceneDataPage/LifeSceneLeft.vue'
import LifeSceneCenter from "../../lifeSceneDataPage/LifeSceneCenter.vue" import LifeSceneCenter from '../../lifeSceneDataPage/LifeSceneCenter.vue'
import LifeSceneRight from "../../lifeSceneDataPage/LifeSceneRight.vue" import LifeSceneRight from '../../lifeSceneDataPage/LifeSceneRight.vue'
export default { export default {
name: 'ViewLifeSceneData', name: 'ViewLifeSceneData',
components: { components: {
LifeSceneLeft, LifeSceneLeft,
LifeSceneCenter, LifeSceneCenter,
LifeSceneRight LifeSceneRight
},
data() {
return {
}
},
created() {
},
mounted() { },
methods: {
}
}
</script>
<style lang="scss" scoped>
.view-content {
width: 100%;
height: 100%;
box-sizing: border-box;
position: relative;
padding: 1.78vh 24px;
gap: 0 16px;
}
.content {
display: flex;
justify-content: space-between;
// padding: 1.78vh 0 0;
// margin-top: 1.78vh;
}
</style>
\ No newline at end of file \ No newline at end of file
},
data() {
return {}
},
created() {},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.view-content {
width: 100%;
height: 100%;
box-sizing: border-box;
position: relative;
padding: 1.78vh 24px;
gap: 0 16px;
}
.content {
display: flex;
justify-content: space-between;
// padding: 1.78vh 0 0;
// margin-top: 1.78vh;
}
</style>
<template> <template>
<div class="left"> <div class="left">
<BoxTitle :title="'智能知识库'" :textAlign="'center'"></BoxTitle> <BoxTitle :title="'智能知识库'" :textAlign="'center'"></BoxTitle>
<div class="left-top"> <div class="left-top">
<KnownlageBase :title="'权益知识库'" :dataObj="equityDataObj" :data="'knownledge1'" /> <KnownlageBase :title="'权益知识库'" :dataObj="equityDataObj" :data="'knownledge1'" />
<KnownlageBase :title="'轻改知识库'" :dataObj="equityDataObj" :data="'knownledge2'" /> <KnownlageBase :title="'轻改知识库'" :dataObj="equityDataObj" :data="'knownledge2'" />
...@@ -10,47 +10,61 @@ ...@@ -10,47 +10,61 @@
<AIMerchant /> <AIMerchant />
<HotWords /> <HotWords />
</div> </div>
</div> <div class="left-bottom">
</template> <MarketingQuestion>
</MarketingQuestion>
<script> </div>
import KnownlageBase from './components/KnownlageBase.vue'; </div>
import AIMerchant from './components/AIMerchant.vue' </template>
<script>
import AIMerchant from './components/AIMerchant.vue';
import MarketingQuestion from './components/MarketingQuestion.vue'
import KnownlageBase from './components/KnownlageBase.vue';
import HotWords from './components/HotWords.vue'; import HotWords from './components/HotWords.vue';
import { equityData, equityDataObj } from './const/index' import { equityData, equityDataObj } from './const/index'
export default {
export default { name: 'LifeSceneLeft',
name: 'LifeSceneLeft', components: {
components: {
AIMerchant, AIMerchant,
HotWords, HotWords,
KnownlageBase KnownlageBase,
MarketingQuestion
}, },
data() { data() {
return { return {
equityData, equityData,
equityDataObj equityDataObj
}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.left {
width: 31.67vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
} }
}, &-center {
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.left {
width: 31.67vw;
&-top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-bottom: 1.78vh; margin-bottom: 1.78vh;
} }
&-center { &-bottom {
display: flex; box-sizing: border-box;
justify-content: space-between; padding: 2.59vh 1.04vw;
margin-bottom: 1.78vh; width: 100%;
height: 38.52vh;
border: 1px solid;
border-image: linear-gradient(to right, #1F5387,#73EAFF, #275FCA) 1;
}
} }
} </style>
</style>
\ No newline at end of file \ No newline at end of file
<!--
* @Description: 3D
* @Author: huyue
* @Date: 2024-01-26 11:36:05
* @LastEditors: huyue
* @LastEditTime: 2024-01-26 11:37:34
-->
<template> <template>
<div class="hot-box"> <div class="hot-box">
<BoxTitle :title="'提问热词'" :fontSize="16"></BoxTitle> <BoxTitle :title="'提问热词'" :fontSize="16"></BoxTitle>
......
<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">基于大量行业数据的训练和GPT的技术,智能知识库为从事汽车增值服务的销售人员提供专业的销售话术生成以及客户销售建议。</div>
</div>
</div>
</template>
<script>
import Phone from "./Phone.vue"
export default {
name: 'LifeSceneLeft',
components: {
Phone
}
}
</script>
<style lang="scss">
.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>
<!--
* @Description: 手机框组件
* @Author: huyue
* @Date: 2024-01-26 11:50:52
* @LastEditors: huyue
* @LastEditTime: 2024-01-26 15:29:14
-->
<template>
<div class="phone-box" :style="{backgroundImage: `url(${require(`assets/images/${imgName}.png`)}`}">
<slot name="content"></slot>
</div>
</template>
<script>
export default {
name: 'Phone',
props: {
imgName: {
type: String,
default: ''
}
},
data() {
return {
}
}
}
</script>
<style lang="scss">
.phone {
&-box {
width: 166px;
height: 100%;
// height: 29.81vh;
// background: url(../../../assets/images/ai-dialogue.png) ;
background-repeat: no-repeat;
background-size: contain;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!