@@ -359,7 +359,7 @@ $(body).addClass("bg_white");
<{/if}>
-<{if $info.type == 4}>
+<{if $info.type == 4 && $info.yaoqing}>
<section class="layer" id="layerbox" style="display:none;">
<section class="loginbox">
<h3>申请成功!</h3>
@@ -105,7 +105,12 @@ KISSY.use('node, io', function (S, Node, IO) {
, function (data) {
if (data.ok) {
//showOkMsg();
- $('#layerbox').show();
+ if ($('#layerbox').length) {
+ $('#layerbox').show();
+ } else {
+ toast('提交成功,请等待管理员审核', false);
+ }
+
//toast('提交成功,请等待管理员审核', false);
} else {
if(data.msg.url){