Sfoglia il codice sorgente

Merge branch 'develop' of http://39.106.8.246:3003/web/wanda-editer into develop

YaolongHan 4 anni fa
parent
commit
0449f896c0
1 ha cambiato i file con 30 aggiunte e 7 eliminazioni
  1. 30 7
      src/components/edit/left_toolbar.vue

+ 30 - 7
src/components/edit/left_toolbar.vue

@@ -84,6 +84,7 @@
           @close="onClose"
           :getContainer="false"
           :mask="false"
+          :wrapClassName="isExtract?'edit-drawer':''"
         >
           <a-spin :spinning="spinning">
             <div class="drawer-model-body" v-if="!isExtract">
@@ -124,7 +125,7 @@
                 <template slot="age" slot-scope="text, record, index">
                   <div>
                     <img
-                      :class="['item',`item-${text.Type}`]"
+                      :class="['item',`item-${text.Type}`, 'exportImg']"
                       :src="'/serve/topology-wanda/Picture/query/'+ text.Url"
                       alt
                       v-if="text.Url"
@@ -132,12 +133,9 @@
                     <span v-else>无对应图例</span>
                   </div>
                 </template>
-                <a-tag
-                  slot="address"
-                  slot-scope="text, record, index"
-                  :color="'geekblue'"
-                  @click="pickUp(text, record, index)"
-                >{{ text }}</a-tag>
+                <template slot="address" slot-scope="text, record, index">
+                  <div style="color:#0091FFFF;cursor:pointer;" @click="pickUp(text, record, index)">{{ text }}</div>
+                </template>
               </a-table>
             </div>
           </a-spin>
@@ -673,11 +671,36 @@ export default {
         }
       }
     }
+    /deep/ .edit-drawer .ant-drawer-body{
+      padding: 0;
+      .ant-table-small{
+        border-left: none;
+        border-right: none;
+        border-radius: 0;
+      }
+      .ant-table-small > .ant-table-content > .ant-table-body{
+        margin: 0;
+        .ant-table-thead{
+          font-size: 12px;
+        }
+      }
+    }
     .drawer-model-body-extract {
       padding: 0;
       position: absolute;
       left: 0;
       right: 0;
+      /deep/ .ant-table-thead tr th{
+        background: #f8f9fa;
+      }
+      .exportImg.item-Zone{
+        width: 28px;
+        height: 16px;
+      }
+      .exportImg.item-Image{
+        width: 20px;
+        height: 20px;
+      }
       .ant-table-small {
         border: none !important;
       }