huanggang 7 년 전
부모
커밋
c9e5ff421b
3개의 변경된 파일10개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      mobile/control/control.php
  2. 2 2
      mobile/control/invite_friend.php
  3. 6 0
      mobile/templates/default/invite_friend/invite.php

+ 2 - 2
mobile/control/control.php

@@ -300,9 +300,9 @@ class mbMemberControl extends mobileControl
 
 function bonus_version()
 {
-    return "v=2017111501";
+    return "v=2017111502";
 }
 function shop_version()
 {
-    return "v=2017111501";
+    return "v=2017111502";
 }

+ 2 - 2
mobile/control/invite_friend.php

@@ -177,7 +177,7 @@ class tpl_invite_friend
                             </div>
                             <div class=\"user_name text-overflow\">
                               <p class=\"text-overflow\"> {$minfo->nickname()}</p>
-                              <p class=\"invite_msg\">已邀请{$minfo->invitees()}人,收益<span class=\"price\">{$minfo->reward_amount()}</span>元</p>
+                              <p class=\"invite_msg\">已邀请{$minfo->invitees()}人,累计收益<span class=\"price\">{$minfo->reward_amount()}</span>元</p>
                             </div>
                             <div class=\"look_btn\">
                                 <span class=\"arrow\"></span>
@@ -196,7 +196,7 @@ class tpl_invite_friend
                         <span class=\"logo\"></span>
                         <div class=\"label\">
                             <p>熊猫美妆</p>
-                            <p>下载APP即可得100%红包</p>
+                            <p>下载APP即可得100红包</p>
                         </div>
                         <a href=\"#\"  class=\"download_app_btn\" id=\"download_app\">打开APP</a>
                   </div>";

+ 6 - 0
mobile/templates/default/invite_friend/invite.php

@@ -113,6 +113,12 @@
             e.preventDefault();
             document.getElementsByClassName('fixed_bottom')[0].style.display = 'none';
             document.getElementsByClassName('container')[0].setAttribute('style','padding-bottom:20px');
+            if(document.getElementsByClassName('open_bouns_link').length <= 0) {
+                document.getElementsByClassName('bonus_content')[0].setAttribute('style','background-color:#fff');
+            }
+            else {
+                document.getElementsByClassName('bonus_content')[0].setAttribute('style','background-color:#ec354e');
+            }
         });
     }
 </script>