瀏覽代碼

二维码扫码界面调整

qymljy 2 月之前
父節點
當前提交
4f6c4a9493
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7 7
      public/codeToFile.html

+ 7 - 7
public/codeToFile.html

@@ -16,7 +16,7 @@
                 position: absolute;
             }
             .img-div{
-                width: 104%;
+                width: calc(100vh - 50vh);
                 height: 353pt;
                 background-color: #AAB7CB ;
                 background-image: url('./img/background.png');
@@ -27,7 +27,7 @@
                 margin-top: 95px;
             }
             .title-div{
-                width:104%;
+                width: calc(100vh - 50vh);
                 height:50px;
                 margin:60px 0 60px 30pt
             }
@@ -64,12 +64,12 @@
                 margin: 30px 20px 0 20px;
             }
             .content-div{
-                width: 86%;
+                width: calc(100vh - 57vh);
                 height: 500pt;
                 min-height: 500pt;
                 background-color: rgba(255, 255, 255, 0.3);
-                margin: auto;
                 max-height: 500pt;
+                margin: 0 0 20pt 50pt;
                 overflow: auto;
                 border: 1px solid #707070;
                 border-radius: 10pt;
@@ -80,7 +80,7 @@
                 align-items: center;     /* 垂直居中 */
                 height: 100pt;          /* 设置容器高度 */
                 background-color: rgba(255, 255, 255, 0.3);
-                width: 104%;
+                width: calc(100vh - 50vh);
                 margin-top: 50pt;
                 font-size: 50pt;
                 margin-bottom: 50pt;
@@ -93,7 +93,7 @@
                 justify-content: center; /* 水平居中 */
                 align-items: center;     /* 垂直居中 */
                 height: 50pt;
-                width: 104%;
+                width: calc(100vh - 50vh);
                 font-size: 30pt;
                 color: #FFFFFF;
             }
@@ -108,7 +108,7 @@
             <div class="title-font" style="margin-left: 160px">产品技术资料</div>
         </div>
         <div class="content-div" style="margin-top: 30pt">
-            <div class="margin-style" id="dataContainer"></div>
+            <div id="dataContainer"></div>
         </div>
         <div class="container">
             <div class="inner" onclick="window.location.href='http://www.ibpchina.com/';">