{"version":3,"sources":["webpack:///./src/static/images/left.png","webpack:///./src/utils/date.ts","webpack:///./src/views/regime/week.vue","webpack:///./src/views/regime/week.vue?dff7","webpack:///./src/views/regime/week.vue?a07c","webpack:///./src/views/regime/week.vue?7457","webpack:///./src/static/images/right.png"],"names":["module","exports","getdate","yue","id","utc","timezone","extend","days","now","tz","month","day","date","zhou","week","year","start","end","console","log","i","w","list","Math","floor","d","time","toISOString","undefined","push","length","getweek","error","startd","j","num","title","getDay","gethour","hour","minute","getminute","gettime","class","src","alt","style","lan","$t","type","navto","item","key","xs","zhuangtai","tolive","top","times","props","setup","userinfo","store","state","query","userid","value","memberid","zoneValue","getdates","then","res","dateline","livetime","livestatus","zid","liveid","index","url","router","data","setInterval","xiaoshi","fenzhong","render","__scopeId"],"mappings":"0HAAAA,EAAOC,QAAU,8kB,mRCiBX,SAAUC,EAAQC,EAAYC,GAE/B,IAAMC,EAAM,EAAQ,QAEdC,EAAW,EAAQ,QACzB,IAAMC,OAAOF,GACb,IAAME,OAAOD,GACb,IAAME,EAAY,IACfC,EAAMD,IAAOE,GAAGN,GACpBK,EAAMA,EAAIE,MAAMF,EAAIE,QAAUR,GAC9BA,EAAMM,EAAIE,QAAU,EACpB,IAAMC,EAAMH,EAAII,OACVC,EAAOL,EAAIG,MACjBH,EAAMA,EAAII,KAAK,GACf,IAAME,EAAON,EAAIG,MACjBH,EAAMA,EAAIE,MAAMF,EAAIE,QAAU,GAC9BF,EAAMA,EAAII,KAAK,GACf,IAAMF,EAAQF,EAAII,OACZG,EAAOP,EAAIO,OACXC,EAAQD,EAAO,IAAMb,EAAM,MAC3Be,EAAMF,EAAO,IAAMb,EAAM,IAAMQ,EACrCQ,QAAQC,IAAIR,EAAIG,EAAKJ,GACrB,IAAIU,EAAI,EACJC,EAAI,EAGFT,EAA2B,CAAC,IAElC,MAAMQ,EAAIV,EAAM,CAEZ,IAAIW,EAAI,EAAGA,EAAIP,EAAMO,IACjBT,EAAK,GAAGS,GAAK,CAACC,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C32Fr6BjaVgkY27czwJrKibODAw88835/LPIPw3mvVp0ySHCPdxHBdtVWaUoT0wkCCAw5Gg3q4nBNI9IMxyoJ2eLGyFwEjbntME3QLgFBGsupnC0SDrL9Ds1OYJsQsKooi03JPF86C0b1B3aouI0AJiDCjnZko3P+sfgqZTWQHUbC76wwdMezL/+LdJNDrVdQSxB0RvPmLqUxaeRzmBZsfe5oNNnq9KiVQ/a72MBAei4dglrq/My3dPiLS3YD2FUgeCflnNoSbOeO9zM0uuLF6HmgmEoT0AXQScAFBWT5ZOQ/YEQqRdS2oC2XCIKUUb/WxxN2R4ABvdehyJnxAgzq9z4Mr82thPAVfHMcPz77jJJF9ojAcH4RvlSSOqXxCqky8/VHEVIp+nHQAAAABJRU5ErkJggg==\"","import dayjs from 'dayjs'\n\ninterface Date{\n day?: number;\n list?: Array;\n}\n\ninterface GetDate{\n date: Array>;\n year: number;\n yue: number;\n day: number;\n zhou: number;\n start: string;\n end: string;\n}\n\nexport function getdate(yue: number,id: string): GetDate{\n /* eslint-disable */\n const utc = require('dayjs/plugin/utc') // dependent on utc plugin\n /* eslint-disable */\n const timezone = require('dayjs/plugin/timezone')\n dayjs.extend(utc)\n dayjs.extend(timezone)\n const days: any = dayjs;\n let now = days().tz(id)\n now = now.month(now.month() + yue);\n yue = now.month() + 1;\n const day = now.date() // 当前天\n const zhou = now.day(); // 当前周\n now = now.date(1)\n const week = now.day(); // 第一天是星期几\n now = now.month(now.month() + 1);\n now = now.date(0);\n const month = now.date(); // 当前月有几天\n const year = now.year()\n const start = year + \"-\" + yue + '-01';\n const end = year + \"-\" + yue + '-' + month;\n console.log(day,week,month)\n let i = 0;\n let w = 0;\n\n \n const date: Array> = [[]];\n \n while(i < month){\n \n for(w = 0; w < week; w++){\n date[0][w] = {list:[]};\n }\n i++;\n const zhou = Math.floor((i + w - 1) / 7)\n const d = {\n day: i,\n list: [],\n time: now.date(i).toISOString()\n }\n if(date[zhou] == undefined){\n date[zhou] = []\n }\n date[zhou].push(d)\n }\n while(date[date.length - 1].length < 7){\n date[date.length - 1].push({list:[]})\n }\n console.log(date)\n\n return {date, year, yue, day, zhou, start, end};\n}\n\n\nexport function getweek(time: string, id: string,zhou?: number){\n /* eslint-disable */\n const utc = require('dayjs/plugin/utc') // dependent on utc plugin\n /* eslint-disable */\n const timezone = require('dayjs/plugin/timezone')\n dayjs.extend(utc)\n dayjs.extend(timezone)\n const days: any = dayjs;\n console.log(id, 11111)\n let now;\n try {\n now = days((!time ? undefined : time)).tz(id)\n } catch (error) {\n now = days(undefined).tz(id)\n }\n console.log(now, 11111)\n\n if(zhou != undefined){\n now = now.day(now.day() + (zhou * 6));\n }\n const yue = (now.month() + 1 < 10 ? '0' + (now.month() + 1) : (now.month() + 1));\n const day = now.date() // 当前天\n zhou = now.day(); // 当前周几\n const year = now.year()\n const startd = now.day(1).date();\n const start = `${year}-${yue}-${startd}`\n interface Date{\n day: string;\n list?: Array;\n }\n const date: Array = [];\n \n for(let i = 0; i < 7; i++){\n console.log(i);\n now = now.day(i)\n date[i] = {day: \"\"};\n date[i].day = now.year() + \"-\" + (now.month() + 1 < 10 ? '0' + (now.month() + 1) : (now.month() + 1)) + \"-\" + (now.date() < 10 ? '0' + now.date() : now.date())\n date[i].list = []\n for(let j = 0;j < 24; j++){\n date[i].list?.push({\n start:\"\",\n num:\"\",\n title: \"\",\n time:\"\"\n })\n }\n }\n const end = `${now.year()}-${(now.month() + 1 < 10 ? '0' + (now.month() + 1) : (now.month() + 1))}-${now.date()}`\n console.log(date)\n return {date, year, yue, day, zhou, start, end}\n}\n\n\nexport function getDay(date: string){\n const now = dayjs(date)\n console.log(now.date())\n return now.date();\n}\n\nexport function gethour(date: string){\n const now = dayjs(date)\n console.log(now.hour(), now.date(), now.minute())\n return now.hour();\n}\n\nexport function getminute(date: string){\n const now = dayjs(date)\n // console.log(now.hour(), now.date(), now.minute())\n return now.minute();\n}\n\nexport function gettime(date: string, num: number){\n let now = dayjs(date)\n const start = `${now.hour() > 9 ? now.hour() : '0' + now.hour()}:${now.minute() > 9 ? now.minute() : '0' + now.minute()}`\n now = now.minute(now.minute() + num);\n const end = `${now.hour() > 9 ? now.hour() : '0' + now.hour()}:${now.minute() > 9 ? now.minute() : '0' + now.minute()}`\n return start + \"-\" + end;\n}","\n\n","\nimport { computed, defineComponent, ref, watch } from \"vue\";\nimport { getDay, gethour, getminute, gettime, getweek } from \"@/utils/date\";\nimport store from '@/store';\nimport { getdatelist, userinfo } from '@/api';\nimport router from '@/router';\nimport dayjs from 'dayjs';\nimport { useRoute } from 'vue-router';\nimport { useI18n } from '@/utils/i18n';\n\nexport default defineComponent({\n props: {},\n setup() {\n const userinfo = computed(()=>store.state.userinfo)\n const zhou = ref(0);\n const time: any = useRoute().query.time;\n let userid = userinfo.value.memberid;\n const week = ref(getweek(time, userinfo.value.zoneValue));\n const lan = useI18n()\n function getdates(userid: number){\n getdatelist(week.value.start, week.value.end, userid).then((res: any)=>{\n console.log(res)\n for(const i in res){\n const day = getDay(res[i].dateline)\n console.log(day)\n for(const j in week.value.date){\n console.log(getDay(week.value.date[j].day))\n if(day == getDay(week.value.date[j].day)){\n console.log(\"fuzhi\")\n week.value.date[j].list[gethour(res[i].dateline)].start = getminute(res[i].dateline);\n week.value.date[j].list[gethour(res[i].dateline)].num = res[i].livetime\n week.value.date[j].list[gethour(res[i].dateline)].title = res[i].title\n week.value.date[j].list[gethour(res[i].dateline)].time = gettime(res[i].dateline, res[i].livetime)\n week.value.date[j].list[gethour(res[i].dateline)].zhuangtai = res[i].livestatus\n week.value.date[j].list[gethour(res[i].dateline)].zid = res[i].liveid\n }\n }\n }\n console.log(week.value)\n })\n }\n watch(userinfo,()=>{\n userid = userinfo.value.memberid;\n getdates(userid);\n week.value = getweek(time, userinfo.value.zoneValue);\n })\n console.log(week.value);\n \n\n getdates(userid);\n \n const top = ref(0);\n const times = ref('');\n const xs = ref(0);\n setInterval(()=>{\n /* eslint-disable */\n const utc = require('dayjs/plugin/utc') // dependent on utc plugin\n /* eslint-disable */\n const timezone = require('dayjs/plugin/timezone')\n dayjs.extend(utc)\n dayjs.extend(timezone)\n const days: any = dayjs;\n const now = days().tz(userinfo.value.zoneValue)\n const xiaoshi = now.hour()\n const fenzhong = now.minute()\n top.value = (xiaoshi + (fenzhong / 60)) * 0.63;\n times.value = (xiaoshi > 10 ? xiaoshi : '0' + xiaoshi) + \":\" + (fenzhong > 10 ? fenzhong : '0' + fenzhong);\n xs.value = xiaoshi;\n }, 2000)\n\n watch(zhou, (value) => {\n week.value = getweek(time, userinfo.value.zoneValue, value);\n console.log(week.value);\n getdates(userid)\n });\n\n function zhuangtai(index: number){\n switch (index) {\n case 0:\n return 'next'\n case 1:\n return 'ing'\n case 2:\n return 'old'\n default:\n return 'old'\n }\n }\n function navto(url: string){\n router.push(url)\n }\n function tolive(data: any){\n let url = '';\n console.log(data)\n if(data.zhuangtai != 1){\n url = '/regime/livedetail?id=' + data.zid\n }else{\n url = '/regime/liveing?id=' + data.zid\n }\n console.log(url)\n router.push(url)\n }\n \n return {\n zhou,\n week,\n navto,\n zhuangtai,\n top,\n times,\n xs,\n tolive,\n lan\n };\n },\n});\n","import { render } from \"./week.vue?vue&type=template&id=36585a16&scoped=true&bindings={}\"\nimport script from \"./week.vue?vue&type=script&lang=ts\"\nexport * from \"./week.vue?vue&type=script&lang=ts\"\n\nimport \"./week.vue?vue&type=style&index=0&id=36585a16&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-36585a16\"\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!./week.vue?vue&type=style&index=0&id=36585a16&lang=scss&scoped=true\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAQCAYAAAAvf+5AAAAABHNCSVQICAgIfAhkiAAAAV5JREFUKFN1kbFKA0EQhmf2Yi6FYGnjG1jYi7VBI0i8BInGQkGSGIxWaiVoYSmpLpeAWFhJklVIk8onENKmSaNVQBsLc3dyO84lKCZ3LiwL/3wz+88M6s1qApFObBsN2Mq9wT8HdWmVEeCIALrC8ZYHmeJrGMsMQExaF/ycA8GLIoy7qVx3Eh6C/tGb1iEilAHo3VO4+pXKP/+Ff8FR5co2Ed6CgAESJe2NwtMPPAaOKpsJAKwDgiCCjGsUHnw9APpiRFaXNKAWB6eBvLxtFG9CQR+ektaCRtQGxFkCdfovGG3U5oVQbc6Z43sZ/vVjbTGiVIuBGfZZcoy8GWxGVtbY+j1DGnlqx00f1APNxKS5CyBqBPTJFcLHE21UzoTAK87ue4p44IXO+MB5wrqsXvNWjjnQI8S4k8z1AivkPd+xmGXTHSeircD6fn8SGnqMSjONJPacgbsJ2dJHGORr3z4OgKCFcVJIAAAAAElFTkSuQmCC\""],"sourceRoot":""}