Commit 4a674fdf by 前端

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

2 parents 4e1be719 0d68740d
/*
* @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
}
...@@ -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">
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
sname = 'ViewOperational' sname = 'ViewOperational'
break break
case 'interior': case 'interior':
sname = 'ViewInterior' sname = 'ViewLifeSceneData'
break break
case 'business': case 'business':
sname = 'ViewSolar' sname = 'ViewSolar'
......
...@@ -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">
<div class="left-top"> <div class="left-top"></div>
</div> <div class="left-center">
<div class="left-center"> <!-- <AIMerchant /> -->
<AIMerchant />
</div>
</div> </div>
</template> <div class="left-bottom">
<MarketingQuestion>
<script> </MarketingQuestion>
import AIMerchant from './components/AIMerchant.vue'; </div>
export default { </div>
name: 'LifeSceneLeft', </template>
components: {
AIMerchant <script>
}, // import AIMerchant from './components/AIMerchant.vue'
data() { import MarketingQuestion from './components/MarketingQuestion.vue'
return {} export default {
}, name: 'LifeSceneLeft',
components: {
mounted() {}, // AIMerchant,
MarketingQuestion
methods: {} },
data() {
return {}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.left {
width: 31.67vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
} }
</script> &-bottom {
box-sizing: border-box;
<style lang="scss" scoped> padding: 2.59vh 1.04vw;
.left { width: 100%;
width: 31.67vw; height: 38.52vh;
&-top { border: 1px solid;
display: flex; border-image: linear-gradient(to right, #1F5387,#73EAFF, #275FCA) 1;
justify-content: space-between;
margin-bottom: 1.78vh;
}
} }
</style>
\ No newline at end of file \ No newline at end of file
}
</style>
<template> <template>
<div class="right"> <div class="right">
<div class="right-top"> <div class="right-top"></div>
</div> </div>
</div> </template>
</template>
<script>
<script> export default {
export default { name: 'LifeSceneRight',
name: 'LifeSceneRight', components: {},
components: { data() {
}, return {}
data() { },
return {}
}, mounted() {},
mounted() {}, methods: {}
}
methods: {} </script>
<style lang="scss" scoped>
.right {
width: 31.67vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
} }
</script>
<style lang="scss" scoped>
.right {
width: 31.67vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
}
}
</style>
\ No newline at end of file \ No newline at end of file
}
</style>
<!--
* @Description: 3D
* @Author: huyue
* @Date: 2024-01-26 11:36:05
* @LastEditors: huyue
* @LastEditTime: 2024-01-26 11:37:34
-->
<template> <template>
<div> <div>
<di class="tagcloud"></di> <di class="tagcloud"></di>
...@@ -22,7 +29,7 @@ export default { ...@@ -22,7 +29,7 @@ export default {
.tagcloud { .tagcloud {
width: 16vw; width: 16vw;
height: 16vw; height: 16vw;
background-image: url(../../assets/images/hot-words-bg.png); background-image: url(../../../assets/images/hot-words-bg.png);
background-size: 100%; background-size: 100%;
span { span {
color: #5894FF; color: #5894FF;
......
<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!