|
@@ -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 {
|