Browse Source

组件样式调整

zq940222 4 months ago
parent
commit
7f824dc887

+ 1 - 1
src/assets/less/home.less

@@ -1,5 +1,5 @@
 .home {
-  background: url("../../assets/home/top-bg.png") repeat-x;
+  //background: url("../../assets/home/top-bg.png") repeat-x;
   background-size: 50% 200px;
   background-attachment: fixed;
   background-position: 0px 59px;

+ 1 - 0
src/assets/trafficAnalysis/sessions.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1730875609082" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3279" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M782.933333 853.333333H480a358.762667 358.762667 0 0 1-252.522667-114.666666A359.872 359.872 0 0 1 130.133333 480a359.338667 359.338667 0 0 1 110.144-248.533333A362.048 362.048 0 0 1 492.8 130.133333h42.666667a360.362667 360.362667 0 0 1 256.533333 106.133334A360.362667 360.362667 0 0 1 898.133333 492.8a354.858667 354.858667 0 0 1-147.2 290.133333l44.8 32a22.528 22.528 0 0 1 4.266667 29.866667 19.2 19.2 0 0 1-17.066667 8.533333zM449.941333 374.4a53.653333 53.653333 0 0 0-38.144 16.021333l-128 128a48.490667 48.490667 0 0 0-15.978666 35.178667 54.208 54.208 0 0 0 15.978666 39.488 48.448 48.448 0 0 0 36.544 16 53.674667 53.674667 0 0 0 38.144-16l89.6-89.6 89.6 89.6a54.336 54.336 0 0 0 38.4 14.933333 46.165333 46.165333 0 0 0 36.266667-14.933333l128-128a48.469333 48.469333 0 0 0 15.978667-35.157333 54.186667 54.186667 0 0 0-15.978667-39.488 48.426667 48.426667 0 0 0-36.544-16.021334 53.653333 53.653333 0 0 0-38.144 16.021334l-89.6 89.6-89.6-89.6a48.426667 48.426667 0 0 0-36.522667-16.042667z" fill="#2F54EB" p-id="3280"></path></svg>

+ 2 - 2
src/views/adweb/data/trafficAnalysis.vue

@@ -5,7 +5,7 @@
       <a-col :span="6">
         <div class="choose-site">
           <span class="t1">站点:</span>
-          <select-site @set-site-info="changeSite" select-width="100%" />
+          <select-site @set-site-info="changeSite" selectWidth="300px" />
         </div>
       </a-col>
       <a-col :span="8">
@@ -42,7 +42,7 @@
         <p class="t3">{{ flowIndexNums.pv }}</p>
       </a-col>
       <a-col :span="6">
-        <p class="t1"><img src="@/assets/trafficAnalysis/uvTransfer.svg" />会话数</p>
+        <p class="t1"><img src="@/assets/trafficAnalysis/sessions.svg" />会话数</p>
         <p class="t3">{{ flowIndexNums.sessions }}</p>
       </a-col>
       <a-col :span="6">

+ 14 - 12
src/views/dashboard/Analysis/homePage/adweb3Home.vue

@@ -3,18 +3,20 @@
     <!--网站概况-->
     <a-row class="top-title">
       <a-col :span="24">
+        <div style="display: flex;margin-top: 20px">
           <span class="t1">
             网站概况
           </span>
-        <template  v-if="siteinfo.length > 1">
-          <select-site @comMethods="changeUser" :comProps="parentValue" selectWidth="300px"  ref="selectSite" />
-          <a v-if="selectSiteInfo.domain" :href="selectSiteInfo.domain" style="margin-left: 24px" class="t1 t2" target="_blank">{{ selectSiteInfo.domain }}</a>
-          <a v-else-if="selectSiteInfo.domainDev" :href="'http://' + selectSiteInfo.domainDev" style="margin-left: 24px" class="t1 t2" target="_blank">http://{{ selectSiteInfo.domainDev }}</a>
-        </template>
-        <template v-else>
-          <a v-if="selectSiteInfo.domain" :href="selectSiteInfo.domain" style="margin-left: 24px" class="t1 t2" target="_blank">{{ selectSiteInfo.domain }}</a>
-          <a v-else-if="selectSiteInfo.domainDev" :href="'http://' + selectSiteInfo.domainDev" style="margin-left: 24px" class="t1 t2" target="_blank">http://{{ selectSiteInfo.domainDev }}</a>
-        </template>
+          <template  v-if="siteinfo.length > 1">
+            <select-site @comMethods="changeUser" :comProps="parentValue" selectWidth="300px"  ref="selectSite" />
+            <a v-if="selectSiteInfo.domain" :href="selectSiteInfo.domain" style="margin-left: 24px" class="t1 t2" target="_blank">{{ selectSiteInfo.domain }}</a>
+            <a v-else-if="selectSiteInfo.domainDev" :href="'http://' + selectSiteInfo.domainDev" style="margin-left: 24px" class="t1 t2" target="_blank">http://{{ selectSiteInfo.domainDev }}</a>
+          </template>
+          <template v-else>
+            <a v-if="selectSiteInfo.domain" :href="selectSiteInfo.domain" style="margin-left: 24px" class="t1 t2" target="_blank">{{ selectSiteInfo.domain }}</a>
+            <a v-else-if="selectSiteInfo.domainDev" :href="'http://' + selectSiteInfo.domainDev" style="margin-left: 24px" class="t1 t2" target="_blank">http://{{ selectSiteInfo.domainDev }}</a>
+          </template>
+        </div>
       </a-col>
     </a-row>
 
@@ -58,9 +60,9 @@
             <a-col :span="8">
               <img src="../../../../assets/home/LinkedIn.png" />
             </a-col>
-            <a-col :span="8">
-              <img src="../../../../assets/home/Yandex.png" />
-            </a-col>
+<!--            <a-col :span="8">-->
+<!--              <img src="../../../../assets/home/Yandex.png" />-->
+<!--            </a-col>-->
           </a-row>
         </div>
       </a-col>