huangdong 6 年之前
父節點
當前提交
520cdef50a

+ 2 - 4
data/resource/mobile/talk/css/homepage.css

@@ -465,10 +465,8 @@ html,body {
 .fixed_bottom {
     position: fixed;
     bottom: 0;
-    left: 50%;
-    width: 10rem;
-    height: 1.33rem;
-    margin-left: -5rem;
+    width: 100%;
+    height: 40px;
     display: -webkit-box;
     -webkit-box-align: center;
     background: rgba(51,51,51,0.9);

+ 18 - 5
helper/room/tpl_group_home.php

@@ -129,10 +129,18 @@ class tpl_group_home
             $isManager = $this->isManager($this->cur_user) ? 1 : 0;
             $notice = empty($this->room_info->notice()) ? 0 : 1;
 
-            $share_bonus_schema  = schema_helper::openurl("共享基金",BASE_SITE_URL."/mobile/index.php?act=member_talk&op=share_bonus&room_id={$this->room_id}");
-            $group_notice_schema = schema_helper::openurl("群公告" ,BASE_SITE_URL."/mobile/index.php?act=member_talk&op=message_board&type=3&isManager={$isManager}&talk_id={$this->room_id}");
-            $group_goods_schema  = schema_helper::openurl("群商品" ,BASE_SITE_URL."/mobile/index.php?act=member_talk&op=room_goods&talk_id={$this->room_id}");
-            $group_sport_schema  = schema_helper::openurl("群运动" ,BASE_SITE_URL."/mobile/index.php?act=member_talk&op=steps_home&talk_id={$this->room_id}");
+            if(session_helper::isapp()) {
+                $share_bonus_schema  = schema_helper::openurl("共享基金",BASE_SITE_URL."/mobile/index.php?act=member_talk&op=share_bonus&room_id={$this->room_id}");
+                $group_notice_schema = schema_helper::openurl("群公告" ,BASE_SITE_URL."/mobile/index.php?act=member_talk&op=message_board&type=3&isManager={$isManager}&talk_id={$this->room_id}");
+                $group_goods_schema  = schema_helper::openurl("群商品" ,BASE_SITE_URL."/mobile/index.php?act=member_talk&op=room_goods&talk_id={$this->room_id}");
+                $group_sport_schema  = schema_helper::openurl("群运动" ,BASE_SITE_URL."/mobile/index.php?act=member_talk&op=steps_home&talk_id={$this->room_id}");
+            } else {
+                $share_bonus_schema  = BASE_SITE_URL."/mobile/index.php?act=member_talk&op=share_bonus&room_id={$this->room_id}";
+                $group_notice_schema = BASE_SITE_URL."/mobile/index.php?act=member_talk&op=message_board&type=3&isManager={$isManager}&talk_id={$this->room_id}";
+                $group_goods_schema  = BASE_SITE_URL."/mobile/index.php?act=member_talk&op=room_goods&talk_id={$this->room_id}";
+                $group_sport_schema  = BASE_SITE_URL."/mobile/index.php?act=member_talk&op=steps_home&talk_id={$this->room_id}";
+            }
+
 
             $html.="<div class=\"weui-flex__item group_bonus\">
                         <a href=\"{$share_bonus_schema}\">
@@ -180,7 +188,12 @@ class tpl_group_home
 
             foreach ($this->participants as $uids => $member)
             {
-                $member_schema = schema_helper::openurl("来自聊天",BASE_SITE_URL."/mobile/index.php?act=user_index&op=detail&member_id={$member['userid']}&room_id={$this->room_id}");
+                if(session_helper::isapp()) {
+                    $member_schema = schema_helper::openurl("来自聊天",BASE_SITE_URL."/mobile/index.php?act=user_index&op=detail&member_id={$member['userid']}&room_id={$this->room_id}");
+                }  else {
+                    $member_schema = BASE_SITE_URL."/mobile/index.php?act=user_index&op=detail&member_id={$member['userid']}&room_id={$this->room_id}";
+                }
+
                 if ($i < $cnt) {
                     $div_head = "<div class=\"weui-flex__item member-detail\" data-schema=\"{$member_schema}\" data-member-id={$member['userid']}>";
                 } else {

+ 3 - 5
mobile/templates/default/member/index.php

@@ -55,10 +55,8 @@
         .fixed_bottom {
             position: fixed;
             bottom: 0;
-            left: 50%;
-            width: 10rem;
-            height: 1.33rem;
-            margin-left: -5rem;
+            width: 100%;
+            height: 40px;
             display: -webkit-box;
             -webkit-box-align: center;
             background: rgba(51,51,51,0.9);
@@ -69,7 +67,7 @@
             display: block;
             width: 0.96rem;
             height: 0.96rem;
-            background: url("../imgaes/logo.png") no-repeat;
+            background: url("/imgaes/logo.png") no-repeat;
             background-size: 100% 100%;
             margin-right: 0.26rem;
             margin-left: 0.41rem;