|
@@ -60,16 +60,16 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- ...newsguidance(['fetch']),
|
|
|
- ...newsroadshow(['fetch']),
|
|
|
+ ...newsguidance({ newsguidancefetch: 'fetch' }),
|
|
|
+ ...newsroadshow({ newsroadshowfetch: 'fetch' }),
|
|
|
async search() {
|
|
|
if (this.type === '1') {
|
|
|
- let res = await this.fetch(this.id);
|
|
|
+ let res = await this.newsguidancefetch(this.id);
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `detailinfo`, res.data);
|
|
|
}
|
|
|
} else {
|
|
|
- let res = await this.fetch(this.id);
|
|
|
+ let res = await this.newsroadshowfetch(this.id);
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `detailinfo`, res.data);
|
|
|
}
|
|
@@ -125,6 +125,7 @@ export default {
|
|
|
video {
|
|
|
width: 100%;
|
|
|
margin-top: 10px;
|
|
|
+ height: 250px;
|
|
|
}
|
|
|
}
|
|
|
.content {
|