dever 7 years ago
parent
commit
6df0cb12c6
2 changed files with 6 additions and 0 deletions
  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('click touchend', 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>