Browse Source

首页修改样式

zq940222 4 months ago
parent
commit
401bae793f
2 changed files with 5 additions and 8 deletions
  1. 3 2
      src/assets/less/home.less
  2. 2 6
      src/views/dashboard/Analysis/homePage/adweb3Home.vue

+ 3 - 2
src/assets/less/home.less

@@ -25,8 +25,9 @@
 .web-link{
   text-align: left;
   font-size: 18px;
-  margin: 22px 0;
-  line-height: 18px
+  line-height: 18px;
+  margin-left: 50px;
+  padding-top: 5px;
 }
 
 .border-right{

+ 2 - 6
src/views/dashboard/Analysis/homePage/adweb3Home.vue

@@ -2,15 +2,11 @@
   <div class="home">
     <!--网站概况-->
     <a-row class="top-title">
-      <a-col :span="6">
+      <a-col :span="24">
         <div style="display: flex; margin-top: 20px">
           <span class="t1"> 站点: </span>
           <select-site @set-site-info="changeUser" selectWidth="300px" />
-        </div>
-      </a-col>
-      <a-col :span="6">
-        <div class="web-link">
-          <a :href="siteDomain" target="_blank">{{ siteDomain }}</a>
+          <a :href="siteDomain" class="web-link" target="_blank">{{ siteDomain }}</a>
         </div>
       </a-col>
     </a-row>