Merge pull request '重新添加' (#171) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/171
This commit is contained in:
luyuan 2020-11-30 10:37:23 +08:00
commit e11d849eaa
2 changed files with 5 additions and 2 deletions

View File

@ -9,7 +9,6 @@
<title><%= htmlWebpackPlugin.options.title %></title> <title><%= htmlWebpackPlugin.options.title %></title>
<link href="https://imgcache.qq.com/open/qcloud/video/tcplayer/tcplayer.css" rel="stylesheet"> <link href="https://imgcache.qq.com/open/qcloud/video/tcplayer/tcplayer.css" rel="stylesheet">
<script data-ad-client="ca-pub-7145171713084445" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script data-ad-client="ca-pub-7145171713084445" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 如需在IE8、9浏览器中初始化播放器浏览器需支持Flash并在页面中引入 --> <!-- 如需在IE8、9浏览器中初始化播放器浏览器需支持Flash并在页面中引入 -->
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="//imgcache.qq.com/open/qcloud/video/tcplayer/ie8/videojs-ie8.js"></script> <script src="//imgcache.qq.com/open/qcloud/video/tcplayer/ie8/videojs-ie8.js"></script>

View File

@ -91,7 +91,7 @@
</div> </div>
<div class="icons"> <div class="icons">
<img src="@/static/images/weixin.png" alt="" class="icon" /> <img src="@/static/images/weixin.png" alt="" class="icon" />
<img src="@/static/images/weibo.png" alt="" class="icon" /> <img src="@/static/images/weibo.png" alt="" class="icon" @click="slogin(2)" />
<img src="@/static/images/facebook.png" alt="" class="icon" @click="slogin(3)" /> <img src="@/static/images/facebook.png" alt="" class="icon" @click="slogin(3)" />
</div> </div>
</div> </div>
@ -126,6 +126,7 @@ import router from '@/router';
import { useI18n } from '@/utils/i18n'; import { useI18n } from '@/utils/i18n';
import store from '@/store'; import store from '@/store';
import { getValue } from '@/utils/common'; import { getValue } from '@/utils/common';
import { locale } from "dayjs";
export default defineComponent({ export default defineComponent({
name: "Login", name: "Login",
@ -273,6 +274,9 @@ export default defineComponent({
}); });
} }
if(index == 2){
window.location.href="https://api.weibo.com/oauth2/authorize?client_id=2754574056&response_type=code&redirect_uri=https://beelink.theluyuan.com/"
}
} }
return { return {