Ver Fonte

fix: 设备管理-产品详情-数据解析:兼容暗黑模式

vera_min há 1 mês atrás
pai
commit
d2ac659b43
1 ficheiros alterados com 13 adições e 0 exclusões
  1. 13 0
      src/views/iot/device/product/component/dataParse.vue

+ 13 - 0
src/views/iot/device/product/component/dataParse.vue

@@ -225,6 +225,19 @@ async function mock() {
 </script>
 
 <style scoped lang="scss">
+[data-theme="dark"] {
+  .full-screen-btn {
+    background-color: rgba(255, 255, 255, 0.1)!important;
+  }
+  .data-parse-wrapper {
+    &:fullscreen {
+      background-color: rgba(255, 255, 255, 0.1)!important;
+    }
+    &::-webkit-full-screen {
+      background-color: rgba(255, 255, 255, 0.1)!important;
+    }
+  }
+}
 .flex {
   display: flex;
 }