|
@@ -31,7 +31,7 @@
|
|
|
<el-col :span="24" class="two">
|
|
|
<van-swipe>
|
|
|
<van-swipe-item class="list" v-for="(item, index) in videodata" :key="index" @click="changevideo(index, item)">
|
|
|
- <p :class="{ active: changeColor == index }">{{ item.name }}</p>
|
|
|
+ <p :class="{ active: changeColor == index }">{{ item.title }}</p>
|
|
|
</van-swipe-item>
|
|
|
</van-swipe>
|
|
|
</el-col>
|
|
@@ -79,7 +79,7 @@ export default {
|
|
|
await this.searchtype();
|
|
|
await this.search();
|
|
|
await this.searchvideo();
|
|
|
- this.searchvideo('0', this.videodata[0]);
|
|
|
+ this.changevideo('0', this.videodata[0]);
|
|
|
},
|
|
|
methods: {
|
|
|
...markettype({ markettypeList: 'query' }),
|
|
@@ -99,7 +99,7 @@ export default {
|
|
|
},
|
|
|
changevideo(index, item) {
|
|
|
this.changeColor = index;
|
|
|
- this.$set(this, `videoUrl`, item.url);
|
|
|
+ this.$set(this, `videoUrl`, item.file_path);
|
|
|
},
|
|
|
back() {
|
|
|
this.$router.push({ path: '/channel/index' });
|