authorization_view.html
1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
{include file="public/head"/}
<style>
.start {
padding: 0 0.34rem 0.5rem;
}
.logo_box {
width: 100%;
height: 10rem;
}
.logo {
width: 1.48rem;
height: 1.48rem;
text-align: center;
line-height: 1.48rem;
background-color: #FB7A17;
color: #fff;
font-size: 0.72rem;
border-radius: 0.15rem;
}
.all_msg {
text-align: center;
height: 20%;
}
.tips {
color: #3D444D;
font-size: 0.32rem;
font-weight: 800;
}
.personal_msg {
color: #5B5E63;
font-size: 0.28rem;
padding: 0.34rem 0 0.5rem;
}
.btn {
width: 6.84rem;
position: fixed;
bottom: 0.5rem;
left: 0;
margin: 0 0.34rem;
}
</style>
<body>
<!-- 授权页 -->
<div class="start">
<!-- logo -->
<div class="logo_box layout align_center justify_center">
<div class="logo">广</div>
</div>
<div class="all_msg">
<div class="tips">网页由该公众号开发,请授权以下信息</div>
<div class="personal_msg">· 获得你的公开信息(昵称、头像等)</div>
<div class="btn" onclick="login()">立即登录</div>
</div>
</div>
{include file="public/js" /}
</body>
<script>
function login(){
window.location.href="{:url('home/user/authorization',array('target_url'=>$target_url))}";
}
</script>
</html>