| | |
| | | myLock: false, |
| | | showFade: true, |
| | | videoData: { |
| | | img: "http://t.inleft.com/share/media_photo/idea_beijing.jpg", |
| | | pic: "", |
| | | url: "", |
| | | type: "normal", |
| | | title: "", |
| | |
| | | |
| | | if (res.data.videoUrlList == null || res.data.videoUrlList.length < 1) { |
| | | this.$notification.error({ |
| | | message: '该日志还没有上传视频资源..', |
| | | message: '此视频还没有上传资源..', |
| | | placement: 'bottomRight' |
| | | }); |
| | | this.videoData.url = ""; |
| | | } else { |
| | | this.videoData.url = res.data.videoUrlList[0]; |
| | | } |
| | | |
| | | this.isAllowedComment = res.data.isAllowedComment; |
| | | this.introduce = res.data.introduce; |
| | | |
| | | this.videoData.url = res.data.videoUrlList[0]; |
| | | |
| | | this.videoData.img = res.data.coverFileURL; |
| | | this.videoData.pic = res.data.coverFileURL; |
| | | this.videoData.title = res.data.title; |
| | | this.videoData.introduce = res.data.introduce; |
| | | this.videoData.id = res.data.id; |
| | |
| | | } |
| | | </script> |
| | | <style lang="less"> |
| | | |
| | | .boxMain { |
| | | user-select: none; |
| | | grid-template-columns: repeat(2, 1fr); |