diff --git a/src/components/infoad.vue b/src/components/infoad.vue new file mode 100644 index 0000000..0402a47 --- /dev/null +++ b/src/components/infoad.vue @@ -0,0 +1,142 @@ + + + \ No newline at end of file diff --git a/src/views/regime/Livedetail.vue b/src/views/regime/Livedetail.vue index 7621fb5..9ac80cd 100644 --- a/src/views/regime/Livedetail.vue +++ b/src/views/regime/Livedetail.vue @@ -7,6 +7,8 @@ + + @@ -34,6 +36,8 @@ import { defineComponent, ref } from "vue"; import liveplay from "@/components/LivePlay.vue"; import LiveCount from "@/components/LiveCount.vue"; import VideoReview from "@/components/VideoReview.vue"; +import infoad from "@/components/infoad.vue"; + import { useRoute } from "vue-router"; import { getliveinfo, share } from "@/api"; import router from '@/router'; @@ -43,6 +47,7 @@ export default defineComponent({ LiveCount, liveplay, VideoReview, + infoad }, setup() { console.log(useRoute().query.id); diff --git a/src/views/regime/VideoInfo.vue b/src/views/regime/VideoInfo.vue index 528c26a..7d2f828 100644 --- a/src/views/regime/VideoInfo.vue +++ b/src/views/regime/VideoInfo.vue @@ -4,6 +4,7 @@ + @@ -24,6 +25,7 @@ import { defineComponent, onMounted, ref } from 'vue'; import VideoPlay from "@/components/VideoPlay.vue" import VideoCont from "@/components/VideoCont.vue" +import infoad from "@/components/infoad.vue"; import VideoReview from "@/components/VideoReview.vue"; import { getcommentlist, videodetail } from '@/api'; import { useRoute } from 'vue-router'; @@ -31,7 +33,8 @@ export default defineComponent({ components:{ VideoPlay, VideoCont, - VideoReview + VideoReview, + infoad }, setup(){ // console.log(1)