|
@@ -51,11 +51,8 @@
|
|
|
<detail-list-item term="创意分数">{{videoModel.creative_score}}</detail-list-item>
|
|
|
</detail-list>
|
|
|
<detail-list :col="1">
|
|
|
- <detail-list-item term="视频ID">
|
|
|
- <a :href="[videoModel.video_url]" target="_blank">{{videoModel.vid}}</a>
|
|
|
- </detail-list-item>
|
|
|
+ <detail-list-item term="视频ID">{{videoModel.vid}}</detail-list-item>
|
|
|
</detail-list>
|
|
|
- <!--<detail-list-item term="发布时间">{{videoModel.time}}</detail-list-item>-->
|
|
|
<detail-list :col="1">
|
|
|
<detail-list-item term="发布人">{{videoModel.author}}</detail-list-item>
|
|
|
</detail-list>
|
|
@@ -176,10 +173,7 @@ export default {
|
|
|
sources: [
|
|
|
{
|
|
|
type: 'video/mp4',
|
|
|
- // mp4
|
|
|
src: ''
|
|
|
- // webm
|
|
|
- // src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm"
|
|
|
}
|
|
|
],
|
|
|
poster: ''
|
|
@@ -279,8 +273,13 @@ export default {
|
|
|
this.defaultActiveKey = '1'
|
|
|
},
|
|
|
loadDetail(value) {
|
|
|
- this.videoModel = value
|
|
|
- this.playerOptions.sources[0].src = value.video_url;
|
|
|
+ this.videoModel = value;
|
|
|
+ getAction("/ctop/hot/video/url", {id: value.id,type: 2}).then(res => {
|
|
|
+ console.log(res)
|
|
|
+ if (res.success) {
|
|
|
+ this.playerOptions.sources[0].src = res.url;
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
close() {
|
|
|
this.$emit('close')
|