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

Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/178
This commit is contained in:
luyuan 2020-11-30 14:16:09 +08:00
commit 8c52df7f9b
58 changed files with 96 additions and 81 deletions

View File

@ -7,5 +7,5 @@ module.exports = {
presets: [ presets: [
'@vue/cli-plugin-babel/preset' '@vue/cli-plugin-babel/preset'
], ],
plugins: [...build] plugins: []
} }

File diff suppressed because one or more lines are too long

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-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-3c703972.0e433876.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-4cbe0c82.f0a6b24e.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-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.1d61786d.js" rel="prefetch"><link href="/js/chunk-05d3c41a.066921f7.js" rel="prefetch"><link href="/js/chunk-06828374.7242e6b5.js" rel="prefetch"><link href="/js/chunk-07015098.5d90aafb.js" rel="prefetch"><link href="/js/chunk-14e6a7cb.f2e77fa3.js" rel="prefetch"><link href="/js/chunk-16964057.6e714e68.js" rel="prefetch"><link href="/js/chunk-1abac668.22237c3e.js" rel="prefetch"><link href="/js/chunk-21d6a1b9.c40e7eb0.js" rel="prefetch"><link href="/js/chunk-27236dd2.6a20330a.js" rel="prefetch"><link href="/js/chunk-2a197f09.0a95447f.js" rel="prefetch"><link href="/js/chunk-34d93bb8.087a8305.js" rel="prefetch"><link href="/js/chunk-371ee143.c02f0991.js" rel="prefetch"><link href="/js/chunk-3c703972.f85f2475.js" rel="prefetch"><link href="/js/chunk-3c7641ed.d774315b.js" rel="prefetch"><link href="/js/chunk-46e3b07d.8e4bcdd9.js" rel="prefetch"><link href="/js/chunk-4cbe0c82.377147d6.js" rel="prefetch"><link href="/js/chunk-4e0b884c.1d2b234d.js" rel="prefetch"><link href="/js/chunk-520d8a08.76e69e99.js" rel="prefetch"><link href="/js/chunk-623eb100.342bc1ed.js" rel="prefetch"><link href="/js/chunk-650d0cb1.226a1a3f.js" rel="prefetch"><link href="/js/chunk-68091c98.6bc9c5f0.js" rel="prefetch"><link href="/js/chunk-737c53fe.0d11946a.js" rel="prefetch"><link href="/js/chunk-74d6e86d.511d4db0.js" rel="prefetch"><link href="/js/chunk-74d7e8d4.be65d97e.js" rel="prefetch"><link href="/js/chunk-977f0f52.3cf6cbc9.js" rel="prefetch"><link href="/js/chunk-cc7ac8b2.e32df694.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.850e944a.js" rel="prefetch"><link href="/css/app.634f6e65.css" rel="preload" as="style"><link href="/css/chunk-vendors.d0a33139.css" rel="preload" as="style"><link href="/js/app.c4b1a773.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.634f6e65.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-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-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-3c703972.0e433876.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-4cbe0c82.f0a6b24e.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-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.2e9d9876.js" rel="prefetch"><link href="/js/chunk-05d3c41a.1d8c01a8.js" rel="prefetch"><link href="/js/chunk-06828374.0a34c841.js" rel="prefetch"><link href="/js/chunk-07015098.cd94af61.js" rel="prefetch"><link href="/js/chunk-14e6a7cb.22c48f45.js" rel="prefetch"><link href="/js/chunk-16964057.53d9997e.js" rel="prefetch"><link href="/js/chunk-1abac668.d554bb92.js" rel="prefetch"><link href="/js/chunk-21d6a1b9.7239c69b.js" rel="prefetch"><link href="/js/chunk-27236dd2.6a20330a.js" rel="prefetch"><link href="/js/chunk-2a197f09.a639ef81.js" rel="prefetch"><link href="/js/chunk-34d93bb8.1720a2ff.js" rel="prefetch"><link href="/js/chunk-371ee143.14edd599.js" rel="prefetch"><link href="/js/chunk-3c703972.d65780ed.js" rel="prefetch"><link href="/js/chunk-3c7641ed.5518a539.js" rel="prefetch"><link href="/js/chunk-46e3b07d.9e8798de.js" rel="prefetch"><link href="/js/chunk-4cbe0c82.55bdb95d.js" rel="prefetch"><link href="/js/chunk-4e0b884c.eac26ffe.js" rel="prefetch"><link href="/js/chunk-520d8a08.76e69e99.js" rel="prefetch"><link href="/js/chunk-623eb100.0a0ebf4c.js" rel="prefetch"><link href="/js/chunk-650d0cb1.7932c010.js" rel="prefetch"><link href="/js/chunk-68091c98.6bc9c5f0.js" rel="prefetch"><link href="/js/chunk-737c53fe.358c23d9.js" rel="prefetch"><link href="/js/chunk-74d6e86d.b8bbfde0.js" rel="prefetch"><link href="/js/chunk-74d7e8d4.68462b66.js" rel="prefetch"><link href="/js/chunk-977f0f52.0d90c33e.js" rel="prefetch"><link href="/js/chunk-cc7ac8b2.e162bb81.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.1f12e190.js" rel="prefetch"><link href="/css/app.f67b4e1f.css" rel="preload" as="style"><link href="/css/chunk-vendors.d0a33139.css" rel="preload" as="style"><link href="/js/app.b2649306.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.f67b4e1f.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.c4b1a773.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.b2649306.js"></script></body></html>

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

File diff suppressed because one or more lines are too long

