zs vor 1 Jahr
Ursprung
Commit
aad7f6ecfa
1 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
  1. 6 6
      src/views/innovation/detail.vue

+ 6 - 6
src/views/innovation/detail.vue

@@ -49,7 +49,7 @@
                 </el-tabs>
               </el-col>
               <el-col :span="2" class="twoRight">
-                <a-button type="primary" @click="toChat"> 报名参赛 </a-button>
+                <a-button type="primary" @click="toSign"> 报名参赛 </a-button>
               </el-col>
             </el-row>
             <el-row class="two_2" v-if="activeName === 'first'">
@@ -67,11 +67,7 @@
                   </el-menu>
                 </el-aside>
                 <el-main>
-                  <el-col :span="24" v-if="rulesInfo.key !== 'rules12'">
-                    <h2>{{ rulesInfo.title }}</h2>
-                    <p>{{ rulesInfo.content }}</p>
-                  </el-col>
-                  <el-col :span="24" v-else>
+                  <el-col :span="24">
                     <h2>{{ rulesInfo.title }}</h2>
                     <div v-html="rulesInfo.content"></div>
                   </el-col>
@@ -172,6 +168,10 @@ const selectOpen = (key, keyPath) => {
     rulesInfo.value = { title: get(res, 'title'), key, content: get(info.value.rules, key) }
   }
 }
+// 报名参赛
+const toSign = () => {
+  console.log('报名参赛')
+}
 </script>
 <style scoped lang="scss">
 .main {