首页修改

This commit is contained in:
caoqianming 2022-11-22 11:19:49 +08:00
parent bf004376de
commit e1ba5ff491
2 changed files with 6 additions and 4 deletions

View File

@ -249,7 +249,9 @@
var headimgurl = $('#userindex').attr('headimgurl'); var headimgurl = $('#userindex').attr('headimgurl');
var issuper = {{ issuper }}; var issuper = {{ issuper }};
if (issuper == 1) { $('#setupb').show(); $('#bindwx').hide() } if (issuper == 1) { $('#setupb').show(); $('#bindwx').hide() }
if ((openid == 0 || openid == 'None') && issuper != 1) { $('#wxdg').dialog(); } else { $('#bindwx').text('解绑微信'); }; if ((openid == 0 || openid == 'None') && issuper != 1) {
//$('#wxdg').dialog();
} else { $('#bindwx').text('解绑微信'); };
if (headimgurl != 0 && headimgurl != 'None' && issuper != 1) { $('#headimg').attr('src', headimgurl); } if (headimgurl != 0 && headimgurl != 'None' && issuper != 1) { $('#headimg').attr('src', headimgurl); }
function logout() { function logout() {
$.messager.confirm('系统提示', '您确定要退出本次登录吗?', function (r) { $.messager.confirm('系统提示', '您确定要退出本次登录吗?', function (r) {

View File

@ -276,9 +276,9 @@
source.addFeature(polygonFeature) source.addFeature(polygonFeature)
} }
function opendetail(id) { function opendetail(id) {
closepopup() //closepopup()
var myw = screen.availWidth * 0.5; //var myw = screen.availWidth * 0.5;
opendg('区域详情', 'html/areadetail?id=' + id, myw) //opendg('区域详情', 'html/areadetail?id=' + id, myw)
} }