beelink/dist/js/chunk-2b71f1e5.583c97ef.js.map
2020-12-11 14:10:00 +08:00

1 line
28 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/static/images/share.png","webpack:///./src/components/VideoCont.vue?6fdb","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","webpack:///./src/components/VideoPlay.vue?403d","webpack:///./src/views/regime/VideoInfo.vue?4fb5"],"names":["module","exports","class","title","result","vid","videoid","url","fileid","yuanyin","statusdesc","date","createdAt","watch","share","status","videoinfo","score","src","alt","srcset","show","lan","$t","style","id","centered","footer","dialogClass","visible","fxtc","getContainer","modalNode","width","closeIcon","fx","props","type","String","Number","setup","ctx","play","index","then","res","shareUrl","shareImg","shareTitle","encodeURIComponent","window","open","value","TCPlayer","fileID","appID","setTimeout","to","from","next","dispose","document","getElementsByClassName","render","__scopeId","update","drop","confirm-loading","confirmLoading","handleOk","e","router","push","back","components","VideoPlay","VideoCont","VideoReview","infoad","commentlist","query"],"mappings":"mGAAAA,EAAOC,QAAU,khB,oCCAjB,W,qECAAD,EAAOC,QAAU,slC,0JCCRC,MAAM,a,GACFA,MAAM,Q,gRADf,yBAOM,MAPN,EAOM,CANF,yBAGM,MAHN,EAGM,CAFF,yBAAwF,GAA5EC,MAAO,EAAAC,OAAOD,MAAQE,IAAK,EAAAD,OAAOE,QAAUC,IAAK,EAAAH,OAAOI,Q,8BACpE,yBAA2K,GAA/JF,QAAS,EAAAF,OAAOE,QAAUG,QAAS,EAAAL,OAAOM,WAAaC,KAAM,EAAAP,OAAOQ,UAAYC,MAAO,EAAAT,OAAOS,MAAQC,MAAO,EAAAV,OAAOU,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EUgAAABAAAAAQCAYAAAAf8/9hAAABP0lEQVQ4T52TvUoDQRSFz80PM6V/WPsWFgo+gUp2xVIElUzERsHCQrAQtFAQ/MmOCvZiZtEHCBYKgs/gG1hY7hbukQQWjMmuq9PNzJ2Pc86dK9o1HwGZQf96jjwzjdvrEVX5fBNwqL+EbdEuIICExIOU8JEWMcFr7JsLWFtV48mBQEa7dwnLFFkUQHW2XQDJVuw3Fgao6D0iRTt7BcEKgHcAY6mCIPJMIxfQeRxaC2ANInsAJ0AsFwaoMDgXYh2C/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!./VideoCont.vue?vue&type=style&index=0&id=003d59b2&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\" :vid=\"result.videoid\" :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 <infoad></infoad>\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 infoad from \"@/components/infoad.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 infoad\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 <div class=\"title fenxiang\" @click=\"show\"> <img src=\"@/static/images/fenxiang.png\" alt=\"\"> {{lan.$t('lijifenxiang')}}</div>\n <video style=\"width:100%; height:100%;\" :id=\"'a' + url\" ></video>\n <div class=\"modal-container\">\n <!-- @cancel=\"hideNoticeModal\" -->\n\n <a-modal\n centered\n :footer=\"null\"\n dialogClass=\"modal-dialog\"\n v-model:visible=\"fxtc\"\n :title=\"lan.$t('qingxuanzefenxiangtujing')\"\n :getContainer=\"modalNode\"\n width=\"4rem\"\n >\n <template v-slot:closeIcon>\n <img src=\"@/static/images/delete.png\" class=\"close\" />\n </template>\n <div class=\"notice-container report\">\n <div @click=\"fx(1)\">\n <img src=\"@/static/images/weibo.png\" alt=\"\" srcset=\"\">\n {{lan.$t('xinlangweibo')}}\n </div>\n <div @click=\"fx(2)\">\n <img src=\"@/static/images/facebook.png\" alt=\"\" srcset=\"\">\n Facebook\n </div>\n \n </div>\n \n </a-modal>\n </div>\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 .fenxiang{\n left: unset;\n right: 51px;\n display: flex;\n align-items: center;\n >img{\n width: 11px;\n height: 11px;\n margin-right: 11px;\n }\n }\n}\n.modal-container {\n ::v-deep(.ant-modal-header){\n padding: 0;\n }\n ::v-deep(.ant-modal-title){\n font-size: 12px;\n margin-top: -0.09rem;\n padding-bottom: 20px;\n }\n ::v-deep(.ant-modal-close){\n top: 8px;\n }\n ::v-deep(.ant-modal-body){\n padding: 0;\n }\n ::v-deep(.modal-dialog) {\n border-radius: 36px;\n overflow: hidden;\n .close {\n width: 14px;\n height: 14px;\n }\n .ant-modal-content {\n box-sizing: border-box;\n padding: 35px 30px;\n // width: 569px;\n background: #ffffff;\n box-shadow: 0px 4px 6px 0px rgba(102, 102, 102, 0.07);\n border-radius: 26px;\n overflow: hidden;\n .notice-container {\n display: flex;\n align-items: center;\n padding-top: 30px;\n >div{\n width: auto;\n display: flex;\n align-items: center;\n font-size: 12px;\n >img{\n width: 35px;\n margin-right: 5px;\n }\n }\n >div:first-child{\n margin-right: 80px;\n\n }\n }\n .report {\n .sub-title {\n margin-bottom: 50px;\n }\n }\n }\n }\n }\n</style>\n<script lang=\"ts\">\nimport { addshareClick, share } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, onMounted, onUpdated, ref, watch } 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 vid:{\n type: Number\n }\n },\n setup(props, ctx){\n console.log(1)\n let play: any;\n const lan = useI18n()\n const fxtc = ref(false)\n // onMounted(()=>{\n // console.log(props.url)\n // play = window.TCPlayer('a' + props.url, { \n // fileID: props.url,\n // appID: '1303872925' \n // });\n // })\n onMounted(()=>{\n console.log(props.url)\n if(props.url){\n console.log(props.url)\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n }else{\n watch(()=> props.url,()=>{\n console.log(props.url)\n setTimeout(()=>{\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n }, 500)\n \n })\n }\n \n })\n \n onBeforeRouteLeave((to, from, next) => {\n console.log(121)\n if(play){\n play.dispose()\n }\n \n next()\n })\n function fx(index: number){\n console.log(index)\n share().then((res: any)=>{\n console.log(res)\n let url = \"\";\n if(index == 1){\n url = `https://service.weibo.com/share/share.php?url=${res.shareUrl}&appkey=2754574056&language=zh_cn&pic=${res.shareImg}&searchPic=true&title=${res.shareTitle}`\n }else {\n url = `https://www.facebook.com/sharer.php?t=${encodeURIComponent(res.shareTitle)}&u=${res.shareUrl}`\n }\n \n window.open(url, \"_blank\")\n if(props.vid){\n addshareClick(props.vid)\n }\n })\n }\n function show(){\n fxtc.value = true\n }\n return{\n lan,\n modalNode: () =>\n document.getElementsByClassName(\"modal-container\")[0],\n fx,\n fxtc,\n show\n }\n \n }\n})\n</script>","\nimport { addshareClick, share } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, onMounted, onUpdated, ref, watch } 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 vid:{\n type: Number\n }\n },\n setup(props, ctx){\n console.log(1)\n let play: any;\n const lan = useI18n()\n const fxtc = ref(false)\n // onMounted(()=>{\n // console.log(props.url)\n // play = window.TCPlayer('a' + props.url, { \n // fileID: props.url,\n // appID: '1303872925' \n // });\n // })\n onMounted(()=>{\n console.log(props.url)\n if(props.url){\n console.log(props.url)\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n }else{\n watch(()=> props.url,()=>{\n console.log(props.url)\n setTimeout(()=>{\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n }, 500)\n \n })\n }\n \n })\n \n onBeforeRouteLeave((to, from, next) => {\n console.log(121)\n if(play){\n play.dispose()\n }\n \n next()\n })\n function fx(index: number){\n console.log(index)\n share().then((res: any)=>{\n console.log(res)\n let url = \"\";\n if(index == 1){\n url = `https://service.weibo.com/share/share.php?url=${res.shareUrl}&appkey=2754574056&language=zh_cn&pic=${res.shareImg}&searchPic=true&title=${res.shareTitle}`\n }else {\n url = `https://www.facebook.com/sharer.php?t=${encodeURIComponent(res.shareTitle)}&u=${res.shareUrl}`\n }\n \n window.open(url, \"_blank\")\n if(props.vid){\n addshareClick(props.vid)\n }\n })\n }\n function show(){\n fxtc.value = true\n }\n return{\n lan,\n modalNode: () =>\n document.getElementsByClassName(\"modal-container\")[0],\n fx,\n fxtc,\n show\n }\n \n }\n})\n","import { render } from \"./VideoPlay.vue?vue&type=template&id=03cb9677&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=03cb9677&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-03cb9677\"\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 infoad from \"@/components/infoad.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 infoad\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=0b5d033d&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=0b5d033d&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-0b5d033d\"\n\nexport default script","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=03cb9677&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=0b5d033d&lang=scss&scoped=true\""],"sourceRoot":""}