Commit 0f086c19 by 张立顺

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

2 parents 23d7462b d59ae0fc
No preview for this file type
......@@ -43,7 +43,6 @@ export default {
background: linear-gradient(to right, #01A4F9, #6DF5F9); /* 从左到右渐变 */
-webkit-background-clip: text; /* Safari/Chrome支持该属性 */
color: transparent; /* 将文本颜色设置为透明 */
text-align: center;
padding-top: 5px;
}
</style>
......@@ -2,7 +2,7 @@
<div class="AI-box">
<BoxTitle :title="'AI对话调用次数及覆盖门店'" :fontSize="18"></BoxTitle>
<img class="bottom-line" src="@/assets/images/bottomLine.png" alt="" />
<BarLineChart ref="AITalkRef" height="14.35vh" domId="AITalk" :dataList.sync="AIBarLineData"></BarLineChart>
<BarLineChart ref="AITalkRef" height="15.83vh" domId="AITalk" :dataList.sync="AIBarLineData"></BarLineChart>
</div>
</template>
......@@ -19,7 +19,9 @@ export default {
}
},
mounted() {},
mounted() {
this.$refs.AITalkRef.drawBarLine()
},
methods: {}
}
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-08-23 16:22:16
* @LastEditTime: 2024-01-26 21:35:57
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -37,7 +37,6 @@ export default {
}
}
},
data() {
return {
barLineOptions: [],
......@@ -53,10 +52,10 @@ export default {
this.barLineDom = document.getElementById(this.domId)
this[this.domId] = echarts.init(this.barLineDom)
this.chartBindEvent()
setTimeout(()=>{
// setTimeout(()=>{
},
1000)
// },
// 1000)
},
methods: {
drawBarLine() {
......
<template>
<div class="big-module-box">
<BoxTitle :title="'使用大模型创建活动的趋势'" :fontSize="16"></BoxTitle>
<BarChart ref="bigModuleChartRef" :height="'15.83vh'" domId="bigModuleChart" :dataList.sync="bigModuleChartDataList"></BarChart>
<BarChart class="bar-chart" ref="bigModuleChartRef" :height="'15.83vh'" domId="bigModuleChart" :dataList.sync="bigModuleChartDataList"></BarChart>
</div>
</template>
......@@ -13,11 +13,13 @@ export default {
components: { BarChart },
data() {
return {
bigModuleChartDataList
bigModuleChartDataList
}
},
mounted() {},
mounted() {
this.$refs.bigModuleChartRef.drawBar()
},
methods: {}
}
......@@ -32,4 +34,7 @@ export default {
background-size: 100% 100%;
padding: 3.61vh 1.59vw 5.93vh 0.78vw;
}
.bar-chart {
transform: translateY(30%);
}
</style>
<template>
<div class="mask" v-if="isShow">
<div class="dialog-wrap">
<div class="dialog">
<div class="dialog-title">
维保线索推送
<div class="close" @click="closeHandle">
<img src="@/assets/images/close.png" />
</div>
</div>
<video id="videos" muted="muted" autoplay class="video-box">
<!-- <source src="/media/cc0-videos/flower.webm" type="video/webm" /> -->
<source src="../../../assets/images/video(1).mp4" type="video/mp4" />
</video>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'Dialog',
props: {
isShow: Boolean
},
data() {
return {
msg: ''
}
},
methods: {
closeHandle() {
this.$emit('closeDialog')
}
}
}
</script>
<style lang="scss" scoped>
.mask {
width: 100%;
height: 100%;
position: fixed;
z-index: 99;
left: 0px;
top: 0px;
background: rgba(0, 0, 0, 0.8);
}
.dialog-wrap {
width: 61.11vw;
height: 73.29vh;
position: absolute;
z-index: 1;
left: 50%;
top: 50%;
background-image: url('../../../assets/images/bg-5.png');
background-repeat: no-repeat;
background-size: 100% 100%;
transform: translate(-50%, -50%);
border-radius: 5px;
padding: 3.9vh 3.67vw;
box-sizing: border-box;
.close {
width: 20px;
height: 20px;
position: absolute;
right: -330px;
top: -5px;
cursor: pointer;
}
.dialog-title {
width: 13.19vw;
height: 4.39vh;
background-image: url('../../../assets/images/title-dialog.png');
background-repeat: no-repeat;
background-size: 100% 100%;
text-align: center;
font-size: 20px;
color: #ffffff;
margin: 0 auto;
position: relative;
line-height: 4.39vh;
}
.video-box {
width: 51.11vw;
height: 63.29vh;
}
}
</style>
......@@ -3,11 +3,11 @@
* @Author: huyue
* @Date: 2024-01-26 11:36:05
* @LastEditors: huyue
* @LastEditTime: 2024-01-26 11:37:34
* @LastEditTime: 2024-01-26 21:56:54
-->
<template>
<div class="hot-box">
<BoxTitle :title="'提问热词'" :fontSize="16"></BoxTitle>
<BoxTitle class="hot-title" :title="'提问热词'" :fontSize="16"></BoxTitle>
<div class="tagcloud"></div>
</div>
</template>
......@@ -40,24 +40,46 @@ export default {
return {}
},
mounted() {
TagCloud('.tagcloud', texts)
TagCloud('.tagcloud', texts, {
radius: 100
})
}
}
</script>
<style lang="scss">
.hot-box {
position: relative;
width: 10.31vw;
height: 23.8vh;
background-image: url(../../../assets/images/hot-words-bg.png);
background-image: url(../../../assets/images/hotword-bg.png);
background-size: 100% 100%;
text-align: center;
.hot-title {
padding-bottom: 4.19vh;
}
&::after {
content: '';
display:block;
width: 0.73vw;
height: 2.04vh;
position: absolute;
top: 1vh;
right: 1vh;
background-image: url(../../../assets/images/right-arrow.png);
background-size: 0.73vw 2.04vh;
}
}
.tagcloud {
width: 7.85vw !important;
height: 7.85vw !important;
background-image: url(../../../assets/images/hot-words-bg.png);
background-size: 100% 100%;
margin: 0 auto;
span {
font-size: 10px;
color: #5894FF;
background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF);
-webkit-background-clip: text;
......
<template>
<div class="markeing-box">
<Phone :imgName="'ai-dialogue'">
<Phone class="platform-box" :imgName="'work-platform'">
<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 v-for="item in threadData" :key="item.key">
<div class="dialogue-content-item">
<div class="dialogue-content-item-top">
<div class="dialogue-content-item-top-left">
<div></div>
<div>
<div>{{ item.name }}</div>
<div>{{ item.phone }}</div>
</div>
</div>
<div class="call">拨打</div>
</div>
<div class="dialogue-content-item-inner">
<div>
车牌号码
<span>{{ item.carNum }}</span>
</div>
<div>
设备类型
<span>{{ item.type }}</span>
</div>
<div>
碰撞时间
<span>{{ item.time }}</span>
</div>
</div>
</div>
</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>
<Phone class="enterprise-box" :imgName="'customer-detail'">
<div class="video-content" slot="content" @click="openVideo">
<video id="videos" muted="muted" controls autoplay loop>
<!-- <source src="/media/cc0-videos/flower.webm" type="video/webm" /> -->
<source src="../../../assets/images/video(1).mp4" type="video/mp4" />
</video>
</div>
</Phone>
<div class="markeing-descript">
<div class="second-title">维保线索推送</div>
<div class="descript">大模型识别车辆碰撞并将碰撞信息发送给对接的智慧门店系统,门店专员及时和客户联系,引导车辆进厂维修,提升售后维修产值。</div>
</div>
<Dialog :isShow="dialogShow" @closeDialog="closeDialog"></Dialog>
</div>
</template>
<script>
import Phone from "./Phone.vue"
import Phone from './Phone.vue'
import Dialog from './Dialog.vue'
import { threadData } from '../const/index'
export default {
name: 'Maintenance',
components: {
Phone
Phone,
Dialog
},
data() {
return {
threadData,
dialogShow: false
}
},
methods: {
openVideo() {
this.dialogShow = true
},
closeDialog() {
this.dialogShow = false
}
}
}
</script>
......@@ -44,51 +84,76 @@ export default {
background-image: url(../../../assets/images/marketing-ask-bg.png);
background-size: 100% 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;
.platform-box {
position: relative;
.dialogue-content {
position: absolute;
top: 7.78vh;
left: 0.31vw;
max-height: 24.3vh;
overflow-y: scroll;
&-item {
width: 7.28vw;
border-radius: 4px;
background-color: #313951;
padding: 0.2vw 0.3vh;
box-sizing: border-box;
margin-bottom: 0.3vh;
&-top {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 500;
font-size: 10px;
color: #ffffffe6;
margin-bottom: 0.4vw;
&-left {
display: flex;
}
.call {
width: 1.35vw;
height: 1.57vh;
font-size: 7.1px;
color: #ffffff;
text-align: center;
line-height: 1.57vh;
background: #3582ee;
border-radius: 1.57vh;
}
}
&-inner {
background: #262f47;
border-radius: 4px;
font-size: 9px;
color: #ffffffcc;
padding: 0.4vw 0.2vw;
}
}
}
.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;
position: relative;
.video-content {
position: absolute;
top: 5.28vh;
left: 0.31vw;
width: 7.28vw;
height: 7.97vh;
video {
width: 100%;
height: 100%;
object-fit: cover;
}
}
}
.enterprise {
padding-top: 8vh;
font-size: 5px;
color: #FFFFFF;
color: #ffffff;
&-item {
background: rgba(255, 255, 255, .1);
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
margin: 0.53vh 0.36vw;
padding: 4px;
......@@ -100,14 +165,14 @@ export default {
.second-title {
font-size: 20px;
text-align: center;
color: #5894FF;
background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF);
color: #5894ff;
background-image: -webkit-linear-gradient(left, #0185f9, #53faff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 2.5vh;
}
.descript {
color: #09AEF2;
color: #09aef2;
font-size: 12px;
}
}
......
<!--
* @Description:
* @Author: huyue
* @Date: 2024-01-26 11:36:05
* @LastEditors: huyue
* @LastEditTime: 2024-01-26 21:47:43
-->
<template>
<div class="near-thread-box">
<BoxTitle :title="'近12个月的线索推送情况'" :fontSize="18"></BoxTitle>
<img class="bottom-line" src="@/assets/images/bottomLine.png" alt="" />
<BarChart ref="nearThreadChartRef" :height="'22.83vh'" domId="nearThreadChart" :dataList.sync="nearThreadDataList"></BarChart>
<BarChart ref="nearThreadChartRef" :height="'24.82vh'" domId="nearThreadChart" :dataList.sync="nearThreadDataList"></BarChart>
</div>
</template>
......
......@@ -180,6 +180,33 @@ const bigModuleChartDataList = [
},
]
const threadData = [
{
key: 1,
name: '吴*新',
phone: '18715147799',
carNum: '苏K12A2G',
type: 'OBD',
time: '2023-03-15 10:00:00',
},
{
key: 2,
name: '吴*新',
phone: '18715147799',
carNum: '苏K12A2G',
type: 'OBD',
time: '2023-03-15 10:00:00',
},
{
key: 3,
name: '吴*新',
phone: '18715147799',
carNum: '苏K12A2G',
type: 'OBD',
time: '2023-03-15 10:00:00',
}
]
export {
AIBarLineData,
equityData,
......@@ -188,5 +215,6 @@ export {
nearThreadDataList,
marketingStatisData,
activityListData,
bigModuleChartDataList
bigModuleChartDataList,
threadData
}
\ No newline at end of file
......@@ -8,7 +8,7 @@
<template>
<div class="left">
<div class="top">
<box-title title="企业客户总览"></box-title>
<box-title title="企业客户总览" :textAlign="'center'"></box-title>
<view-tabs />
<view-surface />
<view-pie-group>
......@@ -18,7 +18,7 @@
</view-pie-group>
</div>
<div class="bottom">
<box-title title="客户数字化业务"></box-title>
<box-title title="客户数字化业务" :textAlign="'center'"></box-title>
<OverSize></OverSize>
</div>
</div>
......
......@@ -8,12 +8,12 @@
<template>
<div class="right">
<div class="top">
<box-title title="营销增值服务业务"></box-title>
<box-title title="营销增值服务业务" :textAlign="'center'"></box-title>
<Business></Business>
<Project></Project>
</div>
<div class="bottom">
<box-title title="私域用户池总览"></box-title>
<box-title title="私域用户池总览" :textAlign="'center'"></box-title>
<div class="bottom-content">
<UserTab></UserTab>
<view-chart></view-chart>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!