Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-scene
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit eb505ce5
authored
Sep 18, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
634158a8
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
48 additions
and
32 deletions
src/assets/images/home-bg.png
src/assets/images/pause-icon.png
src/assets/images/play-icon.png
src/views/home/index.vue
src/views/newOperational/center.vue
src/views/newOperational/components/Area.vue
src/views/newOperational/components/Brand.vue
src/views/newOperational/components/EmployeeGmv.vue
src/views/newOperational/components/StoreGmv.vue
src/views/newOperational/components/ViewTab.vue
src/views/newOperational/components/options.js
src/views/videoPage/index.vue
src/assets/images/home-bg.png
0 → 100644
View file @
eb505ce
1 MB
src/assets/images/pause-icon.png
View file @
eb505ce
7.54 KB
|
W:
|
H:
54 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/images/play-icon.png
View file @
eb505ce
8 KB
|
W:
|
H:
51.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/home/index.vue
View file @
eb505ce
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-09-1
0 13:48:47
* @LastEditTime: 2024-09-1
4 15:09:24
-->
-->
<
template
>
<
template
>
<div
class=
"page_layout"
>
<div
class=
"page_layout"
>
...
...
src/views/newOperational/center.vue
View file @
eb505ce
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2024-09-04 16:16:02
* @Date: 2024-09-04 16:16:02
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-09-
09 14:36:32
* @LastEditTime: 2024-09-
14 16:34:40
-->
-->
<
template
>
<
template
>
<div
class=
"center-box"
>
<div
class=
"center-box"
>
...
@@ -42,6 +42,7 @@ export default {
...
@@ -42,6 +42,7 @@ export default {
.top
{
.top
{
width
:
100%
;
width
:
100%
;
height
:
47.69vh
;
height
:
47.69vh
;
margin-top
:
0.401vw
;
}
}
.bottom
{
.bottom
{
//
display
:
grid
;
//
display
:
grid
;
...
...
src/views/newOperational/components/Area.vue
View file @
eb505ce
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-08-16 14:34:58
* @Date: 2023-08-16 14:34:58
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-09-1
0 14:42:00
* @LastEditTime: 2024-09-1
4 16:37:47
-->
-->
<
template
>
<
template
>
...
@@ -31,7 +31,7 @@ export default {
...
@@ -31,7 +31,7 @@ export default {
chart
:
{
chart
:
{
id
:
'area'
,
id
:
'area'
,
keys
:
[
'name'
,
'num'
],
keys
:
[
'name'
,
'num'
],
colors
:
[
'#
16E193'
,
'#EB6001'
,
'#FFE73C'
,
'#56FEFE'
,
'#E588FF'
,
'#747DFF
'
],
colors
:
[
'#
747DFF'
,
'#E588FF'
,
'#16E193'
,
'#FFE73C'
,
'#EB6001'
,
'#56FEFE
'
],
formatter
:
'rate'
formatter
:
'rate'
},
},
areaData
:
[]
areaData
:
[]
...
...
src/views/newOperational/components/Brand.vue
View file @
eb505ce
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-08-16 14:35:24
* @Date: 2023-08-16 14:35:24
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-09-1
0 14:43:36
* @LastEditTime: 2024-09-1
4 16:39:00
-->
-->
<
template
>
<
template
>
...
@@ -31,7 +31,7 @@ export default {
...
@@ -31,7 +31,7 @@ export default {
chart
:
{
chart
:
{
id
:
'brand'
,
id
:
'brand'
,
keys
:
[
'name'
,
'num'
],
keys
:
[
'name'
,
'num'
],
colors
:
[
'#
16E193'
,
'#EB6001'
,
'#FFE73C'
,
'#56FEFE'
,
'#E588FF'
,
'#747DFF
'
],
colors
:
[
'#
747DFF'
,
'#E588FF'
,
'#16E193'
,
'#FFE73C'
,
'#EB6001'
,
'#56FEFE
'
],
formatter
:
'rate'
formatter
:
'rate'
},
},
brandData
:
[]
brandData
:
[]
...
...
src/views/newOperational/components/EmployeeGmv.vue
View file @
eb505ce
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2024-09-09 10:12:50
* @Date: 2024-09-09 10:12:50
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-09-1
1 10:10:11
* @LastEditTime: 2024-09-1
4 16:30:09
-->
-->
<
template
>
<
template
>
<div
class=
"table-box"
>
<div
class=
"table-box"
>
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
</div>
</div>
<div
class=
"table-th"
>
<div
class=
"table-th"
>
<div
class=
"angle"
></div>
<div
class=
"angle"
></div>
<div
style=
"width: 4.
4
vw;padding-left: 2.4vw;"
>
员工姓名
</div>
<div
style=
"width: 4.
3
vw;padding-left: 2.4vw;"
>
员工姓名
</div>
<div
style=
"width: 2.
7
vw;"
>
GMV
</div>
<div
style=
"width: 2.
6
vw;"
>
GMV
</div>
<div
style=
"width: 1.6vw;"
>
渗透率
</div>
<div
style=
"width: 1.6vw;"
>
渗透率
</div>
</div>
</div>
<dv-scroll-board
ref=
"employeeTable"
:config=
"tableConfig"
:waitTime=
"5000"
style=
"width: 100%;height:28.08vh"
/>
<dv-scroll-board
ref=
"employeeTable"
:config=
"tableConfig"
:waitTime=
"5000"
style=
"width: 100%;height:28.08vh"
/>
...
@@ -40,7 +40,7 @@ export default {
...
@@ -40,7 +40,7 @@ export default {
rowNum
:
7
,
rowNum
:
7
,
evenRowBGC
:
'transparent'
,
evenRowBGC
:
'transparent'
,
oddRowBGC
:
'transparent'
,
oddRowBGC
:
'transparent'
,
columnWidth
:
[
50
,
80
,
60
,
5
0
],
columnWidth
:
[
50
,
120
,
70
,
7
0
],
align
:
[
'left'
]
align
:
[
'left'
]
}
}
}
}
...
@@ -86,6 +86,8 @@ export default {
...
@@ -86,6 +86,8 @@ export default {
background-size
:
100%
;
background-size
:
100%
;
}
}
.title-text
{
.title-text
{
margin-left
:
0.32vw
;
font-size
:
14px
;
background
:
linear-gradient
(
to
right
,
#01A4F9
,
#6DF5F9
);
/* 从左到右渐变 */
background
:
linear-gradient
(
to
right
,
#01A4F9
,
#6DF5F9
);
/* 从左到右渐变 */
-webkit-background-clip
:
text
;
/* Safari/Chrome支持该属性 */
-webkit-background-clip
:
text
;
/* Safari/Chrome支持该属性 */
color
:
transparent
;
/* 将文本颜色设置为透明 */
color
:
transparent
;
/* 将文本颜色设置为透明 */
...
@@ -112,6 +114,7 @@ export default {
...
@@ -112,6 +114,7 @@ export default {
margin-bottom
:
0.77vh
;
margin-bottom
:
0.77vh
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
background
:
rgba
(
47
,
85
,
143
,
0.3
);
}
}
.table-th
:after
,
.table-th
:after
,
.table-th
:before
,
.table-th
:before
,
...
...
src/views/newOperational/components/StoreGmv.vue
View file @
eb505ce
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2024-09-09 10:12:50
* @Date: 2024-09-09 10:12:50
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-09-1
1 10:09:53
* @LastEditTime: 2024-09-1
4 16:28:25
-->
-->
<
template
>
<
template
>
<div
class=
"table-box"
>
<div
class=
"table-box"
>
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
<div
class=
"table-th"
>
<div
class=
"table-th"
>
<div
class=
"angle"
></div>
<div
class=
"angle"
></div>
<div
style=
"width: 5.5vw;padding-left: 2.4vw;"
>
门店名称
</div>
<div
style=
"width: 5.5vw;padding-left: 2.4vw;"
>
门店名称
</div>
<div
style=
"width: 2.
8
vw;"
>
GMV
</div>
<div
style=
"width: 2.
5
vw;"
>
GMV
</div>
<div
style=
"width: 1.
6
vw;"
>
渗透率
</div>
<div
style=
"width: 1.
7
vw;"
>
渗透率
</div>
</div>
</div>
<dv-scroll-board
ref=
"storeTable"
:config=
"tableConfig"
:waitTime=
"5000"
style=
"width: 100%;height:28.08vh"
/>
<dv-scroll-board
ref=
"storeTable"
:config=
"tableConfig"
:waitTime=
"5000"
style=
"width: 100%;height:28.08vh"
/>
</div>
</div>
...
@@ -41,7 +41,7 @@ export default {
...
@@ -41,7 +41,7 @@ export default {
// index: true,
// index: true,
evenRowBGC
:
'transparent'
,
evenRowBGC
:
'transparent'
,
oddRowBGC
:
'transparent'
,
oddRowBGC
:
'transparent'
,
columnWidth
:
[
50
,
1
00
,
60
,
5
0
],
columnWidth
:
[
50
,
1
40
,
60
,
7
0
],
align
:
[
'left'
]
align
:
[
'left'
]
}
}
}
}
...
@@ -86,6 +86,8 @@ export default {
...
@@ -86,6 +86,8 @@ export default {
background-size
:
100%
;
background-size
:
100%
;
}
}
.title-text
{
.title-text
{
margin-left
:
0.32vw
;
font-size
:
14px
;
background
:
linear-gradient
(
to
right
,
#01A4F9
,
#6DF5F9
);
/* 从左到右渐变 */
background
:
linear-gradient
(
to
right
,
#01A4F9
,
#6DF5F9
);
/* 从左到右渐变 */
-webkit-background-clip
:
text
;
/* Safari/Chrome支持该属性 */
-webkit-background-clip
:
text
;
/* Safari/Chrome支持该属性 */
color
:
transparent
;
/* 将文本颜色设置为透明 */
color
:
transparent
;
/* 将文本颜色设置为透明 */
...
@@ -112,6 +114,7 @@ export default {
...
@@ -112,6 +114,7 @@ export default {
margin-bottom
:
0.77vh
;
margin-bottom
:
0.77vh
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
background
:
rgba
(
47
,
85
,
143
,
0.3
);
}
}
.table-th
:after
,
.table-th
:after
,
.table-th
:before
,
.table-th
:before
,
...
@@ -128,25 +131,25 @@ export default {
...
@@ -128,25 +131,25 @@ export default {
.table-th
:after
,
.table-th
:after
,
.table-th
:before
{
.table-th
:before
{
top
:
0
;
top
:
0
;
border-top-color
:
#3D7FFF
border-top-color
:
rgba
(
61
,
127
,
255
,
0.5
);
}
}
.angle
:after
,
.angle
:after
,
.angle
:before
{
.angle
:before
{
bottom
:
0
;
bottom
:
0
;
border-bottom-color
:
#3D7FFF
border-bottom-color
:
rgba
(
61
,
127
,
255
,
0.5
);
}
}
.table-th
:before
,
.table-th
:before
,
.angle
:before
{
.angle
:before
{
left
:
0
;
left
:
0
;
border-left-color
:
#3D7FFF
border-left-color
:
rgba
(
61
,
127
,
255
,
0.5
);
}
}
.table-th
:after
,
.table-th
:after
,
.angle
:after
{
.angle
:after
{
right
:
0
;
right
:
0
;
border-right-color
:
#3D7FFF
border-right-color
:
rgba
(
61
,
127
,
255
,
0.5
);
}
}
}
}
.row-item
{
.row-item
{
...
...
src/views/newOperational/components/ViewTab.vue
View file @
eb505ce
...
@@ -3,14 +3,13 @@
...
@@ -3,14 +3,13 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-08-16 14:44:03
* @Date: 2023-08-16 14:44:03
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-09-1
0 14:05:40
* @LastEditTime: 2024-09-1
4 15:48:55
-->
-->
<
template
>
<
template
>
<div
class=
"tabs-box"
>
<div
class=
"tabs-box"
>
<div
class=
"tabs flex"
>
<div
class=
"tabs flex"
>
<div
<div
class=
"tab"
class=
"tab"
:style=
"
{ width: `calc((100% - ${(tabs.length - 1) * 0.64}vw) / ${tabs.length})` }"
v-for=
"item in tabs"
v-for=
"item in tabs"
:key=
"item.key"
>
:key=
"item.key"
>
<div
v-if=
"item.key != 'retention'"
class=
"tab-text"
>
{{
numAddSymbol
(
dataList
[
item
.
key
])
}}
</div>
<div
v-if=
"item.key != 'retention'"
class=
"tab-text"
>
{{
numAddSymbol
(
dataList
[
item
.
key
])
}}
</div>
...
...
src/views/newOperational/components/options.js
View file @
eb505ce
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:46:24
* @Date: 2022-10-25 10:46:24
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-09-1
1 15:14:41
* @LastEditTime: 2024-09-1
4 16:17:13
* @FilePath: \dj-data-view\src\components\barOptions.js
* @FilePath: \dj-data-view\src\components\barOptions.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
*/
...
@@ -413,7 +413,7 @@ function lineAndBarOptions(list) {
...
@@ -413,7 +413,7 @@ function lineAndBarOptions(list) {
// },
// },
// padding: 5,
// padding: 5,
// borderWidth: 1,
// borderWidth: 1,
// backgroundColor: 'rgba(35, 45, 152, 1)
',
backgroundColor
:
'transparent
'
,
// borderRadius: 4,
// borderRadius: 4,
// textStyle: {
// textStyle: {
// color: 'rgba(255,255,255,1)',
// color: 'rgba(255,255,255,1)',
...
@@ -421,7 +421,7 @@ function lineAndBarOptions(list) {
...
@@ -421,7 +421,7 @@ function lineAndBarOptions(list) {
// },
// },
formatter
:
function
(
item
)
{
formatter
:
function
(
item
)
{
const
items
=
list
[
item
[
0
].
dataIndex
]
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
:
[
xAxis
:
[
...
@@ -429,7 +429,8 @@ function lineAndBarOptions(list) {
...
@@ -429,7 +429,8 @@ function lineAndBarOptions(list) {
type
:
'category'
,
type
:
'category'
,
axisLabel
:
{
axisLabel
:
{
color
:
'#fff'
,
color
:
'#fff'
,
fontSize
:
'0.8em'
fontSize
:
'11px'
,
margin
:
20
},
},
splitLine
:
{
splitLine
:
{
show
:
false
show
:
false
...
@@ -446,7 +447,7 @@ function lineAndBarOptions(list) {
...
@@ -446,7 +447,7 @@ function lineAndBarOptions(list) {
grid
:
{
grid
:
{
left
:
'3%'
,
left
:
'3%'
,
right
:
'6%'
,
right
:
'6%'
,
top
:
'
10
%'
,
top
:
'
8
%'
,
bottom
:
'5%'
,
bottom
:
'5%'
,
containLabel
:
true
containLabel
:
true
},
},
...
@@ -498,6 +499,9 @@ function lineAndBarOptions(list) {
...
@@ -498,6 +499,9 @@ function lineAndBarOptions(list) {
itemStyle
:
{
itemStyle
:
{
color
:
'#56FEFE'
color
:
'#56FEFE'
},
},
lineStyle
:
{
width
:
1
},
// 折线背景色
// 折线背景色
areaStyle
:
{
areaStyle
:
{
color
:
{
color
:
{
...
@@ -527,7 +531,7 @@ function lineAndBarOptions(list) {
...
@@ -527,7 +531,7 @@ function lineAndBarOptions(list) {
color
:
'#6578FF'
color
:
'#6578FF'
},
},
yAxisIndex
:
1
,
yAxisIndex
:
1
,
barWidth
:
'
30
%'
,
barWidth
:
'
24
%'
,
data
:
increNum
,
data
:
increNum
,
itemStyle
:
{
itemStyle
:
{
barBorderRadius
:
[
2
,
2
,
0
,
0
],
// 柱体圆角
barBorderRadius
:
[
2
,
2
,
0
,
0
],
// 柱体圆角
...
...
src/views/videoPage/index.vue
View file @
eb505ce
...
@@ -86,15 +86,21 @@ export default {
...
@@ -86,15 +86,21 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.video-container
{
.video-container
{
width
:
1560px
;
width
:
1824px
;
height
:
878px
;
height
:
876px
;
border
:
4px
solid
rgba
(
18
,
117
,
248
,
0.5
);
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
;
box-sizing
:
border-box
;
margin
:
20px
calc
((
100vw
-
1560px
)
/
2
);
//
margin
:
20px
calc
((
100vw
-
1560px
)
/
2
);
margin
:
20px
auto
;
position
:
relative
;
position
:
relative
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
.video-box
{
.video-box
{
width
:
1
00%
;
width
:
1
440px
;
height
:
100%
;
height
:
810px
;
}
}
.video-pause
,
.video-pause
,
.video-play
{
.video-play
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment