src/layouts/tabs/TabsView.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/pages/drawManage/details/details.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/pages/drawManage/drawCenter/DrawCenter.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/layouts/tabs/TabsView.vue
@@ -13,7 +13,7 @@ <div :class="['tabs-view-content', layout, pageWidth]" :style="`margin-top: ${multiPage ? -24 : 0}px`"> <page-toggle-transition :disabled="animate.disabled" :animate="animate.name" :direction="animate.direction"> <a-keep-alive :exclude-keys="excludeKeys" v-if="multiPage && cachePage" v-model="clearCaches"> <router-view v-if="!refreshing" ref="tabContent" :key="$route.path" /> <router-view v-if="!refreshing" ref="tabContent" :key="$route.fullPath" /> </a-keep-alive> <router-view ref="tabContent" v-else-if="!refreshing" /> </page-toggle-transition> src/pages/drawManage/details/details.vue
@@ -214,6 +214,10 @@ .ant-btn + .ant-btn { margin-left: 1em; } .ant-layout-content /deep/.ant-descriptions-item-label { width: 10rem; text-align: right; } .img-wraper { width: 160px; height: 100px; src/pages/drawManage/drawCenter/DrawCenter.vue
@@ -1,10 +1,10 @@ <template> <div class="main"> <div class="inner" ref="wraper"> <a-spin class="ttt" :spinning="spinning" tip="拼命加载中..."> <a-spin class="" :spinning="spinning" tip="拼命加载中..."> <a-card> <advance-table ref="ttt" class="doc-center-table" :data-source="dataSource" :row-selection=" downloadFlag @@ -388,13 +388,13 @@ this.$nextTick(() => { const wraper = this.$refs.wraper.clientHeight; const header = document.querySelectorAll(".ant-table-fixed")[0].clientHeight; document.querySelectorAll(".doc-center-table .ant-table-header")[0].clientHeight; const bar = document.querySelectorAll(".header-bar")[0].clientHeight; const card = document.querySelectorAll(".ant-card-body")[0]; const { paddingBottom, paddingTop } = getComputedStyle(card, null); const h = wraper - header - 64 - bar - parseInt(paddingBottom) - parseInt(paddingTop); // console.log(h, "h"); // console.log(h, "h",wraper, header, bar ); this.y = h; }); },