1 line
20 KiB
Plaintext
1 line
20 KiB
Plaintext
{"version":3,"sources":["webpack:///./src/static/images/share.png","webpack:///./src/components/VideoPlay.vue?796f","webpack:///./src/components/VideoCont.vue?6fdb","webpack:///./src/views/regime/VideoInfo.vue?4bda","webpack:///./src/static/images/watch.png","webpack:///./src/views/regime/VideoInfo.vue","webpack:///./src/components/VideoPlay.vue","webpack:///./src/components/VideoPlay.vue?3a69","webpack:///./src/components/VideoPlay.vue?45b8","webpack:///./src/components/VideoCont.vue","webpack:///./src/components/VideoCont.vue?f007","webpack:///./src/components/VideoCont.vue?be26","webpack:///./src/views/regime/VideoInfo.vue?c397","webpack:///./src/views/regime/VideoInfo.vue?0795"],"names":["module","exports","class","title","result","url","fileid","videoid","yuanyin","statusdesc","date","createdAt","watch","share","status","videoinfo","score","style","id","props","type","String","setup","ctx","play","console","log","window","TCPlayer","fileID","appID","to","from","next","dispose","render","__scopeId","src","alt","lan","$t","update","drop","visible","confirm-loading","confirmLoading","handleOk","Number","e","value","router","push","then","back","components","VideoPlay","VideoCont","VideoReview","query","commentlist"],"mappings":"mGAAAA,EAAOC,QAAU,khB,oCCAjB,W,oCCAA,W,oCCAA,W,4CCAAD,EAAOC,QAAU,slC,0JCCRC,MAAM,a,GACFA,MAAM,Q,sOADf,yBAMM,MANN,EAMM,CALF,yBAGM,MAHN,EAGM,CAFF,yBAAkE,GAAtDC,MAAO,EAAAC,OAAOD,MAAQE,IAAK,EAAAD,OAAOE,Q,wBAC9C,yBAA2K,GAA/JC,QAAS,EAAAH,OAAOG,QAAUC,QAAS,EAAAJ,OAAOK,WAAaC,KAAM,EAAAN,OAAOO,UAAYC,MAAO,EAAAR,OAAOQ,MAAQC,MAAO,EAAAT,OAAOS,MAAQC,OAAQ,EAAAV,OAAOU,Q,gEAElF,GAAb,EAAAV,OAAOU,Q,yBAAnE,yBAA8F,G,MAAhFC,UAAW,EAAAX,OAAOY,MAAOd,MAAM,U,4LCL5CA,MAAM,S,GACFA,MAAM,S,yF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waoMDgXYh2C/ahmdnUY3BQGqFbzVEQ2ADmMvPpOR2lhgHLBsQBbBI5iz2ynNrULlgjM51qo3p1NlkuVFwpO4prZHJRRfgbd4C6nIq/+lBVw4RB/AnTLrlLo/x/wly4Mkl+4C1neewAEXOwZ/9ev/K1AOXsv4FzmMOXBSAwLMAugJDnjXEAQ218jtK8l7ImPBwAAAABJRU5ErkJggg==\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./VideoPlay.vue?vue&type=style&index=0&id=1ef5f0da&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./VideoCont.vue?vue&type=style&index=0&id=003d59b2&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./VideoInfo.vue?vue&type=style&index=0&id=f3c916e0&lang=scss&scoped=true\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAQCAYAAAD0xERiAAAC80lEQVQ4T21UTWhUVxg95yWdeRs1URdWV2Kxi4qIaLSLQpGWblTIeyaUQqsJgu+lcdNNtZMQR9NAFyXQn7wXf5JUIsKQedPWKFm10oUVXTluqlioICWbqkWQ+8bMO2WGzptJ9FtdvnvOud+93/ku8aqIvluXTax+WjwAcBuANQD+BXBXwJV4qX0KvUcfr6RyZSJbDI+DGiW4GsAjCbdJPRHYSaALwCbVhZNc7Ax838pviv060m4/3vADyI8g3YCFnOn2r688zI6CfQBHAbwNYta8WHsEvb3VGi4Vy0TBjAUehpQ35cXTyOeTGiA7N/GeyJ0ky7HjLdTFR0Yse/uGUyCHE2C64nj9qZgdBf0ALyRKchV3YKxRjR2FUwD6mtWpYLq9D0GqlstEQc6qVSn1GdefIUrjHbbsBxJvxK53sEHMRJM9FlSAdB7UrMRDJAcbxAYuWwznSewxzytbmImCEwTz1NJW4w4+TKsqhQuQbOP476bEKLhGcJVxvHdSXOHbzWp/7Q9Rw8wWw/u0eNN0H/uk9bHtYvhI0Hjs+l+nYnOBD4tjseN1LsNG4aygXcxG4T0Ct4zjfbwMUAofJsJExfG+arnScRIjxvHWL8cGlyTuZCYKPydwmtSbptv/q0kMfgKxKb6z2FXvrES7NPkbJGNc//30mj+f26wX1XtQkiOufbPaNpk/BdyMHe9AKvbj2Q+YJAuC5i3pcmK1OZTcpFp1Kz2fRimuFF6luNs8j9+o+8wuBkdATifQUMXxv2xaY3IU0BcNPwocj51jn6UdL4VDlnAGwGHjeBdbTBtOWTVPSWdMefFUw7SZubNvWVZ1R5LobuXQQLlp2tfzIIYkXIhd7+iyCUCh0Ga3/TMNstaI31FdGjY9g78AqBv0/6BdCvdBqI3TXggXTXVt/0vj1HyDSR/SGIEOQH9LvEXgqYAOUl0ANwp4CuBk7Hhha1df+jXqm/MTndmK1UdgP6DtAFcBegawLOhKnNEM9g88aRWqrf8DhK1QcCrNvQ0AAAAASUVORK5CYII=\"","<template>\n <div class=\"videoinfo\">\n <div class=\"info\">\n <VideoPlay :title=\"result.title\" :url=\"result.fileid\"></VideoPlay>\n <VideoCont :videoid=\"result.videoid\" :yuanyin=\"result.statusdesc\" :date=\"result.createdAt\" :watch=\"result.watch\" :share=\"result.share\" :status=\"result.status\"></VideoCont>\n </div>\n <VideoReview :videoinfo=\"result.score\" class=\"review\" v-if=\"result.status == 1\"></VideoReview>\n </div>\n</template>\n<style lang=\"scss\" scoped>\n.videoinfo{\n width: 1320px;\n height: 563px;\n .info{\n display: flex;\n justify-content: space-between;\n }\n .review{\n margin-top: 28px;\n }\n}\n</style>\n<script lang=\"ts\">\nimport { defineComponent, onMounted, ref } from 'vue';\nimport VideoPlay from \"@/components/VideoPlay.vue\"\nimport VideoCont from \"@/components/VideoCont.vue\"\nimport VideoReview from \"@/components/VideoReview.vue\";\nimport { getcommentlist, videodetail } from '@/api';\nimport { useRoute } from 'vue-router';\nexport default defineComponent({\n components:{\n VideoPlay,\n VideoCont,\n VideoReview\n },\n setup(){\n // console.log(1)\n console.log(useRoute().query)\n const result=ref({})\n const commentlist=ref({})\n const videoid=ref(useRoute().query.id)\n onMounted(async () => {\n result.value= await videodetail(useRoute().query.id)\n // commentlist.value=await getcommentlist({type:2,id:videoid.value})\n })\n \n return {\n result,\n commentlist,\n videoid\n }\n \n }\n})\n</script>","<template>\n <div class=\"video\">\n <div class=\"title\">{{title}}</div>\n <video style=\"width:100%; height:100%;\" :id=\"'a' + url\" ></video>\n </div>\n</template>\n<style lang=\"scss\" scoped>\n.video{\n width: 976px;\n height: 563px;\n border-radius: 17px;\n background: white;\n position: relative;\n // background-color: #0f0;\n overflow: hidden;\n >video{\n width: 100%;\n height: 100%;\n }\n .title{\n position: absolute;\n top: 23px;\n left: 51px;\n font-size: 13px;\n color: #fff;\n z-index: 999;\n }\n}\n</style>\n<script lang=\"ts\">\nimport router from '@/router';\nimport { defineComponent, onMounted, onUpdated } from 'vue';\nimport { onBeforeRouteLeave, useRouter } from 'vue-router';\n\nexport default defineComponent({\n props:{\n url: {\n type: String\n },\n title: {\n type: String\n }\n },\n setup(props, ctx){\n console.log(1)\n let play: any;\n onUpdated(()=>{\n console.log(props.url)\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n })\n onBeforeRouteLeave((to, from, next) => {\n console.log(121)\n play.dispose()\n next()\n })\n \n }\n})\n</script>","\nimport router from '@/router';\nimport { defineComponent, onMounted, onUpdated } from 'vue';\nimport { onBeforeRouteLeave, useRouter } from 'vue-router';\n\nexport default defineComponent({\n props:{\n url: {\n type: String\n },\n title: {\n type: String\n }\n },\n setup(props, ctx){\n console.log(1)\n let play: any;\n onUpdated(()=>{\n console.log(props.url)\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n })\n onBeforeRouteLeave((to, from, next) => {\n console.log(121)\n play.dispose()\n next()\n })\n \n }\n})\n","import { render } from \"./VideoPlay.vue?vue&type=template&id=1ef5f0da&scoped=true&bindings={}\"\nimport script from \"./VideoPlay.vue?vue&type=script&lang=ts\"\nexport * from \"./VideoPlay.vue?vue&type=script&lang=ts\"\n\nimport \"./VideoPlay.vue?vue&type=style&index=0&id=1ef5f0da&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-1ef5f0da\"\n\nexport default script"," <template>\n <div class=\"cont\">\n <div class=\"title\">{{lan.$t('shipinshuju')}}</div>\n <div class=\"info\">\n <div class=\"item\">\n <img src=\"@/static/images/livewatch.png\" alt=\"\" />\n <span> {{lan.$t('shangchuanshijian')}} </span>\n <span>{{date}}</span>\n \n </div>\n <div class=\"item\">\n <img src=\"@/static/images/watch.png\" alt=\"\" />\n <span>{{lan.$t('bofangliang')}}</span>\n <span> {{watch}}</span>\n \n </div>\n <div class=\"item\">\n <img src=\"@/static/images/share.png\" alt=\"\" />\n <span>{{lan.$t('zhuanfaliang')}}</span>\n <span>{{share}}</span>\n </div>\n <div class=\"item item1\" v-if=\"status==0\">\n <span>{{lan.$t('zhuangtai')}}</span>\n <span class=\"status\">{{lan.$t('shenheing')}}</span>\n </div>\n <!-- <div class=\"item item1\" v-if=\"status==1\">\n <span>{{lan.$t('zhuangtai')}}</span>\n <span class=\"status1\">{{lan.$t('shenheing')}}</span>\n \n </div> -->\n <div class=\"item item1\" v-if=\"status==2\">\n <span>{{lan.$t('zhuangtai')}}</span>\n <span class=\"status1\" style=\"color: #D12C2E\">{{lan.$t('shenheweitongguo')}}</span>\n </div>\n <div class=\"item item1\" v-if=\"status==2\">\n <span style=\"flex-shrink:0\">{{lan.$t('yuanyin')}}</span>\n <span> {{yuanyin}} </span>\n </div>\n \n </div>\n <div class=\"button\">\n <div class=\"modify\" @click=\"update(videoid)\">{{lan.$t('xiugaishipin')}}</div>\n <div class=\"del\" @click=\"drop(videoid)\">{{lan.$t('shanchushipin')}}</div>\n <a-modal\n title=\"确认删除\"\n v-model:visible=\"visible\"\n :confirm-loading=\"confirmLoading\"\n @ok=\"handleOk\"\n >\n <p>{{lan.$t('querenshanchu')}}</p>\n </a-modal>\n </div>\n </div>\n</template>\n<style lang=\"scss\" scoped>\n.cont {\n width: 316px;\n height: 563px;\n background-color: #fff;\n border-radius: 17px;\n padding: 0 28px;\n position: relative;\n .title {\n padding: 23px 0 11px 0;\n font-size: 13px;\n color: #111;\n line-height: 1;\n border-bottom: 1px solid #eee;\n }\n .info {\n .item1{\n position: relative;\n left:-12px\n }\n .status{\n color: #07AD97!important;\n // font-weight: bold;\n }\n .status1{\n color: #D12C2D!important;\n }\n .item {\n display: flex;\n align-content: center;\n margin-top: 23px;\n > img {\n width: 24px;\n height: 24px;\n // background-color: #0f0;\n }\n > span {\n font-size: 11px;\n color: #666;\n margin-left: 10px;\n }\n }\n }\n .button {\n position: absolute;\n width: 260px;\n bottom: 28px;\n display: flex;\n justify-content: space-between;\n > div {\n width: 114px;\n height: 23px;\n border-radius: 3px;\n font-size: 10px;\n color: #fff;\n line-height: 23px;\n text-align: center;\n cursor: pointer;\n }\n .modify {\n background-color: #08ae98;\n }\n .del {\n background-color: #d12c2e;\n }\n }\n}\n</style>\n<script lang=\"ts\">\nimport { videodel } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, ref } from \"vue\";\nimport { useRoute } from 'vue-router';\n\nexport default defineComponent({\n props:{\n date: {\n type:String\n },\n watch: {\n type:Number\n },\n share: {\n type:Number\n },\n status: {\n type:Number\n },\n videoid: {\n type:Number\n },\n yuanyin: {\n type: String\n }\n },\n setup(){\n const lan: any = useI18n();\n console.log(1)\n const visible = ref(false);\n const confirmLoading = ref(false);\n let id = 0;\n function drop(e: number){\n console.log(e);\n id = e;\n visible.value = true;\n }\n function update(e: number) {\n router.push(\"/mine/video?id=\"+e)\n }\n function handleOk() {\n \n confirmLoading.value = true;\n videodel(id).then(()=>{\n visible.value = false;\n confirmLoading.value = false;\n router.back()\n })\n }\n return{\n drop,\n update,\n confirmLoading,\n visible,\n handleOk,\n lan\n }\n }\n});\n</script>","\nimport { videodel } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, ref } from \"vue\";\nimport { useRoute } from 'vue-router';\n\nexport default defineComponent({\n props:{\n date: {\n type:String\n },\n watch: {\n type:Number\n },\n share: {\n type:Number\n },\n status: {\n type:Number\n },\n videoid: {\n type:Number\n },\n yuanyin: {\n type: String\n }\n },\n setup(){\n const lan: any = useI18n();\n console.log(1)\n const visible = ref(false);\n const confirmLoading = ref(false);\n let id = 0;\n function drop(e: number){\n console.log(e);\n id = e;\n visible.value = true;\n }\n function update(e: number) {\n router.push(\"/mine/video?id=\"+e)\n }\n function handleOk() {\n \n confirmLoading.value = true;\n videodel(id).then(()=>{\n visible.value = false;\n confirmLoading.value = false;\n router.back()\n })\n }\n return{\n drop,\n update,\n confirmLoading,\n visible,\n handleOk,\n lan\n }\n }\n});\n","import { render } from \"./VideoCont.vue?vue&type=template&id=003d59b2&scoped=true&bindings={}\"\nimport script from \"./VideoCont.vue?vue&type=script&lang=ts\"\nexport * from \"./VideoCont.vue?vue&type=script&lang=ts\"\n\nimport \"./VideoCont.vue?vue&type=style&index=0&id=003d59b2&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-003d59b2\"\n\nexport default script","\nimport { defineComponent, onMounted, ref } from 'vue';\nimport VideoPlay from \"@/components/VideoPlay.vue\"\nimport VideoCont from \"@/components/VideoCont.vue\"\nimport VideoReview from \"@/components/VideoReview.vue\";\nimport { getcommentlist, videodetail } from '@/api';\nimport { useRoute } from 'vue-router';\nexport default defineComponent({\n components:{\n VideoPlay,\n VideoCont,\n VideoReview\n },\n setup(){\n // console.log(1)\n console.log(useRoute().query)\n const result=ref({})\n const commentlist=ref({})\n const videoid=ref(useRoute().query.id)\n onMounted(async () => {\n result.value= await videodetail(useRoute().query.id)\n // commentlist.value=await getcommentlist({type:2,id:videoid.value})\n })\n \n return {\n result,\n commentlist,\n videoid\n }\n \n }\n})\n","import { render } from \"./VideoInfo.vue?vue&type=template&id=f3c916e0&scoped=true&bindings={}\"\nimport script from \"./VideoInfo.vue?vue&type=script&lang=ts\"\nexport * from \"./VideoInfo.vue?vue&type=script&lang=ts\"\n\nimport \"./VideoInfo.vue?vue&type=style&index=0&id=f3c916e0&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-f3c916e0\"\n\nexport default script"],"sourceRoot":""} |