Browse Source

背景色

CzRger 1 year ago
parent
commit
ecf2c6f0fc
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/views/ship-test/business/ship-filter.vue

+ 6 - 1
src/views/ship-test/business/ship-filter.vue

@@ -34,7 +34,7 @@
                   </div>
                   <div class="filters">
                     <template v-for="d in p.dict">
-                      <div class="f-checkbox __hover" :class="{active: d.active}" v-html="d.name" @click="d.active = !d.active"/>
+                      <div class="f-checkbox __hover f-source" :class="{active: d.active}" v-html="d.name" @click="d.active = !d.active"/>
                     </template>
                   </div>
                 </template>
@@ -297,6 +297,11 @@ export default defineComponent({
               &:hover, &.active {
                 background-color: #366DE5;
               }
+              &.f-source {
+                &:hover, &.active {
+                  background-color: #ffffff;
+                }
+              }
             }
             :deep(.cus-value) {
               display: flex;