Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 d40993ca
authored
Dec 11, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
c81f1f03
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
154 additions
and
81 deletions
package.json
src/App.vue
src/assets/guestCustom/applet-logo.png
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/components/activityModel.vue
src/views/customerTransform/components/basicInfo.vue
src/views/customerTransform/components/welcomeWords.vue
src/views/customerTransform/detaiCustomeGroup.vue
src/views/customerTransform/detailCustomer.vue
src/views/home/components/barChart.vue
src/views/home/components/pieChart.vue
src/views/home/index.vue
package.json
View file @
d40993c
...
...
@@ -13,7 +13,7 @@
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.2.
4
"
,
"glsx-components"
:
"^1.2.
5
"
,
"lodash"
:
"^4.17.21"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
...
...
src/App.vue
View file @
d40993c
...
...
@@ -25,7 +25,7 @@
<el-button
class=
"right"
type=
"primary"
size=
"medium"
@
click=
"callParentChange('default')"
>
通知父应用收到
</el-button>
</div>
<img
src=
"./assets/logo.png"
alt=
""
srcset=
""
/>
</div>
-->
</div>
-->
<router-view
/>
</div>
...
...
@@ -58,7 +58,7 @@ export default {
}
#app
{
padding
:
0px
20px
20px
40px
;
overflow-y
:
auto
;
//
overflow-y
:
auto
;
height
:
100%
;
}
</
style
>
...
...
src/assets/guestCustom/applet-logo.png
View file @
d40993c
1.23 KB
|
W:
|
H:
3.02 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/customerTransform/addCustomer.vue
View file @
d40993c
...
...
@@ -71,6 +71,7 @@
v-model=
"basicForm.condition.chatId"
@
change=
"valueChange"
@
focus=
"groupFocus"
:size=
"size"
multiple
collapse-tags
placeholder=
"请选择"
...
...
@@ -91,7 +92,8 @@
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
size=
"small"
:size=
"size"
style=
"width: 320px;"
></el-date-picker>
</el-form-item>
<el-form-item
label=
"标签筛选"
>
...
...
@@ -112,7 +114,7 @@
:disable-transitions=
"false"
@
close=
"removeTag(tag, idx)"
>
{{
tag
.
name
}}
</el-tag>
<
el-input
size=
"small"
style=
"outline: none; border: none"
></el-input
>
<
!--
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
--
>
</div>
<!--
<span
class=
"label-text"
>
已选择
...
...
@@ -148,7 +150,7 @@
<!-- 编辑入群欢迎语 -->
<div
class=
"title"
>
编辑群发内容
</div>
<div>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
label-width=
"1
2
0px"
>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
label-width=
"1
0
0px"
>
<el-form-item
prop=
"attachmentList"
>
<label
slot=
"label"
class=
"required"
>
群发内容
</label>
<WelcomeWords
ref=
"welcome"
:form=
"'customer'"
:eventBus=
"eventBus"
></WelcomeWords>
...
...
@@ -522,7 +524,6 @@ export default {
<
style
lang=
"scss"
scoped
>
.container
{
margin-top
:
26px
;
margin-bottom
:
84px
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
...
...
@@ -531,6 +532,7 @@ export default {
padding
:
20px
0
17px
20px
;
font-size
:
16px
;
color
:
#333
;
font-weight
:
600
;
border-bottom
:
1px
solid
#d8d8d8
;
}
.info-box
{
...
...
@@ -543,6 +545,7 @@ export default {
width
:
calc
(
100%
-
360px
);
.filter-box
{
margin-left
:
120px
;
min-width
:
656px
;
background-color
:
#f7f7f7
;
.filter-memeber
{
padding
:
20px
0
;
...
...
@@ -573,7 +576,7 @@ export default {
}
.el-form
{
padding
:
32px
0
20px
66
px
;
padding
:
32px
0
20px
20
px
;
/deep/.el-input
{
width
:
320px
;
}
...
...
@@ -584,6 +587,7 @@ export default {
}
.preview
{
margin-right
:
24px
;
margin-bottom
:
100px
;
}
}
.footer-panel
{
...
...
src/views/customerTransform/addCustomerGroup.vue
View file @
d40993c
...
...
@@ -312,7 +312,6 @@ export default {
<
style
lang=
"scss"
scoped
>
.container
{
margin-top
:
26px
;
margin-bottom
:
84px
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
...
...
@@ -320,6 +319,7 @@ export default {
.title
{
padding
:
20px
0
17px
20px
;
font-size
:
16px
;
font-weight
:
600
;
color
:
#333
;
border-bottom
:
1px
solid
#d8d8d8
;
}
...
...
@@ -347,6 +347,7 @@ export default {
}
.preview
{
margin-right
:
24px
;
margin-bottom
:
100px
;
}
}
.footer-panel
{
...
...
src/views/customerTransform/components/activityModel.vue
View file @
d40993c
...
...
@@ -5,10 +5,10 @@
<div
class=
"model-panel-tab"
>
<label>
活动类型:
</label>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
type=
"card"
>
<el-tab-pane
label=
"精品券"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"商城券"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"权益卡试用"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"权益套餐"
name=
"4"
></el-tab-pane>
<el-tab-pane
label=
"商城券"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"秒杀活动"
name=
"5"
></el-tab-pane>
</el-tabs>
</div>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
v-loading=
"loading"
>
...
...
@@ -21,9 +21,9 @@
>
<div
class=
"model-item-title"
:title=
"item.
cardClass
Name"
:title=
"item.
equity
Name"
v-show=
"activeName == 3"
>
{{
item
.
cardClass
Name
}}
</div>
>
{{
item
.
equity
Name
}}
</div>
<div
class=
"model-item-title"
:title=
"item.couponName"
...
...
@@ -31,7 +31,7 @@
>
{{
item
.
couponName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.c
ardClass
Name"
:title=
"item.c
oupon
Name"
v-show=
"activeName == 1"
>
{{
item
.
couponName
}}
</div>
<div
...
...
@@ -39,11 +39,18 @@
:title=
"item.packageName"
v-show=
"activeName == 4"
>
{{
item
.
packageName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.activityName"
v-show=
"activeName == 5"
>
{{
item
.
activityName
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 1 || activeName == 4"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 2"
>
剩余数量:
{{
item
.
residueAmount
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 1"
>
剩余数量:
{{
item
.
remainAmount
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
价格:
{{
item
.
p
rice
}}
元
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
价格:
{{
item
.
goodP
rice
}}
元
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 4"
>
价格:
{{
item
.
packagePrice
}}
元
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 5"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 5"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 1"
...
...
@@ -56,21 +63,11 @@
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 2"
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3 && item.effectiveType == 3"
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3 && item.effectiveType == 1"
>
有效期:无限制
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3 && item.effectiveType == 2"
>
有效期:
{{
item
.
effectiveNum
}}
天
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
有效期:
{{
item
.
effectivedDay
}}
天
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2"
>
类型:
<span>
{{
item
.
discountType
==
2
?
'折扣券'
:
item
.
discountType
==
3
?
'代金券'
:
item
.
discountType
==
4
?
'兑换券'
:
''
}}
</span>
<span>
{{
item
.
discountType
==
2
?
'折扣券'
:
item
.
discountType
==
3
?
'代金券'
:
item
.
discountType
==
4
?
'兑换券'
:
''
}}
</span>
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 1"
>
类型:
...
...
@@ -84,6 +81,10 @@
类型:
<span>
权益套餐
</span>
</div>
<div
class=
"model-item-content"
v-if=
"activeName == 5"
>
活动时间:
{{
item
.
startTime
.
split
(
' '
)[
0
]
}}
-
{{
item
.
endTime
.
split
(
' '
)[
0
]
}}
</div>
</div>
</div>
<div
class=
"model-item-empty"
v-else
v-loading=
"loading"
>
...
...
@@ -91,6 +92,7 @@
<div
class=
"empty-item"
>
暂无数据
</div>
</div>
<el-pagination
v-if=
"activeName != 3"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"pageNum"
...
...
@@ -115,7 +117,7 @@ export default {
return
{
dialogVisible
:
false
,
loading
:
false
,
activeName
:
'
1
'
,
activeName
:
'
3
'
,
modelList
:
[],
pageNum
:
1
,
pageSize
:
12
,
...
...
@@ -136,7 +138,7 @@ export default {
return
}
this
.
dialogVisible
=
false
this
.
$emit
(
'selectActivity'
,
{
marketingId
:
this
.
selectItem
.
id
,
marketingType
:
this
.
activeName
,
marketingName
:
this
.
activeName
==
3
?
this
.
selectItem
.
cardClassName
:
this
.
activeName
==
4
?
this
.
selectItem
.
package
Name
:
this
.
selectItem
.
couponName
})
this
.
$emit
(
'selectActivity'
,
{
marketingId
:
this
.
selectItem
.
id
,
marketingType
:
this
.
activeName
,
marketingName
:
this
.
activeName
==
3
?
this
.
selectItem
.
equityName
:
this
.
activeName
==
4
?
this
.
selectItem
.
packageName
:
this
.
activeName
==
5
?
this
.
selectItem
.
activity
Name
:
this
.
selectItem
.
couponName
})
},
handleSizeChange
(
val
)
{
this
.
pageSize
=
val
...
...
@@ -163,6 +165,9 @@ export default {
case
'4'
:
market
=
'getPackage'
break
case
'5'
:
market
=
'getActivity'
break
}
let
params
=
{
pageSize
:
this
.
pageSize
,
...
...
@@ -174,12 +179,25 @@ export default {
}
if
(
this
.
activeName
==
2
)
{
params
.
discountTypes
=
[
2
,
3
,
4
]
params
.
validType
=
'valid'
}
if
(
this
.
activeName
==
5
)
{
params
.
currentPage
=
this
.
pageNum
params
.
activityStatus
=
2
}
this
.
$apis
.
customerTransform
[
market
](
params
).
then
(
res
=>
{
this
.
modelList
=
res
.
list
?
res
.
list
:
res
.
data
this
.
tableTotal
=
res
.
total
this
.
loading
=
false
})
this
.
$apis
.
customerTransform
[
market
](
params
)
.
then
(
res
=>
{
if
(
this
.
activeName
==
3
)
{
this
.
modelList
=
res
}
else
{
this
.
modelList
=
res
.
list
?
res
.
list
:
res
.
data
this
.
tableTotal
=
res
.
total
}
this
.
loading
=
false
})
.
catch
(()
=>
{
this
.
loading
=
false
})
},
init
()
{
this
.
dialogVisible
=
true
...
...
src/views/customerTransform/components/basicInfo.vue
View file @
d40993c
...
...
@@ -149,6 +149,7 @@ export default {
.title
{
padding
:
20px
0
17px
20px
;
font-size
:
16px
;
font-weight
:
600
;
color
:
#333
;
border-bottom
:
1px
solid
#d8d8d8
;
}
...
...
src/views/customerTransform/components/welcomeWords.vue
View file @
d40993c
...
...
@@ -330,7 +330,8 @@ export default {
.content
{
display
:
inline-block
;
vertical-align
:
text-top
;
width
:
calc
(
100%
-
103px
);
min-width
:
656px
;
width
:
calc
(
100%
-
15px
);
margin-left
:
12px
;
.welcome-file
{
display
:
flex
;
...
...
src/views/customerTransform/detaiCustomeGroup.vue
View file @
d40993c
<
template
>
<div
style=
"margin-top: 26px;"
>
<div>
<BasicInof
:form=
"'customerGroup'"
:eventBus=
"eventBus"
:id=
"$route.params.id"
></BasicInof>
<div
class=
"group-detail-container"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
...
...
@@ -192,7 +192,6 @@ export default {
</
script
>
<
style
lang=
"scss"
scope
>
.group-detail-container
{
margin-top
:
26px
;
margin-bottom
:
84px
;
padding
:
20px
;
background-color
:
#ffffff
;
...
...
src/views/customerTransform/detailCustomer.vue
View file @
d40993c
<
template
>
<div
style=
"margin-top: 26px;"
>
<div>
<BasicInof
:eventBus=
"eventBus"
:id=
"$route.params.id"
:form=
"'customer'"
></BasicInof>
<div
class=
"detail-container"
>
<div
class=
"detail-modular"
>
...
...
@@ -229,6 +229,7 @@ export default {
.title
{
padding
:
20px
0
17px
20px
;
font-size
:
16px
;
font-weight
:
600
;
color
:
#333
;
border-bottom
:
1px
solid
#d8d8d8
;
}
...
...
src/views/home/components/barChart.vue
View file @
d40993c
...
...
@@ -33,7 +33,7 @@ export default {
grid
:
{
x
:
120
,
y
:
0
,
x2
:
5
0
,
x2
:
2
0
,
y2
:
0
},
series
:
[
...
...
src/views/home/components/pieChart.vue
View file @
d40993c
...
...
@@ -29,7 +29,7 @@ export default {
{
name
:
'券类营销'
,
type
:
'pie'
,
radius
:
'
5
0%'
,
radius
:
'
7
0%'
,
label
:
{
formatter
:
'{b}\n \n{c} 张'
},
...
...
src/views/home/index.vue
View file @
d40993c
...
...
@@ -70,7 +70,7 @@
<!--
<img
:src=
"iconUrl"
alt
/>
-->
</span>
<span
class=
"date-content"
>
<span
class=
"data-num"
>
{{
coupon
.
totalIssue
}}
</span>
张
<span
class=
"data-num"
>
{{
coupon
.
totalIssue
?
coupon
.
totalIssue
:
'--'
}}
</span>
张
</span>
</div>
<div
class=
"data-item"
>
...
...
@@ -88,17 +88,20 @@
<!--
<img
:src=
"iconUrl"
alt
/>
-->
</span>
<span
class=
"date-content"
>
<span
class=
"data-num"
>
{{
coupon
.
totalVerification
}}
</span>
张
<span
class=
"data-num"
>
{{
coupon
.
totalVerification
?
coupon
.
totalVerification
:
'--'
}}
</span>
张
</span>
</div>
<div
class=
"data-last"
>
<span
class=
"data-name"
>
核销率
</span>
<span
class=
"data-percentage"
>
{{
coupon
.
verificationRate
}}
</span>
<span
class=
"data-percentage"
>
{{
coupon
.
verificationRate
?
coupon
.
verificationRate
:
'--'
}}
</span>
</div>
</div>
<div
class=
"pie-box"
>
<PieChart
:list
.
sync=
"coupon.list"
class=
"coupons-right"
></PieChart>
<!--
<div
v-else
class=
"no-data"
>
暂无数据
</div>
-->
</div>
</div>
</div>
...
...
@@ -120,7 +123,7 @@
<!--
<img
:src=
"iconUrl"
alt
/>
-->
</span>
<span
class=
"date-content"
>
<span
class=
"data-num"
>
{{
merchant
.
saleAmount
}}
</span>
人
<span
class=
"data-num"
>
{{
merchant
.
saleAmount
?
merchant
.
saleAmount
:
'--'
}}
</span>
人
</span>
</div>
<div
class=
"data-item"
>
...
...
@@ -138,7 +141,7 @@
<!--
<img
:src=
"iconUrl"
alt
/>
-->
</span>
<span
class=
"date-content"
>
<span
class=
"data-num"
>
{{
merchant
.
viewAmount
}}
</span>
次
<span
class=
"data-num"
>
{{
merchant
.
viewAmount
?
merchant
.
viewAmount
:
'--'
}}
</span>
次
</span>
</div>
<div
class=
"data-item"
>
...
...
@@ -156,7 +159,7 @@
<!--
<img
:src=
"iconUrl"
alt
/>
-->
</span>
<span
class=
"date-content"
>
<span
class=
"data-num"
>
{{
merchant
.
salePrice
}}
</span>
元
<span
class=
"data-num"
>
{{
merchant
.
salePrice
?
merchant
.
salePrice
:
'--'
}}
</span>
元
</span>
</div>
</div>
...
...
@@ -170,13 +173,13 @@
<div
class=
"data-item"
style=
"margin-top: 10px;"
>
<span
class=
"data-title w-118"
>
总会员数
</span>
<span
class=
"date-content"
>
<span
class=
"data-num"
>
{{
equity
.
totalMembership
}}
</span>
人
<span
class=
"data-num"
>
{{
equity
.
totalMembership
?
equity
.
totalMembership
:
'--'
}}
</span>
人
</span>
</div>
<div
class=
"data-item"
style=
"margin-top: 10px;"
>
<span
class=
"data-title w-118"
>
今日新增
</span>
<span
class=
"date-content"
>
<span
class=
"data-num"
>
{{
equity
.
todayMembership
}}
</span>
人
<span
class=
"data-num"
>
{{
equity
.
todayMembership
?
equity
.
todayMembership
:
'--'
}}
</span>
人
</span>
</div>
<div
class=
"data-item"
style=
"margin-top: 10px;"
>
...
...
@@ -186,7 +189,7 @@
: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>
{{
equity
.
lastWeekDayMemberShipCompared
}}
</span>
<span>
{{
equity
.
lastWeekDayMemberShipCompared
?
equity
.
lastWeekDayMemberShipCompared
:
'--'
}}
</span>
</span>
</div>
<div
class=
"data-half"
>
...
...
@@ -195,7 +198,7 @@
: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>
{{
equity
.
yesterdayMembershipSequential
}}
</span>
<span>
{{
equity
.
yesterdayMembershipSequential
?
equity
.
yesterdayMembershipSequential
:
'--'
}}
</span>
</span>
</div>
</div>
...
...
@@ -210,14 +213,16 @@
</div>
<div
class=
"bar-box"
>
<BarChart
:list
.
sync=
"equity.countMerchantOrderList"
></BarChart>
<!--
<div
v-else
class=
"no-data"
>
暂无数据
</div>
-->
<!--
<div
v-else
>
暂无数据
</div>
-->
</div>
<div>
<div
class=
"data-item"
>
<span
class=
"data-title w-118"
>
累计产值
</span>
<span
class=
"date-content"
>
<span
class=
"data-num orange"
>
{{
equity
.
totalProductionValue
}}
</span>
元
<span
class=
"data-num orange"
>
{{
equity
.
totalProductionValue
?
equity
.
totalProductionValue
:
'--'
}}
</span>
元
</span>
</div>
<div
class=
"data-tips"
>
注:仅体现套餐售卖数最多的前5单
</div>
...
...
@@ -227,11 +232,25 @@
</div>
<div
class=
"border home-bottom"
>
<div
class=
"title bottom-title"
>
<div>
微店数据
</div>
<div
style=
"width: 32%;"
>
<el-button
type=
"text"
@
click=
"storeData('week')"
>
本周
</el-button>
<el-button
type=
"text"
@
click=
"storeData('month')"
>
本月
</el-button>
<el-button
type=
"text"
@
click=
"storeData('year')"
>
全年
</el-button>
<div
class=
"bottom-text"
>
微店数据
</div>
<div
class=
"bottom-time"
>
<div
class=
"bottom-btn"
>
<el-button
:style=
"currentTime == 'week' ? '' : blackColor"
type=
"text"
@
click=
"storeData('week')"
>
本周
</el-button>
<el-button
:style=
"currentTime == 'month' ? '' : blackColor"
type=
"text"
@
click=
"storeData('month')"
>
本月
</el-button>
<el-button
:style=
"currentTime == 'year' ? '' : blackColor"
type=
"text"
@
click=
"storeData('year')"
>
全年
</el-button>
</div>
<el-date-picker
class=
"bottom-picker"
v-model=
"date"
...
...
@@ -247,7 +266,7 @@
<div
class=
"bottom-content"
>
<div
class=
"line-box"
>
<LineChart
:list
.
sync=
"order.list"
></LineChart>
<!--
<div
v-
else
class=
"no-data"
>
暂无数据
</div>
-->
<!--
<div
v-
show=
"!order.list"
class=
"no-data"
>
暂无数据
</div>
-->
</div>
<div
class=
"bottom-right"
>
<div
class=
"bottom-right-item"
>
...
...
@@ -256,7 +275,7 @@
<div>
<div>
成交金额
</div>
<div
class=
"item-number"
>
{{
order
.
totalAmount
}}
{{
order
.
totalAmount
?
order
.
totalAmount
:
'--'
}}
<span>
元
</span>
</div>
</div>
...
...
@@ -272,7 +291,7 @@
<div>
<div>
订单总数
</div>
<div
class=
"item-number"
>
{{
order
.
totalCount
}}
{{
order
.
totalCount
?
order
.
totalCount
:
'--'
}}
<span>
单
</span>
</div>
</div>
...
...
@@ -308,19 +327,19 @@ export default {
list
:
[
{
title
:
'日常关怀'
,
content
:
'可把通知、祝福、活动等消息批量发送给客户,员工可对客户进行后续的服务。'
,
content
:
'
群发工具
可把通知、祝福、活动等消息批量发送给客户,员工可对客户进行后续的服务。'
,
linkName
:
'群发关怀信息'
,
path
:
'/customerTransform/index'
},
{
title
:
'会员服务'
,
content
:
'会员服务由门店根据
自店服务项目创建的线上服务券,如“一年十二次洗车券”、“陶瓷镀膜”等,客户购买后可到店出示服务券享受服务,门店
扫码进行次数核销。'
,
content
:
'会员服务由门店根据
服务项目自主创建,客户购买后可到店享受服务,门店可通过
扫码进行次数核销。'
,
linkName
:
'设置会员服务'
,
path
:
'/memberCenter/service'
},
{
title
:
'商品销售'
,
content
:
'
管理上下架门店自有的商品,可配置带货商品活动商品销售分润
。'
,
content
:
'
商品管理可对门店创建的商品进行自主上下架,管理商品的销售订单
。'
,
linkName
:
'上架商品'
,
path
:
'/productGroup/index'
}
...
...
@@ -335,7 +354,9 @@ export default {
equity
:
{
countMerchantOrderList
:
[]
},
merchant
:
{}
merchant
:
{},
blackColor
:
'color: #000;'
,
currentTime
:
''
}
},
mounted
()
{
...
...
@@ -371,6 +392,7 @@ export default {
let
nowDay
=
now
.
getDate
()
let
nowMonth
=
now
.
getMonth
()
let
nowYear
=
now
.
getFullYear
()
this
.
currentTime
=
name
switch
(
name
)
{
case
'week'
:
startTime
=
new
Date
(
nowYear
,
nowMonth
,
nowDay
-
nowDayOfWeek
)
...
...
@@ -404,7 +426,7 @@ export default {
},
couponStatistical
()
{
const
params
=
{
discountTypes
:
[
2
,
3
,
4
,
7
]
discountTypes
:
[
2
,
3
,
4
]
}
this
.
$apis
.
home
.
couponStatistical
(
params
).
then
(
res
=>
{
this
.
coupon
=
res
...
...
@@ -549,12 +571,15 @@ export default {
.home-left
{
margin-right
:
20px
;
width
:
75%
;
min-width
:
885px
;
.marketing
{
display
:
flex
;
margin-bottom
:
20px
;
&-item
{
position
:
relative
;
width
:
33%
;
//
width
:
275px
;
height
:
260px
;
min-width
:
275px
;
box-sizing
:
border-box
;
margin-right
:
20px
;
&:last-child
{
...
...
@@ -583,11 +608,23 @@ export default {
color
:
#333333
;
line-height
:
20px
;
margin-bottom
:
20px
;
min-height
:
80px
;
max-height
:
80px
;
min-width
:
235px
;
//
word-break
:
keep-all
;
//
white-space
:
pre-line
;
//
-webkit-box-orient
:
vertical
;
//
-webkit-line-clamp
:
4
;
//
//
white-space
:
//
overflow
:
hidden
;
//
text-overflow
:
ellipsis
;
}
&
-btn
{
position
:
absolute
;
bottom
:
30px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
text-align
:
center
;
margin-bottom
:
10px
;
//
margin-bottom
:
10px
;
}
}
.customer-content
{
...
...
@@ -633,7 +670,8 @@ export default {
.home-right
{
//
flex
:
1
;
width
:
25%
;
height
:
555px
;
height
:
560px
;
min-width
:
240px
;
box-sizing
:
border-box
;
.membership-data
{
padding-bottom
:
20px
;
...
...
@@ -668,6 +706,12 @@ export default {
display
:
flex
;
justify-content
:
space-between
;
}
&
-btn
{
display
:
inline-block
;
}
&
-time
{
width
:
31%
;
}
&
-picker
{
//
width
:
240px
;
//
width
:
25%
;
...
...
@@ -679,7 +723,7 @@ export default {
}
&
-right
{
margin-top
:
10px
;
width
:
240px
;
min-
width
:
240px
;
&-item
{
font-size
:
16px
;
color
:
#333
;
...
...
@@ -742,24 +786,28 @@ export default {
}
}
.line-box
{
position
:
relative
;
//
position
:
relative
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
height
:
196px
;
width
:
76.7%
;
min-width
:
890px
;
}
.bar-box
{
position
:
relative
;
//
position
:
relative
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
width
:
100%
;
height
:
240px
;
}
.pie-box
{
position
:
relative
;
//
position
:
relative
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
width
:
50%
;
height
:
185px
;
}
.no-data
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
,
-50%
);
}
</
style
>
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