1
dist/js/app.b2649306.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

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-3c703972"],{"317f":function(e,t,c){},"77fb":function(e,t,c){"use strict";c.r(t);var n=c("7a23"),o=Object(n["withScopeId"])("data-v-35c88880"),r=o((function(e,t,c,o,r,i){return Object(n["openBlock"])(),Object(n["createBlock"])("iframe",{id:"iframe",style:{width:"100%",height:"100%"},src:e.url,frameborder:"0"},null,8,["src"])})),i=(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(i["u"])(parseInt(e)).then((function(e){Object(i["M"])(e.roomid),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("f9ee");f.render=r,f.__scopeId="data-v-35c88880";t["default"]=f},f9ee:function(e,t,c){"use strict";c("317f")}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3c703972"],{"317f":function(e,t,c){},"77fb":function(e,t,c){"use strict";c.r(t);var n=c("7a23"),o=Object(n["withScopeId"])("data-v-35c88880"),r=o((function(e,t,c,o,r,i){return Object(n["openBlock"])(),Object(n["createBlock"])("iframe",{id:"iframe",style:{width:"100%",height:"100%"},src:e.url,frameborder:"0"},null,8,["src"])})),i=(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(i["v"])(parseInt(e)).then((function(e){Object(i["N"])(e.roomid),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("f9ee");f.render=r,f.__scopeId="data-v-35c88880";t["default"]=f},f9ee:function(e,t,c){"use strict";c("317f")}}]);
//# sourceMappingURL=chunk-3c703972.f85f2475.js.map //# sourceMappingURL=chunk-3c703972.d65780ed.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["webpack:///./src/views/regime/Liveing.vue","webpack:///./src/views/regime/Liveing.vue?771a","webpack:///./src/views/regime/Liveing.vue?9755","webpack:///./src/views/regime/Liveing.vue?8cdf"],"names":["id","style","src","url","frameborder","setup","query","parseInt","then","res","roomid","value","memberid","escape","store","state","userinfo","name","liveid","render","__scopeId"],"mappings":"2QACI,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,GAC5B,eAAMA,EAAIC,QACVP,EAAIQ,MAAJ,6BAAkCF,EAAIC,OAAtC,qBAAyDD,EAAIG,SAA7D,iBAA8EC,OAAOC,EAAA,KAAMC,MAAMC,SAASC,MAA1G,mBAA0HR,EAAIS,WAK/H,CACHf,U,UCfZ,EAAOgB,OAAS,EAChB,EAAOC,UAAY,kBAEJ,gB,kCCRf","file":"js/chunk-3c703972.f85f2475.js","sourcesContent":["<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=35c88880&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=35c88880&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-35c88880\"\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!./Liveing.vue?vue&type=style&index=0&id=35c88880&lang=scss&scoped=true\""],"sourceRoot":""} {"version":3,"sources":["webpack:///./src/views/regime/Liveing.vue","webpack:///./src/views/regime/Liveing.vue?771a","webpack:///./src/views/regime/Liveing.vue?9755","webpack:///./src/views/regime/Liveing.vue?8cdf"],"names":["id","style","src","url","frameborder","setup","query","parseInt","then","res","roomid","value","memberid","escape","store","state","userinfo","name","liveid","render","__scopeId"],"mappings":"2QACI,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,GAC5B,eAAMA,EAAIC,QACVP,EAAIQ,MAAJ,6BAAkCF,EAAIC,OAAtC,qBAAyDD,EAAIG,SAA7D,iBAA8EC,OAAOC,EAAA,KAAMC,MAAMC,SAASC,MAA1G,mBAA0HR,EAAIS,WAK/H,CACHf,U,UCfZ,EAAOgB,OAAS,EAChB,EAAOC,UAAY,kBAEJ,gB,kCCRf","file":"js/chunk-3c703972.d65780ed.js","sourcesContent":["<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=35c88880&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=35c88880&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-35c88880\"\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!./Liveing.vue?vue&type=style&index=0&id=35c88880&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

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

@ -1187,4 +1187,18 @@ export async function setusername(src: string){
export async function logoutapi() { export async function logoutapi() {
await get("logout"); await get("logout");
} }
export async function authLogin(id:number, type: number, img: string = "") {
const res = await post("authLogin",{
uid: id,
type: 1,
login_type: type,
img: img
})
if(res.code == 0){
return res.data
}else{
message.error(res.msg);
}
}

View File

@ -120,7 +120,7 @@
import { computed, defineComponent, onMounted, reactive, ref } from "vue"; import { computed, defineComponent, onMounted, reactive, ref } from "vue";
import LoginTab from "@/components/login/LoginTab.vue"; import LoginTab from "@/components/login/LoginTab.vue";
import NavTop from "@/components/NavTop.vue" import NavTop from "@/components/NavTop.vue"
import { checksmscode, checkuser, getquhaolist, getwebvideolist, loginpass, sendsms } from '@/api'; import { authLogin, checksmscode, checkuser, getquhaolist, getwebvideolist, loginpass, sendsms } from '@/api';
import { message } from 'ant-design-vue'; import { message } from 'ant-design-vue';
import router from '@/router'; import router from '@/router';
import { useI18n } from '@/utils/i18n'; import { useI18n } from '@/utils/i18n';
@ -271,6 +271,7 @@ export default defineComponent({
window.FB.login(function(response: any){ window.FB.login(function(response: any){
console.log(response, 121212) console.log(response, 121212)
// handle the response // handle the response
authLogin(response.authResponse.userID, index)
}); });
} }