qymljy 1 year ago
parent
commit
6fd75ff132
1 changed files with 4 additions and 5 deletions
  1. 4 5
      src/views/salesData/modules/orderProductCategory.vue

+ 4 - 5
src/views/salesData/modules/orderProductCategory.vue

@@ -79,8 +79,8 @@
           <fullScreen  domId="orderProductCategoryFull" @onFull="onFull" @backFull="backFull"></fullScreen>
         </div>
       </div>
-      <div class="chart" style="height: 416px">
-        <div id="orderProductCategoryChart" style="height: 400px;" :style="{height:heightChart,width:windowWidth < 1355?'48%':windowWidth<1533?'41%':windowWidth<1919?'35%':'42%',float:'left'}"></div>
+      <div class="chart" style="height: 416px;align-items: center;">
+        <div id="orderProductCategoryChart" style="height: 400px;vertical-align: middle;line-height: 400px" :style="{height:heightChart,width:windowWidth < 1355?'48%':windowWidth<1533?'41%':windowWidth<1919?'35%':'42%',float:'left'}"></div>
         <div style="float: right;" :style="windowWidth<1355?'width:52%':windowWidth<1533?'width:59%':windowWidth<1919?'width:65%':'width:58%'">
           <tableTemplate style="margin-top: 10px" ref="table" :layout="tablecols" :data="list" :opwidth="200" :custom="true" :height="heightTable" fixedName="operation">
             <template v-slot:customcol="scope">
@@ -401,8 +401,8 @@ export default {
     },
     /*全屏*/
     onFull(){
-      this.heightChart = 'calc(100vh - 85px)'
-      this.heightTable ='calc(100vh - 125px)'
+      this.heightChart = 'calc(100vh - 385px)'
+      this.heightTable ='calc(100vh - 165px)'
       this.isFull = true
     },
     /*退出全屏*/
@@ -454,5 +454,4 @@ export default {
 
 
 <style scoped>
-
 </style>