Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d7bd9661
authored
May 18, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
切换分支
1 parent
f2f41084
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
152 additions
and
78 deletions
tabIndex/pages/index/index.js
tabIndex/pages/index/index.sass
tabIndex/pages/index/index.wxml
tabIndex/pages/index/index_mixins.js
tabIndex/pages/index/index.js
View file @
d7bd966
...
@@ -13,46 +13,15 @@ Page({
...
@@ -13,46 +13,15 @@ Page({
...
mixins
.
data
,
...
mixins
.
data
,
navBarHeight
:
0
,
navBarHeight
:
0
,
delayShow
:
false
,
delayShow
:
false
,
totalTableSum
:
[
{
name
:
'filmTimesTotalSum'
},
{
name
:
'usedTotalSum'
},
{
name
:
'experienceTotalSum'
},
{
name
:
'upgradeTotalSum'
},
{
name
:
'orderMoneyTotalSum'
},
{
name
:
'customerUnitMoneySum'
},
{
name
:
'upgradeRateSum'
}
],
showRemark
:
false
,
showRemark
:
false
,
tableHeight
:
(
20
+
1
)
*
96
,
// tableWidth: 114 * 5 + 124 * 2 + 256
tableWidth
:
118
*
7
+
232
+
10
,
methodUpdateInfo
:
{
methodUpdateInfo
:
{
value
:
''
value
:
''
},
},
isStaff
:
false
,
isStaff
:
false
,
showOrderpop
:
false
,
showOrderpop
:
false
,
waitInputCount
:
0
,
waitInputCount
:
0
,
tipsProps
:
{
tipsText
:
'该门店产生异常订单,请点击补录!'
,
showTips
:
true
,
type
:
2
,
typeText
:
'补录订单'
},
shopSideSelectPopup
:
false
,
shopSideSelectPopup
:
false
,
navStyle
:
'background-color: rgba(0,0,0,0);'
,
navStyle
:
'background-color: rgba(0,0,0,0);'
,
flag
:
true
flag
:
true
...
...
tabIndex/pages/index/index.sass
View file @
d7bd966
...
@@ -146,11 +146,12 @@ page ::-webkit-scrollbar {
...
@@ -146,11 +146,12 @@ page ::-webkit-scrollbar {
.tips
{
.tips
{
padding
:
20rpx
0
16rpx
;
padding
:
20rpx
0
16rpx
;
margin-bottom
:
32rpx
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
font-size
:
28rpx
;
font-size
:
28rpx
;
color
:
#
999
;
color
:
#
2D2D2E
;
}
}
.tips
.tips-text
{
.tips
.tips-text
{
...
@@ -166,50 +167,91 @@ page ::-webkit-scrollbar {
...
@@ -166,50 +167,91 @@ page ::-webkit-scrollbar {
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.total
{
.StatisticsCon
{
box-shadow
:
0
4rpx
20rpx
0
rgba
(
0
,
0
,
0
,
0
.1
)
;
box-sizing
:
border-box
;
height
:
186rpx
;
padding
:
0
15rpx
;
margin-bottom
:
20rpx
;
display
:
grid
;
/* grid-template-columns: repeat(3, 1fr); */
grid-template-columns
:
200rpx
200rpx
auto
;
align-items
:
center
;
}
.total
.item
{
.unit
{
display
:
flex
;
font-size
:
24rpx
;
flex-direction
:
column
;
color
:
#222222
;
align-items
:
center
;
}
font-size
:
24rpx
;
color
:
#666666
;
position
:
relative
;
padding
:
0
10rpx
;
}
.
total
.
item
:
:
after
{
.totalCon
{
position
:
absolute
;
display
:
flex
;
top
:
50%
;
right
:
0
;
.item
{
opacity
:
0
.3
;
width
:
60%
;
background-color
:
#c3c3c3
;
display
:
flex
;
width
:
2rpx
;
flex-direction
:
column
;
height
:
80rpx
;
justify-content
:
space-between
;
transform
:
translateY
(
-50%
)
;
content
:
''
;
.label
{
}
font-family
:
PingFangSC-SNaNrpxibold
;
font-weight
:
600
;
font-size
:
24rpx
;
color
:
#323436
;
line-height
:
36rpx
;
margin-bottom
:
12rpx
;
}
.number
{
font-family
:
numberBold
;
font-weight
:
700
;
font-size
:
48rpx
;
color
:
#2D2D33
;
}
}
.item
+
.item
{
width
:
40%
;
}
}
.
total
.
item
:
last-of-type
::
after
{
.customStatistic
{
display
:
none
;
display
:
flex
;
flex-wrap
:
wrap
;
.customItem
{
position
:
relative
;
box-sizing
:
border-box
;
margin-top
:
16rpx
;
padding
:
24rpx
16rpx
;
width
:
216rpx
;
height
:
136rpx
;
background
:
#F7F8FA
;
border-radius
:
12rpx
;
margin-right
:
16rpx
;
.label
{
font-weight
:
500
;
font-size
:
22rpx
;
color
:
#5A6066
;
}
.number
{
font-family
:
numberBold
;
font-size
:
36rpx
;
color
:
#2D2D33
;
}
.icon
{
width
:
56rpx
;
height
:
56rpx
;
position
:
absolute
;
top
:
24rpx
;
right
:
16rpx
;
}
}
.customItem
:nth-child
(
3n
)
{
margin-right
:
0rpx
;
}
}
}
}
.total
.item
.value
{
font-size
:
44rpx
;
color
:
#333333
;
margin-bottom
:
12rpx
;
font-weight
:
700
;
display
:
flex
;
align-items
:
baseline
;
}
.table-control
{
.table-control
{
height
:
96rpx
;
height
:
96rpx
;
...
...
tabIndex/pages/index/index.wxml
View file @
d7bd966
This diff is collapsed.
Click to expand it.
tabIndex/pages/index/index_mixins.js
View file @
d7bd966
...
@@ -25,20 +25,84 @@ export default {
...
@@ -25,20 +25,84 @@ export default {
url
:
'tabWorkOrder.createArchives'
url
:
'tabWorkOrder.createArchives'
}
}
],
],
totalTableSum
:
[
{
name
:
'filmTimesTotalSum'
},
{
name
:
'usedTotalSum'
},
{
name
:
'experienceTotalSum'
},
{
name
:
'upgradeTotalSum'
},
{
name
:
'orderMoneyTotalSum'
},
{
name
:
'customerUnitMoneySum'
},
{
name
:
'upgradeRateSum'
}
],
tableHeight
:
(
20
+
1
)
*
96
,
tableWidth
:
118
*
7
+
232
+
10
,
tipsProps
:
{
tipsText
:
'该门店产生异常订单,请点击补录!'
,
showTips
:
true
,
type
:
2
,
typeText
:
'补录订单'
},
totalList
:
[
totalList
:
[
{
{
name
:
'服务客户'
,
name
:
'服务客户'
,
key
:
'customerTotal'
value
:
'985634'
,
index
:
1
},
{
name
:
'已预约客户'
,
value
:
'985634'
,
index
:
2
},
{
name
:
'待预约客户'
,
value
:
'985634'
,
index
:
3
},
},
{
{
name
:
'转化订单'
,
name
:
'转化订单'
,
key
:
'upgradeOrderTotal'
value
:
'985634'
,
index
:
4
},
{
name
:
'战败订单'
,
value
:
'985634'
,
index
:
5
},
},
{
{
name
:
'累计产值'
,
name
:
'客单价'
,
key
:
'upgradeMoneyTotal'
,
value
:
'985634'
,
unit
:
'¥'
unit
:
'¥'
,
index
:
6
}
}
// {
// name: '服务客户',
// key: 'customerTotal'
// },
// {
// name: '转化订单',
// key: 'upgradeOrderTotal'
// },
// {
// name: '累计产值',
// key: 'upgradeMoneyTotal',
// unit: '¥'
// }
],
],
tableBtn
:
[
tableBtn
:
[
{
{
...
@@ -118,7 +182,6 @@ export default {
...
@@ -118,7 +182,6 @@ export default {
width
:
'110rpx'
width
:
'110rpx'
}
}
],
],
table
:
[]
table
:
[]
}
}
}
}
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