1 line
4.6 KiB
JSON
1 line
4.6 KiB
JSON
{"remainingRequest":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\login\\components\\SocialSignin.vue?vue&type=style&index=0&id=2b33be98&lang=scss&scoped=true","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\login\\components\\SocialSignin.vue","mtime":1718070786055},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\css-loader\\dist\\cjs.js","mtime":1718764958140},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":1718764960674},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\postcss-loader\\src\\index.js","mtime":1718764958994},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\sass-loader\\dist\\cjs.js","mtime":1718764957182},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1718764957200},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\index.js","mtime":1718764959862}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCi5zb2NpYWwtc2lnbnVwLWNvbnRhaW5lciB7CiAgbWFyZ2luOiAyMHB4IDA7CiAgLnNpZ24tYnRuIHsKICAgIGRpc3BsYXk6IGlubGluZS1ibG9jazsKICAgIGN1cnNvcjogcG9pbnRlcjsKICB9CiAgLmljb24gewogICAgY29sb3I6ICNmZmY7CiAgICBmb250LXNpemU6IDI0cHg7CiAgICBtYXJnaW4tdG9wOiA4cHg7CiAgfQogIC53eC1zdmctY29udGFpbmVyLAogIC5xcS1zdmctY29udGFpbmVyIHsKICAgIGRpc3BsYXk6IGlubGluZS1ibG9jazsKICAgIHdpZHRoOiA0MHB4OwogICAgaGVpZ2h0OiA0MHB4OwogICAgbGluZS1oZWlnaHQ6IDQwcHg7CiAgICB0ZXh0LWFsaWduOiBjZW50ZXI7CiAgICBwYWRkaW5nLXRvcDogMXB4OwogICAgYm9yZGVyLXJhZGl1czogNHB4OwogICAgbWFyZ2luLWJvdHRvbTogMjBweDsKICAgIG1hcmdpbi1yaWdodDogNXB4OwogIH0KICAud3gtc3ZnLWNvbnRhaW5lciB7CiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjMjRkYTcwOwogIH0KICAucXEtc3ZnLWNvbnRhaW5lciB7CiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjNkJBMkQ2OwogICAgbWFyZ2luLWxlZnQ6IDUwcHg7CiAgfQp9Cg=="},{"version":3,"sources":["SocialSignin.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"SocialSignin.vue","sourceRoot":"src/views/login/components","sourcesContent":["<template>\r\n <div class=\"social-signup-container\">\r\n <div class=\"sign-btn\" @click=\"wechatHandleClick('wechat')\">\r\n <span class=\"wx-svg-container\"><svg-icon icon-class=\"wechat\" class=\"icon\" /></span>\r\n WeChat\r\n </div>\r\n <div class=\"sign-btn\" @click=\"tencentHandleClick('tencent')\">\r\n <span class=\"qq-svg-container\"><svg-icon icon-class=\"qq\" class=\"icon\" /></span>\r\n QQ\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n// import openWindow from '@/utils/open-window'\r\n\r\nexport default {\r\n name: 'SocialSignin',\r\n methods: {\r\n wechatHandleClick(thirdpart) {\r\n alert('ok')\r\n // this.$store.commit('SET_AUTH_TYPE', thirdpart)\r\n // const appid = 'xxxxx'\r\n // const redirect_uri = encodeURIComponent('xxx/redirect?redirect=' + window.location.origin + '/auth-redirect')\r\n // const url = 'https://open.weixin.qq.com/connect/qrconnect?appid=' + appid + '&redirect_uri=' + redirect_uri + '&response_type=code&scope=snsapi_login#wechat_redirect'\r\n // openWindow(url, thirdpart, 540, 540)\r\n },\r\n tencentHandleClick(thirdpart) {\r\n alert('ok')\r\n // this.$store.commit('SET_AUTH_TYPE', thirdpart)\r\n // const client_id = 'xxxxx'\r\n // const redirect_uri = encodeURIComponent('xxx/redirect?redirect=' + window.location.origin + '/auth-redirect')\r\n // const url = 'https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=' + client_id + '&redirect_uri=' + redirect_uri\r\n // openWindow(url, thirdpart, 540, 540)\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n .social-signup-container {\r\n margin: 20px 0;\r\n .sign-btn {\r\n display: inline-block;\r\n cursor: pointer;\r\n }\r\n .icon {\r\n color: #fff;\r\n font-size: 24px;\r\n margin-top: 8px;\r\n }\r\n .wx-svg-container,\r\n .qq-svg-container {\r\n display: inline-block;\r\n width: 40px;\r\n height: 40px;\r\n line-height: 40px;\r\n text-align: center;\r\n padding-top: 1px;\r\n border-radius: 4px;\r\n margin-bottom: 20px;\r\n margin-right: 5px;\r\n }\r\n .wx-svg-container {\r\n background-color: #24da70;\r\n }\r\n .qq-svg-container {\r\n background-color: #6BA2D6;\r\n margin-left: 50px;\r\n }\r\n }\r\n</style>\r\n"]}]} |