Commit 288c09ef by huaying

fix: dd

parent 0e92ad78
<template> <template>
<div class="orderListBox"> <div class="orderListBox">
<div class="orderListTop" v-if="activeName == 'store'"> <div class="orderListTop" v-if="activeName == 'store'">
<div class="order-report-title">消费数据概览</div>
<div class="order-report-content"> <div class="order-report-content">
<div class="order-content-left"> <div class="order-content-left">
<div class="order-report-title">消费数据概览</div>
<p style="margin-bottom: 13px;"> <p style="margin-bottom: 13px;">
<img src="../../../static/img/编组 3@2x(1).png" alt=""> <img src="../../../static/img/编组 3@2x(1).png" alt="">
<span>全渠道</span> <span>全渠道</span>
...@@ -194,24 +194,21 @@ export default { ...@@ -194,24 +194,21 @@ export default {
background: #F7F8FA; background: #F7F8FA;
margin: 20px; margin: 20px;
margin-bottom: -10px; margin-bottom: -10px;
.order-report-title {
padding-left: 12px;
padding-top: 14px;
padding-bottom: 14px;
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #303133;
line-height: 22px;
border-bottom: 1px solid #DCDFE6;
}
.order-report-content { .order-report-content {
display: flex; display: flex;
.order-content-left { .order-content-left {
box-sizing: border-box; box-sizing: border-box;
padding: 47px 0 16px 12px; padding: 18px 0 16px 12px;
width: 110px; width: 110px;
border-right: 1px solid #DCDFE6; border-right: 1px solid #DCDFE6;
.order-report-title {
padding-bottom: 14px;
font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 600;
color: #303133;
}
p { p {
display: flex; display: flex;
......
...@@ -309,35 +309,35 @@ export default { ...@@ -309,35 +309,35 @@ export default {
const channel = { store: 3, demo: 1, weimob: 9, tmall: 8, douyin: 11, other: 10 }; const channel = { store: 3, demo: 1, weimob: 9, tmall: 8, douyin: 11, other: 10 };
this.params.channelType = channel[this.tab]; this.params.channelType = channel[this.tab];
this.getTableData(); this.getTableData();
if(this.params.channelType == 3) { // if(this.params.channelType == 3) {
let screenHeight = document.documentElement.clientHeight - 580 + 'px'; // let screenHeight = document.documentElement.clientHeight - 580 + 'px';
this.$nextTick(() => { // this.$nextTick(() => {
this.maxHeight = screenHeight; // this.maxHeight = screenHeight;
}); // });
}else { // }else {
let screenHeight = document.documentElement.clientHeight - 395 + 'px'; let screenHeight = document.documentElement.clientHeight - 395 + 'px';
this.$nextTick(() => { this.$nextTick(() => {
this.maxHeight = screenHeight; this.maxHeight = screenHeight;
}); });
} // }
}, },
mounted() { mounted() {
const that = this; const that = this;
if(this.params.channelType == 3) { // if(this.params.channelType == 3) {
window.onresize = () => { // window.onresize = () => {
return (() => { // return (() => {
let screenHeight = document.documentElement.clientHeight - 580 + 'px'; // let screenHeight = document.documentElement.clientHeight - 580 + 'px';
that.maxHeight = screenHeight; // that.maxHeight = screenHeight;
})(); // })();
}; // };
}else{ // }else{
window.onresize = () => { window.onresize = () => {
return (() => { return (() => {
let screenHeight = document.documentElement.clientHeight - 395 + 'px'; let screenHeight = document.documentElement.clientHeight - 395 + 'px';
that.maxHeight = screenHeight; that.maxHeight = screenHeight;
})(); })();
}; };
} // }
}, },
methods: { methods: {
orderInfoSpan({rowIndex, columnIndex}) { orderInfoSpan({rowIndex, columnIndex}) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment