zengyicheng 2 rokov pred
rodič
commit
7bb4e07ce4

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


+ 1 - 6
src/components/pages/race/addRace/raceDetail.vue

@@ -958,12 +958,6 @@ export default {
           if (this.sName === "") {
             this.$message.error("姓名不能为空");
             return;
-          } else if (this.sSubject === "") {
-            this.$message.error("学科不能为空");
-            return;
-          } else if (this.sSchool === "") {
-            this.$message.error("学校不能为空");
-            return;
           } else if (this.sPhone != "") {
             if (!/^[1][3,4,5,7,8][0-9]{9}$/.test(this.sPhone)) {
               this.$message.error("手机号格式不正确");
@@ -1860,6 +1854,7 @@ export default {
 .upTips > div {
   margin-left: 10px;
   color: #999;
+  font-size: 14px;
 }
 .tableColor >>> .tr-blue {
   color: #628ff3 !important;

+ 25 - 11
src/components/pages/race/eventCenter/anliDetail.vue

@@ -1,5 +1,9 @@
 <template>
-  <div class="center_content" ref="cenBox" @scroll.passive="allScrollTop($event)">
+  <div
+    class="center_content"
+    ref="cenBox"
+    @scroll.passive="allScrollTop($event)"
+  >
     <div class="detaBox">
       <div class="anliMiddle">
         <div class="anliBox">
@@ -53,7 +57,7 @@
           </div>
         </div>
       </div>
-      <div class="navBox" :class="{ 'isNavBox' : isNavTop >= 300 } ">
+      <div class="navBox" :class="{ isNavBox: isNavTop >= 300 }">
         <div class="navTop" @click="jump('first')">
           <div class="navImg" style="width: 27px">
             <img src="../../../../assets/icon/anliDetail/proOver.png" alt="" />
@@ -95,7 +99,11 @@
         </div>
       </div>
 
-      <div class="messageBox" v-if="anliBox[0]" :class="{ 'isMessageBox' : isNavTop >= 300 } ">
+      <div
+        class="messageBox"
+        v-if="anliBox[0]"
+        :class="{ isMessageBox: isNavTop >= 300 }"
+      >
         <div
           class="proOverCss"
           id="first"
@@ -160,11 +168,11 @@
             <div class="fileTop">
               <div class="fileListImg">
                 <img
-                  src="../../../../assets/icon/anliDetail/fileList.png"
+                  src="../../../../assets/icon/anliDetail/onePic.png"
                   alt=""
                 />
               </div>
-              <div>佐证材料</div>
+              <div>项目方案与活动案例</div>
             </div>
             <div class="fileBox">
               <div
@@ -1547,7 +1555,7 @@ export default {
         },
       },
       playerO: {},
-      isNavTop:0,
+      isNavTop: 0,
     };
   },
   methods: {
@@ -1789,8 +1797,8 @@ export default {
       var b = this.$refs["cenBox"];
       b.scrollTop = a.offsetTop;
     },
-    allScrollTop(ev){
-      console.log(ev.target.scrollTop)
+    allScrollTop(ev) {
+      console.log(ev.target.scrollTop);
       this.isNavTop = ev.target.scrollTop;
     },
   },
@@ -1934,13 +1942,19 @@ body {
   height: 70px;
   border-radius: 10px;
 }
-.isNavBox{
+.isNavBox {
   position: fixed;
   left: 50%;
   transform: translateX(-50%);
   top: 7%;
+  box-shadow: 2px 2px 11px 1px #bdbdbd;
+  width: 100%;
+  z-index: 999;
+}
+.isNavBox > div > div:nth-child(2):hover {
+  color: #5e5e5e;
 }
-.isMessageBox{
+.isMessageBox {
   margin: 11% auto !important;
 }
 .navBox > div:nth-child(5) > div:nth-child(2) {
@@ -2351,7 +2365,7 @@ body {
   align-items: center;
   margin-left: 10px;
 }
-.Autor{
+.Autor {
   margin: 0 5px;
 }
 </style>