Commit 7f99b356 authored by agping's avatar agping

后台跳转

parent b3064e66
......@@ -190,6 +190,19 @@
}
.main-modify-password .edit-area>div.input-area{
padding-top: 20px;
}
.add-doc{
width:66px;
height:32px;
border-radius:3px;
border:1px solid rgba(255,255,255,1);
font-size:12px;
color:rgba(255,255,255,1);
line-height: 32px;
text-align: center;
margin-top: 10px;
cursor: pointer;
font-weight: 600;
}
</style>
</head>
......@@ -212,6 +225,9 @@
<li><a href="/index/logout" id="logout">退出登录</a></li>
</ul>
</div>
<div class="add-doc" style="float: right;display: none;">
客户见证
</div>
<div style="display: none;">
<i><img src="/resource/image/icon_address_white@1x.png" class="address_control"></i>
<select class="form-control btn2-city ld-Marheight-city user_city_choose_site new_class" disabled="disabled"> </select>
......@@ -278,13 +294,25 @@
</div>
<script>
window.onload = function(){
//见证客户
if(check_auth('cms/auth/index')){
$(".add-doc").show();
}else{
$(".add-doc").hide();
};
$(document).on('click', '.add-doc', function(e) {
e.preventDefault();
e.stopPropagation();
var str_ = "http://cms.tonglianjituan.com/plugin/tonglian/auth/index?token=" + JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).AuthToken;
window.open(str_);
});
$(document).on('click', '.reset-con', function(e) {
e.preventDefault();
e.stopPropagation();
$('#passwdmodify').val('');//置空密码框内容
$('#new_passwdmodify').val('');
$('#confirm_passwdmodify').val('');
});
});
//修改密码
$(document).on('click', '#confirm_tijiao', function(e) {
$.ajax({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment