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 f605a845
authored
Jul 27, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
396927a5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
120 additions
and
47 deletions
src/views/boutique/rightCompoments/BarTrends.vue
src/views/boutique/rightCompoments/StoreMap.vue
src/views/boutiqueDetail/BoutiqueDetailLeft.vue
src/views/boutique/rightCompoments/BarTrends.vue
View file @
f605a84
...
...
@@ -3,12 +3,30 @@
* @Author: huyue
* @Date: 2023-07-19 17:18:33
* @LastEditors: huyue
* @LastEditTime: 2023-07-27 1
0:40:12
* @LastEditTime: 2023-07-27 1
7:51:57
-->
<
template
>
<div>
<div
class=
"trends-box"
>
<box-title
title=
"业务趋势"
></box-title>
<BarChart
ref=
"barTrendsRef"
height=
"44.89vh"
domId=
"barTrends"
:dataList
.
sync=
"dataList"
:tooltipFormatterObj=
"tooltipFormatterObj"
></BarChart>
<div
class=
"legend"
>
<div
class=
"legend-item"
>
<span
class=
"legend-deploy legend-span"
></span>
<span>
部署门店
</span>
</div>
<div
class=
"legend-item"
>
<span
class=
"legend-camp legend-span"
></span>
<span>
在营门店
</span>
</div>
<div
class=
"legend-item"
>
<span
class=
"legend-dijia legend-span"
></span>
<span>
嘀加供货
</span>
</div>
<div
class=
"legend-item"
>
<span
class=
"legend-closed legend-span"
></span>
<span>
停业门店
</span>
</div>
</div>
</div>
</
template
>
...
...
@@ -78,3 +96,53 @@ export default {
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.trends-box
{
position
:
relative
;
}
.legend
{
display
:
flex
;
position
:
absolute
;
right
:
1.39vw
;
top
:
2.22vh
;
&-item
{
display
:
flex
;
align-items
:
center
;
color
:
#fff
;
margin-right
:
1.67vw
;
&:last-child
{
margin-right
:
0
;
}
img
{
width
:
1.32vw
;
height
:
1vh
;
margin-right
:
0.28vw
;
}
.icon-line
{
width
:
0.98vw
;
height
:
0.56vh
;
}
.legend-span
{
width
:
0.56vw
;
height
:
0.89vh
;
margin-right
:
0.28vw
;
}
.legend
{
&-deploy
{
background-image
:
linear-gradient
(
180deg
,
#22D8FF
0%
,
#223FA9
100%
);
}
&
-camp
{
background-image
:
linear-gradient
(
179deg
,
#38FBB0
1%
,
#00A89E
100%
);
}
&
-dijia
{
background-image
:
linear-gradient
(
179deg
,
#FFC200
1%
,
#F2C101
100%
);
}
&
-closed
{
background-image
:
linear-gradient
(
179deg
,
#E65C01
1%
,
#E65C17
100%
);
}
}
}
}
</
style
>
src/views/boutique/rightCompoments/StoreMap.vue
View file @
f605a84
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-19 17:18:33
* @LastEditors: huyue
* @LastEditTime: 2023-07-2
6 16:23:4
8
* @LastEditTime: 2023-07-2
7 17:47:1
8
-->
<
template
>
<div>
...
...
@@ -29,50 +29,50 @@ export default {
data
()
{
return
{
storeDistrictList
:
[
{
province
:
'广东省'
,
num
:
'1225家'
},
{
province
:
'广东省'
,
num
:
'1225家'
},
{
province
:
'广东省'
,
num
:
'1225家'
},
{
province
:
'广东省'
,
num
:
'1225家'
},
{
province
:
'广东省'
,
num
:
'1225家'
},
{
province
:
'广东省'
,
num
:
'1225家'
},
{
province
:
'广东省'
,
num
:
'1225家'
},
{
province
:
'广东省'
,
num
:
'1225家'
},
{
province
:
'宁夏回族自治区'
,
num
:
'1225家'
},
{
province
:
'西藏自治区'
,
num
:
'1225家'
},
{
province
:
'新疆'
,
num
:
'1225家'
}
//
{
//
province: '广东省',
//
num: '1225家'
//
},
//
{
//
province: '广东省',
//
num: '1225家'
//
},
//
{
//
province: '广东省',
//
num: '1225家'
//
},
//
{
//
province: '广东省',
//
num: '1225家'
//
},
//
{
//
province: '广东省',
//
num: '1225家'
//
},
//
{
//
province: '广东省',
//
num: '1225家'
//
},
//
{
//
province: '广东省',
//
num: '1225家'
//
},
//
{
//
province: '广东省',
//
num: '1225家'
//
},
//
{
//
province: '宁夏回族自治区',
//
num: '1225家'
//
},
//
{
//
province: '西藏自治区',
//
num: '1225家'
//
},
//
{
//
province: '新疆',
//
num: '1225家'
//
}
],
rankStoreObj
:
[
{
...
...
@@ -112,6 +112,8 @@ export default {
display
:
flex
;
&-right
{
margin-left
:
4.41vw
;
height
:
44.44vh
;
overflow
:
hidden
;
}
.rank-title
{
width
:
7.5vw
;
...
...
src/views/boutiqueDetail/BoutiqueDetailLeft.vue
View file @
f605a84
...
...
@@ -30,6 +30,7 @@ export default {
{
name
:
'总产值'
,
unit
:
'¥'
,
unitType
:
'left'
,
valueName
:
'outputvalue'
,
value
:
'0'
,
bottomLabel
:
'本月产值:'
,
...
...
@@ -49,6 +50,7 @@ export default {
valueName
:
'perCusTrans'
,
value
:
'0'
,
unit
:
'¥'
,
unitType
:
'left'
,
bottomType
:
'ratio'
,
ratioLeftLabel
:
'月环比'
,
ratioLeftValueName
:
'perCusTransHB'
,
...
...
@@ -62,6 +64,7 @@ export default {
valueName
:
'conversionRate'
,
value
:
'0'
,
unit
:
'%'
,
unitType
:
'right'
,
bottomType
:
'ratio'
,
ratioLeftLabel
:
'月环比'
,
ratioLeftValueName
:
'conversionRateHB'
,
...
...
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