Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 da20e4cd
authored
Aug 26, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
c7f53799
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
26 deletions
src/views/home/index.vue
src/views/home/index.vue
View file @
da20e4c
...
@@ -18,8 +18,7 @@
...
@@ -18,8 +18,7 @@
</div>
</div>
<div
class=
"marketing-content"
>
{{
item
.
content
}}
</div>
<div
class=
"marketing-content"
>
{{
item
.
content
}}
</div>
<div
class=
"marketing-btn"
>
<div
class=
"marketing-btn"
>
<GLButton
style=
"width: 118px;"
display=
"disabled"
type=
"primary"
:size=
"size"
:fn=
"item.linkName"
<GLButton
style=
"width: 118px;"
display=
"disabled"
type=
"primary"
:size=
"size"
:fn=
"item.linkName"
@
click=
"jumpPage(item.path)"
>
{{
item
.
linkName
}}
</GLButton>
@
click=
"jumpPage(item.path)"
>
{{
item
.
linkName
}}
</GLButton>
<!--
<el-button
<!--
<el-button
style=
"width: 118px;"
style=
"width: 118px;"
:disabled=
"!$globalState.routers.find(i => i.compath == item.path)"
:disabled=
"!$globalState.routers.find(i => i.compath == item.path)"
...
@@ -156,16 +155,14 @@
...
@@ -156,16 +155,14 @@
<div
class=
"data-item"
style=
"margin-top: 10px;"
>
<div
class=
"data-item"
style=
"margin-top: 10px;"
>
<div
class=
"data-half"
style=
"margin-right: 20px;"
>
<div
class=
"data-half"
style=
"margin-right: 20px;"
>
<span
class=
"data-half-name"
>
周同比
</span>
<span
class=
"data-half-name"
>
周同比
</span>
<span
<span
:class=
"[equity.weekFlag ? 'data-red-percentage data-half-red' : 'data-green-percentage data-half-green']"
>
:class=
"[equity.weekFlag ? 'data-red-percentage data-half-red' : 'data-green-percentage data-half-green']"
>
<span
:class=
"[equity.weekFlag ? 'data-red-triangle' : 'data-green-triangle']"
></span>
<span
:class=
"[equity.weekFlag ? 'data-red-triangle' : 'data-green-triangle']"
></span>
<span>
{{
equity
.
lastWeekDayMemberShipCompared
?
equity
.
lastWeekDayMemberShipCompared
:
'--'
}}
</span>
<span>
{{
equity
.
lastWeekDayMemberShipCompared
?
equity
.
lastWeekDayMemberShipCompared
:
'--'
}}
</span>
</span>
</span>
</div>
</div>
<div
class=
"data-half"
>
<div
class=
"data-half"
>
<span
class=
"data-half-name"
>
日环比
</span>
<span
class=
"data-half-name"
>
日环比
</span>
<span
<span
:class=
"[equity.dayFlag ? 'data-red-percentage data-half-red' : 'data-green-percentage data-half-green']"
>
:class=
"[equity.dayFlag ? 'data-red-percentage data-half-red' : 'data-green-percentage data-half-green']"
>
<span
:class=
"[equity.dayFlag ? 'data-red-triangle' : 'data-green-triangle']"
></span>
<span
:class=
"[equity.dayFlag ? 'data-red-triangle' : 'data-green-triangle']"
></span>
<span>
{{
equity
.
yesterdayMembershipSequential
?
equity
.
yesterdayMembershipSequential
:
'--'
}}
</span>
<span>
{{
equity
.
yesterdayMembershipSequential
?
equity
.
yesterdayMembershipSequential
:
'--'
}}
</span>
</span>
</span>
...
@@ -189,8 +186,7 @@
...
@@ -189,8 +186,7 @@
<div
class=
"data-item"
>
<div
class=
"data-item"
>
<span
class=
"data-title w-118"
>
累计产值
</span>
<span
class=
"data-title w-118"
>
累计产值
</span>
<span
class=
"date-content"
>
<span
class=
"date-content"
>
<span
class=
"data-num orange"
>
{{
equity
.
totalProductionValue
?
equity
.
totalProductionValue
:
'--'
<span
class=
"data-num orange"
>
{{
equity
.
totalProductionValue
?
equity
.
totalProductionValue
:
'--'
}}
</span>
}}
</span>
元
元
</span>
</span>
</div>
</div>
...
@@ -200,19 +196,15 @@
...
@@ -200,19 +196,15 @@
</div>
</div>
</div>
</div>
<div
class=
"border home-bottom"
>
<div
class=
"border home-bottom"
>
<div
class=
"
title
bottom-title"
>
<div
class=
"bottom-title"
>
<div
class=
"bottom-text"
>
店铺
数据
</div>
<div
class=
"bottom-text"
>
微店
数据
</div>
<div
class=
"bottom-time"
>
<div
class=
"bottom-time"
>
<div
class=
"bottom-btn"
>
<div
class=
"bottom-btn"
>
<el-button
:style=
"currentTime == 'week' ? '' : blackColor"
type=
"text"
@
click=
"storeData('week')"
>
本周
<el-button
:style=
"currentTime == 'week' ? '' : blackColor"
type=
"text"
@
click=
"storeData('week')"
>
本周
</el-button>
</el-button>
<el-button
:style=
"currentTime == 'month' ? '' : blackColor"
type=
"text"
@
click=
"storeData('month')"
>
本月
</el-button>
<el-button
:style=
"currentTime == 'month' ? '' : blackColor"
type=
"text"
@
click=
"storeData('month')"
>
本月
<el-button
:style=
"currentTime == 'year' ? '' : blackColor"
type=
"text"
@
click=
"storeData('year')"
>
全年
</el-button>
</el-button>
<el-button
:style=
"currentTime == 'year' ? '' : blackColor"
type=
"text"
@
click=
"storeData('year')"
>
全年
</el-button>
</div>
</div>
<el-date-picker
class=
"bottom-picker"
v-model=
"date"
type=
"daterange"
size=
"small"
range-separator=
"至"
<el-date-picker
class=
"bottom-picker"
v-model=
"date"
type=
"daterange"
size=
"small"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"dateChange"
></el-date-picker>
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"dateChange"
></el-date-picker>
</div>
</div>
</div>
</div>
<div
class=
"bottom-content"
>
<div
class=
"bottom-content"
>
...
@@ -221,6 +213,7 @@
...
@@ -221,6 +213,7 @@
<div
v-show=
"!order.list"
class=
"no-data"
>
暂无数据
</div>
<div
v-show=
"!order.list"
class=
"no-data"
>
暂无数据
</div>
</div>
</div>
<div
class=
"bottom-right"
>
<div
class=
"bottom-right"
>
<div
class=
"bottom-right-boxs"
>
<div
class=
"bottom-right-item"
>
<div
class=
"bottom-right-item"
>
<div
class=
"item-content"
>
<div
class=
"item-content"
>
<img
src=
"@/assets/icon-amount.png"
alt
/>
<img
src=
"@/assets/icon-amount.png"
alt
/>
...
@@ -257,6 +250,7 @@
...
@@ -257,6 +250,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -700,9 +694,18 @@ export default {
...
@@ -700,9 +694,18 @@ export default {
margin-top
:
20px
;
margin-top
:
20px
;
.bottom
{
.bottom
{
&-title
{
//
&-title
{
display
:
flex
;
//
display
:
flex
;
justify-content
:
space-between
;
//
justify-content
:
space-between
;
//
}
&
-text
{
font-size
:
20px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
line-height
:
20px
;
margin-bottom
:
20px
;
}
}
&
-btn
{
&
-btn
{
...
@@ -710,6 +713,7 @@ export default {
...
@@ -710,6 +713,7 @@ export default {
}
}
&
-time
{
&
-time
{
margin-left
:
36px
;
width
:
31.5%
;
width
:
31.5%
;
}
}
...
@@ -722,20 +726,28 @@ export default {
...
@@ -722,20 +726,28 @@ export default {
&
-content
{
&
-content
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
}
}
&
-right
{
&
-right
{
margin-top
:
10px
;
min-width
:
240px
;
min-width
:
240px
;
width
:
270px
;
height
:
210px
;
background
:
#f9f9fc
;
border-radius
:
3px
;
&-boxs
{
margin
:
24px
24px
31px
24px
;
}
&
-item
{
&
-item
{
font-size
:
16px
;
font-size
:
16px
;
color
:
#333
;
color
:
#333
;
margin-bottom
:
21px
;
&:first-child
{
border-bottom
:
1px
solid
#e5e5e5
;
padding-bottom
:
31px
;
}
&
:last-child
{
&
:last-child
{
margin-top
:
50px
;
padding-top
:
24px
;
margin-bottom
:
0
;
}
}
.item-content
{
.item-content
{
...
...
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