|
@@ -6,8 +6,8 @@
|
|
<el-col :span="24" class="info">
|
|
<el-col :span="24" class="info">
|
|
<div class="w_1200">
|
|
<div class="w_1200">
|
|
<el-col :span="24" class="top">
|
|
<el-col :span="24" class="top">
|
|
- <p>吉林省计算中心对接直播大厅</p>
|
|
|
|
- <p>主办方:吉林省计算中心</p>
|
|
|
|
|
|
+ <p>{{ dockInfo.title }}</p>
|
|
|
|
+ <p>主办方:{{ dockInfo.sponsor }}</p>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="main">
|
|
<el-col :span="24" class="main">
|
|
<el-col :span="24" class="back">
|
|
<el-col :span="24" class="back">
|
|
@@ -43,6 +43,7 @@
|
|
<script>
|
|
<script>
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
const { mapActions: newsroadshow } = createNamespacedHelpers('newsroadshow');
|
|
const { mapActions: newsroadshow } = createNamespacedHelpers('newsroadshow');
|
|
|
|
+const { mapActions: dock } = createNamespacedHelpers('dock');
|
|
export default {
|
|
export default {
|
|
name: 'zxzdDetail',
|
|
name: 'zxzdDetail',
|
|
props: {},
|
|
props: {},
|
|
@@ -50,17 +51,23 @@ export default {
|
|
data: () => ({
|
|
data: () => ({
|
|
beijingPic: require('@a/live/top_3.png'),
|
|
beijingPic: require('@a/live/top_3.png'),
|
|
detailinfo: {},
|
|
detailinfo: {},
|
|
|
|
+ dockInfo: {},
|
|
}),
|
|
}),
|
|
- created() {
|
|
|
|
- this.search();
|
|
|
|
|
|
+ async created() {
|
|
|
|
+ await this.search();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
...newsroadshow(['fetch']),
|
|
...newsroadshow(['fetch']),
|
|
|
|
+ ...dock({ dockFetch: 'fetch' }),
|
|
async search() {
|
|
async search() {
|
|
let res = await this.fetch(this.id);
|
|
let res = await this.fetch(this.id);
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$set(this, `detailinfo`, res.data);
|
|
this.$set(this, `detailinfo`, res.data);
|
|
}
|
|
}
|
|
|
|
+ res = await this.dockFetch(this.dock_id);
|
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
|
+ this.$set(this, `dockInfo`, res.data);
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// 返回
|
|
// 返回
|
|
back() {
|
|
back() {
|
|
@@ -72,7 +79,9 @@ export default {
|
|
id() {
|
|
id() {
|
|
return this.$route.query.id;
|
|
return this.$route.query.id;
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ dock_id() {
|
|
|
|
+ return this.$route.query.dock_id;
|
|
|
|
+ },
|
|
pageTitle() {
|
|
pageTitle() {
|
|
return `${this.$route.meta.title}`;
|
|
return `${this.$route.meta.title}`;
|
|
},
|
|
},
|
|
@@ -122,8 +131,12 @@ p {
|
|
margin: 0 0 20px 0;
|
|
margin: 0 0 20px 0;
|
|
}
|
|
}
|
|
.style .top p:first-child {
|
|
.style .top p:first-child {
|
|
- font-size: 50px;
|
|
|
|
|
|
+ text-align: center;
|
|
color: #fff;
|
|
color: #fff;
|
|
|
|
+ position: relative;
|
|
|
|
+ width: 100%;
|
|
|
|
+ font-size: 45px;
|
|
|
|
+ top: 5px;
|
|
}
|
|
}
|
|
.style .top p:last-child {
|
|
.style .top p:last-child {
|
|
font-size: 30px;
|
|
font-size: 30px;
|