提交 5451c8c7 authored 作者: lihuihui's avatar lihuihui

修改样式

上级 dc578c8b
...@@ -37,12 +37,12 @@ export default { ...@@ -37,12 +37,12 @@ export default {
border-radius: 5px; border-radius: 5px;
text-align: center; text-align: center;
.title{ .title{
max-width: 182px; max-width: 250px;
margin: 0 auto; margin: 0 auto;
font-size: 14px; font-size: 14px;
color: #222222; color: #222222;
line-height: 20px; line-height: 20px;
padding: 24px 0; padding: 16px 0;
text-align: center; text-align: center;
} }
} }
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</ul> </ul>
<template #footer> <template #footer>
<div class="app-container-ft"> <div class="app-container-ft">
<el-button v-if="$store.state.level != 1" class="app-btn" type="primary" size="mini" @click="open">开始实训</el-button> <el-button class="app-btn" type="primary" size="mini" @click="open">开始实训</el-button>
<el-button class="app-btn" type="primary" size="mini" @click="viewDetails" v-if="!isDetail">查看背景详情</el-button> <el-button class="app-btn" type="primary" size="mini" @click="viewDetails" v-if="!isDetail">查看背景详情</el-button>
</div> </div>
</template> </template>
...@@ -45,9 +45,15 @@ export default { ...@@ -45,9 +45,15 @@ export default {
methods: { methods: {
// 开始实训 // 开始实训
open() { open() {
if (parseInt(this.$store.state.level) !== 1) {
this.$router.push({ this.$router.push({
path: '/groupAnalysis' path: '/groupAnalysis'
}) })
} else {
this.$router.push({
path: '/userTrigger'
})
}
}, },
// 选择案例 // 选择案例
select(id) { select(id) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论