Jelajahi Sumber

[Bugfix 0000]修复矿端首页部分模块背景不能正常渲染的问题

wangkeyi 1 hari lalu
induk
melakukan
854e317e63

+ 9 - 3
src/components/Configurable/detail/CustomTable.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="table__content">
+  <div class="table__content" :class="`table__content_${type}`">
     <div class="table__content_label" :class="`table__content_label_${type}`">
       <div class="label-t" v-for="(item, index) in columns" :key="`svvhbcth-${index}`" :style="{ flexBasis }">{{ item.name }}</div>
     </div>
@@ -62,7 +62,7 @@
 
   .table__content {
     --image-content-label-A: url('/@/assets/images/sealedGoaf/configurable/table/table-label-A.png');
-
+    --image-content-E: url('/@/assets/images/sealedGoaf/configurable/gallery/bg-C-3.png');
     height: 100%;
     box-sizing: border-box;
     display: flex;
@@ -242,7 +242,13 @@
   }
 
   //
-  .table__content_label_E {
+  .table__content_E {
+    background-image: var(--image-content-E);
+    background-size: 100% 100%;
+    background-repeat: no-repeat;
+  }
+  
+   .table__content_label_E {
     background-image: var(--image-content-label-A);
     background-size: 100% 100%;
     background-repeat: no-repeat;

+ 1 - 1
src/views/dashboard/SealedGoaf/configurable.data.sealedGoaf.ts

@@ -1075,7 +1075,7 @@ export const testConfigSealedMine: Config[] = [
         },
       },
       background: {
-        show: true,
+        show: false,
         type: 'image',
         link: '/src/assets/images/sealedGoaf/configurable/gallery/bg-C-3.png',
       },