소스 검색

修改样式

zhangxc 4 년 전
부모
커밋
053b0d6306
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/components/PushData/index.jsx
  2. 2 2
      src/components/PushData/index.less

+ 1 - 1
src/components/PushData/index.jsx

@@ -47,7 +47,7 @@ class PushData extends Component{
             {showPushData&&<div id="dragModalWrap" className={style['pushWrapper']} style={{right:(windowWidth-1200)/2+20+'px'}}>
                 {/* <div id="dragModalTitle"  className={style['pushDataTitle']}>朗通智能提醒 <span className={style['pushDataHide']} onClick={this.hidePushData}>收起</span></div> */}
                 <div className={style['pushDataTitle']}>朗通智能提醒 <span className={style['pushDataHide']} onClick={this.hidePushData}>收起</span></div>
-                {hospitalId&&<iframe id='embedPage'  src={url} frameborder="0" width="400" height="560"></iframe>}
+                {hospitalId&&<iframe id='embedPage'  src={url} frameborder="0" width="348" height="507"></iframe>}
                 {!hospitalId&&<div className={style['pushEmpty']}>
                         <div className={style['pushEmptyBox']}>
                             <img className={style['pushEmptyImg']} src={pushEmpty} alt=""/>

+ 2 - 2
src/components/PushData/index.less

@@ -36,7 +36,7 @@
     margin: 15px 0 0 0;
 }
 .pushWrapper{
-    width:402px;
+    width:350px;
     // height:600px;
     border-radius:4px;
     border: 1px solid #E6E6E6;
@@ -46,7 +46,7 @@
     right: 10px;
     background: #fff;
     z-index: 31;
-
+    box-sizing: border-box;
 }
 .pushDataTitle{
     height: 40px;