Ver Fonte

样式更改

huangwenhao há 7 meses atrás
pai
commit
52dffcf47e
2 ficheiros alterados com 11 adições e 22 exclusões
  1. 3 4
      src/components/examine.vue
  2. 8 18
      src/components/list.vue

+ 3 - 4
src/components/examine.vue

@@ -1,5 +1,5 @@
 <template>
-  <div>
+  <div class="table-container">
     <div class="examine">
       <div class="examine_title1">
         <a @click="showPending" :style="{ color: isPending ? 'black' : 'rgb(179, 179, 179)', fontWeight: 'bold' }">待审核({{ tableData.length }})</a>
@@ -29,7 +29,7 @@
       <div v-if="isPending">
         <el-table :data="currentTableData" style="width: 100%; background-color: white;" @selection-change="handleSelectionChange">
           <el-table-column type="selection" width="50"></el-table-column>
-          <el-table-column prop="company" label="组织名称" width="240">
+          <el-table-column prop="company" label="组织名称" width="120">
             <template slot-scope="scope">{{ scope.row.company }}</template>
           </el-table-column>
           <el-table-column prop="phone" label="电话/邮箱" width="240"></el-table-column>
@@ -307,7 +307,6 @@ export default {
       this.isRefused = true;
       this.isAll = false;
       this.Pending_request=false;
-      this.Pending_request=false;
     },
     //全部记录
     showAll() {
@@ -641,7 +640,7 @@ export default {
 
 </script>
 
-<style>
+<style scoped>
 .content {
   width: 1410px;
   /* position: relative; */

+ 8 - 18
src/components/list.vue

@@ -460,7 +460,7 @@ export default {
 </script>
 
 <!-- Add "scoped" attribute to limit CSS to this component only -->
-<style>
+<style scoped>
 body{
   margin: 0px;
   padding: 0px;
@@ -476,8 +476,9 @@ body{
 .button_top{
   width: 450px;
   /* border: 1px solid red; */
-  height: 35px;
+  height: 60px;
   margin-left: 120px;
+  margin-top: 30px;
   letter-spacing: 2px; /* 设置字母间距为 2 像素 */
 }
 .button_top a{
@@ -519,7 +520,7 @@ body{
   color: black;
   font-weight: bold;
   margin-left: -890px;
-  margin-top: 53px;
+  margin-top: 80px;
   float: left;
 }
 
@@ -578,10 +579,6 @@ body{
 .el-checkbox:last-of-type {
   margin-right: 28px; /* 自定义你的间距 */
 }
-.el-checkbox span{
-  margin-left: 40px;
-}
-
 .checkbox-left {
   flex-direction: row-reverse; /* 选择框在右侧 */
   display: flex; /* 使用 Flexbox */
@@ -600,6 +597,9 @@ body{
   bottom: 0; /* 距离底部 */
   left: 5%; /* 调整下划线的水平位置,设置为10% */
 }
+.el-checkbox span{
+  margin-left: 40px;
+}
 /* 组织名称 */
 .checkbox-company {
   margin-top: 60px; /* 可选:设置顶部间距 */
@@ -715,7 +715,7 @@ body{
 .Pagetion {
   width: auto;
   height: 60px;
-  /* margin-top: 30px; */
+  margin-top: 30px;
   margin-left: 200px;
   float: left;
 }
@@ -747,14 +747,4 @@ body{
   border: 1px solid rgb(225, 225, 225);
   background-color: rgb(255, 255, 255);
 }
-.el-table .el-table__cell {
-    padding: 12px 0;
-    min-width: 0;
-    box-sizing: border-box;
-    text-overflow: ellipsis;
-    vertical-align: middle;
-    position: relative;
-    text-align: left;
-    height: 80px;
-}
 </style>