Merge pull request 'xbx' (#200) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/200
This commit is contained in:
luyuan 2020-12-01 09:12:13 +08:00
commit c9c3e6fbc8
61 changed files with 95 additions and 82 deletions

4
dist/index.html vendored
View File

@ -61,11 +61,11 @@
left: 0; left: 0;
z-index: 1001; z-index: 1001;
display: none; display: none;
}</style><link href="/css/chunk-04e3a2fa.08ef3a2d.css" rel="prefetch"><link href="/css/chunk-05d3c41a.55076a31.css" rel="prefetch"><link href="/css/chunk-06828374.8e285ce3.css" rel="prefetch"><link href="/css/chunk-07015098.03da786d.css" rel="prefetch"><link href="/css/chunk-14e6a7cb.9cba31b5.css" rel="prefetch"><link href="/css/chunk-16964057.37c6c246.css" rel="prefetch"><link href="/css/chunk-1abac668.206f270b.css" rel="prefetch"><link href="/css/chunk-21d6a1b9.85832ac1.css" rel="prefetch"><link href="/css/chunk-2415f10c.0e433876.css" rel="prefetch"><link href="/css/chunk-27236dd2.3992b5d2.css" rel="prefetch"><link href="/css/chunk-2a197f09.b2772b24.css" rel="prefetch"><link href="/css/chunk-2abb3284.0e433876.css" rel="prefetch"><link href="/css/chunk-34d93bb8.4cba2bdb.css" rel="prefetch"><link href="/css/chunk-371ee143.78141e1e.css" rel="prefetch"><link href="/css/chunk-3c7641ed.f87c4e8b.css" rel="prefetch"><link href="/css/chunk-46e3b07d.9259aefd.css" rel="prefetch"><link href="/css/chunk-4e0b884c.48d44d85.css" rel="prefetch"><link href="/css/chunk-520d8a08.dd761c06.css" rel="prefetch"><link href="/css/chunk-623eb100.c75b32b7.css" rel="prefetch"><link href="/css/chunk-650d0cb1.47d38586.css" rel="prefetch"><link href="/css/chunk-68091c98.14c0db2d.css" rel="prefetch"><link href="/css/chunk-737c53fe.6caedc04.css" rel="prefetch"><link href="/css/chunk-74d6e86d.85aed290.css" rel="prefetch"><link href="/css/chunk-74d7e8d4.4686069f.css" rel="prefetch"><link href="/css/chunk-977f0f52.6081abf8.css" rel="prefetch"><link href="/css/chunk-ba7680ac.e4997ba6.css" rel="prefetch"><link href="/css/chunk-cc7ac8b2.cf93d877.css" rel="prefetch"><link href="/css/chunk-da7e1532.17a6e0e0.css" rel="prefetch"><link href="/css/chunk-ebdb96a0.d22f743d.css" rel="prefetch"><link href="/css/chunk-ef207110.a20941ed.css" rel="prefetch"><link href="/js/chunk-04e3a2fa.4e5bf138.js" rel="prefetch"><link href="/js/chunk-05d3c41a.6f8e1d21.js" rel="prefetch"><link href="/js/chunk-06828374.92c104f8.js" rel="prefetch"><link href="/js/chunk-07015098.d8ad6dd8.js" rel="prefetch"><link href="/js/chunk-14e6a7cb.479bc324.js" rel="prefetch"><link href="/js/chunk-16964057.e860e807.js" rel="prefetch"><link href="/js/chunk-1abac668.9b8393d5.js" rel="prefetch"><link href="/js/chunk-21d6a1b9.814769b8.js" rel="prefetch"><link href="/js/chunk-2415f10c.358ecd0c.js" rel="prefetch"><link href="/js/chunk-27236dd2.6a20330a.js" rel="prefetch"><link href="/js/chunk-2a197f09.bd0e194a.js" rel="prefetch"><link href="/js/chunk-2abb3284.26e639da.js" rel="prefetch"><link href="/js/chunk-34d93bb8.0800fe82.js" rel="prefetch"><link href="/js/chunk-371ee143.9a5aa0ef.js" rel="prefetch"><link href="/js/chunk-3c7641ed.c7ac695c.js" rel="prefetch"><link href="/js/chunk-46e3b07d.66e75576.js" rel="prefetch"><link href="/js/chunk-4e0b884c.fabcd8e9.js" rel="prefetch"><link href="/js/chunk-520d8a08.76e69e99.js" rel="prefetch"><link href="/js/chunk-623eb100.aed215a1.js" rel="prefetch"><link href="/js/chunk-650d0cb1.c6b1bce2.js" rel="prefetch"><link href="/js/chunk-68091c98.6bc9c5f0.js" rel="prefetch"><link href="/js/chunk-737c53fe.ae7c1e50.js" rel="prefetch"><link href="/js/chunk-74d6e86d.d8608ed4.js" rel="prefetch"><link href="/js/chunk-74d7e8d4.79663a08.js" rel="prefetch"><link href="/js/chunk-977f0f52.10120fa8.js" rel="prefetch"><link href="/js/chunk-ba7680ac.fbbb94b1.js" rel="prefetch"><link href="/js/chunk-cc7ac8b2.d48d29db.js" rel="prefetch"><link href="/js/chunk-da7e1532.4b71bb2c.js" rel="prefetch"><link href="/js/chunk-ebdb96a0.cbefff6f.js" rel="prefetch"><link href="/js/chunk-ef207110.c1ef4076.js" rel="prefetch"><link href="/css/app.feddf0de.css" rel="preload" as="style"><link href="/css/chunk-vendors.d0a33139.css" rel="preload" as="style"><link href="/js/app.01ee4664.js" rel="preload" as="script"><link href="/js/chunk-vendors.5e652f88.js" rel="preload" as="script"><link href="/css/chunk-vendors.d0a33139.css" rel="stylesheet"><link href="/css/app.feddf0de.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but beelink doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><div id="make"></div><script>window.fbAsyncInit = function () { }</style><link href="/css/chunk-04e3a2fa.08ef3a2d.css" rel="prefetch"><link href="/css/chunk-05d3c41a.55076a31.css" rel="prefetch"><link href="/css/chunk-06828374.8e285ce3.css" rel="prefetch"><link href="/css/chunk-07015098.03da786d.css" rel="prefetch"><link href="/css/chunk-14e6a7cb.9cba31b5.css" rel="prefetch"><link href="/css/chunk-15125f63.0e433876.css" rel="prefetch"><link href="/css/chunk-16964057.37c6c246.css" rel="prefetch"><link href="/css/chunk-1abac668.206f270b.css" rel="prefetch"><link href="/css/chunk-21d6a1b9.85832ac1.css" rel="prefetch"><link href="/css/chunk-2415f10c.0e433876.css" rel="prefetch"><link href="/css/chunk-27236dd2.3992b5d2.css" rel="prefetch"><link href="/css/chunk-2a197f09.b2772b24.css" rel="prefetch"><link href="/css/chunk-34d93bb8.4cba2bdb.css" rel="prefetch"><link href="/css/chunk-371ee143.78141e1e.css" rel="prefetch"><link href="/css/chunk-3c7641ed.f87c4e8b.css" rel="prefetch"><link href="/css/chunk-46e3b07d.9259aefd.css" rel="prefetch"><link href="/css/chunk-4e0b884c.48d44d85.css" rel="prefetch"><link href="/css/chunk-520d8a08.dd761c06.css" rel="prefetch"><link href="/css/chunk-623eb100.c75b32b7.css" rel="prefetch"><link href="/css/chunk-650d0cb1.47d38586.css" rel="prefetch"><link href="/css/chunk-68091c98.14c0db2d.css" rel="prefetch"><link href="/css/chunk-737c53fe.6caedc04.css" rel="prefetch"><link href="/css/chunk-74d6e86d.85aed290.css" rel="prefetch"><link href="/css/chunk-74d7e8d4.4686069f.css" rel="prefetch"><link href="/css/chunk-977f0f52.6081abf8.css" rel="prefetch"><link href="/css/chunk-ba7680ac.e4997ba6.css" rel="prefetch"><link href="/css/chunk-cc7ac8b2.cf93d877.css" rel="prefetch"><link href="/css/chunk-da7e1532.17a6e0e0.css" rel="prefetch"><link href="/css/chunk-ebdb96a0.d22f743d.css" rel="prefetch"><link href="/css/chunk-ef207110.a20941ed.css" rel="prefetch"><link href="/js/chunk-04e3a2fa.5c73601b.js" rel="prefetch"><link href="/js/chunk-05d3c41a.309217b8.js" rel="prefetch"><link href="/js/chunk-06828374.25d7860c.js" rel="prefetch"><link href="/js/chunk-07015098.1714873c.js" rel="prefetch"><link href="/js/chunk-14e6a7cb.5b3cdc94.js" rel="prefetch"><link href="/js/chunk-15125f63.65aeaec7.js" rel="prefetch"><link href="/js/chunk-16964057.77269b28.js" rel="prefetch"><link href="/js/chunk-1abac668.db10ff04.js" rel="prefetch"><link href="/js/chunk-21d6a1b9.a09d0530.js" rel="prefetch"><link href="/js/chunk-2415f10c.46bc3dde.js" rel="prefetch"><link href="/js/chunk-27236dd2.6a20330a.js" rel="prefetch"><link href="/js/chunk-2a197f09.ccd4de73.js" rel="prefetch"><link href="/js/chunk-34d93bb8.5765912a.js" rel="prefetch"><link href="/js/chunk-371ee143.7a9d3662.js" rel="prefetch"><link href="/js/chunk-3c7641ed.3e2a9715.js" rel="prefetch"><link href="/js/chunk-46e3b07d.63da9fd1.js" rel="prefetch"><link href="/js/chunk-4e0b884c.362eb592.js" rel="prefetch"><link href="/js/chunk-520d8a08.76e69e99.js" rel="prefetch"><link href="/js/chunk-623eb100.a6c60ecd.js" rel="prefetch"><link href="/js/chunk-650d0cb1.80c408bc.js" rel="prefetch"><link href="/js/chunk-68091c98.6bc9c5f0.js" rel="prefetch"><link href="/js/chunk-737c53fe.2ca846cd.js" rel="prefetch"><link href="/js/chunk-74d6e86d.0149b918.js" rel="prefetch"><link href="/js/chunk-74d7e8d4.cbdff638.js" rel="prefetch"><link href="/js/chunk-977f0f52.456f221b.js" rel="prefetch"><link href="/js/chunk-ba7680ac.7a2e65a4.js" rel="prefetch"><link href="/js/chunk-cc7ac8b2.fe8f450b.js" rel="prefetch"><link href="/js/chunk-da7e1532.4b71bb2c.js" rel="prefetch"><link href="/js/chunk-ebdb96a0.cbefff6f.js" rel="prefetch"><link href="/js/chunk-ef207110.e64e7ebf.js" rel="prefetch"><link href="/css/app.feddf0de.css" rel="preload" as="style"><link href="/css/chunk-vendors.d0a33139.css" rel="preload" as="style"><link href="/js/app.f4f07040.js" rel="preload" as="script"><link href="/js/chunk-vendors.5e652f88.js" rel="preload" as="script"><link href="/css/chunk-vendors.d0a33139.css" rel="stylesheet"><link href="/css/app.feddf0de.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but beelink doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><div id="make"></div><script>window.fbAsyncInit = function () {
FB.init({ FB.init({
appId: '277826133389999', appId: '277826133389999',
autoLogAppEvents: true, autoLogAppEvents: true,
xfbml: true, xfbml: true,
version: 'v8.0' version: 'v8.0'
}); });
};</script><script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script><script src="/js/cropper.min.js"></script><script src="/js/chunk-vendors.5e652f88.js"></script><script src="/js/app.01ee4664.js"></script></body></html> };</script><script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script><script src="/js/cropper.min.js"></script><script src="/js/chunk-vendors.5e652f88.js"></script><script src="/js/app.f4f07040.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/js/app.f4f07040.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/app.f4f07040.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/js/chunk-15125f63.65aeaec7.js vendored Normal file
View File

