Browse Source

账户管理样式修改

bing 5 days ago
parent
commit
b7fef55eca
1 changed files with 10 additions and 3 deletions
  1. 10 3
      src/views/payment/account/index.vue

+ 10 - 3
src/views/payment/account/index.vue

@@ -3,11 +3,11 @@
3 3
     <el-row :gutter="10">
4 4
       <!-- 部门树 -->
5 5
       <el-col :lg="4" :xs="24" style="">
6
-        <el-card shadow="hover" class="h-775px">
6
+        <el-card shadow="hover" class="h-785px">
7 7
           <el-input v-model="deptName" placeholder="请输入部门名称" prefix-icon="Search" clearable />
8 8
           <el-tree
9 9
             ref="deptTreeRef"
10
-            class="mt-2 w-300px h-171 inline-block overflow-auto"
10
+            class="mt-2 w-300px h-174 inline-block overflow-auto"
11 11
             node-key="id"
12 12
             :data="deptOptions"
13 13
             :props="{ label: 'label', children: 'children' }"
@@ -95,7 +95,14 @@
95 95
             </el-row>
96 96
           </template>
97 97
 
98
-          <el-table v-loading="loading" :data="ptUserAccountList" max-height="calc(100vh - 23.75rem)" @selection-change="handleSelectionChange">
98
+          <el-table
99
+            v-loading="loading"
100
+            :data="ptUserAccountList"
101
+            height="calc(100vh - 25rem)"
102
+            :row-style="{ 'height': '35px' }"
103
+            :cell-style="{ 'padding': '5px 0px', 'height': '30px' }"
104
+            @selection-change="handleSelectionChange"
105
+          >
99 106
             <el-table-column type="selection" width="55" align="center" />
100 107
             <el-table-column label="操作" align="center" width="100">
101 108
               <template #default="scope">