Commit d7bd9661 by 张立顺

切换分支

1 parent f2f41084
......@@ -13,46 +13,15 @@ Page({
...mixins.data,
navBarHeight: 0,
delayShow: false,
totalTableSum: [
{
name: 'filmTimesTotalSum'
},
{
name: 'usedTotalSum'
},
{
name: 'experienceTotalSum'
},
{
name: 'upgradeTotalSum'
},
{
name: 'orderMoneyTotalSum'
},
{
name: 'customerUnitMoneySum'
},
{
name: 'upgradeRateSum'
}
],
showRemark: false,
tableHeight: (20 + 1) * 96,
// tableWidth: 114 * 5 + 124 * 2 + 256
tableWidth: 118 * 7 + 232 + 10,
methodUpdateInfo: {
value: ''
},
isStaff: false,
showOrderpop: false,
waitInputCount: 0,
tipsProps: {
tipsText: '该门店产生异常订单,请点击补录!',
showTips: true,
type: 2,
typeText: '补录订单'
},
shopSideSelectPopup: false,
navStyle: 'background-color: rgba(0,0,0,0);',
flag: true
......
......@@ -146,11 +146,12 @@ page ::-webkit-scrollbar {
.tips {
padding: 20rpx 0 16rpx;
margin-bottom: 32rpx;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 28rpx;
color: #999;
color: #2D2D2E;
}
.tips .tips-text {
......@@ -166,50 +167,91 @@ page ::-webkit-scrollbar {
flex-shrink: 0;
}
.total {
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.1);
height: 186rpx;
margin-bottom: 20rpx;
display: grid;
/* grid-template-columns: repeat(3, 1fr); */
grid-template-columns: 200rpx 200rpx auto;
align-items: center;
}
.StatisticsCon {
box-sizing: border-box;
padding: 0 15rpx;
.total .item {
display: flex;
flex-direction: column;
align-items: center;
font-size: 24rpx;
color: #666666;
position: relative;
padding: 0 10rpx;
}
.unit {
font-size: 24rpx;
color: #222222;
}
.total .item::after {
position: absolute;
top: 50%;
right: 0;
opacity: 0.3;
background-color: #c3c3c3;
width: 2rpx;
height: 80rpx;
transform: translateY(-50%);
content: '';
}
.totalCon {
display: flex;
.item {
width: 60%;
display: flex;
flex-direction: column;
justify-content: space-between;
.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 {
display: none;
.customStatistic {
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 {
height: 96rpx;
......
......@@ -25,20 +25,84 @@ export default {
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: [
{
name: '服务客户',
key: 'customerTotal'
value: '985634',
index: 1
},
{
name: '已预约客户',
value: '985634',
index: 2
},
{
name: '待预约客户',
value: '985634',
index: 3
},
{
name: '转化订单',
key: 'upgradeOrderTotal'
value: '985634',
index: 4
},
{
name: '战败订单',
value: '985634',
index: 5
},
{
name: '累计产值',
key: 'upgradeMoneyTotal',
unit: '¥'
name: '客单价',
value: '985634',
unit: '¥',
index: 6
}
// {
// name: '服务客户',
// key: 'customerTotal'
// },
// {
// name: '转化订单',
// key: 'upgradeOrderTotal'
// },
// {
// name: '累计产值',
// key: 'upgradeMoneyTotal',
// unit: '¥'
// }
],
tableBtn: [
{
......@@ -118,7 +182,6 @@ export default {
width: '110rpx'
}
],
table: []
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!