huanggang 7 年之前
父节点
当前提交
274826b38c

+ 12 - 7
data/resource/mobile/invite_friend/css/main.css

@@ -109,7 +109,7 @@ html {
 .top {
     position: relative;
     height: 547px;
-    background: url("../images/top_bg.jpg?v=5") no-repeat;
+    background: url("../images/top_bg.jpg?v=6") no-repeat;
     background-size: 100%;
 }
 .top .label {
@@ -139,11 +139,12 @@ html {
     display: block;
     margin-right: 35px;
 }
+
 .bonus_content {
     width: 750px;
     margin: 0 auto;
     padding-bottom: 20px;
-    background: url("../images/center_bg.png?v=5") center 0 #ffffff no-repeat;
+    background: url("../images/center_bg.png?v=6") center 0 #ffffff no-repeat;
 }
 .user_msg {
     width: 718px;
@@ -246,7 +247,7 @@ html {
     color: #444444;
 }
 .bonus_list .invite_num {
-    color: #FE4F4C;
+    color: #444444;
     padding: 0 5px;
 }
 .bonus_list .prompt_label {
@@ -299,7 +300,7 @@ html {
 }
 .item {
     position: relative;
-    height: 128px;
+    height: 140px;
     cursor: pointer;
     display: -webkit-box;
     -webkit-box-align: center;
@@ -396,6 +397,7 @@ html {
     background: url("../images/rules_bg.png?v=5") no-repeat;
     background-size: 100%;
     z-index: 99;
+    -webkit-tap-highlight-color: rgba(0,0,0,0);
 }
 .pop {
     position: fixed;
@@ -453,10 +455,13 @@ html {
 }
 .invite_msg {
     font-size: 20px;
-    margin-top: 10px;
+    margin: 8px 0;
+}
+.login_time {
+    font-size: 20px;
 }
 .invite_msg span.price {
-    color: #FE4F4C;
+    color: #444444;
 }
 @-webkit-keyframes coin {
     0% {
@@ -582,7 +587,7 @@ html {
 .prompt {
     width: 684px;
     margin: 38px auto 0 auto;
-    color: #FE4F4C;
+    color: #444444;
     font-size: 24px;
 }
 

二进制
data/resource/mobile/invite_friend/images/top_bg.jpg


+ 2 - 2
mobile/control/control.php

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

+ 1 - 0
mobile/control/invite_friend.php

@@ -201,6 +201,7 @@ class tpl_invite_friend
                             <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=\"login_time\">3天前登陆</p>
                             </div>
                         </a>
                         <span class=\"call_btn\" data-user=\"1000\">召唤TA</span>

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

@@ -131,6 +131,18 @@
                 }
             });
         });
+        (function(){
+            var locked = false;
+
+            window.addEventListener('scroll', function(ev){
+                locked || (locked = true, window.addEventListener('touchend', stopTouchendPropagation, true));
+            }, true);
+            function stopTouchendPropagation(ev){
+                ev.stopPropagation();
+                window.removeEventListener('touchend', stopTouchendPropagation, true);
+                locked = false;
+            }
+        })();
 
     }
 </script>