Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
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 9fd18815
authored
Aug 18, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
e3b3e627
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
24 deletions
src/assets/images/arrow.png
src/views/operational/components/Business.vue
src/views/operational/components/BusinessView.vue
src/views/operational/components/Category.vue
src/assets/images/arrow.png
0 → 100644
View file @
9fd1881
307 Bytes
src/views/operational/components/Business.vue
View file @
9fd1881
<!--
* @Description:
* @Author: huyue
* @Date: 2023-08-16 15:12:44
* @LastEditors: huyue
* @LastEditTime: 2023-08-16 15:33:53
-->
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-0
2-28 14:53:09
* @LastEditTime: 2023-0
8-17 16:38:12
* @FilePath: \dj-data-view\src\views\saas\business.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<
template
>
<div
class=
"business-wrap flex"
>
<div
class=
"business-data"
>
<business-view
:businessNum=
"businessNum"
></business-view>
<!--
<business-view
:businessNum=
"businessNum"
></business-view>
-->
<StatisticsBox
class=
"business-box"
:list=
"list.slice(0,3)"
></StatisticsBox>
<StatisticsBox
class=
"business-box second-box"
:list=
"list.slice(3,5)"
></StatisticsBox>
</div>
<div
class=
"business-category"
>
<Category
:categoryData=
"categoryData"
></Category>
...
...
@@ -25,18 +20,38 @@
</
template
>
<
script
>
import
BusinessView
from
'./BusinessView'
import
Category
from
'./Category'
export
default
{
components
:
{
BusinessView
,
Category
},
name
:
'Business'
,
data
()
{
return
{
businessNum
:
{},
categoryData
:
[]
categoryData
:
[],
list
:
[
{
name
:
'累计展业门店数'
,
value
:
'1'
},
{
name
:
'当年新增门店数'
,
value
:
1
},
{
name
:
'客单价'
,
value
:
1
},
{
name
:
'当月产值'
,
value
:
1
},
{
name
:
'当年产值'
,
value
:
1
}
]
}
},
mounted
()
{
...
...
@@ -81,9 +96,26 @@ export default {
//
margin-top
:
0.98vh
;
width
:
36.11vw
;
height
:
100%
;
/deep/{
.business-box.statistics
{
height
:
6.83vh
;
box-sizing
:
border-box
;
.statistics-item
{
margin-right
:
0.28vw
;
.statistics-top
{
.statistics-name
{
margin-bottom
:
0
;
}
}
}
}
}
.second-box
{
margin-top
:
0.29vh
;
}
}
.business-category
{
width
:
1
3.06
vw
;
width
:
1
4.15
vw
;
height
:
100%
;
}
}
...
...
src/views/operational/components/BusinessView.vue
View file @
9fd1881
...
...
@@ -2,32 +2,32 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-08-1
6 15:13:24
* @LastEditTime: 2023-08-1
7 15:07:11
* @FilePath: \dj-data-view\src\views\saas\business.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<
template
>
<div
class=
"business-desc-wrap"
>
<div
class=
"business-top flex"
>
<div
class=
"business-border"
>
<div
class=
"business-border
box
"
>
<div
class=
"business-title"
>
累计展业门店数
</div>
<div
class=
"business-number"
>
{{
numAddSymbol
(
businessNum
.
totalNum
)
}}
</div>
</div>
<div
class=
"business-border"
>
<div
class=
"business-border
box
"
>
<div
class=
"business-title"
>
当年新增门店数
</div>
<div
class=
"business-number"
>
{{
numAddSymbol
(
businessNum
.
increnum
)
}}
</div>
</div>
<div
class=
"business-border"
>
<div
class=
"business-border
box
"
>
<div
class=
"business-title"
>
客单价
</div>
<div
class=
"business-number"
>
{{
toFixNum
(
businessNum
.
atv
)
}}
</div>
</div>
</div>
<div
class=
"business-bottom flex"
>
<div
class=
"business-border"
>
<div
class=
"business-border
box
"
>
<div
class=
"business-title"
>
上月GMV
</div>
<div
class=
"business-number"
>
{{
numAddSymbol
(
businessNum
.
outputValuethismonth
)
}}
</div>
</div>
<div
class=
"business-border"
>
<div
class=
"business-border
box
"
>
<div
class=
"business-title"
>
累计GMV
</div>
<div
class=
"business-number"
>
{{
numAddSymbol
(
businessNum
.
outputValuethisyear
)
}}
</div>
</div>
...
...
@@ -86,8 +86,9 @@ export default {
box-sizing
:
border-box
;
background
:
#0b0e31
;
.business-border
{
width
:
50%
;
&:first-child
{
width
:
12vw
;
//
width
:
12vw
;
}
}
.business-title
{
...
...
src/views/operational/components/Category.vue
View file @
9fd1881
<
template
>
<div
class=
"category-box"
>
<div
class=
"category-box
box
"
>
<div
class=
"title title-icon"
>
<span
class=
"icon"
></span>
<span>
品类业务
</span>
...
...
@@ -34,8 +34,7 @@ export default {
<
style
lang=
"scss"
scoped
>
.category-box
{
overflow
:
hidden
;
height
:
13.9vh
;
background
:
#0b0e31
;
height
:
13.9vh
;
.title
{
font-size
:
10px
;
}
...
...
@@ -44,7 +43,6 @@ export default {
//
margin
:
1.59vh
1.67vw
1.46vh
1.11vw
;
.category-legend{
width
:
4.2vw
;
}
}
}
...
...
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