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 eb91a88d
authored
Jul 20, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
7fe54e20
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
30 deletions
src/components/DetailTitle.vue
src/components/ViewTitle.vue
src/utils/data.js
src/views/boutique/Map.vue
src/views/home/index.vue
src/views/solar/PurchaseTrends.vue
src/views/solarDetail/MerchantsPurchaseTrends.vue
src/components/DetailTitle.vue
View file @
eb91a88
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-07-
18 17:47:05
* @LastEditTime: 2023-07-
20 15:27:03
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件
* @Description: 页面头部组件
-->
-->
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<div
class=
"merchant-name"
>
{{
firstTab
[
dataListObj
.
labelName
]
}}
</div>
<div
class=
"merchant-name"
>
{{
firstTab
[
dataListObj
.
labelName
]
}}
</div>
<img
class=
"arrow-down"
src=
"@/assets/images/title-arrow.png"
alt=
""
>
<img
class=
"arrow-down"
src=
"@/assets/images/title-arrow.png"
alt=
""
>
</div>
</div>
<SelectBox
:isShow=
"isShow"
:defaultValue=
"firstTab[dataListObj.valueName]"
@
clickOutside=
"clickOutside"
:dataList=
"merchantList"
:boxWidth=
"'2
3.3
3vw'"
isObject
@
selectVal=
"selectVal"
:labelName=
"dataListObj.labelName"
:valueName=
"dataListObj.valueName"
>
<SelectBox
:isShow=
"isShow"
:defaultValue=
"firstTab[dataListObj.valueName]"
@
clickOutside=
"clickOutside"
:dataList=
"merchantList"
:boxWidth=
"'2
6.5
3vw'"
isObject
@
selectVal=
"selectVal"
:labelName=
"dataListObj.labelName"
:valueName=
"dataListObj.valueName"
>
<div
slot=
"search"
class=
"search"
>
<div
slot=
"search"
class=
"search"
>
<input
type=
"text"
class=
"search-input"
v-model=
"search"
@
input=
"handleInput"
>
<input
type=
"text"
class=
"search-input"
v-model=
"search"
@
input=
"handleInput"
>
<img
class=
"icon-search"
src=
"@/assets/images/icon-search.png"
@
click=
"searchMerchant"
alt=
""
>
<img
class=
"icon-search"
src=
"@/assets/images/icon-search.png"
@
click=
"searchMerchant"
alt=
""
>
...
...
src/components/ViewTitle.vue
View file @
eb91a88
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-07-
19 10:49:44
* @LastEditTime: 2023-07-
20 15:25:22
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件
* @Description: 页面头部组件
-->
-->
...
@@ -15,14 +15,14 @@
...
@@ -15,14 +15,14 @@
<div
class=
"tab-item first-tab"
:class=
"currentMenu == 'home' ? 'active' : ''"
@
click
.
prevent=
"jump('home')"
>
<div
class=
"tab-item first-tab"
:class=
"currentMenu == 'home' ? 'active' : ''"
@
click
.
prevent=
"jump('home')"
>
<div
class=
"tab-title"
>
{{
firstTab
.
label
}}
</div>
<div
class=
"tab-title"
>
{{
firstTab
.
label
}}
</div>
<img
class=
"arrow-down"
@
click
.
stop=
"openSelect"
src=
"@/assets/images/title-arrow.png"
alt=
""
>
<img
class=
"arrow-down"
@
click
.
stop=
"openSelect"
src=
"@/assets/images/title-arrow.png"
alt=
""
>
<SelectBox
:isShow=
"isShow"
@
clickOutside=
"clickOutside"
:dataList=
"dataList"
:boxWidth=
"'1
7.1
vw'"
isObject
@
selectVal=
"selectVal"
></SelectBox>
<SelectBox
:isShow=
"isShow"
@
clickOutside=
"clickOutside"
:dataList=
"dataList"
:boxWidth=
"'1
6.94
vw'"
isObject
@
selectVal=
"selectVal"
></SelectBox>
</div>
</div>
<div
class=
"tab-item other-tab"
:class=
"currentMenu == 'operational' ? 'active' : ''"
@
click=
"jump('operational')"
>
<
!--
<
div
class=
"tab-item other-tab"
:class=
"currentMenu == 'operational' ? 'active' : ''"
@
click=
"jump('operational')"
>
<div
class=
"tab-name"
>
运营数据
</div>
<div
class=
"tab-name"
>
运营数据
</div>
</div>
</div>
<div
class=
"tab-item other-tab"
:class=
"currentMenu == 'interior' ? 'active' : ''"
@
click=
"jump('interior')"
>
<div
class=
"tab-item other-tab"
:class=
"currentMenu == 'interior' ? 'active' : ''"
@
click=
"jump('interior')"
>
<div
class=
"tab-name"
>
内部数据
</div>
<div
class=
"tab-name"
>
内部数据
</div>
</div>
</div>
-->
</div>
</div>
<!--
<div
class=
"view-title user-select"
>
嘀加智慧门店运营看板
</div>
-->
<!--
<div
class=
"view-title user-select"
>
嘀加智慧门店运营看板
</div>
-->
<div
class=
"time"
>
<div
class=
"time"
>
...
@@ -163,9 +163,6 @@ export default {
...
@@ -163,9 +163,6 @@ export default {
width
:
1.39vw
;
width
:
1.39vw
;
height
:
2.22vh
;
height
:
2.22vh
;
}
}
.select-box
{
left
:
-2px
;
}
}
}
.other-tab
{
.other-tab
{
width
:
7.22vw
;
width
:
7.22vw
;
...
...
src/utils/data.js
View file @
eb91a88
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-07-04 11:46:53
* @Date: 2023-07-04 11:46:53
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-07-
14 14:39:49
* @LastEditTime: 2023-07-
20 15:21:45
*/
*/
const
DefaultData
=
{
const
DefaultData
=
{
yearList
:
[
'2023'
,
'2022'
],
yearList
:
[
'2023'
,
'2022'
],
...
@@ -11,18 +11,18 @@ const DefaultData = {
...
@@ -11,18 +11,18 @@ const DefaultData = {
{
{
label
:
'业务数据 | 1.0太阳膜采购'
,
label
:
'业务数据 | 1.0太阳膜采购'
,
value
:
'1'
value
:
'1'
},
//
},
{
//
{
label
:
'业务数据 | 1.1精品升级'
,
//
label: '业务数据 | 1.1精品升级',
value
:
'2'
//
value: '2'
},
//
},
{
//
{
label
:
'业务数据 | 1.3售后众筹'
,
//
label: '业务数据 | 1.3售后众筹',
value
:
'3'
//
value: '3'
},
//
},
{
//
{
label
:
'业务数据 | 2.1会员权益'
,
//
label: '业务数据 | 2.1会员权益',
value
:
'4'
//
value: '4'
}
}
],
],
directionTimer
:
3000
,
directionTimer
:
3000
,
...
...
src/views/boutique/Map.vue
View file @
eb91a88
...
@@ -23,7 +23,7 @@ export default {
...
@@ -23,7 +23,7 @@ export default {
formatter
:
function
(
params
)
{
formatter
:
function
(
params
)
{
var
_html
=
`<div style="backdrop-filter: blur(4px);background-color: #051526;border: 2px solid;border-image: linear-gradient(90deg, #074989, #30DCFF, #074989) 1;padding: 10px;">
var
_html
=
`<div style="backdrop-filter: blur(4px);background-color: #051526;border: 2px solid;border-image: linear-gradient(90deg, #074989, #30DCFF, #074989) 1;padding: 10px;">
<div style="color: #fff;">
${
params
.
name
}
</div>
<div style="color: #fff;">
${
params
.
name
}
</div>
<div style="display:flex;"><div style="color: #c9c9c9">客单价:</div><div style="color: #fff;">
${
params
.
data
?
utils
.
numAddSymbol
(
params
.
data
.
value1
)
:
0
}
</div></div>
<div style="display:flex;"><div style="color: #c9c9c9">客单价:</div><div style="color: #fff;">
¥
${
params
.
data
?
utils
.
numAddSymbol
(
params
.
data
.
value1
)
:
0
}
</div></div>
<div style="display:flex;"><div style="color: #c9c9c9">转化率:</div><div style="color: #fff;">
${
params
.
data
?
utils
.
numAddSymbol
(
params
.
data
.
value2
)
:
0
}
%</div></div>
<div style="display:flex;"><div style="color: #c9c9c9">转化率:</div><div style="color: #fff;">
${
params
.
data
?
utils
.
numAddSymbol
(
params
.
data
.
value2
)
:
0
}
%</div></div>
<div style="display:flex;"><div style="color: #c9c9c9">占比:</div><div style="color: #fff;">
${
params
.
data
?
utils
.
numAddSymbol
(
params
.
data
.
rate
)
:
0
}
%</div></div>
<div style="display:flex;"><div style="color: #c9c9c9">占比:</div><div style="color: #fff;">
${
params
.
data
?
utils
.
numAddSymbol
(
params
.
data
.
rate
)
:
0
}
%</div></div>
</div>`
</div>`
...
@@ -57,8 +57,8 @@ export default {
...
@@ -57,8 +57,8 @@ export default {
type
:
'linear'
,
type
:
'linear'
,
x
:
0
,
x
:
0
,
y
:
0
,
y
:
0
,
x2
:
0
,
x2
:
1
,
y2
:
1
,
y2
:
0
,
colorStops
:
[{
colorStops
:
[{
offset
:
0
,
color
:
'#079FF1'
// 0% 处的颜色
offset
:
0
,
color
:
'#079FF1'
// 0% 处的颜色
},
{
},
{
...
@@ -93,7 +93,7 @@ export default {
...
@@ -93,7 +93,7 @@ export default {
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.map
{
.map
{
width
:
39
.58vw
;
width
:
40
.58vw
;
height
:
4
4
.89vh
;
height
:
4
5
.89vh
;
}
}
</
style
>
</
style
>
src/views/home/index.vue
View file @
eb91a88
...
@@ -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: 2023-07-20 1
0:39:14
* @LastEditTime: 2023-07-20 1
5:22:15
-->
-->
<
template
>
<
template
>
<div
class=
"layout"
>
<div
class=
"layout"
>
...
@@ -59,7 +59,7 @@ export default {
...
@@ -59,7 +59,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
activeName
:
'
2
'
activeName
:
'
1
'
}
}
},
},
mounted
()
{
mounted
()
{
...
...
src/views/solar/PurchaseTrends.vue
View file @
eb91a88
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-07-06 16:19:15
* @Date: 2023-07-06 16:19:15
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-07-
18 17:27:35
* @LastEditTime: 2023-07-
20 15:24:42
-->
-->
<
template
>
<
template
>
<div
class=
"purchase-box"
>
<div
class=
"purchase-box"
>
...
@@ -123,6 +123,7 @@ export default {
...
@@ -123,6 +123,7 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
width
:
0.83vw
;
width
:
0.83vw
;
height
:
1.33vh
;
height
:
1.33vh
;
line-height
:
1.33vh
;
margin-right
:
0.28vw
;
margin-right
:
0.28vw
;
font-size
:
8px
;
font-size
:
8px
;
text-align
:
center
;
text-align
:
center
;
...
...
src/views/solarDetail/MerchantsPurchaseTrends.vue
View file @
eb91a88
...
@@ -103,6 +103,7 @@ export default {
...
@@ -103,6 +103,7 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
width
:
0.83vw
;
width
:
0.83vw
;
height
:
1.33vh
;
height
:
1.33vh
;
line-height
:
1.33vh
;
margin-right
:
0.28vw
;
margin-right
:
0.28vw
;
font-size
:
8px
;
font-size
:
8px
;
text-align
:
center
;
text-align
:
center
;
...
...
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