jinx 4 лет назад
Родитель
Сommit
6a81f01f99

+ 6 - 6
apps/RealtorEasier/pages/agent-detail/agent-detail.wxml

@@ -9,7 +9,7 @@
       <view class="agent">
         <view class="agent-name-w">
           <text class="name">{{ agentDetail.name }}</text>
-          <text>{{ agentDetail.type  || ""}}</text>
+          <text>{{ agentDetail.type || ""}}</text>
           <view class="agent-icon" bindtap="showWorkCard"></view>
         </view>
         <view class="organ">{{ agentDetail.agency_company_name ? agentDetail.agency_company_name : ''}}</view>
@@ -39,23 +39,23 @@
       <view class="new-rate-list">
         <view class="new-rate-item">
           <view class="rete-title">从业执照号码:</view>
-          <view class="rete-msg">{{agentDetail.business_id|| ""}}</view>
+          <view class="rete-msg">{{agentDetail.business_id ?agentDetail.business_id :""}}</view>
         </view>
         <view class="new-rate-item">
           <view class="rete-title">英文名:</view>
-          <view class="rete-msg">{{agentDetail.e_name || ""}}</view>
+          <view class="rete-msg">{{agentDetail.e_name ?agentDetail.e_name: ""}}</view>
         </view>
         <view class="new-rate-item">
           <view class="rete-title">工作语言:</view>
-          <view class="rete-msg">{{agentDetail.language|| ""}}</view>
+          <view class="rete-msg">{{agentDetail.language?agentDetail.language : ""}}</view>
         </view>
         <view class="new-rate-item">
           <view class="rete-title">联系电话:</view>
-          <view class="rete-msg">{{agentDetail.language|| ""}}</view>
+          <view class="rete-msg">{{agentDetail.phone ?agentDetail.phone : ""}}</view>
         </view>
         <view class="new-rate-item">
           <view class="rete-title">邮箱:</view>
-          <view class="rete-msg">{{agentDetail.email|| ""}}</view>
+          <view class="rete-msg">{{agentDetail.email ?agentDetail.email : ""}}</view>
         </view>
       </view>
     </view>

+ 1 - 1
apps/RealtorEasier/pages/contact/contact.js

