Procházet zdrojové kódy

1.首页表格过宽
2.el-tooltip__popper样式

zangkai před 5 roky
rodič
revize
bd83e6153b

+ 4 - 0
frontend_web/src/assets/style/theme/d2blue/index.scss

@@ -128,4 +128,8 @@
   // ::-webkit-scrollbar-thumb:hover {
   //   background-color: #bbb;
   // }
+  .el-tooltip__popper {
+    max-width: 400px;
+    line-height: 180%;
+  }
 }

+ 4 - 6
frontend_web/src/views/demo/page1/index.vue

@@ -20,7 +20,7 @@
         </el-col>
       </el-row>
     </div>
-    <el-row :gutter="15">
+    <el-row>
       <el-card style="width: 100%">
         <div style="font-size:25px">
           公告
@@ -30,7 +30,7 @@
                   border
                   fit
                   @row-click="openDetails"
-                  tooltip-effect="light">
+                  tooltip-effect="dark">
           <el-table-column prop="title"
                            fit
                            min-width="80px"
@@ -59,8 +59,7 @@
       </el-card>
     </el-row>
 
-    <el-row :gutter="15"
-            style="margin-top: 10px;">
+    <el-row style="margin-top: 10px;">
       <el-card>
         <div style="font-size:25px">
           课程表
@@ -158,8 +157,7 @@
       </el-card>
     </el-row>
 
-    <el-row :gutter="15"
-            style="margin-top: 10px;">
+    <el-row style="margin-top: 10px;">
       <el-card>
         <div style="font-size:25px">
           值班表

+ 1 - 1
frontend_web/src/views/information/index.vue

@@ -51,7 +51,7 @@
               style="width: 100%"
               @sort-change="orderby"
               height="100%"
-              tooltip-effect="light">
+              tooltip-effect="dark">
       <el-table-column label="操作"
                        width="160px"
                        align="center"

+ 1 - 1
frontend_web/src/views/system/index/page.vue

@@ -8,7 +8,7 @@
               :data="activities"
               border
               fit
-              tooltip-effect="light"
+              tooltip-effect="dark"
               style="width: 100%"
               @sort-change="orderby">
       <!-- <el-table-column label="操作"

+ 1 - 1
frontend_web/src/views/system/index/pagex.vue

@@ -12,7 +12,7 @@
               :data="activities"
               border
               fit
-              tooltip-effect="light"
+              tooltip-effect="dark"
               style="width: 100%"
               @sort-change="orderby"
               height="100%">