@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-15125f63"],{"51ac":function(c,e,n){},c10c:function(c,e,n){"use strict";n.r(e);var t=n("7a23"),o=Object(t["withScopeId"])("data-v-6510aea8"),a=o((function(c,e,n,o,a,u){return Object(t["openBlock"])(),Object(t["createBlock"])("div")})),u=n("79f6"),i=n("6c02"),d=Object(t["defineComponent"])({setup:function(){var c=Object(i["d"])().query.code;Object(u["a"])(c).then((function(c){console.log(c)}))}});n("ca16");d.render=a,d.__scopeId="data-v-6510aea8";e["default"]=d},ca16:function(c,e,n){"use strict";n("51ac")}}]);
//# sourceMappingURL=chunk-15125f63.65aeaec7.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./src/views/login/wblogin.vue","webpack:///./src/views/login/wblogin.vue?0d29","webpack:///./src/views/login/wblogin.vue?668d","webpack:///./src/views/login/wblogin.vue?834c"],"names":["setup","code","query","then","res","console","log","render","__scopeId"],"mappings":"yQACI,yBAAW,U,wBCMA,+BAAiB,CAC5BA,MAD4B,WAEzB,IAAMC,EAAa,iBAAWC,MAAMD,KACpC,eAAYA,GAAME,MAAK,SAACC,GACpBC,QAAQC,IAAIF,S,UCNvB,EAAOG,OAAS,EAChB,EAAOC,UAAY,kBAEJ,gB,kCCRf","file":"js/chunk-15125f63.65aeaec7.js","sourcesContent":["<template>\r\n <div></div>\r\n</template>\r\n<style lang=\"scss\" scoped>\r\n\r\n</style>\r\n<script lang=\"ts\">\r\nimport { accessToken } from \"@/api\";\r\nimport axios from \"axios\";\r\nimport { defineComponent } from \"vue\";\r\nimport { useRoute } from \"vue-router\";\r\n\r\n\r\nexport default defineComponent(({\r\n setup(){\r\n const code: any = useRoute().query.code;\r\n accessToken(code).then((res)=>{\r\n console.log(res)\r\n })\r\n // window.location.href=`https://api.weibo.com/oauth2/access_token?client_id=2754574056&client_secret=2f16267634db2de14cda7891c49aa54a&grant_type=authorization_code&redirect_uri=https://beelink.theluyuan.com/wblogin&code=${code}`\r\n }\r\n}))\r\n</script>","\r\nimport { accessToken } from \"@/api\";\r\nimport axios from \"axios\";\r\nimport { defineComponent } from \"vue\";\r\nimport { useRoute } from \"vue-router\";\r\n\r\n\r\nexport default defineComponent(({\r\n setup(){\r\n const code: any = useRoute().query.code;\r\n accessToken(code).then((res)=>{\r\n console.log(res)\r\n })\r\n // window.location.href=`https://api.weibo.com/oauth2/access_token?client_id=2754574056&client_secret=2f16267634db2de14cda7891c49aa54a&grant_type=authorization_code&redirect_uri=https://beelink.theluyuan.com/wblogin&code=${code}`\r\n }\r\n}))\r\n","import { render } from \"./wblogin.vue?vue&type=template&id=6510aea8&scoped=true&bindings={}\"\nimport script from \"./wblogin.vue?vue&type=script&lang=ts\"\nexport * from \"./wblogin.vue?vue&type=script&lang=ts\"\n\nimport \"./wblogin.vue?vue&type=style&index=0&id=6510aea8&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-6510aea8\"\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!./wblogin.vue?vue&type=style&index=0&id=6510aea8&lang=scss&scoped=true\""],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2415f10c"],{"5db2":function(e,t,c){"use strict";c("879f")},"77fb":function(e,t,c){"use strict";c.r(t);var n=c("7a23"),r=Object(n["withScopeId"])("data-v-77354c4a"),i=r((function(e,t,c,r,i,o){return Object(n["openBlock"])(),Object(n["createBlock"])("iframe",{id:"iframe",style:{width:"100%",height:"100%"},src:e.url,frameborder:"0"},null,8,["src"])})),o=(c("99af"),c("b0c0"),c("79f6")),a=c("0613"),d=c("6c02"),f=Object(n["defineComponent"])({setup:function(){var e=Object(d["d"])().query.id,t=Object(n["ref"])();return e&&"string"==typeof e&&Object(o["v"])(parseInt(e)).then((function(e){t.value="/zhibo.html?roomid=".concat(e.roomid,"&memberid=").concat(e.memberid,"&name=").concat(escape(a["a"].state.userinfo.name),"&liveid=").concat(e.liveid)})),{url:t}}});c("5db2");f.render=i,f.__scopeId="data-v-77354c4a";t["default"]=f},"879f":function(e,t,c){}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2415f10c"],{"5db2":function(e,t,c){"use strict";c("879f")},"77fb":function(e,t,c){"use strict";c.r(t);var n=c("7a23"),r=Object(n["withScopeId"])("data-v-77354c4a"),i=r((function(e,t,c,r,i,o){return Object(n["openBlock"])(),Object(n["createBlock"])("iframe",{id:"iframe",style:{width:"100%",height:"100%"},src:e.url,frameborder:"0"},null,8,["src"])})),o=(c("99af"),c("b0c0"),c("79f6")),a=c("0613"),d=c("6c02"),f=Object(n["defineComponent"])({setup:function(){var e=Object(d["d"])().query.id,t=Object(n["ref"])();return e&&"string"==typeof e&&Object(o["w"])(parseInt(e)).then((function(e){t.value="/zhibo.html?roomid=".concat(e.roomid,"&memberid=").concat(e.memberid,"&name=").concat(escape(a["a"].state.userinfo.name),"&liveid=").concat(e.liveid)})),{url:t}}});c("5db2");f.render=i,f.__scopeId="data-v-77354c4a";t["default"]=f},"879f":function(e,t,c){}}]);
//# sourceMappingURL=chunk-2415f10c.358ecd0c.js.map //# sourceMappingURL=chunk-2415f10c.46bc3dde.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["webpack:///./src/views/regime/Liveing.vue?60be","webpack:///./src/views/regime/Liveing.vue","webpack:///./src/views/regime/Liveing.vue?771a","webpack:///./src/views/regime/Liveing.vue?9755"],"names":["id","style","src","url","frameborder","setup","query","parseInt","then","res","value","roomid","memberid","escape","store","state","userinfo","name","liveid","render","__scopeId"],"mappings":"kHAAA,W,oKCCI,yBAAwF,UAAhFA,GAAG,SAASC,MAAA,6BAAiCC,IAAK,EAAAC,IAAKC,YAAY,K,6ECMhE,+BAAgB,CAC3BC,MAD2B,WAEvB,IAAML,EAAK,iBAAWM,MAAMN,GACtBG,EAAM,mBASZ,OARGH,GAAmB,iBAANA,GACZ,eAAYO,SAASP,IAAKQ,MAAK,SAACC,GAE5BN,EAAIO,MAAJ,6BAAkCD,EAAIE,OAAtC,qBAAyDF,EAAIG,SAA7D,iBAA8EC,OAAOC,EAAA,KAAMC,MAAMC,SAASC,MAA1G,mBAA0HR,EAAIS,WAK/H,CACHf,U,UCfZ,EAAOgB,OAAS,EAChB,EAAOC,UAAY,kBAEJ,gB","file":"js/chunk-2415f10c.358ecd0c.js","sourcesContent":["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!./Liveing.vue?vue&type=style&index=0&id=77354c4a&lang=scss&scoped=true\"","<template>\r\n <iframe id=\"iframe\" style=\"width:100%;height: 100%\" :src=\"url\" frameborder=\"0\"></iframe>\r\n</template>\r\n<style lang=\"scss\" scoped>\r\n\r\n</style>\r\n<script lang=\"ts\">\r\nimport { getliveinfo, luzhi } from '@/api';\r\nimport store from '@/store';\r\nimport { defineComponent, onMounted, ref, watch } from 'vue';\r\nimport { useRoute } from 'vue-router';\r\n\r\n\r\nexport default defineComponent({\r\n setup(){\r\n const id = useRoute().query.id;\r\n const url = ref<string>()\r\n if(id && typeof id == 'string'){\r\n getliveinfo(parseInt(id)).then((res: any)=>{\r\n // luzhi(res.roomid)\r\n url.value = `/zhibo.html?roomid=${res.roomid}&memberid=${res.memberid}&name=${escape(store.state.userinfo.name)}&liveid=${res.liveid}`\r\n })\r\n\r\n }\r\n \r\n return {\r\n url\r\n }\r\n }\r\n})\r\n\r\n</script>","\r\nimport { getliveinfo, luzhi } from '@/api';\r\nimport store from '@/store';\r\nimport { defineComponent, onMounted, ref, watch } from 'vue';\r\nimport { useRoute } from 'vue-router';\r\n\r\n\r\nexport default defineComponent({\r\n setup(){\r\n const id = useRoute().query.id;\r\n const url = ref<string>()\r\n if(id && typeof id == 'string'){\r\n getliveinfo(parseInt(id)).then((res: any)=>{\r\n // luzhi(res.roomid)\r\n url.value = `/zhibo.html?roomid=${res.roomid}&memberid=${res.memberid}&name=${escape(store.state.userinfo.name)}&liveid=${res.liveid}`\r\n })\r\n\r\n }\r\n \r\n return {\r\n url\r\n }\r\n }\r\n})\r\n\r\n","import { render } from \"./Liveing.vue?vue&type=template&id=77354c4a&scoped=true&bindings={}\"\nimport script from \"./Liveing.vue?vue&type=script&lang=ts\"\nexport * from \"./Liveing.vue?vue&type=script&lang=ts\"\n\nimport \"./Liveing.vue?vue&type=style&index=0&id=77354c4a&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-77354c4a\"\n\nexport default script"],"sourceRoot":""} {"version":3,"sources":["webpack:///./src/views/regime/Liveing.vue?60be","webpack:///./src/views/regime/Liveing.vue","webpack:///./src/views/regime/Liveing.vue?771a","webpack:///./src/views/regime/Liveing.vue?9755"],"names":["id","style","src","url","frameborder","setup","query","parseInt","then","res","value","roomid","memberid","escape","store","state","userinfo","name","liveid","render","__scopeId"],"mappings":"kHAAA,W,oKCCI,yBAAwF,UAAhFA,GAAG,SAASC,MAAA,6BAAiCC,IAAK,EAAAC,IAAKC,YAAY,K,6ECMhE,+BAAgB,CAC3BC,MAD2B,WAEvB,IAAML,EAAK,iBAAWM,MAAMN,GACtBG,EAAM,mBASZ,OARGH,GAAmB,iBAANA,GACZ,eAAYO,SAASP,IAAKQ,MAAK,SAACC,GAE5BN,EAAIO,MAAJ,6BAAkCD,EAAIE,OAAtC,qBAAyDF,EAAIG,SAA7D,iBAA8EC,OAAOC,EAAA,KAAMC,MAAMC,SAASC,MAA1G,mBAA0HR,EAAIS,WAK/H,CACHf,U,UCfZ,EAAOgB,OAAS,EAChB,EAAOC,UAAY,kBAEJ,gB","file":"js/chunk-2415f10c.46bc3dde.js","sourcesContent":["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!./Liveing.vue?vue&type=style&index=0&id=77354c4a&lang=scss&scoped=true\"","<template>\r\n <iframe id=\"iframe\" style=\"width:100%;height: 100%\" :src=\"url\" frameborder=\"0\"></iframe>\r\n</template>\r\n<style lang=\"scss\" scoped>\r\n\r\n</style>\r\n<script lang=\"ts\">\r\nimport { getliveinfo, luzhi } from '@/api';\r\nimport store from '@/store';\r\nimport { defineComponent, onMounted, ref, watch } from 'vue';\r\nimport { useRoute } from 'vue-router';\r\n\r\n\r\nexport default defineComponent({\r\n setup(){\r\n const id = useRoute().query.id;\r\n const url = ref<string>()\r\n if(id && typeof id == 'string'){\r\n getliveinfo(parseInt(id)).then((res: any)=>{\r\n // luzhi(res.roomid)\r\n url.value = `/zhibo.html?roomid=${res.roomid}&memberid=${res.memberid}&name=${escape(store.state.userinfo.name)}&liveid=${res.liveid}`\r\n })\r\n\r\n }\r\n \r\n return {\r\n url\r\n }\r\n }\r\n})\r\n\r\n</script>","\r\nimport { getliveinfo, luzhi } from '@/api';\r\nimport store from '@/store';\r\nimport { defineComponent, onMounted, ref, watch } from 'vue';\r\nimport { useRoute } from 'vue-router';\r\n\r\n\r\nexport default defineComponent({\r\n setup(){\r\n const id = useRoute().query.id;\r\n const url = ref<string>()\r\n if(id && typeof id == 'string'){\r\n getliveinfo(parseInt(id)).then((res: any)=>{\r\n // luzhi(res.roomid)\r\n url.value = `/zhibo.html?roomid=${res.roomid}&memberid=${res.memberid}&name=${escape(store.state.userinfo.name)}&liveid=${res.liveid}`\r\n })\r\n\r\n }\r\n \r\n return {\r\n url\r\n }\r\n }\r\n})\r\n\r\n","import { render } from \"./Liveing.vue?vue&type=template&id=77354c4a&scoped=true&bindings={}\"\nimport script from \"./Liveing.vue?vue&type=script&lang=ts\"\nexport * from \"./Liveing.vue?vue&type=script&lang=ts\"\n\nimport \"./Liveing.vue?vue&type=style&index=0&id=77354c4a&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-77354c4a\"\n\nexport default script"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2abb3284"],{"5f5e":function(e,c,t){"use strict";t("a822")},a822:function(e,c,t){},c10c:function(e,c,t){"use strict";t.r(c);var n=t("7a23"),o=Object(n["withScopeId"])("data-v-39b7887d"),a=o((function(e,c,t,o,a,i){return Object(n["openBlock"])(),Object(n["createBlock"])("div")})),i=t("6c02"),d=Object(n["defineComponent"])({setup:function(){var e=Object(i["d"])().query.code;window.location.href="https://api.weibo.com/oauth2/access_token?client_id=2754574056&client_secret=2f16267634db2de14cda7891c49aa54a&grant_type=authorization_code&redirect_uri=https://beelink.theluyuan.com/wblogin&code=".concat(e)}});t("5f5e");d.render=a,d.__scopeId="data-v-39b7887d";c["default"]=d}}]);
//# sourceMappingURL=chunk-2abb3284.26e639da.js.map

