瀏覽代碼

搜索类型

ZaiZai 2 年之前
父節點
當前提交
a3d9c2e170
共有 2 個文件被更改,包括 6 次插入1 次删除
  1. 3 0
      src/styles/theme/using/query.scss
  2. 3 1
      src/views/using/query.vue

+ 3 - 0
src/styles/theme/using/query.scss

@@ -21,6 +21,9 @@ html.dark {
         }
         .hc-gather-card-box {
             &.gui {
+                background: #0f1344;
+            }
+            &.gui.is-mac {
                 background: #0A1450;
             }
             .hc-card-item-box {

+ 3 - 1
src/views/using/query.vue

@@ -143,7 +143,7 @@
             </div>
 
             <!--档案柜-->
-            <div class="hc-gather-card-box gui" v-if="tabKey === 'tab2'">
+            <div class="hc-gather-card-box gui" :class="isMac?'is-mac':''" v-if="tabKey === 'tab2'">
                 <HcCardItem ui="hc-card-item-main" v-loading="tableLoading">
                     <el-carousel class="hc-file-cabinet" :autoplay="false" :loop="false" indicator-position="none" v-if="guiItemData.length > 0">
                         <el-carousel-item v-for="item in guiItemData">
@@ -446,6 +446,8 @@ const hoverHand = ref(true)
 const isShowheader = ref(false)
 const tags = ref([])
 
+const userAgent = navigator.userAgent
+const isMac = userAgent.indexOf("Mac") !== -1
 
 //监听
 watch(() => [