Commit eb505ce5 by 胡悦

提交

1 parent 634158a8

7.54 KB | W: | H:

54 KB | W: | H:

src/assets/images/pause-icon.png
src/assets/images/pause-icon.png
src/assets/images/pause-icon.png
src/assets/images/pause-icon.png
  • 2-up
  • Swipe
  • Onion skin

8 KB | W: | H:

51.9 KB | W: | H:

src/assets/images/play-icon.png
src/assets/images/play-icon.png
src/assets/images/play-icon.png
src/assets/images/play-icon.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditTime: 2024-09-10 13:48:47
* @LastEditTime: 2024-09-14 15:09:24
-->
<template>
<div class="page_layout">
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-09-04 16:16:02
* @LastEditors: huyue
* @LastEditTime: 2024-09-09 14:36:32
* @LastEditTime: 2024-09-14 16:34:40
-->
<template>
<div class="center-box">
......@@ -42,6 +42,7 @@ export default {
.top {
width: 100%;
height: 47.69vh;
margin-top: 0.401vw;
}
.bottom {
// display: grid;
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-08-16 14:34:58
* @LastEditors: huyue
* @LastEditTime: 2024-09-10 14:42:00
* @LastEditTime: 2024-09-14 16:37:47
-->
<template>
......@@ -31,7 +31,7 @@ export default {
chart: {
id: 'area',
keys: ['name', 'num'],
colors: ['#16E193', '#EB6001', '#FFE73C', '#56FEFE', '#E588FF', '#747DFF'],
colors: ['#747DFF', '#E588FF', '#16E193', '#FFE73C', '#EB6001', '#56FEFE'],
formatter: 'rate'
},
areaData: []
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-08-16 14:35:24
* @LastEditors: huyue
* @LastEditTime: 2024-09-10 14:43:36
* @LastEditTime: 2024-09-14 16:39:00
-->
<template>
......@@ -31,7 +31,7 @@ export default {
chart: {
id: 'brand',
keys: ['name', 'num'],
colors: ['#16E193', '#EB6001', '#FFE73C', '#56FEFE', '#E588FF', '#747DFF'],
colors: ['#747DFF', '#E588FF', '#16E193', '#FFE73C', '#EB6001', '#56FEFE'],
formatter: 'rate'
},
brandData: []
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-09-09 10:12:50
* @LastEditors: huyue
* @LastEditTime: 2024-09-11 10:10:11
* @LastEditTime: 2024-09-14 16:30:09
-->
<template>
<div class="table-box">
......@@ -13,8 +13,8 @@
</div>
<div class="table-th">
<div class="angle"></div>
<div style="width: 4.4vw;padding-left: 2.4vw;">员工姓名</div>
<div style="width: 2.7vw;">GMV</div>
<div style="width: 4.3vw;padding-left: 2.4vw;">员工姓名</div>
<div style="width: 2.6vw;">GMV</div>
<div style="width: 1.6vw;">渗透率</div>
</div>
<dv-scroll-board ref="employeeTable" :config="tableConfig" :waitTime="5000" style="width: 100%;height:28.08vh" />
......@@ -40,7 +40,7 @@ export default {
rowNum: 7,
evenRowBGC: 'transparent',
oddRowBGC: 'transparent',
columnWidth: [50, 80, 60, 50],
columnWidth: [50, 120, 70, 70],
align: ['left']
}
}
......@@ -86,6 +86,8 @@ export default {
background-size: 100%;
}
.title-text {
margin-left: 0.32vw;
font-size: 14px;
background: linear-gradient(to right, #01A4F9, #6DF5F9); /* 从左到右渐变 */
-webkit-background-clip: text; /* Safari/Chrome支持该属性 */
color: transparent; /* 将文本颜色设置为透明 */
......@@ -112,6 +114,7 @@ export default {
margin-bottom: 0.77vh;
display: flex;
align-items: center;
background: rgba(47, 85, 143, 0.3);
}
.table-th:after,
.table-th:before,
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-09-09 10:12:50
* @LastEditors: huyue
* @LastEditTime: 2024-09-11 10:09:53
* @LastEditTime: 2024-09-14 16:28:25
-->
<template>
<div class="table-box">
......@@ -14,8 +14,8 @@
<div class="table-th">
<div class="angle"></div>
<div style="width: 5.5vw;padding-left: 2.4vw;">门店名称</div>
<div style="width: 2.8vw;">GMV</div>
<div style="width: 1.6vw;">渗透率</div>
<div style="width: 2.5vw;">GMV</div>
<div style="width: 1.7vw;">渗透率</div>
</div>
<dv-scroll-board ref="storeTable" :config="tableConfig" :waitTime="5000" style="width: 100%;height:28.08vh" />
</div>
......@@ -41,7 +41,7 @@ export default {
// index: true,
evenRowBGC: 'transparent',
oddRowBGC: 'transparent',
columnWidth: [50, 100, 60, 50],
columnWidth: [50, 140, 60, 70],
align: ['left']
}
}
......@@ -86,6 +86,8 @@ export default {
background-size: 100%;
}
.title-text {
margin-left: 0.32vw;
font-size: 14px;
background: linear-gradient(to right, #01A4F9, #6DF5F9); /* 从左到右渐变 */
-webkit-background-clip: text; /* Safari/Chrome支持该属性 */
color: transparent; /* 将文本颜色设置为透明 */
......@@ -112,6 +114,7 @@ export default {
margin-bottom: 0.77vh;
display: flex;
align-items: center;
background: rgba(47, 85, 143, 0.3);
}
.table-th:after,
.table-th:before,
......@@ -128,25 +131,25 @@ export default {
.table-th:after,
.table-th:before {
top: 0;
border-top-color: #3D7FFF
border-top-color: rgba(61, 127, 255, 0.5);
}
.angle:after,
.angle:before {
bottom: 0;
border-bottom-color: #3D7FFF
border-bottom-color: rgba(61, 127, 255, 0.5);
}
.table-th:before,
.angle:before {
left: 0;
border-left-color: #3D7FFF
border-left-color: rgba(61, 127, 255, 0.5);
}
.table-th:after,
.angle:after {
right: 0;
border-right-color: #3D7FFF
border-right-color: rgba(61, 127, 255, 0.5);
}
}
.row-item {
......
......@@ -3,14 +3,13 @@
* @Author: huyue
* @Date: 2023-08-16 14:44:03
* @LastEditors: huyue
* @LastEditTime: 2024-09-10 14:05:40
* @LastEditTime: 2024-09-14 15:48:55
-->
<template>
<div class="tabs-box">
<div class="tabs flex">
<div
class="tab"
:style="{ width: `calc((100% - ${(tabs.length - 1) * 0.64}vw) / ${tabs.length})` }"
v-for="item in tabs"
:key="item.key">
<div v-if="item.key != 'retention'" class="tab-text">{{ numAddSymbol(dataList[item.key]) }}</div>
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:46:24
* @LastEditors: huyue
* @LastEditTime: 2024-09-11 15:14:41
* @LastEditTime: 2024-09-14 16:17:13
* @FilePath: \dj-data-view\src\components\barOptions.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -413,7 +413,7 @@ function lineAndBarOptions(list) {
// },
// padding: 5,
// borderWidth: 1,
// backgroundColor: 'rgba(35, 45, 152, 1)',
backgroundColor: 'transparent',
// borderRadius: 4,
// textStyle: {
// color: 'rgba(255,255,255,1)',
......@@ -421,7 +421,7 @@ function lineAndBarOptions(list) {
// },
formatter: function(item) {
const items = list[item[0].dataIndex]
return `<div style="background-color: rgba(0, 0, 3, 0.8);border: 2px solid;border-image: linear-gradient(90deg, #01A4F9, #6DF5F9) 1;padding: 10px;border-radius: 4px;"><div style="display:flex;"><div style="color: #fff">当月总门店数:${utils.numAddSymbol(item[0].value)}<br>当月新增:${utils.numAddSymbol(item[1].value)}<br>上月总门店数:${utils.numAddSymbol(items.yesterdaytotalNum)}<br>上月月新增:${utils.numAddSymbol(items.yesterdayincreNum)}</div></div>`
return `<div style="background-color: rgba(0, 0, 3, 0.8);font-size: 9px;border: 2px solid;border-image: linear-gradient(90deg, #01A4F9, #6DF5F9) 1;padding: 10px;border-radius: 4px;"><div style="display:flex;"><div style="color: #fff">当月总门店数:${utils.numAddSymbol(item[0].value)}<br>当月新增:${utils.numAddSymbol(item[1].value)}<br>上月总门店数:${utils.numAddSymbol(items.yesterdaytotalNum)}<br>上月月新增:${utils.numAddSymbol(items.yesterdayincreNum)}</div></div>`
}
},
xAxis: [
......@@ -429,7 +429,8 @@ function lineAndBarOptions(list) {
type: 'category',
axisLabel: {
color: '#fff',
fontSize: '0.8em'
fontSize: '11px',
margin: 20
},
splitLine: {
show: false
......@@ -446,7 +447,7 @@ function lineAndBarOptions(list) {
grid: {
left: '3%',
right: '6%',
top: '10%',
top: '8%',
bottom: '5%',
containLabel: true
},
......@@ -498,6 +499,9 @@ function lineAndBarOptions(list) {
itemStyle: {
color: '#56FEFE'
},
lineStyle: {
width: 1
},
// 折线背景色
areaStyle: {
color: {
......@@ -527,7 +531,7 @@ function lineAndBarOptions(list) {
color: '#6578FF'
},
yAxisIndex: 1,
barWidth: '30%',
barWidth: '24%',
data: increNum,
itemStyle: {
barBorderRadius: [2, 2, 0, 0], // 柱体圆角
......
......@@ -86,15 +86,21 @@ export default {
<style lang="scss" scoped>
.video-container {
width: 1560px;
height: 878px;
border: 4px solid rgba(18, 117, 248, 0.5);
width: 1824px;
height: 876px;
background: url('../../assets/images/home-bg.png') no-repeat;
background-size: 100%;
// border: 4px solid rgba(18, 117, 248, 0.5);
box-sizing: border-box;
margin: 20px calc((100vw - 1560px) / 2);
// margin: 20px calc((100vw - 1560px) / 2);
margin: 20px auto;
position: relative;
display: flex;
justify-content: center;
align-items: center;
.video-box {
width: 100%;
height: 100%;
width: 1440px;
height: 810px;
}
.video-pause,
.video-play {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!