ソースを参照

表格背景颜色修改

duy 2 年 前
コミット
5cafe5ab4c
2 ファイル変更11 行追加1 行削除
  1. 3 0
      src/styles/app/element.scss
  2. 8 1
      src/views/data-fill/components/ListItem.vue

+ 3 - 0
src/styles/app/element.scss

@@ -641,6 +641,9 @@
     position: relative;
     display: flex;
     justify-content: center;
+    table{
+        width: 100%;
+    }
     td {
         padding: 6px;
         font-family: "EUDC", 宋体, v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;

+ 8 - 1
src/views/data-fill/components/ListItem.vue

@@ -34,7 +34,7 @@
                     </template>
                     <div class="data-fill-list-item-content">
                         <div class="data-fill-table-form-box">
-                            <div class="hc-excel-table-form-view" :id="`table-form-${item?.pkeyId}`"/>
+                            <div class="hc-excel-table-form-view" :id="`table-form-${item?.pkeyId}`" />
                             <div class="hc-no-table-form" v-if="item?.isTableForm === false">
                                 <div class="table-form-no">
                                     <img :src="notableform" alt=""/>
@@ -1653,6 +1653,9 @@ defineExpose({
 </script>
 
 <style lang="scss" scoped>
+table{
+    width: 100%;
+}
 .data-fill-list-box {
     position: relative;
     //margin-bottom: 25%;
@@ -1686,12 +1689,15 @@ defineExpose({
             height: 100%;
             overflow: auto;
             flex: 1;
+            border: 8px solid #50545E;
+           
             .hc-no-table-form {
                 position: relative;
                 height: 100%;
                 display: flex;
                 justify-content: center;
                 align-items: center;
+               
                 .table-form-no {
                     position: relative;
                     img {
@@ -1895,4 +1901,5 @@ defineExpose({
 .text-green{
     color:green
 }
+
 </style>