Commit 7f99b356 authored by agping's avatar agping

后台跳转

parent b3064e66
...@@ -190,6 +190,19 @@ ...@@ -190,6 +190,19 @@
} }
.main-modify-password .edit-area>div.input-area{ .main-modify-password .edit-area>div.input-area{
padding-top: 20px; 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> </style>
</head> </head>
...@@ -212,6 +225,9 @@ ...@@ -212,6 +225,9 @@
<li><a href="/index/logout" id="logout">退出登录</a></li> <li><a href="/index/logout" id="logout">退出登录</a></li>
</ul> </ul>
</div> </div>
<div class="add-doc" style="float: right;display: none;">
客户见证
</div>
<div style="display: none;"> <div style="display: none;">
<i><img src="/resource/image/icon_address_white@1x.png" class="address_control"></i> <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> <select class="form-control btn2-city ld-Marheight-city user_city_choose_site new_class" disabled="disabled"> </select>
...@@ -278,6 +294,18 @@ ...@@ -278,6 +294,18 @@
</div> </div>
<script> <script>
window.onload = function(){ 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) { $(document).on('click', '.reset-con', function(e) {
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
......
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