beelink/dist/js/chunk-14e6a7cb.f2e77fa3.js.map
2020-11-30 11:04:04 +08:00

1 line
26 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/views/regime/Live.vue","webpack:///./src/components/LiveItem.vue","webpack:///./src/components/LiveItem.vue?2b45","webpack:///./src/components/LiveItem.vue?fa21","webpack:///./src/views/regime/Live.vue?2c9e","webpack:///./src/views/regime/Live.vue?8cd7","webpack:///./src/static/images/sousuo.png","webpack:///./src/static/images/play.png","webpack:///./src/static/images/studentnum.png","webpack:///./src/views/regime/Live.vue?b96f","webpack:///./src/components/LiveItem.vue?31d5"],"names":["class","src","alt","tabindex","tabchange","lan","$t","placeholder","type","sel","input","livelist","data","i","j","key","img","title","score","date","dateline","takehour","livetime","livenum","count","status","livestatus","zid","liveid","total","current","page","showLessItems","nextpage","navto","split","props","Number","default","String","setup","url","undefined","router","push","path","query","id","render","__scopeId","components","LiveItem","code","msg","tab","value","index","e","module","exports"],"mappings":"+PACOA,MAAM,S,GACJA,MAAM,O,GACFA,MAAM,Q,GAWNA,MAAM,O,EACP,yBAA4D,OAAvDC,IAAA,IAAiCC,IAAI,GAAGF,MAAM,Q,kBAItDA,MAAM,Q,SAgBNA,MAAM,Q,SAeNA,MAAM,Q,GAkBNA,MAAM,S,oOAnEb,yBAsEM,MAtEN,EAsEM,CArEJ,yBAgBM,MAhBN,EAgBM,CAfF,yBAUM,MAVN,EAUM,CATF,yBAEM,OAFAA,MAAe,GAAR,EAAAG,SAAQ,QAAoB,QAAK,+BAAE,EAAAC,UAAS,M,6BACvD,EAAAC,IAAIC,GAAE,mBAER,yBAEM,OAFAN,MAAe,GAAR,EAAAG,SAAQ,QAAoB,QAAK,+BAAE,EAAAC,UAAS,M,6BACvD,EAAAC,IAAIC,GAAE,iBAER,yBAEM,OAFAN,MAAe,GAAR,EAAAG,SAAQ,QAAoB,QAAK,+BAAE,EAAAC,UAAS,M,6BACvD,EAAAC,IAAIC,GAAE,kBAGZ,yBAGM,MAHN,EAGM,CA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AAS4C,MAFb,kDA5BG,iCAgCYtB,IAhCZ,6FAgCH,8GAE2B,eAAY,CAAChB,MAAOP,EAAM6C,MAAOxB,KAAMA,EAAKwB,QAFvE,OAEI5C,EAAS4C,MAFb,kDAhCG,wBAsCH,OA3BA,uBAAS,wCAAC,8GACiB,iBADjB,OACN5C,EAAS4C,MADH,mDA2BH,CACHxB,OACA5B,WACAC,YACAO,WACAD,QACAD,MACAJ,MACA4B,e,UCnDR,EAAOe,OAAS,EAChB,EAAOC,UAAY,kBAEJ,gB,4CCRfS,EAAOC,QAAU,8uB,mBCAjBD,EAAOC,QAAU,0yD,mBCAjBD,EAAOC,QAAU,09B,kCCAjB,W,kCCAA,W","file":"js/chunk-14e6a7cb.f2e77fa3.js","sourcesContent":["<template>\r\n <div class=\"video\">\r\n <div class=\"nav\">\r\n <div class=\"tabs\">\r\n <div :class=\"tabindex == 1 ? 'on' : ''\" @click=\"tabchange(1)\">\r\n {{lan.$t('quanbuzhibo')}}\r\n </div>\r\n <div :class=\"tabindex == 0 ? 'on' : ''\" @click=\"tabchange(0)\">\r\n {{lan.$t('weikaishi')}}\r\n </div>\r\n <div :class=\"tabindex == 2 ? 'on' : ''\" @click=\"tabchange(2)\">\r\n {{lan.$t('yijieshu')}}\r\n </div>\r\n </div>\r\n <div class=\"sel\">\r\n <img src=\"@/static/images/sousuo.png\" alt=\"\" class=\"icon\" />\r\n <input :placeholder=\"lan.$t('zhibosousuo')\" type=\"text\" @keyup.enter=\"sel()\" v-model=\"input\" />\r\n </div>\r\n </div>\r\n <div class=\"list\" v-if=\"tabindex == 1\">\r\n <LiveItem\r\n :type=\"2\"\r\n v-for=\"(i, j) in livelist.data\"\r\n :key=\"j\"\r\n :img=\"i.img\"\r\n :title=\"i.title\"\r\n :score=\"i.score\"\r\n :date=\"i.dateline\"\r\n :takehour=\"i.livetime\"\r\n :livenum=\"i.count\"\r\n :status=\"i.livestatus\"\r\n :zid=\"i.liveid\"\r\n ></LiveItem>\r\n </div>\r\n\r\n <div class=\"list\" v-if=\"tabindex == 0\">\r\n <LiveItem\r\n :type=\"2\"\r\n v-for=\"(i, j) in livelist.data\"\r\n :key=\"j\"\r\n :img=\"i.img\"\r\n :title=\"i.title\"\r\n :score=\"i.score\"\r\n :date=\"i.dateline\"\r\n :takehour=\"i.livetime\"\r\n :livenum=\"i.count\"\r\n :status=\"i.livestatus\"\r\n :zid=\"i.liveid\"\r\n ></LiveItem>\r\n </div>\r\n <div class=\"list\" v-if=\"tabindex == 2\">\r\n <LiveItem\r\n :type=\"2\"\r\n v-for=\"(i, j) in livelist.data\"\r\n :key=\"j\"\r\n :img=\"i.img\"\r\n :title=\"i.title\"\r\n :score=\"i.score\"\r\n :date=\"i.dateline\"\r\n :takehour=\"i.livetime\"\r\n :livenum=\"i.count\"\r\n :status=\"i.livestatus\"\r\n :zid=\"i.liveid\"\r\n ></LiveItem>\r\n </div>\r\n <template v-if=\"!livelist.total\">\r\n <a-empty />\r\n </template>\r\n <div class=\"pages\">\r\n <a-pagination v-if=\"livelist.total\" v-model:current=\"page\" :total=\"livelist.total\" :showLessItems=\"true\" @change=\"nextpage\" />\r\n </div>\r\n </div>\r\n</template>\r\n<style lang=\"scss\" scoped>\r\n.video {\r\n width: 100%;\r\n height: 706px;\r\n background-color: #fff;\r\n border-radius: 17px;\r\n padding: 40px;\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n .nav {\r\n display: flex;\r\n align-items: center;\r\n border-bottom: 1px solid #eee;\r\n justify-content: space-between;\r\n width: 100%;\r\n .tabs {\r\n display: flex;\r\n align-items: center;\r\n font-size: 13px;\r\n font-weight: bold;\r\n color: #111;\r\n padding: 11px 0;\r\n > div {\r\n margin-right: 58px;\r\n cursor: pointer;\r\n text-align: center;\r\n width: 54px;\r\n &:hover{\r\n color: #08ae98;\r\n }\r\n }\r\n .on {\r\n color: #08ae98;\r\n position: relative;\r\n &::before {\r\n content: \"\";\r\n display: block;\r\n position: absolute;\r\n bottom: -12px;\r\n width: 57px;\r\n height: 1px;\r\n background-color: #08ae98;\r\n }\r\n }\r\n }\r\n .sel {\r\n width: 171px;\r\n height: 26px;\r\n border: 1px solid #999;\r\n display: flex;\r\n align-items: center;\r\n padding: 8px;\r\n border-radius: 4px;\r\n > img {\r\n width: 11px;\r\n height: 11px;\r\n }\r\n > input {\r\n width: 119px;\r\n font-size: 9px;\r\n line-height: 1;\r\n margin-left: 6px;\r\n border: none;\r\n outline: none;\r\n }\r\n }\r\n }\r\n .list {\r\n display: flex;\r\n flex-wrap: wrap;\r\n width: 100%;\r\n > div {\r\n margin-top: 28px;\r\n margin-left: 23px;\r\n &:nth-child(1),\r\n &:nth-child(6) {\r\n margin-left: 0;\r\n }\r\n }\r\n }\r\n .pages {\r\n position: absolute;\r\n bottom: 114px;\r\n display: flex;\r\n justify-content: center;\r\n ::v-deep(.ant-pagination-next) > .ant-pagination-item-link,\r\n ::v-deep(.ant-pagination-prev) > .ant-pagination-item-link,\r\n ::v-deep(.ant-pagination-item),\r\n ::v-deep(.ant-pagination-jump-next-custom-icon),\r\n ::v-deep(.ant-pagination-jump-prev-custom-icon) {\r\n border: 1px solid #08ae98;\r\n }\r\n ::v-deep(.ant-pagination-item-active) a {\r\n color: #fff;\r\n }\r\n ::v-deep(.ant-pagination-item-active) {\r\n background-color: #08ae98;\r\n }\r\n }\r\n}\r\n</style>\r\n<script lang=\"ts\">\r\nimport { defineComponent, onMounted, ref, watch } from \"vue\";\r\nimport LiveItem from \"@/components/LiveItem.vue\";\r\nimport { getlivelist } from \"@/api\";\r\nimport { LivelistInfo } from \"@/types\";\r\nimport { useI18n } from '@/utils/i18n';\r\nexport default defineComponent({\r\n components: {\r\n LiveItem,\r\n },\r\n setup() {\r\n const lan: any = useI18n();\r\n const page = ref(1);\r\n const tabindex = ref<number | string>(1);\r\n const livelist = ref<LivelistInfo>({\r\n code: 0,\r\n total: 0,\r\n msg: \"\",\r\n data: []\r\n });\r\n const input = ref(\"\")\r\n onMounted(async () => {\r\n livelist.value = await getlivelist();\r\n });\r\n async function tab(){\r\n input.value = '';\r\n let index: string | number = '';\r\n if(tabindex.value != 1){\r\n index = tabindex.value\r\n }\r\n livelist.value = await getlivelist({ status: index});\r\n\r\n }\r\n function tabchange(e: number): void {\r\n tabindex.value = e;\r\n livelist.value = {data:[], code: 0, msg: \"\",total: 0};\r\n tab();\r\n }\r\n async function sel(){\r\n console.log(input.value);\r\n livelist.value = await getlivelist({title: input.value});\r\n }\r\n async function nextpage(){\r\n console.log(input.value);\r\n livelist.value = await getlivelist({title: input.value, page: page.value});\r\n }\r\n \r\n \r\n return {\r\n page,\r\n tabindex,\r\n tabchange,\r\n livelist,\r\n input,\r\n sel,\r\n lan,\r\n nextpage\r\n };\r\n },\r\n});\r\n</script>","<template>\r\n <div class=\"videoitem\" @click=\"navto()\">\r\n <img :src=\"img\" alt=\"\" class=\"cover\">\r\n <img src=\"@/static/images/play.png\" alt=\"\" class=\"play\">\r\n <div class=\"title\">\r\n <div class=\"one-line-hide\">{{title}}</div> \r\n <span class=\"lv\">{{score}}</span>\r\n </div>\r\n <div class=\"info\">\r\n <div class=\"datetime\">\r\n <span>{{date.split(\" \")[0]}}</span>\r\n <span class=\"time\">{{date.split(\" \")[1]}}</span>\r\n </div>\r\n <div class=\"feature\">\r\n <div>\r\n <img src=\"@/static/images/shijian.png\" alt=\"\">\r\n <span>{{takehour}}</span>\r\n </div>\r\n <div>\r\n <img src=\"@/static/images/studentnum.png\" alt=\"\">\r\n <span>{{livenum}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"state audit\" v-if=\"status==0\">\r\n {{lan.$t('haiweikaishi')}}\r\n </div>\r\n <div class=\"state live\" v-if=\"status==1\">\r\n {{lan.$t('jinruzhibo')}}\r\n </div>\r\n <div class=\"state over\" v-if=\"status==2\">\r\n {{lan.$t('chakanhuifang')}}\r\n </div>\r\n </div>\r\n</template>\r\n<style lang=\"scss\" scoped>\r\n.videoitem{\r\n min-width: 226px;\r\n // height: 198px;\r\n background-color: #fff;\r\n border-radius: 17px;\r\n overflow: hidden;\r\n display: flex;\r\n cursor: pointer;\r\n flex-direction: column;\r\n position: relative;\r\n box-shadow: 0px 5px 6px 0px rgba(158, 158, 158, 0.11);\r\n .cover{\r\n width: 226px;\r\n min-width: 100%;\r\n height: 127px;\r\n }\r\n .play{\r\n position: absolute;\r\n top: 52px;\r\n left: 101px;\r\n width: 23px;\r\n height: 23px;\r\n }\r\n .title{\r\n margin: 18px;\r\n margin-top: 16px;\r\n margin-bottom: 0;\r\n font-display: 11px;\r\n color: #111;\r\n display: flex;\r\n align-items: center;\r\n cursor: default;\r\n >span{\r\n margin-left: 11px;\r\n font-size: 10px;\r\n color: #f55455;\r\n flex-shrink: 0;\r\n }\r\n }\r\n .info{\r\n display: flex;\r\n align-items: center;\r\n margin-top: 9px;\r\n margin-bottom: 9px;\r\n margin-left: 18px;\r\n \r\n .datetime{\r\n display: flex;\r\n align-items: center;\r\n font-size: 10px;\r\n color: #666;\r\n .time{\r\n margin-left: 15px;\r\n }\r\n }\r\n .feature{\r\n display: flex;\r\n align-items: center;\r\n margin-left: 25px;\r\n // margin-top: 18px;\r\n >div{\r\n display: flex;\r\n align-items: center;\r\n >img{\r\n width: 11px;\r\n height: 11px;\r\n }\r\n >span{\r\n font-size: 10px;\r\n color: #111;\r\n margin-left: 4px;\r\n margin-right: 11px;\r\n }\r\n }\r\n }\r\n }\r\n .state{\r\n position: absolute;\r\n top: 0;\r\n right: 0;\r\n width: 67px;\r\n height: 23px;\r\n border-radius: 0 17px 0 17px;\r\n font-size: 10px;\r\n line-height: 23px;\r\n text-align: center;\r\n }\r\n .audit{\r\n background-color: #CFF9F1;\r\n color: #08AE98;\r\n }\r\n .live{\r\n \r\n background: linear-gradient(-90deg, #0EDCC2, #50DF98, #7EE278, #A2E562);\r\n color: #fff;\r\n }\r\n .over{\r\n background-color: #F7F7F7;\r\n color: #121212;\r\n }\r\n}\r\n</style>\r\n<script lang=\"ts\">\r\nimport router from '@/router';\r\nimport { useI18n } from '@/utils/i18n';\r\nimport { defineComponent } from 'vue';\r\n\r\nexport default defineComponent({\r\n props:{\r\n type: {\r\n type: Number,\r\n default:1\r\n },\r\n img:{\r\n type:String\r\n },\r\n title:{\r\n type:String\r\n },\r\n score:{\r\n type:String\r\n },\r\n date:{\r\n type:String\r\n },\r\n takehour:{\r\n type:String\r\n },\r\n livenum:{\r\n type:Number\r\n },\r\n status:{\r\n type:Number\r\n },\r\n zid:{\r\n type: Number\r\n }\r\n },\r\n setup(props){\r\n const lan: any = useI18n();\r\n function navto(){\r\n let url = '';\r\n switch (props.status) {\r\n case 1:\r\n url = '/live/liveing';\r\n break;\r\n default:\r\n url = '/regime/livedetail';\r\n }\r\n console.log(props.zid);\r\n if(props.zid != undefined){\r\n router.push({path: url,query: { id: props.zid }})\r\n }\r\n }\r\n return {\r\n navto,\r\n lan\r\n }\r\n }\r\n})\r\n</script>","\r\nimport router from '@/router';\r\nimport { useI18n } from '@/utils/i18n';\r\nimport { defineComponent } from 'vue';\r\n\r\nexport default defineComponent({\r\n props:{\r\n type: {\r\n type: Number,\r\n default:1\r\n },\r\n img:{\r\n type:String\r\n },\r\n title:{\r\n type:String\r\n },\r\n score:{\r\n type:String\r\n },\r\n date:{\r\n type:String\r\n },\r\n takehour:{\r\n type:String\r\n },\r\n livenum:{\r\n type:Number\r\n },\r\n status:{\r\n type:Number\r\n },\r\n zid:{\r\n type: Number\r\n }\r\n },\r\n setup(props){\r\n const lan: any = useI18n();\r\n function navto(){\r\n let url = '';\r\n switch (props.status) {\r\n case 1:\r\n url = '/live/liveing';\r\n break;\r\n default:\r\n url = '/regime/livedetail';\r\n }\r\n console.log(props.zid);\r\n if(props.zid != undefined){\r\n router.push({path: url,query: { id: props.zid }})\r\n }\r\n }\r\n return {\r\n navto,\r\n lan\r\n }\r\n }\r\n})\r\n","import { render } from \"./LiveItem.vue?vue&type=template&id=54b9092c&scoped=true&bindings={}\"\nimport script from \"./LiveItem.vue?vue&type=script&lang=ts\"\nexport * from \"./LiveItem.vue?vue&type=script&lang=ts\"\n\nimport \"./LiveItem.vue?vue&type=style&index=0&id=54b9092c&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-54b9092c\"\n\nexport default script","\r\nimport { defineComponent, onMounted, ref, watch } from \"vue\";\r\nimport LiveItem from \"@/components/LiveItem.vue\";\r\nimport { getlivelist } from \"@/api\";\r\nimport { LivelistInfo } from \"@/types\";\r\nimport { useI18n } from '@/utils/i18n';\r\nexport default defineComponent({\r\n components: {\r\n LiveItem,\r\n },\r\n setup() {\r\n const lan: any = useI18n();\r\n const page = ref(1);\r\n const tabindex = ref<number | string>(1);\r\n const livelist = ref<LivelistInfo>({\r\n code: 0,\r\n total: 0,\r\n msg: \"\",\r\n data: []\r\n });\r\n const input = ref(\"\")\r\n onMounted(async () => {\r\n livelist.value = await getlivelist();\r\n });\r\n async function tab(){\r\n input.value = '';\r\n let index: string | number = '';\r\n if(tabindex.value != 1){\r\n index = tabindex.value\r\n }\r\n livelist.value = await getlivelist({ status: index});\r\n\r\n }\r\n function tabchange(e: number): void {\r\n tabindex.value = e;\r\n livelist.value = {data:[], code: 0, msg: \"\",total: 0};\r\n tab();\r\n }\r\n async function sel(){\r\n console.log(input.value);\r\n livelist.value = await getlivelist({title: input.value});\r\n }\r\n async function nextpage(){\r\n console.log(input.value);\r\n livelist.value = await getlivelist({title: input.value, page: page.value});\r\n }\r\n \r\n \r\n return {\r\n page,\r\n tabindex,\r\n tabchange,\r\n livelist,\r\n input,\r\n sel,\r\n lan,\r\n nextpage\r\n };\r\n },\r\n});\r\n","import { render } from \"./Live.vue?vue&type=template&id=74b75d3a&scoped=true&bindings={}\"\nimport script from \"./Live.vue?vue&type=script&lang=ts\"\nexport * from \"./Live.vue?vue&type=script&lang=ts\"\n\nimport \"./Live.vue?vue&type=style&index=0&id=74b75d3a&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-74b75d3a\"\n\nexport default script","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARCAYAAADUryzEAAAB5klEQVQ4T6XTvYsTQRgG8OedIHoQi4iFrM0REP+A80DQxuoUBLucoqCCNzObRkijFt4aLCzE6AlmPyDCNR4moJ6tBBEbsRJBPBGxSxmrRJBkHtngHrmAd0GnGFh45zcz7zwr+M8h4+vDMJxVSl0FcApAkeRARDZIPnPOPSqXyz8m99sEwjA0SqkHAF4759ZE5DOAXUqpIySXABwged5a+2ocGQFxHBsA9wBcMMa8mNwlCALled4ygOsisqC1fpPVSL1eL+ZyuU8kz1pr17drSRRFdwEs9vv9w5VK5WdaK1EUPRSRojHm9E79DIJgj+d530Tkptb68QiI4/gryWVr7dpOwJ/r3gdw0BhTyk4wVErNaa0/TAlcIWmstfPZCX455477vv9+SiBt+GVjzNEM+EgystbWpwGSJAlJzhhjLmXALQBnOp3OXLVaddshjUZj72Aw+O6cW/J9/3kG7Ce5ISIrxpjbfwOazWau2+0+AXCo3W7Pt1qt4QhIpyRJFki+BLDS6/WC7I0nYn5MKfUWwDVjTJqH0diMchzHJ0iuishukusi8sU5l0Z5X6FQuFEqlYZRFC2KyCrJi9bap1uA9KNWq83k8/lzJE8CmAWQpu2d1jqNMNOaSWTL3zjNK0wi/wSMIXd+A0Xi4dpLtadBAAAAAElFTkSuQmCC\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAFEUlEQVRYR7WYW0xcVRSGvw1DgaFIo9jLQCmFQq1VsUhbbW30QWttjLfEoEGjffFajfEepfUW7zaN+mCqTYzGaBqNN5KamMboC5FUY2wRi1GLl2gJFSyUtsOZc7b5z5yD02FmGEpcCWTgnL33v/+11r/WGkMeZq09GagBVgPnAkuAaqAMMMAR4C+gF+gCOoGfgQFjjJ3sCG2Q1ay1M4HTgVZgHTA7OLgYKEhbqMPiwCgwBHwBvAN8a4z5J9c5GUFYa/V/3XwD0AbEgOhkN0p7LkD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LIEL1oS2onrL9zJlmeaICU/eK2qnxAa43vFSPEivINilgq1BTSpH5I6OI0a/InTDuskNw/1wE6T3SdwhYBbc5OuSmsDvghSSW7ucCNp2UNquPKYjnvw67P5lMg7DX56TuGWj3tZSbqefosVBuckJZM5/QPLxv+BI2xz42yg0yk1OKaXmSr2+JDcZKsJ+CEzB9UorMqJdbpnPcOiuvn0bg41NP5FpjgBVo4pVkYEv9RVcrK4LRgSVmu7PIfBMNJWoTnwaeOc3hFAeINSbbSUAAAAASUVORK5CYII=\"","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!./Live.vue?vue&type=style&index=0&id=74b75d3a&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!./LiveItem.vue?vue&type=style&index=0&id=54b9092c&lang=scss&scoped=true\""],"sourceRoot":""}