View File

@ -1 +0,0 @@
{"version":3,"sources":["webpack:///./src/views/login/wblogin.vue?40cf","webpack:///./src/views/login/wblogin.vue","webpack:///./src/views/login/wblogin.vue?0d29","webpack:///./src/views/login/wblogin.vue?668d"],"names":["setup","code","query","window","location","href","render","__scopeId"],"mappings":"kHAAA,W,yLCCI,yBAAW,U,YCKA,+BAAiB,CAC5BA,MAD4B,WAEzB,IAAMC,EAAQ,iBAAWC,MAAMD,KAC/BE,OAAOC,SAASC,KAAhB,8MAA4NJ,M,UCJnO,EAAOK,OAAS,EAChB,EAAOC,UAAY,kBAEJ","file":"js/chunk-2abb3284.26e639da.js","sourcesContent":["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!./wblogin.vue?vue&type=style&index=0&id=39b7887d&lang=scss&scoped=true\"","<template>\r\n <div></div>\r\n</template>\r\n<style lang=\"scss\" scoped>\r\n\r\n</style>\r\n<script lang=\"ts\">\r\nimport axios from \"axios\";\r\nimport { defineComponent } from \"vue\";\r\nimport { useRoute } from \"vue-router\";\r\n\r\n\r\nexport default defineComponent(({\r\n setup(){\r\n const code = useRoute().query.code;\r\n window.location.href=`https://api.weibo.com/oauth2/access_token?client_id=2754574056&client_secret=2f16267634db2de14cda7891c49aa54a&grant_type=authorization_code&redirect_uri=https://beelink.theluyuan.com/wblogin&code=${code}`\r\n }\r\n}))\r\n</script>","\r\nimport axios from \"axios\";\r\nimport { defineComponent } from \"vue\";\r\nimport { useRoute } from \"vue-router\";\r\n\r\n\r\nexport default defineComponent(({\r\n setup(){\r\n const code = useRoute().query.code;\r\n window.location.href=`https://api.weibo.com/oauth2/access_token?client_id=2754574056&client_secret=2f16267634db2de14cda7891c49aa54a&grant_type=authorization_code&redirect_uri=https://beelink.theluyuan.com/wblogin&code=${code}`\r\n }\r\n}))\r\n","import { render } from \"./wblogin.vue?vue&type=template&id=39b7887d&scoped=true&bindings={}\"\nimport script from \"./wblogin.vue?vue&type=script&lang=ts\"\nexport * from \"./wblogin.vue?vue&type=script&lang=ts\"\n\nimport \"./wblogin.vue?vue&type=style&index=0&id=39b7887d&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-39b7887d\"\n\nexport default script"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ba7680ac"],{1009:function(e,t,n){"use strict";n("b0c0");var c=n("7a23"),a=Object(c["withScopeId"])("data-v-6dd528d6");Object(c["pushScopeId"])("data-v-6dd528d6");var o={class:"nav-bottom"};Object(c["popScopeId"])();var r=a((function(e,t,n,a,r,i){return Object(c["openBlock"])(),Object(c["createBlock"])("div",o,[Object(c["createVNode"])("div",{class:"nav-container",style:e.color},[(Object(c["openBlock"])(!0),Object(c["createBlock"])(c["Fragment"],null,Object(c["renderList"])(e.navArray,(function(t,n){return Object(c["openBlock"])(),Object(c["createBlock"])("div",{key:n,class:"nav-item",onClick:function(n){return e.navto(t.route)}},[Object(c["createVNode"])("div",{class:t.route==e.nowroute?"active":""},Object(c["toDisplayString"])(e.lan.$t(t.name)),3)],8,["onClick"])})),128))],4),Object(c["createVNode"])("div",{class:"copyright",style:e.color},Object(c["toDisplayString"])(e.lan.$t("banquan")),5)])})),i=n("afbc"),u=n("5699"),l=n("6c02"),s=Object(c["defineComponent"])({props:{color:Object},setup:function(){var e=Object(u["c"])(),t=Object(l["d"])(),n=Object(c["ref"])(t.path),a=[{name:"zhiboguanli",route:"/regime/live"},{name:"shipinguanli",route:"/regime/video"},{name:"dingyuezheguanli",route:"/regime/subscriber"},{name:"gerenzhongxin",route:"/mine/archives"}];function o(e){n.value=e,i["a"].push(e)}return{navArray:a,navto:o,nowroute:n,lan:e}}});n("9af0");s.render=r,s.__scopeId="data-v-6dd528d6";t["a"]=s},"4c53":function(e,t,n){"use strict";var c=n("23e7"),a=n("857a"),o=n("af03");c({target:"String",proto:!0,forced:o("sub")},{sub:function(){return a(this,"sub","","")}})},"857a":function(e,t,n){var c=n("1d80"),a=/"/g;e.exports=function(e,t,n,o){var r=String(c(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+String(o).replace(a,"&quot;")+'"'),i+">"+r+"</"+t+">"}},"9af0":function(e,t,n){"use strict";n("ac9a")},ac9a:function(e,t,n){},af03:function(e,t,n){var c=n("d039");e.exports=function(e){return c((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},e363:function(e,t,n){},e678:function(e,t,n){"use strict";n.r(t);n("4c53");var c=n("7a23"),a=Object(c["withScopeId"])("data-v-697aa568");Object(c["pushScopeId"])("data-v-697aa568");var o={class:"aboutus"},r={class:"tabs"},i=Object(c["createVNode"])("div",{class:"line"},null,-1),u={key:0,class:"content"},l={key:1},s={class:"fankui"},b={class:"label"};Object(c["popScopeId"])();var d=a((function(e,t,n,a,d,v){var j=Object(c["resolveComponent"])("a-textarea"),O=Object(c["resolveComponent"])("NavBottom");return Object(c["openBlock"])(),Object(c["createBlock"])("div",o,[Object(c["createVNode"])("div",r,[Object(c["createVNode"])("div",{class:1==e.tabindex?"on":"",onClick:t[1]||(t[1]=function(t){return e.tabchange(1)})},Object(c["toDisplayString"])(e.lan.$t("fuwutiaokuan")),3),Object(c["createVNode"])("div",{class:2==e.tabindex?"on":"",onClick:t[2]||(t[2]=function(t){return e.tabchange(2)})},Object(c["toDisplayString"])(e.lan.$t("yinsizhengce")),3),Object(c["createVNode"])("div",{class:3==e.tabindex?"on":"",onClick:t[3]||(t[3]=function(t){return e.tabchange(3)})},Object(c["toDisplayString"])(e.lan.$t("yijianfankui")),3)]),i,1==e.tabindex||2==e.tabindex?(Object(c["openBlock"])(),Object(c["createBlock"])("div",u,[Object(c["createVNode"])("div",null,Object(c["toDisplayString"])(e.lan.$t("guanyuwomen")),1)])):(Object(c["openBlock"])(),Object(c["createBlock"])("div",l,[Object(c["createVNode"])("div",s,[Object(c["createVNode"])("div",b,Object(c["toDisplayString"])(e.lan.$t("yijianfankui")),1),Object(c["createVNode"])("div",null,[Object(c["createVNode"])(j,{value:e.value,"onUpdate:value":t[4]||(t[4]=function(t){return e.value=t}),placeholder:e.lan.$t("shurufankui"),rows:10},null,8,["value","placeholder"])])]),Object(c["createVNode"])("div",{class:"sub",onClick:t[5]||(t[5]=function(){return e.sub.apply(e,arguments)})},Object(c["toDisplayString"])(e.lan.$t("tijiaofankui")),1)])),Object(c["createVNode"])(O,{class:"navbottom"})])})),v=(n("a9e3"),n("1009")),j=n("79f6"),O=n("6c02"),p=n("5699"),f=Object(c["defineComponent"])({name:"Aboutus",components:{NavBottom:v["a"]},setup:function(){var e=Object(p["c"])(),t=Object(c["ref"])(1),n=Object(c["ref"])("");console.log(Object(O["d"])().query);var a=Object(O["d"])().query.selected;Object(O["d"])().query.selected&&(t.value=Number(a));var o=function(e){console.log(e),t.value=e};function r(){Object(j["n"])(n.value)}return{tabchange:o,tabindex:t,sub:r,value:n,lan:e}}});n("f191");f.render=d,f.__scopeId="data-v-697aa568";t["default"]=f},f191:function(e,t,n){"use strict";n("e363")}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ba7680ac"],{1009:function(e,t,n){"use strict";n("b0c0");var c=n("7a23"),a=Object(c["withScopeId"])("data-v-6dd528d6");Object(c["pushScopeId"])("data-v-6dd528d6");var o={class:"nav-bottom"};Object(c["popScopeId"])();var r=a((function(e,t,n,a,r,i){return Object(c["openBlock"])(),Object(c["createBlock"])("div",o,[Object(c["createVNode"])("div",{class:"nav-container",style:e.color},[(Object(c["openBlock"])(!0),Object(c["createBlock"])(c["Fragment"],null,Object(c["renderList"])(e.navArray,(function(t,n){return Object(c["openBlock"])(),Object(c["createBlock"])("div",{key:n,class:"nav-item",onClick:function(n){return e.navto(t.route)}},[Object(c["createVNode"])("div",{class:t.route==e.nowroute?"active":""},Object(c["toDisplayString"])(e.lan.$t(t.name)),3)],8,["onClick"])})),128))],4),Object(c["createVNode"])("div",{class:"copyright",style:e.color},Object(c["toDisplayString"])(e.lan.$t("banquan")),5)])})),i=n("afbc"),u=n("5699"),l=n("6c02"),s=Object(c["defineComponent"])({props:{color:Object},setup:function(){var e=Object(u["c"])(),t=Object(l["d"])(),n=Object(c["ref"])(t.path),a=[{name:"zhiboguanli",route:"/regime/live"},{name:"shipinguanli",route:"/regime/video"},{name:"dingyuezheguanli",route:"/regime/subscriber"},{name:"gerenzhongxin",route:"/mine/archives"}];function o(e){n.value=e,i["a"].push(e)}return{navArray:a,navto:o,nowroute:n,lan:e}}});n("9af0");s.render=r,s.__scopeId="data-v-6dd528d6";t["a"]=s},"4c53":function(e,t,n){"use strict";var c=n("23e7"),a=n("857a"),o=n("af03");c({target:"String",proto:!0,forced:o("sub")},{sub:function(){return a(this,"sub","","")}})},"857a":function(e,t,n){var c=n("1d80"),a=/"/g;e.exports=function(e,t,n,o){var r=String(c(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+String(o).replace(a,"&quot;")+'"'),i+">"+r+"</"+t+">"}},"9af0":function(e,t,n){"use strict";n("ac9a")},ac9a:function(e,t,n){},af03:function(e,t,n){var c=n("d039");e.exports=function(e){return c((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},e363:function(e,t,n){},e678:function(e,t,n){"use strict";n.r(t);n("4c53");var c=n("7a23"),a=Object(c["withScopeId"])("data-v-697aa568");Object(c["pushScopeId"])("data-v-697aa568");var o={class:"aboutus"},r={class:"tabs"},i=Object(c["createVNode"])("div",{class:"line"},null,-1),u={key:0,class:"content"},l={key:1},s={class:"fankui"},b={class:"label"};Object(c["popScopeId"])();var d=a((function(e,t,n,a,d,v){var j=Object(c["resolveComponent"])("a-textarea"),O=Object(c["resolveComponent"])("NavBottom");return Object(c["openBlock"])(),Object(c["createBlock"])("div",o,[Object(c["createVNode"])("div",r,[Object(c["createVNode"])("div",{class:1==e.tabindex?"on":"",onClick:t[1]||(t[1]=function(t){return e.tabchange(1)})},Object(c["toDisplayString"])(e.lan.$t("fuwutiaokuan")),3),Object(c["createVNode"])("div",{class:2==e.tabindex?"on":"",onClick:t[2]||(t[2]=function(t){return e.tabchange(2)})},Object(c["toDisplayString"])(e.lan.$t("yinsizhengce")),3),Object(c["createVNode"])("div",{class:3==e.tabindex?"on":"",onClick:t[3]||(t[3]=function(t){return e.tabchange(3)})},Object(c["toDisplayString"])(e.lan.$t("yijianfankui")),3)]),i,1==e.tabindex||2==e.tabindex?(Object(c["openBlock"])(),Object(c["createBlock"])("div",u,[Object(c["createVNode"])("div",null,Object(c["toDisplayString"])(e.lan.$t("guanyuwomen")),1)])):(Object(c["openBlock"])(),Object(c["createBlock"])("div",l,[Object(c["createVNode"])("div",s,[Object(c["createVNode"])("div",b,Object(c["toDisplayString"])(e.lan.$t("yijianfankui")),1),Object(c["createVNode"])("div",null,[Object(c["createVNode"])(j,{value:e.value,"onUpdate:value":t[4]||(t[4]=function(t){return e.value=t}),placeholder:e.lan.$t("shurufankui"),rows:10},null,8,["value","placeholder"])])]),Object(c["createVNode"])("div",{class:"sub",onClick:t[5]||(t[5]=function(){return e.sub.apply(e,arguments)})},Object(c["toDisplayString"])(e.lan.$t("tijiaofankui")),1)])),Object(c["createVNode"])(O,{class:"navbottom"})])})),v=(n("a9e3"),n("1009")),j=n("79f6"),O=n("6c02"),p=n("5699"),f=Object(c["defineComponent"])({name:"Aboutus",components:{NavBottom:v["a"]},setup:function(){var e=Object(p["c"])(),t=Object(c["ref"])(1),n=Object(c["ref"])("");console.log(Object(O["d"])().query);var a=Object(O["d"])().query.selected;Object(O["d"])().query.selected&&(t.value=Number(a));var o=function(e){console.log(e),t.value=e};function r(){Object(j["o"])(n.value)}return{tabchange:o,tabindex:t,sub:r,value:n,lan:e}}});n("f191");f.render=d,f.__scopeId="data-v-697aa568";t["default"]=f},f191:function(e,t,n){"use strict";n("e363")}}]);
//# sourceMappingURL=chunk-ba7680ac.fbbb94b1.js.map //# sourceMappingURL=chunk-ba7680ac.7a2e65a4.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1203,3 +1203,12 @@ export async function authLogin(id:number, type: number, img: string = "") {
message.error(res.msg); message.error(res.msg);
} }
} }
export async function accessToken(code:string) {
const res = await get("accessToken", {code})
if(res.code == 0){
return res.data
}else{
message.error(res.msg);
}
}

View File

@ -5,6 +5,7 @@
</style> </style>
<script lang="ts"> <script lang="ts">
import { accessToken } from "@/api";
import axios from "axios"; import axios from "axios";
import { defineComponent } from "vue"; import { defineComponent } from "vue";
import { useRoute } from "vue-router"; import { useRoute } from "vue-router";
@ -12,8 +13,11 @@ import { useRoute } from "vue-router";
export default defineComponent(({ export default defineComponent(({
setup(){ setup(){
const code = useRoute().query.code; const code: any = useRoute().query.code;
window.location.href=`https://api.weibo.com/oauth2/access_token?client_id=2754574056&client_secret=2f16267634db2de14cda7891c49aa54a&grant_type=authorization_code&redirect_uri=https://beelink.theluyuan.com/wblogin&code=${code}` accessToken(code).then((res)=>{
console.log(res)
})
// window.location.href=`https://api.weibo.com/oauth2/access_token?client_id=2754574056&client_secret=2f16267634db2de14cda7891c49aa54a&grant_type=authorization_code&redirect_uri=https://beelink.theluyuan.com/wblogin&code=${code}`
} }
})) }))
</script> </script>