dever 7 年之前
父节点
当前提交
ce8bf47821
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 2 0
      tm/template_dir/bottom.html
  2. 4 0
      tm/template_dir/events_infos.html

+ 2 - 0
tm/template_dir/bottom.html

@@ -22,6 +22,7 @@
     
 function loadLogin()
 {
+    /*
     <{if $applogin && $applogin == 1}>
     $("#loginyes").attr('href', 'javascript:;');
     $("#loginyes").on('tab', function()
@@ -30,6 +31,7 @@ function loadLogin()
     });
     
     <{/if}>
+    */
     $('#loginbox').show();
 
     /*

+ 4 - 0
tm/template_dir/events_infos.html

@@ -375,7 +375,11 @@ $(body).addClass("bg_white");
         <p>请登录后再参与福利活动</p>
         <section class="button-wrapper">
             <a class="button border" href="<{$listUrl}>">找找其他福利</a>
+            <{if $applogin && $applogin == 1}>
+            <a class="button" onclick="istoken('<{$loginUrl}>');" style="cursor:pointer;">马上登录</a>
+            <{else}>
             <a class="button" id="loginyes" href="<{$loginUrl}>">马上登录</a>
+            <{/if}>
         </section>
     </section>
 </section>