Commit ad05c6aa by 匡雅琴

修改

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