|
|
|
@ -35,6 +35,36 @@
|
|
|
|
|
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
|
|
|
|
height: 30px;
|
|
|
|
|
}
|
|
|
|
|
.tabcon1711 input[type=text]:read-only {
|
|
|
|
|
background: #CCCCCC;
|
|
|
|
|
}
|
|
|
|
|
.tabcon1711 .span-btn {
|
|
|
|
|
float: left;
|
|
|
|
|
margin-left: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
background-color: #3d96c8;
|
|
|
|
|
border: 0;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
align-content: center;
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
padding-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
.tabcon1711 .edit-btn {
|
|
|
|
|
background-color: #3d96c8;
|
|
|
|
|
}
|
|
|
|
|
.tabcon1711 .cancel-btn {
|
|
|
|
|
background-color: #999;
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.tabcon1711 .edit-btn:hover {
|
|
|
|
|
background-color: #589dc8;
|
|
|
|
|
}
|
|
|
|
|
.tabcon1711 .cancel-btn {
|
|
|
|
|
background-color: #ababab;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<div class="cf main-place top_nav_list navtab_list">
|
|
|
|
|
<h3 class="page_title">{$meta_title}</h3>
|
|
|
|
@ -60,14 +90,26 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"><i class="mustmark">*</i>真实姓名:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<empty name="records['real_name']">
|
|
|
|
|
<input type="text" class="txt" name="real_name" value="{$records['real_name']|default=''}">
|
|
|
|
|
<else/>
|
|
|
|
|
<input type="text" class="txt" name="real_name" value="{$records['real_name']|default=''}" readonly="readonly">
|
|
|
|
|
<span class="span-btn edit-btn">修改</span>
|
|
|
|
|
<span class="span-btn cancel-btn">取消</span>
|
|
|
|
|
</empty>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"><i class="mustmark">*</i>身份证号码:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<empty name="records['real_name']">
|
|
|
|
|
<input type="text" class="txt" name="idcard" value="{$records['idcard']|default=''}">
|
|
|
|
|
<else/>
|
|
|
|
|
<input type="text" class="txt" name="idcard" value="{$records['idcard']|default=''}" readonly="readonly">
|
|
|
|
|
<span class="span-btn edit-btn">修改</span>
|
|
|
|
|
<span class="span-btn cancel-btn">取消</span>
|
|
|
|
|
</empty>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
@ -146,7 +188,13 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"><i class="mustmark">*</i>电话:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<empty name="records['real_name']">
|
|
|
|
|
<input type="text" class="txt" name="mobile_phone" value="{$records['mobile_phone']|default=''}">
|
|
|
|
|
<else/>
|
|
|
|
|
<input type="text" class="txt" name="mobile_phone" value="{$records['mobile_phone']|default=''}" readonly="readonly">
|
|
|
|
|
<span class="span-btn edit-btn">修改</span>
|
|
|
|
|
<span class="span-btn cancel-btn">取消</span>
|
|
|
|
|
</empty>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
@ -262,6 +310,34 @@
|
|
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
|
showTab();
|
|
|
|
|
|
|
|
|
|
$('.edit-btn').click(function () {
|
|
|
|
|
var thisInput = $(this).prev();
|
|
|
|
|
thisInput.val('');
|
|
|
|
|
thisInput.removeAttr('readonly');
|
|
|
|
|
thisInput.focus();
|
|
|
|
|
$(this).hide();
|
|
|
|
|
$(this).next().show();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('.cancel-btn').click(function () {
|
|
|
|
|
var thisInput = $(this).parent().children('input');
|
|
|
|
|
switch (thisInput.attr('name')) {
|
|
|
|
|
case 'real_name':
|
|
|
|
|
thisInput.val("{$records['real_name']}");
|
|
|
|
|
break;
|
|
|
|
|
case 'idcard':
|
|
|
|
|
thisInput.val("{$records['idcard']}");
|
|
|
|
|
break;
|
|
|
|
|
case 'mobile_phone':
|
|
|
|
|
thisInput.val("{$records['mobile_phone']}");
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
thisInput.attr('readonly', 'readonly');
|
|
|
|
|
$(this).hide();
|
|
|
|
|
$(this).prev().show();
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var userInfo = {userId:"kazaff", md5:"",icon:1}; //用户会话信息
|
|
|
|
|