Commit 288c09ef by huaying

fix: dd

parent 0e92ad78
<template>
<div class="orderListBox">
<div class="orderListTop" v-if="activeName == 'store'">
<div class="order-report-title">消费数据概览</div>
<div class="order-report-content">
<div class="order-content-left">
<div class="order-report-title">消费数据概览</div>
<p style="margin-bottom: 13px;">
<img src="../../../static/img/编组 3@2x(1).png" alt="">
<span>全渠道</span>
......@@ -194,24 +194,21 @@ export default {
background: #F7F8FA;
margin: 20px;
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 {
display: flex;
.order-content-left {
box-sizing: border-box;
padding: 47px 0 16px 12px;
padding: 18px 0 16px 12px;
width: 110px;
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 {
display: flex;
......
......@@ -309,35 +309,35 @@ export default {
const channel = { store: 3, demo: 1, weimob: 9, tmall: 8, douyin: 11, other: 10 };
this.params.channelType = channel[this.tab];
this.getTableData();
if(this.params.channelType == 3) {
let screenHeight = document.documentElement.clientHeight - 580 + 'px';
this.$nextTick(() => {
this.maxHeight = screenHeight;
});
}else {
// if(this.params.channelType == 3) {
// let screenHeight = document.documentElement.clientHeight - 580 + 'px';
// this.$nextTick(() => {
// this.maxHeight = screenHeight;
// });
// }else {
let screenHeight = document.documentElement.clientHeight - 395 + 'px';
this.$nextTick(() => {
this.maxHeight = screenHeight;
});
}
// }
},
mounted() {
const that = this;
if(this.params.channelType == 3) {
window.onresize = () => {
return (() => {
let screenHeight = document.documentElement.clientHeight - 580 + 'px';
that.maxHeight = screenHeight;
})();
};
}else{
// if(this.params.channelType == 3) {
// window.onresize = () => {
// return (() => {
// let screenHeight = document.documentElement.clientHeight - 580 + 'px';
// that.maxHeight = screenHeight;
// })();
// };
// }else{
window.onresize = () => {
return (() => {
let screenHeight = document.documentElement.clientHeight - 395 + 'px';
that.maxHeight = screenHeight;
})();
};
}
// }
},
methods: {
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