Browse Source

fix: 修复整体样式问题

周玉环 15 hours ago
parent
commit
9d77187b00

+ 2 - 2
xinkeaboard-web/assets/style/decorate.scss

@@ -4078,8 +4078,8 @@ a {
 
 
 .home-slider {
-  // width: 1920px;
-  width: 100%;
+  max-width: 1920px;
+  // width: 100%;
   margin: 0 auto;
   position: relative;
   height: 520px;

+ 8 - 8
xinkeaboard-web/assets/style/register.scss

@@ -1,14 +1,14 @@
 @import "./theme.scss";
 .sld_login {
   .sld_login_header {
-    height: 50px;
-    background: #fff;
+    height: 88px;
+    background: #F6F8FA;
     box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
 
     .content {
       height: 100%;
       display: flex;
-
+      position: relative;
       align-items: center;
       width: 1440px;
       margin: 0 auto;
@@ -16,13 +16,12 @@
       .l_logo {
         height: 100%;
         cursor: pointer;
-        width: 50%;
+        width: 200px;
 
         .img {
           height: 100%;
-          display: inline-block;
-          vertical-align: top;
-          max-width: 160px;
+          width: 100%;
+          object-fit: cover;
         }
 
         .text {
@@ -36,8 +35,9 @@
 
       .r_register_wrap {
         font-size: 14px;
-        width: 50%;
         text-align: right;
+        position: absolute;
+        right: 0;
         .go_login_btn, .go_register_btn {
           font-size: 13px;
           display: inline-block;

+ 4 - 0
xinkeaboard-web/components/FooterBottom.vue

@@ -146,6 +146,7 @@ getCopyrightData();
     justify-content: space-between;
 
     .link_wrap {
+      width: 200px;
       text-align: left;
 
       p {
@@ -157,6 +158,9 @@ getCopyrightData();
 
       li {
         line-height: 25px;
+        text-overflow: ellipsis;
+        overflow: hidden;
+        white-space: nowrap;
 
         a {
           font-weight: 400;

+ 2 - 1
xinkeaboard-web/components/SldDiy.vue

@@ -1342,7 +1342,8 @@ onMounted(() => {
 
 .sld_diy {
   .el-carousel {
-    width: 100%;
+    max-width: 1920px;
+    // width: 100%;
     margin: 0 auto;
   }
 

+ 4 - 2
xinkeaboard-web/components/SldHomeTopSearch.vue

@@ -306,8 +306,9 @@ a:visited {
       height: 38px;
       border: 2px solid $colorMain;
       .form {
-        background-color: $colorMain;
-        height: 34px;
+        // background-color: $colorMain;
+        // height: 34px;
+        height: 100%;
         overflow: hidden;
         .text {
           height: 36px;
@@ -373,6 +374,7 @@ a:visited {
           background: $colorMain;
           font-size: $fontE;
           font-weight: 600;
+          height: 100%;
           color: #fff;
           float: right;
           cursor: pointer;

+ 1 - 0
xinkeaboard-web/pages/login.vue

@@ -23,6 +23,7 @@
         </div>
       </div>
     </div>
+    <NavTopBar/>
     <div class="sld_login_content">
       <img
         class="bg"

+ 1 - 0
xinkeaboard-web/pages/member/login/forget.vue

@@ -22,6 +22,7 @@
         </div>
       </div>
     </div>
+    <NavTopBar/>
     <div class="sld_login_content">
       <img
         class="bg"

+ 1 - 0
xinkeaboard-web/pages/register.vue

@@ -23,6 +23,7 @@
         </div>
       </div>
     </div>
+    <NavTopBar/>
     <div class="sld_login_content">
       <img
         class="bg"