瀏覽代碼

样式修改

luolei 4 年之前
父節點
當前提交
d1a66d3436

+ 1 - 1
index.html

@@ -8,6 +8,6 @@
     <title>CDSS</title>
 </head>
 <body>
-<div id="root" style="width: 1000px;margin:0 auto;overflow-y: auto;"></div>
+<div id="root" style="width: 1000px;margin:0 auto;"></div>
 </body>
 </html>

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

@@ -7,8 +7,8 @@
     height: 50px;
 
     border-bottom: 10px solid #e4e6e7;
-    position: absolute;          //页面布局调整
-    width: 100%;
+    position: fixed;          //页面布局调整
+    width: 1000px;
     top: 0;
     // z-index: 202;
     img{

+ 1 - 0
src/components/BlockEmrCont/index.less

@@ -16,6 +16,7 @@
   overflow-y:auto;
   overflow-x: hidden;
   width: 1000px;
+  padding-bottom: 100px;
 }
 .inner{
   padding-top:20px;

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

@@ -549,8 +549,8 @@ class Operation extends Component {
       {/* <span className={style['preButton']} onClick={showPreview}><img src={preview} /> 预览</span> */}
       {/* {hideLabel?"":<span className={style['preButton']} onClick={() => { this.saveHis(3) }}><img src={saveHistory} /> 保存病历模板</span>} */}
       {/* {hideLabel?"":<span className={style['preButton']} onClick={cancelDelTag}><img src={cancelTag} /> 还原标签</span>} */}
-      <span className={winWidth<=1082?`${style['saveButton']} ${style['minstyle']}`: style['saveButton']} onClick={() => { this.saveAll(1) }}>保存</span>
       <span className={winWidth<=1082?`${style['clearButton']} ${style['saveButton']} ${style['minstyle']}`:`${style['clearButton']} ${style['saveButton']}`} onClick={() => { this.clearAll(2) }}>清除</span>
+      <span className={winWidth<=1082?`${style['saveButton']} ${style['minstyle']}`: style['saveButton']} onClick={() => { this.saveAll(1) }}>保存</span>
       {visible?<PrintPreviewContainer visible={visible} onClose={closePrint} />:null}
       {preVisible?<PreviewContainer visible={preVisible} onClose={closePreview} />:null}
       

+ 8 - 5
src/components/Operation/index.less

@@ -1,18 +1,20 @@
 @import "~@less/variables.less";
 .container {
     .contentZIndex2;
-    padding-left: 20px;
     padding-top: 10px;
     position: fixed;
     bottom: 0;
-    left: 10px;
-    right: 10px;
+    left: 50%;
+    margin-left: -500px;
+    width: 1000px;
     // min-width: 720px;
-    min-width: 547px;
+    // min-width: 547px;
     background-color: #fff;
     // z-index: 240;
     padding-bottom: 10px;
     border-bottom: 10px solid #e4e6e7;
+    border-top: 1px solid #BBBFC1;
+    text-align: center;
     .button {
         width: 111px;
         height: 34px;
@@ -57,7 +59,8 @@
         margin-left:20px;
         background: #3B9ED0;
         color: #fff;
-        float: right;
+        float: none;
+        display: inline-block;
         margin-right: 20px;
     }
     .minstyle{