Przeglądaj źródła

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

shaogen1995 1 rok temu
rodzic
commit
6f0a22ec38
2 zmienionych plików z 18 dodań i 0 usunięć
  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;
+}