Просмотр исходного кода

🐛在弹窗里面查看图片层级问题

shaogen1995 1 год назад
Родитель
Сommit
6f0a22ec38
2 измененных файлов с 18 добавлено и 0 удалено
  1. 9 0
      src/assets/styles/base.css
  2. 9 0
      src/assets/styles/base.less

+ 9 - 0
src/assets/styles/base.css

@@ -167,3 +167,12 @@ textarea {
 .ant-image-preview-operations {
   background-color: rgba(0, 0, 0, 0.8) !important;
 }
+.ant-image-preview-mask {
+  z-index: 9999 !important;
+}
+.ant-image-preview-wrap {
+  z-index: 9999 !important;
+}
+.ant-image-preview-operations-wrapper {
+  z-index: 9999 !important;
+}

+ 9 - 0
src/assets/styles/base.less

@@ -270,3 +270,12 @@ textarea {
 .ant-image-preview-operations {
   background-color: rgba(0, 0, 0, 0.8) !important;
 }
+.ant-image-preview-mask {
+  z-index: 9999 !important;
+}
+.ant-image-preview-wrap {
+  z-index: 9999 !important;
+}
+.ant-image-preview-operations-wrapper {
+  z-index: 9999 !important;
+}