<!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>