浏览代码

修改样式

zhangxc 4 年之前
父节点
当前提交
1775d74937
共有 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

@@ -45,7 +45,7 @@ class PushData extends Component{
                 朗通智能提醒 
                 <img class={style['arrowIcon']} src={arrowIcon} alt=""/>
             </div>}
-            {showPushData&&<div id="dragModalWrap" className={style['pushWrapper']} style={{right:(windowWidth-1200)/2+'px'}}>
+            {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>}

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

@@ -4,7 +4,7 @@
     height:40px;
     padding: 0 0 0 15px;
     line-height: 40px;
-    bottom: 80px;
+    bottom: 150px;
     right: 0px;
     font-size:16px;
     background: #7AC1DE;
@@ -41,7 +41,7 @@
     border-radius:4px;
     border: 1px solid #E6E6E6;
     position: fixed;
-    top: 10px;
+    bottom: 20px;
     right: 10px;
     background: #fff;
     z-index: 31;