Parcourir la source

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

vera_min il y a 1 mois
Parent
commit
d2ac659b43
1 fichiers modifiés avec 13 ajouts et 0 suppressions
  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;
 }