Commit 6f080033 by huaying

fix: 客户订单ui

parent 114c47d7
......@@ -28288,7 +28288,7 @@
left: 0;
bottom: 0;
width: 100%;
height: 2px;
height: 1px;
background-color: #e4e7ed;
z-index: 1; }
.el-tabs__nav-wrap.is-scrollable {
<template>
<div class="orderListBox">
<div class="orderListBox" :style="activeName != 'store' ? 'margin-top: -20px;' : ''">
<div class="orderListTop" v-if="activeName == 'store'">
<div class="order-report-content">
<div class="order-content-left">
......
......@@ -158,7 +158,7 @@
<!-- 退款单、退换单显示实退金额 -->
<div class="order-descript-item">
<div class="order-descript-label">
<div class="order-descript-label-text">{{ el.orderType == 2 || el.orderType == 4 ? '实退金额' : '实付金额'}}</div>
<div class="order-descript-label-text">{{ el.orderType == 2 ? '实退金额' : '实付金额'}}</div>
</div>
<div class="order-descript-content">
{{ el.payAmount | fomatFloat }}
......@@ -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 - 540 + 'px';
// if(this.params.channelType == 3) {
// let screenHeight = document.documentElement.clientHeight - 540 + 'px';
// this.$nextTick(() => {
// this.maxHeight = screenHeight;
// });
// }else {
let screenHeight = document.documentElement.clientHeight - 375 + '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 - 540 + 'px';
that.maxHeight = screenHeight;
})();
};
}else{
// if(this.params.channelType == 3) {
// window.onresize = () => {
// return (() => {
// let screenHeight = document.documentElement.clientHeight - 540 + 'px';
// that.maxHeight = screenHeight;
// })();
// };
// }else{
window.onresize = () => {
return (() => {
let screenHeight = document.documentElement.clientHeight - 395 + 'px';
let screenHeight = document.documentElement.clientHeight - 375 + 'px';
that.maxHeight = screenHeight;
})();
};
}
// }
},
methods: {
orderInfoSpan({rowIndex, columnIndex}) {
......
......@@ -28292,7 +28292,7 @@
left: 0;
bottom: 0;
width: 100%;
height: 2px;
height: 1px;
background-color: #e4e7ed;
z-index: 1; }
.el-tabs__nav-wrap.is-scrollable {
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