Browse Source

fix: 优化通知配置页面在暗黑下的文字颜色,全局优化style不带scoped属性的问题

yanglzh 1 year ago
parent
commit
01a1b4f1ce

+ 1 - 1
src/views/iot/alarm/setting/component/edit.vue

@@ -639,7 +639,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .inline {
 	display: inline-flex;
 }

+ 1 - 1
src/views/iot/alarm/setting/index.vue

@@ -255,7 +255,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .el-button.is-text:not(.is-disabled).is-has-bg {
 	background-color: var(--next-border-color-light);
 }

+ 1 - 1
src/views/iot/device/product/component/editAttr.vue

@@ -490,7 +490,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .input-box {
 	display: flex;
 	flex-direction: row;

+ 1 - 1
src/views/iot/device/product/component/editEvent.vue

@@ -257,7 +257,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .input-box {
 	display: flex;
 	flex-direction: row;

+ 1 - 1
src/views/iot/device/product/component/editFun.vue

@@ -322,7 +322,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .input-box {
 	display: flex;
 	flex-direction: row;

+ 1 - 1
src/views/iot/device/product/component/editPro.vue

@@ -307,7 +307,7 @@ export default defineComponent({
 }
 </style>
 
-<style>
+<style scoped>
 .avatar-uploader .el-upload {
 	border: 1px dashed var(--el-border-color);
 	border-radius: 6px;

+ 1 - 1
src/views/iot/device/product/component/editTab.vue

@@ -482,7 +482,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .input-box {
 	display: flex;
 	flex-direction: row;

+ 1 - 1
src/views/iot/network/server/detail.vue

@@ -87,7 +87,7 @@ export default defineComponent({
 });
 </script>
 
-<style>
+<style scoped>
 .CodeMirror {
   width: 100%;
   height: 600px;

+ 1 - 1
src/views/iot/noticeservices/config/component/edit.vue

@@ -131,7 +131,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .el-textarea__inner{
 	min-height: 420px !important;
 }

+ 1 - 1
src/views/iot/noticeservices/config/component/setEdit.vue

@@ -143,7 +143,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .inline {
 	display: inline-flex;
 }

+ 1 - 1
src/views/iot/noticeservices/config/component/temEdit.vue

@@ -171,7 +171,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .inline {
 	display: inline-flex;
 }

+ 1 - 2
src/views/iot/noticeservices/config/index.vue

@@ -207,7 +207,7 @@ export default defineComponent({
 });
 </script>
 
-<style>
+<style scoped>
 .line {
   border: 1px solid var(--next-border-color-light);
   ;
@@ -218,7 +218,6 @@ export default defineComponent({
   box-sizing: border-box;
   margin: 0;
   padding: 0;
-  color: rgba(0, 0, 0, 0.85);
   font-size: 14px;
   font-variant: tabular-nums;
   line-height: 1.5715;

+ 1 - 1
src/views/iot/noticeservices/config/setting.vue

@@ -287,7 +287,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .el-col-12 {
 	padding: 10px;
 }

+ 1 - 1
src/views/iot/property/dossier/component/from.vue

@@ -120,7 +120,7 @@ export default defineComponent({
 	display: block;
 }
 </style>
-<style>
+<style scoped>
 .avatar-uploader .el-upload {
 	border: 1px dashed var(--el-border-color);
 	border-radius: 6px;

+ 1 - 1
src/views/system/application/edit.vue

@@ -120,7 +120,7 @@ const open = async (row: any) => {
 
 defineExpose({ open });
 </script>
-<style>
+<style scoped>
 .vertical-form-item {
 	display: block;
 	margin-bottom: 10px;

+ 1 - 1
src/views/system/assess/component/editAttr.vue

@@ -203,7 +203,7 @@ export default defineComponent({
 }
 </style>
 
-<style>
+<style scoped>
 .avatar-uploader .el-upload {
 	border: 1px dashed var(--el-border-color);
 	border-radius: 6px;

+ 1 - 1
src/views/system/assess/component/editEvent.vue

@@ -210,7 +210,7 @@ export default defineComponent({
 }
 </style>
 
-<style>
+<style scoped>
 .avatar-uploader .el-upload {
 	border: 1px dashed var(--el-border-color);
 	border-radius: 6px;

+ 1 - 1
src/views/system/assess/component/editFun.vue

@@ -162,7 +162,7 @@ export default defineComponent({
 }
 </style>
 
-<style>
+<style scoped>
 .avatar-uploader .el-upload {
   border: 1px dashed var(--el-border-color);
   border-radius: 6px;

+ 1 - 1
src/views/system/assess/component/editPro.vue

@@ -236,7 +236,7 @@ export default defineComponent({
 }
 </style>
 
-<style>
+<style scoped>
 .avatar-uploader .el-upload {
   border: 1px dashed var(--el-border-color);
   border-radius: 6px;

+ 1 - 1
src/views/system/assess/component/editTab.vue

@@ -204,7 +204,7 @@ export default defineComponent({
 }
 </style>
 
-<style>
+<style scoped>
 .avatar-uploader .el-upload {
 	border: 1px dashed var(--el-border-color);
 	border-radius: 6px;

+ 1 - 1
src/views/system/datahub/modeling/detail.vue

@@ -223,7 +223,7 @@ export default defineComponent({
   },
 });
 </script>
-<style>
+<style scoped>
 .content {
   background: #fff;
   width: 100%;

+ 1 - 1
src/views/system/datahub/source/component/editNode.vue

@@ -457,7 +457,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .el-input__wrapper {
 	width: 98%;
 }

+ 1 - 1
src/views/system/datahub/source/detail.vue

@@ -346,7 +346,7 @@ export default defineComponent({
 	},
 });
 </script>
-<style>
+<style scoped>
 .content {
 	background: #fff;
 	width: 100%;

+ 1 - 1
src/views/system/manage/blacklist/component/editPro.vue

@@ -144,7 +144,7 @@ export default defineComponent({
 }
 </style>
 
-<style>
+<style scoped>
 .avatar-uploader .el-upload {
   border: 1px dashed var(--el-border-color);
   border-radius: 6px;