f2251464 by 任超

style:资料审核

1 parent a8e1bd1d
......@@ -382,6 +382,13 @@ div.footer .system_service ul li a:hover {
font-size: 14px;
border-radius: 4px;
}
.personalCenter {
display: none!important;
}
.show{
display: inline-block!important;
}
/* card样式 */
.cardItem {
background: #FFFFFF;
......
......@@ -130,3 +130,11 @@
left: 65px;
top: 40px;
}
.complete {
text-align: center;
margin-top: 20px;
}
.complete p {
margin-bottom: 5px;
color: #0091FF;
}
\ No newline at end of file
......
......@@ -33,7 +33,7 @@ document.writeln(" </div>");
document.writeln("");
document.writeln(" <ul class=\'login\'>");
document.writeln(" <!-- <li>登录</li> -->");
document.writeln(" <li>");
document.writeln(" <li class='personalCenter'>");
document.writeln(" <a href=\'"+localhostPaht+"/staticViews/grzx.html\'>个人中心</a>");
document.writeln(" </li>");
document.writeln(" <li>");
......
......@@ -19,11 +19,10 @@ function login(){
});
})
}
// 时间委托解决冒泡
$(document).off().on('click', '.PersonLogin', function(){
  //所执行的代码
$(document).on('click', '.PersonLogin', function(){
login()
});
})
// 点击登陆的时候
$(document).on('click', '#loginButton', function(){
var userLoginRequest = {}
......@@ -36,6 +35,9 @@ $(document).on('click', '#loginButton', function(){
});
$(function(){
$('.PersonLogin').html(getCookie().username)
if(getCookie().username) {
$('.personalCenter').addClass('show')
}
})
// 点击注册的时候
$(document).on('click', '#registerButton', function(){
......@@ -52,10 +54,10 @@ function clicklogin(data){
dataType: "json",
data:JSON.stringify(data),//***关键******
success: function (result) {//返回数据根据结果进行相应的处理
console.log(222,result)
if(result.code ==200 && result.data!==null){
setCookie(result.data)
$('.PersonLogin').html(getCookie().username)
setCookie(result.data);
$('.personalCenter').addClass('show')
$('.PersonLogin').html(getCookie().username);
}else if(result.code ==500){
window.open(`${localhostPaht}/staticViews/register.html`,'_self')
}
......
......@@ -4,7 +4,6 @@ var bsmCl;
// 领证方式
var lzfs = 1;
layui.use('element', function () {
let element = layui.element;
});
$(function () {
//设置步骤条信息
......
......@@ -63,7 +63,6 @@
<div class="layui-form-item submitbutton_con">
<div class="layui-input-block submitbutton">
<button type="reset" class="layui-btn layui-btn-primary reset">重 置</button>
<button type="submit" class="layui-btn layui-btn-normal submit" lay-submit=""
lay-filter="check">
</button>
......
......@@ -57,6 +57,10 @@
</p>
</li>
</ul>
<div class="complete">
<p>如您已经完成办理请点击确定</p>
<button type="button" class="layui-btn layui-btn-radius layui-btn-normal">确定</button>
</div>
</div>
<!-- ------------受理信息-------------- -->
<div class="acceptance_information">
......
......@@ -132,13 +132,13 @@
<div class="layui-input-block ssq">
<h2></h2>
<div class="layui-inline layui-select-default" style="margin-right: 10px;">
<select name="province" class="Pselected" id="province" disabled data-area="陕西省"" lay-filter="province">
<select name="province" class="Pselected" id="province" data-area="陕西省"" lay-filter="province">
<option value="">选择省</option>
</select>
</div>
<h2></h2>
<div class="layui-inline selected layui-select-default">
<select name="city" class="Cselected" id="city" disabled data-area="西安市">
<select name="city" class="Cselected" id="city" data-area="西安市">
<option value="">选择市</option>
</select>
</div>
......