浏览代码

水印导致日历事件不触发

cxmo 1 年之前
父节点
当前提交
ba252ed44b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/views/hzyb/forexCalendar/components/BaseCalendar.vue

+ 2 - 0
src/views/hzyb/forexCalendar/components/BaseCalendar.vue

@@ -80,6 +80,7 @@ defineExpose({ calendarApi });
     flex-direction: column;
     position:relative;
     .full-calendar-wrap{
+        z-index: 2;
         flex: 1;
         :deep(.fc-daygrid-day-top){ //日期偏左显示
             flex-direction: row;
@@ -154,6 +155,7 @@ defineExpose({ calendarApi });
         }
     }
     .water-mark{
+        z-index: 1;
         position: absolute;
         top:0;
         bottom: 0;