diff --git a/public/index.html b/public/index.html index d0854bb..0ee7c33 100644 --- a/public/index.html +++ b/public/index.html @@ -7,6 +7,15 @@ <%= htmlWebpackPlugin.options.title %> + + + + + + + \ No newline at end of file diff --git a/src/components/VideoItem.vue b/src/components/VideoItem.vue index 3e9a8d1..e01640e 100644 --- a/src/components/VideoItem.vue +++ b/src/components/VideoItem.vue @@ -76,7 +76,8 @@ .info{ display: flex; align-items: center; - margin-top: 18px; + margin-top: 9px; + margin-bottom: 9px; margin-left: 18px; .datetime{ diff --git a/src/components/VideoPlay.vue b/src/components/VideoPlay.vue index 13e12cf..9bc4a99 100644 --- a/src/components/VideoPlay.vue +++ b/src/components/VideoPlay.vue @@ -1,7 +1,7 @@ \ No newline at end of file diff --git a/src/import-png.d.ts b/src/import-png.d.ts index 9feb1f7..607160a 100644 --- a/src/import-png.d.ts +++ b/src/import-png.d.ts @@ -18,4 +18,6 @@ declare module 'tim-js-sdk'{ export default value; } -declare var FB: any; \ No newline at end of file +declare var FB: any; + +declare var TCPlayer: any; \ No newline at end of file diff --git a/src/store/index.ts b/src/store/index.ts index 3f300b6..12494fa 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -45,6 +45,7 @@ export default createStore({ uid: "", updatedAt: "", video: "", + videoid: 0, willsay: [{name: "请选择", level: 0}], willsayValue: [{name: "0", level: 0}], zoneStr: "中途岛GMT-11:00", diff --git a/src/utils/vod.ts b/src/utils/vod.ts index f716ff8..79acfd9 100644 --- a/src/utils/vod.ts +++ b/src/utils/vod.ts @@ -6,7 +6,7 @@ interface OnFunctio { } interface UploaderDone { - fileId: string; + fileId: number; video: { url: string; verify_content: string; diff --git a/src/views/mine/Archives.vue b/src/views/mine/Archives.vue index d523b78..030067f 100644 --- a/src/views/mine/Archives.vue +++ b/src/views/mine/Archives.vue @@ -932,6 +932,7 @@ export default defineComponent({ uploadprogress.value = info.percent.toFixed(2) * 100; }); userinfo.value.video = res.video.url; + userinfo.value.videoid = res.fileId; } if (formData.value.video != "") { diff --git a/src/views/mine/ReleaseWebcast.vue b/src/views/mine/ReleaseWebcast.vue index d59d7a7..2d85636 100644 --- a/src/views/mine/ReleaseWebcast.vue +++ b/src/views/mine/ReleaseWebcast.vue @@ -257,7 +257,7 @@ export default defineComponent({ const form = ref({ title: "", img: "", - fileid: "", + fileid: 0, fileurl: "", fileduration: 0, dateline: "", diff --git a/src/views/regime/VideoInfo.vue b/src/views/regime/VideoInfo.vue index 1057ed7..080218a 100644 --- a/src/views/regime/VideoInfo.vue +++ b/src/views/regime/VideoInfo.vue @@ -1,7 +1,7 @@