Bladeren bron

修改样式

zengyicheng 2 jaren geleden
bovenliggende
commit
9aed5ba201
2 gewijzigde bestanden met toevoegingen van 40 en 37 verwijderingen
  1. BIN
      src/assets/icon/anliDetail/jdNewTitle.png
  2. 40 37
      src/components/pages/race/eventCenter/anliDetail.vue

BIN
src/assets/icon/anliDetail/jdNewTitle.png


+ 40 - 37
src/components/pages/race/eventCenter/anliDetail.vue

@@ -125,17 +125,17 @@
           class="proOverCss"
           id="first"
           v-if="
-            (anliBox[0].info.courseText != '' ||
-              anliBox[0].info.imgBox.length > 0) &&
-            anliBox &&
-            anliBox[0].info &&
-            anliBox[0].info.data &&
-            anliBox[0].info.data.length
+            anliBox[0].info.courseText != '' ||
+            anliBox[0].info.imgBox.length > 0 ||
+            (anliBox &&
+              anliBox[0].info &&
+              anliBox[0].info.data &&
+              anliBox[0].info.data.length)
           "
         >
           <div class="whiteBg whiteLeft">
             <div class="navBgTop">
-              <div class="navBg">项目概况</div>
+              <div class="navBg">基础信息</div>
               <el-button
                 v-if="anliBox[0].info.courseText != ''"
                 @click="selectNav(anliBox[0].info.courseText)"
@@ -267,8 +267,8 @@
           <div
             class="proOverCss"
             v-if="
-              (anliBox[0].overview.driQuestion.brief != '' ||
-                anliBox[0].overview.driQuestion.imgBox.length > 0) &&
+              anliBox[0].overview.driQuestion.brief != '' ||
+              anliBox[0].overview.driQuestion.imgBox.length > 0 ||
               anliBox[0].overview.driQuestion.data.length
             "
           >
@@ -384,8 +384,8 @@
           <div
             class="proOverCss"
             v-if="
-              (anliBox[0].overview.tarDesign.brief != '' ||
-                anliBox[0].overview.tarDesign.imgBox.length > 0) &&
+              anliBox[0].overview.tarDesign.brief != '' ||
+              anliBox[0].overview.tarDesign.imgBox.length > 0 ||
               anliBox[0].overview.tarDesign.data.length
             "
           >
@@ -501,8 +501,8 @@
           <div
             class="proOverCss"
             v-if="
-              (anliBox[0].overview.actiDesign.brief != '' ||
-                anliBox[0].overview.actiDesign.imgBox.length > 0) &&
+              anliBox[0].overview.actiDesign.brief != '' ||
+              anliBox[0].overview.actiDesign.imgBox.length > 0 ||
               anliBox[0].overview.actiDesign.data.length
             "
           >
@@ -644,11 +644,14 @@
             style="margin-top: 20px"
           >
             <div class="jdTopBox" v-if="jd.staTitle != ''">
-              <div class="jdTopNav" style="font-size: 18px">
+              <div class="jdTopNav">
                 <div class="jdLeftNav">
-                  <div class="jdImg">
+                  <div
+                    class="jdImg"
+                    style="width: 25px; height: 25px; padding-left: 3px"
+                  >
                     <img
-                      src="../../../../assets/icon/anliDetail/jdTitle.png"
+                      src="../../../../assets/icon/anliDetail/jdNewTitle.png"
                       alt=""
                     />
                   </div>
@@ -669,7 +672,7 @@
             >
               <div
                 class="jdTopBox"
-                style="padding: 10px"
+                style="padding: 10px 20px"
                 v-if="hd.actName != ''"
               >
                 <div class="jdTopNav">
@@ -693,8 +696,8 @@
               <div
                 class="proOverCss"
                 v-if="
-                  hd.driQuestion.imgBox.length > 0 &&
-                  hd.driQuestion.imgBox[0].type == 3 &&
+                  (hd.driQuestion.imgBox.length > 0 &&
+                    hd.driQuestion.imgBox[0].type == 3) ||
                   hd.driQuestion.data.length
                 "
               >
