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 df9a96aa
authored
Jul 25, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
ee0d94a0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
9 deletions
src/views/boutique/rightCompoments/MerchantsRanking.vue
src/views/boutique/rightCompoments/StoreMap.vue
src/views/boutiqueDetail/index.vue
src/views/boutique/rightCompoments/MerchantsRanking.vue
View file @
df9a96a
...
@@ -3,17 +3,17 @@
...
@@ -3,17 +3,17 @@
<!-- 第一个盒子 -->
<!-- 第一个盒子 -->
<div
class=
"rank-box"
>
<div
class=
"rank-box"
>
<box-title
title=
"门店产值排名"
></box-title>
<box-title
title=
"门店产值排名"
></box-title>
<div
class=
"content"
v-if=
"storeOutputList.length"
>
<div
class=
"
rank-
content"
v-if=
"storeOutputList.length"
>
<Ranking
:id=
"'storeOutput'"
:rankingsList=
"storeOutputList"
:rankingDataObj=
"rankingDataObj"
@
goDetailPage=
"goDetailPage"
></Ranking>
<Ranking
:id=
"'storeOutput'"
:rankingsList=
"storeOutputList"
:rankingDataObj=
"rankingDataObj"
@
goDetailPage=
"goDetailPage"
></Ranking>
</div>
</div>
<div
v-else
class=
"empty"
>
<
!--
<
div
v-else
class=
"empty"
>
<Empty></Empty>
<Empty></Empty>
</div>
</div>
-->
</div>
</div>
<!-- 第二个盒子 -->
<!-- 第二个盒子 -->
<div
class=
"rank-box"
>
<div
class=
"rank-box"
>
<box-title
title=
"门店转化率排行"
></box-title>
<box-title
title=
"门店转化率排行"
></box-title>
<div
class=
"content"
v-if=
"storePercentList.length"
>
<div
class=
"
rank-
content"
v-if=
"storePercentList.length"
>
<Ranking
:id=
"'storePercent'"
:rankingsList=
"storePercentList"
:rankingDataObj=
"rankPercentObj"
@
goDetailPage=
"goDetailPage"
></Ranking>
<Ranking
:id=
"'storePercent'"
:rankingsList=
"storePercentList"
:rankingDataObj=
"rankPercentObj"
@
goDetailPage=
"goDetailPage"
></Ranking>
</div>
</div>
<div
v-else
class=
"empty"
>
<div
v-else
class=
"empty"
>
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<!-- 第三个盒子 -->
<!-- 第三个盒子 -->
<div
class=
"rank-box"
>
<div
class=
"rank-box"
>
<box-title
title=
"门店客单价排行"
></box-title>
<box-title
title=
"门店客单价排行"
></box-title>
<div
class=
"content"
v-if=
"storePriceList.length"
>
<div
class=
"
rank-
content"
v-if=
"storePriceList.length"
>
<Ranking
:id=
"'storePrice'"
:rankingsList=
"storePriceList"
:rankingDataObj=
"rankingDataObj"
@
goDetailPage=
"goDetailPage"
></Ranking>
<Ranking
:id=
"'storePrice'"
:rankingsList=
"storePriceList"
:rankingDataObj=
"rankingDataObj"
@
goDetailPage=
"goDetailPage"
></Ranking>
</div>
</div>
<div
v-else
class=
"empty"
>
<div
v-else
class=
"empty"
>
...
@@ -214,7 +214,7 @@ export default {
...
@@ -214,7 +214,7 @@ export default {
&:nth-child(-n
+
2)
{
&:nth-child(-n
+
2)
{
margin-bottom
:
1.78vh
;
margin-bottom
:
1.78vh
;
}
}
.content
{
.
rank-
content
{
padding
:
1.67vh
1.39vw
;
padding
:
1.67vh
1.39vw
;
}
}
.empty
{
.empty
{
...
...
src/views/boutique/rightCompoments/StoreMap.vue
View file @
df9a96a
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.content
{
.content
{
display
:
flex
;
display
:
flex
;
&-right
{
&-right
{
...
...
src/views/boutiqueDetail/index.vue
View file @
df9a96a
...
@@ -45,9 +45,44 @@ export default {
...
@@ -45,9 +45,44 @@ export default {
}
}
},
},
mounted
()
{},
created
()
{
this
.
$bus
.
$on
(
'selectVal'
,
data
=>
{
this
.
$router
.
replace
({
path
:
'/solarDetail'
,
query
:
{
merchantid
:
data
.
merchantid
,
merchantname
:
data
.
merchantname
,
purchaseType
:
this
.
purchaseType
,
year
:
this
.
$store
.
state
.
app
.
solarYear
}
})
this
.
init
()
})
},
methods
:
{}
methods
:
{
init
()
{
this
.
tabObject
=
this
.
$route
.
query
const
{
merchantid
}
=
this
.
$route
.
query
// this.getYears(merchantid)
},
// 获取年份数据参数门店id
async
getYears
(
MerchantId
)
{
this
.
yearList
=
[{
label
:
'全部'
,
value
:
''
}]
const
_data
=
await
this
.
api
.
solar
.
getYears
({
MerchantId
})
const
_yearList
=
_data
.
data
.
dataList
[
0
].
year
.
reverse
()
_yearList
.
forEach
(
item
=>
{
this
.
yearList
.
push
({
label
:
item
,
value
:
item
+
''
})
})
this
.
defaultYear
=
this
.
yearList
[
0
].
value
}
}
}
}
</
script
>
</
script
>
...
...
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