切换导航条
此项目
正在载入...
登录
景龙
/
xingqiu
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
景龙
6 years ago
提交
62dc0a7e3ce543dcdaf86c5093274bbb896e78c0
1 个父辈
ac633f73
1 个管道 的构建
通过
耗费 0 秒
测试微信移动端登录
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
12 行增加
和
7 行删除
public/themes/simpleboot3_mobile/portal/login/login.html
public/themes/simpleboot3_mobile/public/assets/js/public.js
public/themes/simpleboot3_mobile/portal/login/login.html
查看文件 @
62dc0a7
...
...
@@ -43,16 +43,21 @@
</div>
<div
class=
"index_tenth_seconds"
>
<div
class=
"index_tenth_second"
>
<
a
href=
"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3f1a38ee1e74f2bc&redirect_uri=http://www.starplanet.cn/portal/login/wx_login_mobile&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect
"
>
<
form
action=
"https://open.weixin.qq.com/connect/oauth2/authorize"
method=
"GET"
id=
"wx_mobile_form
"
>
<div
class=
"index_tenth_second_one"
>
<div
class=
"index_tenth_second_img"
>
<div
class=
"index_tenth_second_img"
id=
"wx_mobile_login"
>
<img
src=
"__TMPL__/public/assets/images/cicon_71@2x.png"
alt=
""
/>
</div>
<div
class=
"index_tenth_second_title"
>
微信登录
</div>
<input
type=
"hidden"
name=
"appid"
value=
"wx3f1a38ee1e74f2bc"
>
<input
type=
"hidden"
name=
"redirect_uri"
value=
"http://www.starplanet.cn/portal/login/wx_login_mobile"
>
<input
type=
"hidden"
name=
"response_type"
value=
"code"
>
<input
type=
"hidden"
name=
"scope"
value=
"snsapi_userinfo"
>
<input
type=
"hidden"
name=
"state"
value=
"STATE#wechat_redirect"
>
</div>
</
a
>
</
form
>
<form
action=
"https://api.weibo.com/oauth2/authorize"
method=
"POST"
id=
"wb_form"
>
<div
class=
"index_tenth_second_one"
>
...
...
public/themes/simpleboot3_mobile/public/assets/js/public.js
查看文件 @
62dc0a7
...
...
@@ -266,10 +266,10 @@ $(function() {
$
(
'#wb_form'
).
submit
();
});
//微信登录(暂时无用)
// $('#wx_login').click(function(){
// window.location.href = '/portal/login/wx_login_mobile';
// });
//微信移动端登录
$
(
'#wx_mobile_login'
).
click
(
function
(){
$
(
'#wx_mobile_form'
).
submit
();
});
//微信分享
$
(
'#wx_share,#wx_share_video'
).
click
(
function
(){
...
...
请
注册
或
登录
后发表评论