@@ -807,8 +810,8 @@
               <div
                 class="proOverCss"
                 v-if="
-                  (hd.tarDesign.brief != '' ||
-                    hd.tarDesign.imgBox.length > 0) &&
+                  hd.tarDesign.brief != '' ||
+                  hd.tarDesign.imgBox.length > 0 ||
                   hd.tarDesign.data.length
                 "
               >
@@ -918,8 +921,8 @@
               <div
                 class="proOverCss"
                 v-if="
-                  (hd.actiDesign.brief != '' ||
-                    hd.actiDesign.imgBox.length > 0) &&
+                  hd.actiDesign.brief != '' ||
+                  hd.actiDesign.imgBox.length > 0 ||
                   hd.actiDesign.data.length
                 "
               >
@@ -1030,8 +1033,8 @@
               <div
                 class="proOverCss"
                 v-if="
-                  (hd.evaDesign.brief != '' ||
-                    hd.evaDesign.imgBox.length > 0) &&
+                  hd.evaDesign.brief != '' ||
+                  hd.evaDesign.imgBox.length > 0 ||
                   hd.evaDesign.data.length
                 "
               >
@@ -1168,7 +1171,7 @@
           >
             <div
               class="proOverCss"
-              v-if="(jd.brief != '' || jd.imgBox.length > 0) && jd.data.length"
+              v-if="jd.brief != '' || jd.imgBox.length > 0 || jd.data.length"
             >
               <div class="whiteBg whiteLeft">
                 <div class="navBgTop">
@@ -1258,8 +1261,8 @@
             class="jdTopBox"
             id="fivth"
             v-if="
-              (anliBox[0].proexc.brief != '' ||
-                anliBox[0].proexc.imgBox.length > 0) &&
+              anliBox[0].proexc.brief != '' ||
+              anliBox[0].proexc.imgBox.length > 0 ||
               anliBox[0].proexc.data.length
             "
           >
@@ -1280,8 +1283,8 @@
           <div
             class="proOverCss"
             v-if="
-              (anliBox[0].proexc.brief != '' ||
-                anliBox[0].proexc.imgBox.length > 0) &&
+              anliBox[0].proexc.brief != '' ||
+              anliBox[0].proexc.imgBox.length > 0 ||
               anliBox[0].proexc.data.length
             "
           >
@@ -1387,8 +1390,8 @@
             class="jdTopBox"
             id="sixth"
             v-if="
-              (anliBox[0].results.brief != '' ||
-                anliBox[0].results.imgBox.length > 0) &&
+              anliBox[0].results.brief != '' ||
+              anliBox[0].results.imgBox.length > 0 ||
               anliBox[0].results.data.length
             "
           >
@@ -1409,8 +1412,8 @@
           <div
             class="proOverCss"
             v-if="
-              (anliBox[0].results.brief != '' ||
-                anliBox[0].results.imgBox.length > 0) &&
+              anliBox[0].results.brief != '' ||
+              anliBox[0].results.imgBox.length > 0 ||
               anliBox[0].results.data.length
             "
           >
@@ -1887,12 +1890,11 @@ export default {
     jump(t) {
       var a = document.getElementById(t);
       var b = this.$refs["cenBox"];
-      if(this.isNavTop >= 300){
+      if (this.isNavTop >= 300) {
         b.scrollTop = a.offsetTop - 50;
-      }else{
+      } else {
         b.scrollTop = a.offsetTop + 50;
       }
-      
     },
     allScrollTop(ev) {
       console.log(ev.target.scrollTop);
@@ -2046,6 +2048,7 @@ body {
   top: 5%;
   box-shadow: 2px 2px 11px 1px #bdbdbd;
   width: 100%;
+  border-radius: 0 !important;
   z-index: 999;
 }
 .isNavBox > div > div:nth-child(2):hover {