@@ -3,7 +3,7 @@
 const app = getApp();
 Page({
     data: {
-        qr_url: 'https://usa-4dkankan-project.oss-us-west-1.aliyuncs.com/4dHouse/miniprogram/qr.jpg'
+        qr_url: 'https://testusaoss.4dkankan.com/4dHouse/miniprogram/qr.png'
     },
     saveLocalPhoto(e){
         wx.downloadFile({

+ 1 - 1
apps/RealtorEasier/pages/contact/contact.wxml

@@ -6,7 +6,7 @@
             <image src="{{ qr_url }}" />
         </view>
         <view class="contact-text">关注<text>美房理</text>公众号</view>
-        <view class="save-tip">【点击保存二维码图片】</view>
+        <view bindtap="saveLocalPhoto" class="save-tip">【点击保存二维码图片】</view>
     </view>
     <view class="contact-step">
         <view class="step-title">

+ 1 - 1
apps/RealtorEasier/pages/contact/contact.wxss

@@ -70,7 +70,7 @@
 .bottom-step {
     width: 684rpx;
     height: 348rpx;
-    background: url(https://4d-tjw.oss-cn-shenzhen.aliyuncs.com/4dHouse/miniprogram/officialAccounts/bottom-step.jpg) no-repeat center center;
+    background: url(https://usa-4dkankan-project.oss-us-west-1.aliyuncs.com/4dHouse/miniprogram/officialAccounts/bottom-step.jpg) no-repeat center center;
     background-size: 100% auto;
 }
 

+ 1 - 1
apps/RealtorEasier/pages/index/index.js

@@ -233,7 +233,7 @@ Page({
         return {
             title: '美房理,海量复刻真房源',
             path: path,
-            imageUrl: 'https://4d-tjw.oss-cn-shenzhen.aliyuncs.com/4dHouse/share.png', // 分享的封面图
+            imageUrl: 'https://usa-4dkankan-project.oss-us-west-1.aliyuncs.com/4dHouse/share.png', // 分享的封面图
         }
     },
     getPhoneNumber(e) {

+ 1 - 1
apps/agent/components/client-item/client-item.wxml

@@ -5,7 +5,7 @@
       <text wx:for="{{client.user_wish}}" class="star iconfont iconcus_star"></text>
      </view>
      <view>
-        <text class="iconfont iconcus_msg" catchtap="toChat"></text>
+        <!-- <text class="iconfont iconcus_msg" catchtap="toChat"></text> -->
         <text catchtap='makePhoneCall' class="iconfont iconcus_call" catchtap="makePhoneCall"></text>
      </view>
     </view>

+ 1 - 1
apps/agent/components/detail-components/detail-scroll/detail-scroll.wxml

@@ -29,7 +29,7 @@
             </view>
         </view>
         <view class="house-name ">{{ house.title }}</view>
-        <view class="contact-user">房源负责人:{{ agent_user.name }}<view class="icon-idcard" bind:tap="toAgentDetail"></view>
+        <view class="contact-user">房源负责人:{{ agent_user.name }}<view class="icon-idcard" ></view>
         </view>
         <view class="house-parameter">
             <view class="parameter-item">

+ 1 - 0
apps/agent/pages/detail/detail.js

@@ -33,6 +33,7 @@ Page({
     this.setData({
       house_id
     })
+    this.getHouseAgent(house_id)
   },
   getHouseAgent (house_id) {
     HouseApi.getAgentByHouseId(house_id).then(res => {

+ 1 - 1
apps/agent/pages/detail/detail.wxml

@@ -10,7 +10,7 @@
     </view>
 </view> -->
 <header-nav titleText="房源详情" />
-<detail-scroll  house_id="{{house_id}}" isAgency="{{true}}" />
+<detail-scroll  house_id="{{house_id}}" agent_user="{{agent_user}}"  isAgency="{{true}}" />
 <!-- <view class=" tabbar footer  bg-white" >
     <contact-user style="width: 100vw" agent_user="{{agent_user}}" />
 </view> -->

+ 9 - 1
apps/agent/pages/index/index.js

@@ -241,6 +241,14 @@ Page({
         }
         this.getHouseList()
     },
+    bindInputValue(e){
+        const {
+            value
+        } = e.detail
+        this.setData({
+            seachKey: value
+        })
+    },
     tapSearch(){
         this.setData({
             'fetcherData.title': this.data.seachKey
@@ -297,7 +305,7 @@ Page({
         return {
           title: 'RealtorEasier,海量复刻真房源',
           path: path,
-          imageUrl: 'https://4d-tjw.oss-cn-shenzhen.aliyuncs.com/4dHouse/share.png', // 分享的封面图
+          imageUrl: 'https://usa-4dkankan-project.oss-us-west-1.aliyuncs.com/4dHouse/share.png', // 分享的封面图
         }
       },
     getPermission:function(){

+ 2 - 1
apps/agent/pages/index/index.wxml

@@ -1,7 +1,8 @@
 <view class="{{ type_acive ? 'is-active' : '' }}">
 	<view class="search-w">
 		<view class="search-w-left">
-			<input class="search-input" type="text" data-key="seachKey" bindinput="bindInput" placeholder="请输入房源信息" bindconfirm="tapSearch" confirm-type="search" />
+			<!-- <input class="search-input" type="text" data-key="seachKey" bindinput="bindInput" placeholder="请输入房源信息" bindconfirm="tapSearch" confirm-type="search" /> -->
+			<input class="search-input" type="text" bindinput="bindInputValue" placeholder="请输入房源信息" bindconfirm="tapSearch" confirm-type="search" />
 		</view>
 		<view class="action" bindtap="tapSearch">
 			<text class="iconfont iconhome_search"></text>

Разница между файлами не показана из-за своего большого размера
+ 6 - 4
apps/agent/pages/user-info/user-info.wxml