调整一下各表高度

This commit is contained in:
2024-09-25 23:21:03 +08:00
parent 3ce26a1ffe
commit be94d86119
3 changed files with 6 additions and 10 deletions

View File

@@ -68,7 +68,7 @@ Vue.prototype.$marketBoard = Vue.observable({
search: {"groupCodeList": [], "currentDate": "20240701", "compareDate": "20240630", "hourNum": "18"}
})
Vue.prototype.$multipleStoreBoard = Vue.observable({
carouselIndex:0,
carouselIndex: 0,
search: {"groupCodeList": [], "hourNum": "", type: "1"}
})
Vue.prototype.$storeBoard = Vue.observable({
@@ -132,8 +132,8 @@ Vue.component("scrollTable", {
const {config, tableData, columns} = this.$props
return h('el-table', {
props: {
headerCellClassName: 'tableHeader', cellClassName: 'tableCell', stripe: !0,
...config, data: tableData, height: '100%'
headerCellClassName: 'tableHeader', cellClassName: 'tableCell', stripe: !0, height: '100%',
...config, data: tableData,
}, class: 'scrollTable',
on: {
'cell-click': (row, column, cell, event) => {

View File

@@ -77,6 +77,6 @@ export default {
}
.AppStoreKeyGoods .scrollTable {
height: calc(100% - 56px) !important;
height: calc(100% - 70px) !important;
}
</style>

View File

@@ -188,10 +188,10 @@ export default {
</el-carousel-item>
</el-carousel>
<div class="subTitle" v-text="'品类销售情况'"/>
<scroll-table :table-data="store.categorySale" :columns="columns['品类销售情况']"/>
<scroll-table :table-data="store.categorySale" :columns="columns['品类销售情况']" :config="{height:'145px'}"/>
<!--<dv-scroll-board :config="getTableData(store, '品类销售情况')"/>-->
<div class="subTitle" v-text="'重点单品情况'"/>
<scroll-table :table-data="store.keyGoods" :columns="columns['重点单品情况']" @click="v=>openNearbyStores(v,store)" @click.native.stop/>
<scroll-table :table-data="store.keyGoods" :columns="columns['重点单品情况']" :config="{height:'265px'}" @click="v=>openNearbyStores(v,store)" @click.native.stop/>
<!--<dv-scroll-board :config="getTableData(store, '重点单品情况')" @click="v=>openNearbyStores(v,store)" @click.native.stop/>-->
</div>
</div>
@@ -212,10 +212,6 @@ export default {
position: relative;
}
.AppStoresTable .dv-scroll-board, .AppStoresTable .scrollTable {
height: 130px !important;
}
.AppStoresTable .headerTitle {
height: 48px;
padding: 8px 0 8px 38px;