suyuanyuan пре 1 дан
родитељ
комит
7154813a2f

+ 2 - 2
TUIKit-Homemaking/components/TUIChat/message-list/interview-application.vue

@@ -119,10 +119,10 @@
               placeholder="联系电话"
             />
           </div>
-          <div class="item">
+          <!-- <div class="item">
             <div class="label">信息费:</div>
             <div style="color: red">{{ userInfo.hc ? userInfo.hc : 0 }}元</div>
-          </div>
+          </div> -->
           <div
             :class="[
               'evaluate-content-button',

+ 0 - 1
TUIKit-House/components/TUIChat/index.vue

@@ -141,7 +141,6 @@ const initData = () => {
     userId: getParamValue("userId"),
     houseId: getParamValue("houseId"),
   };
-
   let url = config.baseUrl + "/house/communicate/status";
   const header = {
     "Content-Type": "application/x-www-form-urlencoded",

+ 20 - 7
TUIKit-House/components/TUIChat/message-list/index.vue

@@ -71,8 +71,8 @@
           >
             <div class="qzy-space-between-center">
               <template v-if="infoData.demandId == ''">
-                <div class="text-16">
-                  <span class="color-333 text-bold">{{
+                <div class="text-16 name-box">
+                  <span class="color-333 text-bold name-text">{{
                     infoData.communityName
                   }}</span>
                   <div class="text-500 text-14 color-999 company-name">
@@ -81,8 +81,14 @@
                   </div>
                 </div>
                 <div class="text-500">
-                  <i class="color-999">信息费:</i>
-                  <span class="color-red">{{ infoData.messageFee }}元</span>
+                  <i class="color-999">看房/成交奖励:</i>
+                  <span class="color-red"
+                    >{{
+                      (infoData.lookMessageFee + infoData.messageFee).toFixed(
+                        2
+                      )
+                    }}元</span
+                  >
                   <image
                     src="https://qianzhiy-applet.oss-rg-china-mainland.aliyuncs.com/h5/images/house/user/arrow-right.png"
                     class="right-icon"
@@ -100,10 +106,10 @@
                       }}{{ infoData.demandPrice
                       }}{{ infoData.demandType == 0 ? "元/月" : "万" }}
                     </div>
-                    <div class="text-500">
+                    <!-- <div class="text-500">
                       <i class="color-999">信息费:</i>
                       <span class="color-red">{{ infoData.messageFee }}元</span>
-                    </div>
+                    </div> -->
                   </div>
                 </div>
               </template>
@@ -480,7 +486,8 @@ const sendMsgHandle = (title) => {
   } else if (title == "预约看房") {
     webUni.webView.navigateTo({
       url:
-        "/packageHouse/user/house-manage/subscribe-house?inviteeId=" + props.infoData.shopUserId,
+        "/packageHouse/user/house-manage/subscribe-house?inviteeId=" +
+        props.infoData.shopUserId,
     });
   }
 };
@@ -845,5 +852,11 @@ function onMessageListBackgroundClick() {
   i {
     font-style: normal;
   }
+  .name-box {
+    width: 40%;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    white-space: nowrap;
+  }
 }
 </style>

+ 2 - 2
TUIKit-House/components/TUIChat/message-list/interview-application.vue

@@ -119,10 +119,10 @@
               placeholder="联系电话"
             />
           </div>
-          <div class="item">
+          <!-- <div class="item">
             <div class="label">信息费:</div>
             <div style="color: red">{{ userInfo.hc ? userInfo.hc : 0 }}元</div>
-          </div>
+          </div> -->
           <div
             :class="[
               'evaluate-content-button',

+ 2 - 2
TUIKit-House/components/TUIChat/message-list/message-elements/message-custom.vue

@@ -59,9 +59,9 @@
           <text>联系方式:</text>
           <view>{{ isCustom.contact }}</view>
         </view>
-        <view class="item-row qzy-center"
+        <!-- <view class="item-row qzy-center"
           >信息费:<text class="text-bold">0</text>元</view
-        >
+        > -->
         <view
           v-if="isCustom.status == 0 && isCustom.inviteeId == ownId"
           class="operate-box"

+ 2 - 2
TUIKit/components/TUIChat/message-list/interview-application.vue

@@ -112,10 +112,10 @@
               placeholder="联系电话"
             />
           </div>
-          <div class="item">
+          <!-- <div class="item">
             <div class="label">信息费:</div>
             <div style="color: red">{{ userInfo.hc ? userInfo.hc : 0 }}元</div>
-          </div>
+          </div> -->
           <div
             :class="[
               'evaluate-content-button',

+ 1 - 1
TUIKit/components/TUIChat/message-list/message-elements/message-custom.vue

@@ -68,7 +68,7 @@
         </div>
         <div class="xian"></div>
         <div class="phone_footer">
-          <span style="color: #04c4ab">信息费:4HC</span>
+          <!-- <span style="color: #04c4ab">信息费:4HC</span> -->
           <span>等待接受</span>
         </div>
       </div>

+ 2 - 2
loginChat.ts

@@ -42,8 +42,8 @@ export const loginChat = (loginInfo) => {
         // userTypeNum<=0时为用户像商家发 用户向商家发 需要进入商家的会话,商家的会话时商家的imID需要带ABCD
         const conversationMap = {
           job: `C2C${userTypeNum > 0 ? recruitUserId : "A" + companyUserId}`,
-          house: `C2C${userTypeNum > 0 ? shopUserId : "C" + userId}`,
-          homemaking: `C2C${userTypeNum > 0 ? shopUserId : "E" + userId}`,
+          house: `C2C${userTypeNum > 0 ? shopUserId : "C" + shopUserId}`,
+          homemaking: `C2C${userTypeNum > 0 ? shopUserId : "E" + shopUserId}`,
         };
 
         const conversationId = conversationMap[type];

+ 1 - 1
static/css/common.scss

@@ -5,7 +5,7 @@
   background-color: rgba(255, 255, 255, 1);
 }
 .text-theme {
-  color: #405eff;
+  color: #00b693;
 }
 .text-22 {
   font-size: 44upx;

Разлика између датотеке није приказан због своје велике величине
+ 9327 - 9327
yarn.lock