Tiada jawapan apabila mengklik butang log masuk
致明
致明 2019-09-23 17:35:44
0
1
1212

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie -stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width ,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" /> ;
<!--[jika lt IE 9]>
<script type="text/javascript" src="__STATIC__/lib/html5.js"></script>
<script type= "text/javascript" src="__STATIC__/lib/respond.min.js"></script>
<![endif]-->
<link href="__STATIC__/static/h-ui /css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="__STATIC__/static/h-ui/css/H-ui.login.css " rel="stylesheet" type="text/css" />
<link href="__STATIC__/static/h-ui.admin/css/style.css" rel="stylesheet" type="text/css " />
<link href="__STATIC__/lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" />
<!--[jika IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
< skrip>DD_belatedPNG.fix('*');</skrip><![endif]-->
<tajuk>后台登录 - H-ui.admin.page v3.0</title>
< ; meta nama = "kata kunci" kandungan = "h-ui.admin v3.0, h-ui 网站 后台模版, 后台模版 下载, 后台 管理 系统 模版 模版, html 后台模版 下载" & gt;
& lt; meta name = "Keterangan " content="H-ui.admin v3.0,是一款由国人开发的轻量级扁平化网站后台模板,完全免费开源的网牁平化网站后台模板,完全免费开源的网琴版,适合中小型CMS后台系统。">
</head>
<body>
<input type="hidden" id="TenantId" name="TenantId" value="" />
<div class="header"></ div>
<div class="loginWraper">
 <div id="loginform" class="loginBox">
  <form class="form form-horizontal" action="index.html" method=" post">
   <div class="row cl">
    <label class="form-label col-xs-3"><i class="Hui-iconfont"> </i></label>
    <div class="formControls col-xs-8">
     <input id="" name="name" type="text" placeholder="账户" kelas ="input-text size-L">
    </div>
   </div>
   <div class="row cl">
    <label class="form-label col-xs-3 "><i class="Hui-iconfont"></i></label>
    <div class="formControls col-xs-8">
     <input id ="" name="password" type="password" placeholder="密码" class="input-text size-L">
    </div>
   </div>
   <div class="row cl">
    <div class="formControls col-xs-8 col-xs-offset-3">
     <input  name="verify" class="input-text size-L" type="text " placeholder="验证码" onblur="if(this.value==''){this.value='验证码:'}" onclick="if(this.value=='验证码:'){this .value='';}" value="" style="width:150px;">
     <img  id="verify_img" src="{:captcha_src()}">
     <a id=" kanbuq" href="javascript:refreshverify();">看不清,换一张</a>
     </div>
   </div>
   <div class="row
    <div class="formControls col-xs-8 col-xs-offset-3">
     <label for="online">
      <input type="checkbox" name="online" id= "online" value="">
      使我保持登录状态</label>
    </div>
  </div>
  <div class="row cl">
  <div class="formControls col-xs-8 col-xs-offset-3">
 <input name="" type="button" id="login" class="btn btn-success radius size-L" value=" Log masuk    Daftar ">

                                                                              </div>
< /form>
</div>
</div>

<script type="text/javascript" src="__STATIC__/lib/jquery/1.9.1/jquery .min.js">< ;/script>
<script type="text/javascript" src="__STATIC__/static/h-ui/js/H-ui.js"></script>
<!--Skrip penyerahan Ajax -- >
<skrip>
$(function(){
//Tambah acara klik pada butang log masuk
$("#login").on('click',function( event){
$. ajax({
type: "POST",//Kaedah penyerahan ialah POST
url: "{:url('checklogin')}",//Tetapkan alamat fail untuk menghantar data pemprosesan
: $ ("borang" ).serialize(), //Serialize pujian dan serahkannya
datatype: 'json', //Tetapkan jenis data penyerahan kepada json
Success: function(data)
{ //Hanya bendera return ialah , dan kemudian proses
        makluman(data);
  }
})
})
})
</skrip>
<!--Skrip untuk memuat semula kod pengesahan-->
<skrip>)({fungsi refresh
)

var ts = Date.parse(new Date())/1000;

// $("verify_img").attr("src" , "/captcha?id="+ts);
//Refresh imej kod Pengesahan
var img = document.getElementById('verify_img');
img.src = "/captcha?id="+ts;

}

</script>

</body>
</ html>


semak log masuk fungsi awam(Minta $permintaan)

> param(); 'message'=>$hasil,'data'=>$data ];                                    
致明
致明

membalas semua(1)
微笑°

Apabila menyerahkan ajax menggunakan pos, terdapat satu parameter yang tidak ditulis.

Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan