Commit ad05c6aa by 匡雅琴

修改

1 parent 4524fdf5
......@@ -32,7 +32,7 @@ export default {
},
{
name: 'num',
width: '1.88vw',
width: '2.25vw',
unitIcon: '场'
}
]
......
......@@ -16,14 +16,14 @@ function getBarOptions(obj) {
// formatter: tooltipFormatter || '',
// confine: true
// },
barWidth: 14,
xAxis: {
data: []
},
yAxis: {
name: '',
type: 'value',
// min: 0,
// max: 100,
interval: 250,
splitLine: {
lineStyle: {
color: '#1d2a38'
......@@ -53,15 +53,15 @@ function getBarOptions(obj) {
return new echarts.graphic.LinearGradient(
0, 0, 0, 1, [{ // 代表渐变色从正上方开始
offset: 0, // offset范围是0~1,用于表示位置,0是指0%处的颜色
color: '#22D8FF'
color: '#00C8FF'
}, // 柱图渐变色
{
offset: 0.5, // 指100%处的颜色
color: '#223FA9'
},
// {
// offset: 0.5, // 指100%处的颜色
// color: '#223FA9'
// },
{
offset: 1, // 指100%处的颜色
color: '#061422'
color: '#0069F2'
}]
)
}
......
......@@ -6,7 +6,9 @@
<div class="dialogue-content-item">
<div class="dialogue-content-item-top">
<div class="dialogue-content-item-top-left">
<div></div>
<div class="dialogue-content-item-top-img">
<img src="../../../assets/images/avatar.png" alt="">
</div>
<div>
<div>{{ item.name }}</div>
<div>{{ item.phone }}</div>
......@@ -33,8 +35,9 @@
</div>
</Phone>
<Phone class="enterprise-box" :imgName="'customer-detail'">
<div class="video-content" slot="content" @click="openVideo">
<video id="videos" muted="muted" controls autoplay loop>
<div class="video-content" slot="content">
<div class="video-click-content" @click="openVideo"></div>
<video ref="videoRef" 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>
......@@ -63,12 +66,23 @@ export default {
dialogShow: false
}
},
mounted() {
this.$refs.videoRef.addEventListener('ended', this.replayVideo);
},
beforeDestroy() {
this.$refs.videoRef.removeEventListener('ended', this.replayVideo);
},
methods: {
openVideo() {
this.dialogShow = true
},
closeDialog() {
this.dialogShow = false
},
replayVideo() {
const video = this.$refs.videoRef;
video.currentTime = 0;
video.play();
}
}
}
......@@ -90,7 +104,7 @@ export default {
position: absolute;
top: 7.78vh;
left: 0.31vw;
max-height: 24.3vh;
max-height: 21.3vh;
overflow-y: scroll;
&-item {
width: 7.28vw;
......@@ -110,6 +124,11 @@ export default {
&-left {
display: flex;
}
&-img {
width: 0.89vw;
height: 0.89vw;
margin-right: 0.2vw;
}
.call {
width: 1.35vw;
height: 1.57vh;
......@@ -135,6 +154,14 @@ export default {
.enterprise-box {
margin-left: 0.42vw;
position: relative;
.video-click-content {
position: absolute;
top: 0;
left: 0;
width: 8.28vw;
height: 3.97vh;
z-index: 9999;
}
.video-content {
position: absolute;
top: 5.28vh;
......
const AIBarLineData = [
{
statMonth: '2023-10',
outputvalue: 352,
perCusTrans: 158
statMonth: '8月',
outputvalue: 312,
perCusTrans: 297
},
{
statMonth: '2023-11',
outputvalue: 189,
perCusTrans: 255
statMonth: '9月',
outputvalue: 416,
perCusTrans: 355
},
{
statMonth: '2023-12',
outputvalue: 580,
perCusTrans: 286
statMonth: '10月',
outputvalue: 827,
perCusTrans: 446
},
{
statMonth: '2024-01',
outputvalue: 685,
perCusTrans: 311
statMonth: '11月',
outputvalue: 855,
perCusTrans: 452
},
{
statMonth: '2024-02',
outputvalue: 185,
perCusTrans: 258
statMonth: '12月',
outputvalue: 901,
perCusTrans: 587
},
{
statMonth: '2024-03',
outputvalue: 177,
perCusTrans: 457
statMonth: '01月',
outputvalue: 977,
perCusTrans: 701
}
]
......@@ -97,86 +97,102 @@ const marketingStatisData = [
const nearThreadDataList = [
{
statMonth: '23.11',
val: 10
statMonth: '23.02',
val: 899
},
{
statMonth: '23.12',
val: 9
statMonth: '23.03',
val: 757
},
{
statMonth: '23.13',
val: 50
statMonth: '23.04',
val: 997
},
{
statMonth: '23.14',
val: 30
statMonth: '23.05',
val: 876
},
{
statMonth: '23.15',
val: 10
statMonth: '23.06',
val: 878
},
{
statMonth: '23.15',
val: 10
statMonth: '23.07',
val: 1219
},
{
statMonth: '23.15',
val: 10
statMonth: '23.08',
val: 861
},
{
statMonth: '23.15',
val: 10
statMonth: '23.09',
val: 911
},
{
statMonth: '23.15',
val: 10
statMonth: '23.10',
val: 983
},
{
statMonth: '23.11',
val: 864
},
{
statMonth: '23.12',
val: 903
},
{
statMonth: '23.01',
val: 1001
}
]
const activityListData = [
{
isused: "精品升级",
num: 360,
rate: 36
num: 2400,
rate: 35.3
},
{
isused: "权益升级",
num: 280,
rate: 28
num: 1850,
rate: 27.22
},
{
isused: "售后团购",
num: 240,
rate: 24
num: 1599,
rate: 23.52
},
{
isused: "节假日关怀",
num: 120,
rate: 12
num: 950,
rate: 13.96
}
]
const bigModuleChartDataList = [
{
statMonth: '23.11',
val: 10
statMonth: '8月',
val: 248
},
{
statMonth: '23.12',
val: 9
statMonth: '9月',
val: 375
},
{
statMonth: '23.13',
val: 50
statMonth: '10月',
val: 623
},
{
statMonth: '23.14',
val: 30
statMonth: '11月',
val: 746
},
{
statMonth: '23.15',
val: 10
statMonth: '12月',
val: 921
},
{
statMonth: '01月',
val: 1107
},
]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!