From 3a1a63d17e21cb9c26e4515e49e9ff75f59f52a0 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 06 九月 2023 17:51:57 +0800
Subject: [PATCH] 产品管理样式修改
---
src/components/makepager/TableCommonView.vue | 2 +-
src/views/productManage/product/index.vue | 17 ++++++++++++++---
2 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/src/components/makepager/TableCommonView.vue b/src/components/makepager/TableCommonView.vue
index be81c3c..ad1f787 100644
--- a/src/components/makepager/TableCommonView.vue
+++ b/src/components/makepager/TableCommonView.vue
@@ -296,7 +296,7 @@
<style lang="scss" scoped>
.table-view {
// margin-top: 20px;
- margin-right: 10px;
+ // margin-right: 10px;
// margin-bottom: 40px;
height: 100%;
.blue {
diff --git a/src/views/productManage/product/index.vue b/src/views/productManage/product/index.vue
index a904fb1..60844cb 100644
--- a/src/views/productManage/product/index.vue
+++ b/src/views/productManage/product/index.vue
@@ -13,8 +13,9 @@
</div>
</div>
<template>
- <TableCommonView ref="tableListRef" :table-list="tableList" @selCommonClick="selCommonClick">
- <!-- <template slot="tableButton">
+ <div class="list-view">
+ <TableCommonView ref="tableListRef" :table-list="tableList" @selCommonClick="selCommonClick">
+ <!-- <template slot="tableButton">
<el-table-column label="鎿嶄綔" width="120">
<template slot-scope="scope">
<el-button @click="handleClick(scope.row)" type="text" size="small">缂栬緫</el-button>
@@ -22,7 +23,9 @@
</template>
</el-table-column>
</template> -->
- </TableCommonView>
+ </TableCommonView>
+ </div>
+
<div class="btn-pager">
<PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
</div>
@@ -163,8 +166,13 @@
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.rightContent {
+ height: 100%;
+ background: #f0f2f5;
+ padding: 10px;
.top {
margin-bottom: 20px;
+ height: calc(100% - 30px);
+ background: #fff;
.supplier-search {
display: flex;
align-items: center;
@@ -173,6 +181,9 @@
margin-right: 20px;
}
}
+ .list-view {
+ height: calc(100% - 120px);
+ }
.btn-pager {
display: flex;
.page {
--
Gitblit v1.8.0