xbx #175

Merged
theluyuan merged 2 commits from xbx into master 2020-11-30 13:54:44 +08:00
18 changed files with 42 additions and 19 deletions

4
dist/index.html vendored
View File

@ -61,11 +61,11 @@
left: 0;
z-index: 1001;
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.8486ad93.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.585cb8ac.js" rel="prefetch"><link href="/js/chunk-34d93bb8.087a8305.js" rel="prefetch"><link href="/js/chunk-371ee143.dbf315e3.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.01b0af65.js" rel="prefetch"><link href="/js/chunk-74d6e86d.a8412b66.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.1f5803b8.css" rel="preload" as="style"><link href="/css/chunk-vendors.d0a33139.css" rel="preload" as="style"><link href="/js/app.79504c93.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.1f5803b8.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.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.1f5803b8.css" rel="preload" as="style"><link href="/css/chunk-vendors.d0a33139.css" rel="preload" as="style"><link href="/js/app.77eea2aa.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.1f5803b8.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({
appId: '277826133389999',
autoLogAppEvents: true,
xfbml: true,
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.79504c93.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.77eea2aa.js"></script></body></html>

2
dist/js/app.77eea2aa.js vendored Normal file

File diff suppressed because one or more lines are too long

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

View File

@ -11,7 +11,7 @@
import { defineComponent } from "vue";
import router from "./router";
import store from "./store";
import { getValue } from "./utils/common";
import { getValue, toindex } from "./utils/common";
import { provideI18n } from "@/utils/i18n";
import i18ninit from "@/i18n/init";
import enUS from "ant-design-vue/es/locale/en_US";
@ -54,7 +54,7 @@ export default defineComponent({
console.log("ip");
store.dispatch("getip");
store.commit("setWlan");
router.push("/");
toindex()
}
const zh = zhCN;
const en = enUS;

View File

@ -1,7 +1,7 @@
import router from '@/router';
import store from '@/store';
import { LiveList, LivelistInfo, LoginData, UserInfo } from '@/types';
import { getValue, saveValue } from '@/utils/common';
import { getValue, saveValue, toindex } from '@/utils/common';
import { message } from 'ant-design-vue';
import dayjs from 'dayjs';
import { del, get, post, put, setToken } from './base'
@ -47,7 +47,7 @@ export async function userinfo(){
// console.log(user.data.img)
if(user.code == 1001){
saveValue("token","")
router.push("/")
toindex()
return '未登录';
}

View File

@ -1,3 +1,4 @@
import router from '@/router';
import { message } from 'ant-design-vue';
import { geti18n } from './i18n';
@ -113,3 +114,25 @@ export function provenvideo(file: any, isvideo?: boolean): boolean{
message.error(lan.$t("leixingcuowu"))
return false;
}
export function toindex(){
function GetUrlRelativePath() {
const url = document.location.toString();
const arrUrl = url.split("//");
const start = arrUrl[1].indexOf("/");
let relUrl = arrUrl[1].substring(start); //stop省略截取从start开始到结尾的所有字符
if (relUrl.indexOf("?") != -1) {
relUrl = relUrl.split("?")[0];
}
return relUrl;
}
const url = GetUrlRelativePath()
const list = ['/wblogin','/wbloginerr','/fblogin','/fbloginerr']
for(const i in list){
if(list[i] == url){
return ;
}
}
router.push("/")
}