直播
This commit is contained in:
@@ -276,7 +276,7 @@ import { uploadflie } from "@/utils/vod"
|
||||
import store from '@/store';
|
||||
import smile from "@/static/images/smile.png"
|
||||
import smilet from "@/static/images/smilet.png"
|
||||
import { getarchives, getlanguages } from "@/api/index"
|
||||
import { getarchives, getlanguages, putmember } from "@/api/index"
|
||||
|
||||
export default defineComponent({
|
||||
name: "Archives",
|
||||
@@ -433,6 +433,9 @@ export default defineComponent({
|
||||
*/
|
||||
function submitInfo (): void {
|
||||
console.log(toRaw(formData.value));
|
||||
putmember(toRaw(formData.value)).then((res) => {
|
||||
console.log(res)
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="list" v-if="tabindex==1">
|
||||
<LiveItem :type="2" v-for="(i,j) in livelist" :key="j" :img="i.img" :title="i.title" :score="i.score" :date="i.starttime" :takehour="i.vodduration" :livenum="i.livenumber" :status="i.livestatus"></LiveItem>
|
||||
<LiveItem :type="2" v-for="(i,j) in livelist" :key="j" :img="i.img" :title="i.title" :score="i.score" :date="i.starttime" :takehour="i.vodduration" :livenum="i.livenumber" :status="i.livestatus" :zid="i.liveid"></LiveItem>
|
||||
</div>
|
||||
|
||||
<div class="list" v-if="tabindex==2">
|
||||
|
||||
@@ -94,6 +94,7 @@ import { defineComponent } from "vue";
|
||||
import liveplay from "@/components/LivePlay.vue"
|
||||
import LiveCount from "@/components/LiveCount.vue";
|
||||
import VideoReview from "@/components/VideoReview.vue";
|
||||
import { useRoute } from 'vue-router';
|
||||
export default defineComponent({
|
||||
components: {
|
||||
LiveCount,
|
||||
@@ -101,7 +102,7 @@ export default defineComponent({
|
||||
VideoReview,
|
||||
},
|
||||
setup() {
|
||||
console.log(1);
|
||||
console.log(useRoute().query.id);
|
||||
},
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user