Bladeren bron

fix: 修复科室公告不可滚动的问题

carver 1 jaar geleden
bovenliggende
commit
faa7f826b7

+ 2 - 1
antbuilder/industry/hospitalV2/components/hospital-num-source/index.acss

@@ -69,7 +69,8 @@
 .hospital-new-component .am-modal-show .am-modal-body{
   max-height: 600rpx;
   max-width: 640rpx;
-  overflow-y: auto;
+  overflow: auto !important;
+  overflow-y: scroll !important;
 }
 
 .hospital-new-component .am-modal-show .am-modal-body p{

+ 3 - 3
antbuilder/industry/hospitalV2/components/hospital-num-source/index.axml

@@ -49,6 +49,8 @@
     </view>
     <modal
       show="{{ showModal }}"
+      disableScroll="{{false}}"
+      zIndex="10"
       onButtonClick="onModalClick"
       buttons="{{ [
         {
@@ -58,9 +60,7 @@
       ] }}"
       >
       <view slot="header">{{ title }}</view>
-      <view>
-        <mas-adc-rich-pro content="{{ content }}"/>
-      </view>
+      <mas-adc-rich-pro content="{{ content }}"/>
     </modal>
   </view>
 </wrapper>