Ver código fonte

修改样式

zhangxc 4 anos atrás
pai
commit
053b0d6306

+ 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;