diff --git a/src/views/media/DashBoard/components/Card.vue b/src/views/media/DashBoard/components/Card.vue index 3f8110c8..41e4cc0e 100644 --- a/src/views/media/DashBoard/components/Card.vue +++ b/src/views/media/DashBoard/components/Card.vue @@ -80,25 +80,53 @@ const createChart = () => { // minInterval: 1, }, series: [ + // { + // name: '播放数量(人次)', + // data: sData, + // type: 'bar', + // barWidth: 16, + // itemStyle: { + // color: '#2f54eb', + // }, + // }, + // { + // name: '播放数量(人次)', + // type: 'line', + // symbol: 'circle', + // showSymbol: false, + // smooth: true, + // lineStyle: { + // color: '#a5fff9', + // }, + // data: sData, + // }, { name: '播放数量(人次)', data: sData, - type: 'bar', - barWidth: 16, - itemStyle: { - color: '#2f54eb', - }, - }, - { - name: '播放数量(人次)', type: 'line', - symbol: 'circle', - showSymbol: false, smooth: true, - lineStyle: { - color: '#a5fff9', + symbolSize: 0, // 拐点大小 + color: '#ADC6FF', + areaStyle: { + color: { + type: 'linear', + x: 0, + y: 0, + x2: 0, + y2: 1, + colorStops: [ + { + offset: 0, + color: '#ADC6FF', // 100% 处的颜色 + }, + { + offset: 1, + color: '#FFFFFF', // 0% 处的颜色 + }, + ], + global: false, // 缺省为 false + }, }, - data: sData, }, ], }; diff --git a/src/views/media/DashBoard/index.vue b/src/views/media/DashBoard/index.vue index 7d23194d..2ce4afe7 100644 --- a/src/views/media/DashBoard/index.vue +++ b/src/views/media/DashBoard/index.vue @@ -135,7 +135,7 @@ const aggPlayingFooter = ref([]); const aggPlayingTotal = ref(0); const getAggPlayingData = () => { dashboardApi.aggPlaying().then((res) => { - aggTotal.value = res.result.playingTotal; + aggPlayingTotal.value = res.result.playingTotal; aggPlayingFooter.value = [ { title: '播放人数', diff --git a/src/views/system/Apply/Save/components/EditForm.vue b/src/views/system/Apply/Save/components/EditForm.vue index 0891bb05..0522c2c0 100644 --- a/src/views/system/Apply/Save/components/EditForm.vue +++ b/src/views/system/Apply/Save/components/EditForm.vue @@ -65,7 +65,7 @@

微信网站应用

@@ -74,7 +74,7 @@

钉钉企业内部应用

diff --git a/src/views/system/Department/index.vue b/src/views/system/Department/index.vue index 1625481f..3ebef3e7 100644 --- a/src/views/system/Department/index.vue +++ b/src/views/system/Department/index.vue @@ -5,7 +5,7 @@
- +