Commit d7bd9661 by 张立顺

切换分支

1 parent f2f41084
...@@ -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
......
...@@ -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; .unit {
/* grid-template-columns: repeat(3, 1fr); */ font-size: 24rpx;
grid-template-columns: 200rpx 200rpx auto; color: #222222;
align-items: center; }
}
.total .item { .totalCon {
display: flex;
.item {
width: 60%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; justify-content: space-between;
.label {
font-family: PingFangSC-SNaNrpxibold;
font-weight: 600;
font-size: 24rpx; font-size: 24rpx;
color: #666666; color: #323436;
line-height: 36rpx;
margin-bottom: 12rpx;
}
.number {
font-family: numberBold;
font-weight: 700;
font-size: 48rpx;
color: #2D2D33;
}
}
.item+.item {
width: 40%;
}
}
.customStatistic {
display: flex;
flex-wrap: wrap;
.customItem {
position: relative; position: relative;
padding: 0 10rpx; 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;
}
.total .item::after { .number {
font-family: numberBold;
font-size: 36rpx;
color: #2D2D33;
}
.icon {
width: 56rpx;
height: 56rpx;
position: absolute; position: absolute;
top: 50%; top: 24rpx;
right: 0; right: 16rpx;
opacity: 0.3; }
background-color: #c3c3c3; }
width: 2rpx;
height: 80rpx;
transform: translateY(-50%);
content: '';
}
.total .item:last-of-type::after { .customItem:nth-child(3n) {
display: none; 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;
......
...@@ -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: []
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!