|
@@ -3,16 +3,10 @@
|
|
|
<div class="userTitle">
|
|
<div class="userTitle">
|
|
|
<span>活动详情</span>
|
|
<span>活动详情</span>
|
|
|
<el-breadcrumb separator="/">
|
|
<el-breadcrumb separator="/">
|
|
|
- <el-breadcrumb-item :to="{ path: '/' }"
|
|
|
|
|
- >首页</el-breadcrumb-item
|
|
|
|
|
- >
|
|
|
|
|
- <el-breadcrumb-item :to="{ path: '/accountInfo' }"
|
|
|
|
|
- >个人中心</el-breadcrumb-item
|
|
|
|
|
- >
|
|
|
|
|
-
|
|
|
|
|
- <el-breadcrumb-item :to="{ path: '/mineActivity' }"
|
|
|
|
|
- >我的活动</el-breadcrumb-item
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
|
|
|
|
|
+ <el-breadcrumb-item :to="{ path: '/accountInfo' }">个人中心</el-breadcrumb-item>
|
|
|
|
|
+
|
|
|
|
|
+ <el-breadcrumb-item :to="{ path: '/mineActivity' }">我的活动</el-breadcrumb-item>
|
|
|
<el-breadcrumb-item>修改密码</el-breadcrumb-item>
|
|
<el-breadcrumb-item>修改密码</el-breadcrumb-item>
|
|
|
</el-breadcrumb>
|
|
</el-breadcrumb>
|
|
|
</div>
|
|
</div>
|
|
@@ -26,15 +20,12 @@
|
|
|
<div class="info-main">
|
|
<div class="info-main">
|
|
|
<div class="title">{{ information.title }}</div>
|
|
<div class="title">{{ information.title }}</div>
|
|
|
|
|
|
|
|
- <div
|
|
|
|
|
- class="sub"
|
|
|
|
|
- v-if="information.type !== 'INDUSTRY_ACTIVITIES'"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <div class="sub" v-if="information.type !== 'INDUSTRY_ACTIVITIES'">
|
|
|
{{ information.introduction }}
|
|
{{ information.introduction }}
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<template v-else>
|
|
<template v-else>
|
|
|
- <div class="info-item" style="margin-top:24px">
|
|
|
|
|
|
|
+ <div class="info-item" style="margin-top: 24px;">
|
|
|
<div class="text1">时间:</div>
|
|
<div class="text1">时间:</div>
|
|
|
<div class="text2">{{ information.date }}</div>
|
|
<div class="text2">{{ information.date }}</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -56,15 +47,9 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <el-button
|
|
|
|
|
- :type="isEnd ? 'info' : 'warning'"
|
|
|
|
|
- :disabled="isEnd"
|
|
|
|
|
- class="btn"
|
|
|
|
|
- @click="takeForm"
|
|
|
|
|
- >{{
|
|
|
|
|
- isEnd ? '报名结束' : '查看报名信息'
|
|
|
|
|
- }}</el-button
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <el-button :type="isEnd ? 'info' : 'warning'" :disabled="isEnd" class="btn" @click="takeForm">{{
|
|
|
|
|
+ isEnd ? '报名结束' : '查看报名信息'
|
|
|
|
|
+ }}</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -72,11 +57,7 @@
|
|
|
<div class="detail" v-html="information.content"></div>
|
|
<div class="detail" v-html="information.content"></div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <Submit
|
|
|
|
|
- :info="information"
|
|
|
|
|
- :activityId.sync="activityId"
|
|
|
|
|
- ref="submit"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <Submit :info="information" :activityId.sync="activityId" ref="submit" />
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
@@ -106,14 +87,20 @@ export default {
|
|
|
return this.information.isEnd || false;
|
|
return this.information.isEnd || false;
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ watch: {
|
|
|
|
|
+ activityId() {
|
|
|
|
|
+ if (!this.activityId) {
|
|
|
|
|
+ this.$router.go(-1);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
mounted() {
|
|
mounted() {
|
|
|
|
|
+ this.activityId = this.$route.query.informationId;
|
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
- this.$http
|
|
|
|
|
- .get('/information/get/' + this.$route.query.informationId)
|
|
|
|
|
- .then(res => {
|
|
|
|
|
- this.loading = false;
|
|
|
|
|
- this.information = res;
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ this.$http.get('/information/get/' + this.activityId).then(res => {
|
|
|
|
|
+ this.loading = false;
|
|
|
|
|
+ this.information = res;
|
|
|
|
|
+ });
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
takeForm() {
|
|
takeForm() {
|