فهرست منبع

tab样式修改

duy 2 سال پیش
والد
کامیت
cfeafe0148
2فایلهای تغییر یافته به همراه7 افزوده شده و 6 حذف شده
  1. 5 4
      src/global/components/hc-new-switchtype/index.vue
  2. 2 2
      src/views/data-fill/wbs.vue

+ 5 - 4
src/global/components/hc-new-switchtype/index.vue

@@ -59,18 +59,19 @@ const switchClick = (item) => {
     isolation: isolate;
     position: relative;
     overflow: hidden;
-    height: 40px;
+    // height: 40px;
     font-size: 14px;
     background: #f1f5f8;
     border-radius: 4px;
     display: inline-flex;
     align-items: center;
-    padding: 0 4px;
-    box-shadow: 4px 4px 8px 0 rgba(54,92,167,0.15) inset, -4px -4px 8px 0 #ffffff inset;
+    padding: 0 0px;
+    border:1px solid var(--el-color-primary);
+    // box-shadow: 4px 4px 8px 0 rgba(54,92,167,0.15) inset, -4px -4px 8px 0 #ffffff inset;
     .switch-bg {
         color: #838791;
         padding: 0 14px;
-        border-radius: 4px;
+        border-radius: 0px;
         height: 30px;
         display: flex;
         align-items: center;

+ 2 - 2
src/views/data-fill/wbs.vue

@@ -139,7 +139,7 @@
                 <HcCard actionUi="text-center">
                     <template #header>
                         <HcTooltip keys="wbs_views_drawings">
-                            <el-button hc-btn :disabled="!nodeDataInfo?.fileUrl" @click="viewsDrawings">
+                            <el-button hc-btn :disabled="!nodeDataInfo?.fileUrl" @click="viewsDrawings" style="height:30px">
                                 <HcIcon name="image"/>
                                 <span>查看图纸</span>
                             </el-button>
@@ -189,7 +189,7 @@
                             <HcTooltip keys="wbs_save" v-if="NodeStatus !== '3'">
                                 <el-button 
                                 type="primary"
-                                style="width:150px;font-weight: bold;font-size:larger"       
+                                style="width:150px;font-weight: bold;font-size:large"       
                                 hc-btn 
                                 :disabled="NodeStatus === '3' || ListItemDatas.length <= 0" 
                                 :loading="tableFormSaveLoading"