beelink/dist/js/chunk-34d93bb8.5765912a.js.map
2020-12-01 09:09:16 +08:00

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","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","commentlist","query"],"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,4L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BVw4RB/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,iVBORw0KGgoAAAANSUhEUgAAABMAAAAQCAYAAAD0xERi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<VideoPlay :title=\"result.title\" :url=\"result.fileid\"></VideoPlay>\r\n <VideoCont :videoid=\"result.videoid\" :yuanyin=\"result.statusdesc\" :date=\"result.createdAt\" :watch=\"result.watch\" :share=\"result.share\" :status=\"result.status\"></VideoCont>\r\n </div>\r\n <VideoReview :videoinfo=\"result.score\" class=\"review\" v-if=\"result.status == 1\"></VideoReview>\r\n </div>\r\n</template>\r\n<style lang=\"scss\" scoped>\r\n.videoinfo{\r\n width: 1320px;\r\n height: 563px;\r\n .info{\r\n display: flex;\r\n justify-content: space-between;\r\n }\r\n .review{\r\n margin-top: 28px;\r\n }\r\n}\r\n</style>\r\n<script lang=\"ts\">\r\nimport { defineComponent, onMounted, ref } from 'vue';\r\nimport VideoPlay from \"@/components/VideoPlay.vue\"\r\nimport VideoCont from \"@/components/VideoCont.vue\"\r\nimport VideoReview from \"@/components/VideoReview.vue\";\r\nimport { getcommentlist, videodetail } from '@/api';\r\nimport { useRoute } from 'vue-router';\r\nexport default defineComponent({\r\n components:{\r\n VideoPlay,\r\n VideoCont,\r\n VideoReview\r\n },\r\n setup(){\r\n // console.log(1)\r\n console.log(useRoute().query)\r\n const result=ref({})\r\n const commentlist=ref({})\r\n const videoid=ref(useRoute().query.id)\r\n onMounted(async () => {\r\n result.value= await videodetail(useRoute().query.id)\r\n // commentlist.value=await getcommentlist({type:2,id:videoid.value})\r\n })\r\n \r\n return {\r\n result,\r\n commentlist,\r\n videoid\r\n }\r\n \r\n }\r\n})\r\n</script>","<template>\r\n <div class=\"video\">\r\n <div class=\"title\">{{title}}</div>\r\n <video style=\"width:100%; height:100%;\" :id=\"'a' + url\" ></video>\r\n </div>\r\n</template>\r\n<style lang=\"scss\" scoped>\r\n.video{\r\n width: 976px;\r\n height: 563px;\r\n border-radius: 17px;\r\n background: white;\r\n position: relative;\r\n // background-color: #0f0;\r\n overflow: hidden;\r\n >video{\r\n width: 100%;\r\n height: 100%;\r\n }\r\n .title{\r\n position: absolute;\r\n top: 23px;\r\n left: 51px;\r\n font-size: 13px;\r\n color: #fff;\r\n z-index: 999;\r\n }\r\n}\r\n</style>\r\n<script lang=\"ts\">\r\nimport router from '@/router';\r\nimport { defineComponent, onMounted, onUpdated } from 'vue';\r\nimport { onBeforeRouteLeave, useRouter } from 'vue-router';\r\n\r\nexport default defineComponent({\r\n props:{\r\n url: {\r\n type: String\r\n },\r\n title: {\r\n type: String\r\n }\r\n },\r\n setup(props, ctx){\r\n console.log(1)\r\n let play: any;\r\n onUpdated(()=>{\r\n console.log(props.url)\r\n play = window.TCPlayer('a' + props.url, { \r\n fileID: props.url,\r\n appID: '1303872925' \r\n });\r\n })\r\n onBeforeRouteLeave((to, from, next) => {\r\n console.log(121)\r\n play.dispose()\r\n next()\r\n })\r\n \r\n }\r\n})\r\n</script>","\r\nimport router from '@/router';\r\nimport { defineComponent, onMounted, onUpdated } from 'vue';\r\nimport { onBeforeRouteLeave, useRouter } from 'vue-router';\r\n\r\nexport default defineComponent({\r\n props:{\r\n url: {\r\n type: String\r\n },\r\n title: {\r\n type: String\r\n }\r\n },\r\n setup(props, ctx){\r\n console.log(1)\r\n let play: any;\r\n onUpdated(()=>{\r\n console.log(props.url)\r\n play = window.TCPlayer('a' + props.url, { \r\n fileID: props.url,\r\n appID: '1303872925' \r\n });\r\n })\r\n onBeforeRouteLeave((to, from, next) => {\r\n console.log(121)\r\n play.dispose()\r\n next()\r\n })\r\n \r\n }\r\n})\r\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>\r\n <div class=\"cont\">\r\n <div class=\"title\">{{lan.$t('shipinshuju')}}</div>\r\n <div class=\"info\">\r\n <div class=\"item\">\r\n <img src=\"@/static/images/livewatch.png\" alt=\"\" />\r\n <span> {{lan.$t('shangchuanshijian')}} </span>\r\n <span>{{date}}</span>\r\n \r\n </div>\r\n <div class=\"item\">\r\n <img src=\"@/static/images/watch.png\" alt=\"\" />\r\n <span>{{lan.$t('bofangliang')}}</span>\r\n <span> {{watch}}</span>\r\n \r\n </div>\r\n <div class=\"item\">\r\n <img src=\"@/static/images/share.png\" alt=\"\" />\r\n <span>{{lan.$t('zhuanfaliang')}}</span>\r\n <span>{{share}}</span>\r\n </div>\r\n <div class=\"item item1\" v-if=\"status==0\">\r\n <span>{{lan.$t('zhuangtai')}}</span>\r\n <span class=\"status\">{{lan.$t('shenheing')}}</span>\r\n </div>\r\n <!-- <div class=\"item item1\" v-if=\"status==1\">\r\n <span>{{lan.$t('zhuangtai')}}</span>\r\n <span class=\"status1\">{{lan.$t('shenheing')}}</span>\r\n \r\n </div> -->\r\n <div class=\"item item1\" v-if=\"status==2\">\r\n <span>{{lan.$t('zhuangtai')}}</span>\r\n <span class=\"status1\" style=\"color: #D12C2E\">{{lan.$t('shenheweitongguo')}}</span>\r\n </div>\r\n <div class=\"item item1\" v-if=\"status==2\">\r\n <span style=\"flex-shrink:0\">{{lan.$t('yuanyin')}}</span>\r\n <span> {{yuanyin}} </span>\r\n </div>\r\n \r\n </div>\r\n <div class=\"button\">\r\n <div class=\"modify\" @click=\"update(videoid)\">{{lan.$t('xiugaishipin')}}</div>\r\n <div class=\"del\" @click=\"drop(videoid)\">{{lan.$t('shanchushipin')}}</div>\r\n <a-modal\r\n title=\"确认删除\"\r\n v-model:visible=\"visible\"\r\n :confirm-loading=\"confirmLoading\"\r\n @ok=\"handleOk\"\r\n >\r\n <p>{{lan.$t('querenshanchu')}}</p>\r\n </a-modal>\r\n </div>\r\n </div>\r\n</template>\r\n<style lang=\"scss\" scoped>\r\n.cont {\r\n width: 316px;\r\n height: 563px;\r\n background-color: #fff;\r\n border-radius: 17px;\r\n padding: 0 28px;\r\n position: relative;\r\n .title {\r\n padding: 23px 0 11px 0;\r\n font-size: 13px;\r\n color: #111;\r\n line-height: 1;\r\n border-bottom: 1px solid #eee;\r\n }\r\n .info {\r\n .item1{\r\n position: relative;\r\n left:-12px\r\n }\r\n .status{\r\n color: #07AD97!important;\r\n // font-weight: bold;\r\n }\r\n .status1{\r\n color: #D12C2D!important;\r\n }\r\n .item {\r\n display: flex;\r\n align-content: center;\r\n margin-top: 23px;\r\n > img {\r\n width: 24px;\r\n height: 24px;\r\n // background-color: #0f0;\r\n }\r\n > span {\r\n font-size: 11px;\r\n color: #666;\r\n margin-left: 10px;\r\n }\r\n }\r\n }\r\n .button {\r\n position: absolute;\r\n width: 260px;\r\n bottom: 28px;\r\n display: flex;\r\n justify-content: space-between;\r\n > div {\r\n width: 114px;\r\n height: 23px;\r\n border-radius: 3px;\r\n font-size: 10px;\r\n color: #fff;\r\n line-height: 23px;\r\n text-align: center;\r\n cursor: pointer;\r\n }\r\n .modify {\r\n background-color: #08ae98;\r\n }\r\n .del {\r\n background-color: #d12c2e;\r\n }\r\n }\r\n}\r\n</style>\r\n<script lang=\"ts\">\r\nimport { videodel } from '@/api';\r\nimport router from '@/router';\r\nimport { useI18n } from '@/utils/i18n';\r\nimport { defineComponent, ref } from \"vue\";\r\nimport { useRoute } from 'vue-router';\r\n\r\nexport default defineComponent({\r\n props:{\r\n date: {\r\n type:String\r\n },\r\n watch: {\r\n type:Number\r\n },\r\n share: {\r\n type:Number\r\n },\r\n status: {\r\n type:Number\r\n },\r\n videoid: {\r\n type:Number\r\n },\r\n yuanyin: {\r\n type: String\r\n }\r\n },\r\n setup(){\r\n const lan: any = useI18n();\r\n console.log(1)\r\n const visible = ref(false);\r\n const confirmLoading = ref(false);\r\n let id = 0;\r\n function drop(e: number){\r\n console.log(e);\r\n id = e;\r\n visible.value = true;\r\n }\r\n function update(e: number) {\r\n router.push(\"/mine/video?id=\"+e)\r\n }\r\n function handleOk() {\r\n \r\n confirmLoading.value = true;\r\n videodel(id).then(()=>{\r\n visible.value = false;\r\n confirmLoading.value = false;\r\n router.back()\r\n })\r\n }\r\n return{\r\n drop,\r\n update,\r\n confirmLoading,\r\n visible,\r\n handleOk,\r\n lan\r\n }\r\n }\r\n});\r\n</script>","\r\nimport { videodel } from '@/api';\r\nimport router from '@/router';\r\nimport { useI18n } from '@/utils/i18n';\r\nimport { defineComponent, ref } from \"vue\";\r\nimport { useRoute } from 'vue-router';\r\n\r\nexport default defineComponent({\r\n props:{\r\n date: {\r\n type:String\r\n },\r\n watch: {\r\n type:Number\r\n },\r\n share: {\r\n type:Number\r\n },\r\n status: {\r\n type:Number\r\n },\r\n videoid: {\r\n type:Number\r\n },\r\n yuanyin: {\r\n type: String\r\n }\r\n },\r\n setup(){\r\n const lan: any = useI18n();\r\n console.log(1)\r\n const visible = ref(false);\r\n const confirmLoading = ref(false);\r\n let id = 0;\r\n function drop(e: number){\r\n console.log(e);\r\n id = e;\r\n visible.value = true;\r\n }\r\n function update(e: number) {\r\n router.push(\"/mine/video?id=\"+e)\r\n }\r\n function handleOk() {\r\n \r\n confirmLoading.value = true;\r\n videodel(id).then(()=>{\r\n visible.value = false;\r\n confirmLoading.value = false;\r\n router.back()\r\n })\r\n }\r\n return{\r\n drop,\r\n update,\r\n confirmLoading,\r\n visible,\r\n handleOk,\r\n lan\r\n }\r\n }\r\n});\r\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","\r\nimport { defineComponent, onMounted, ref } from 'vue';\r\nimport VideoPlay from \"@/components/VideoPlay.vue\"\r\nimport VideoCont from \"@/components/VideoCont.vue\"\r\nimport VideoReview from \"@/components/VideoReview.vue\";\r\nimport { getcommentlist, videodetail } from '@/api';\r\nimport { useRoute } from 'vue-router';\r\nexport default defineComponent({\r\n components:{\r\n VideoPlay,\r\n VideoCont,\r\n VideoReview\r\n },\r\n setup(){\r\n // console.log(1)\r\n console.log(useRoute().query)\r\n const result=ref({})\r\n const commentlist=ref({})\r\n const videoid=ref(useRoute().query.id)\r\n onMounted(async () => {\r\n result.value= await videodetail(useRoute().query.id)\r\n // commentlist.value=await getcommentlist({type:2,id:videoid.value})\r\n })\r\n \r\n return {\r\n result,\r\n commentlist,\r\n videoid\r\n }\r\n \r\n }\r\n})\r\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":""}