lll
liukangdong
2024-07-31 7b2847ac00849ffe33e4b1ca186fd9b6ad312dad
lll
已添加1个文件
已修改47个文件
416 ■■■■■ 文件已修改
wechat_jiaxuan/app.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/app.wxss 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/authCard/authCard.less 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/authCard/authCard.wxml 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/authCard/authCard.wxss 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disCase/index.js 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.js 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.js 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/idCard/index.less 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/idCard/index.wxss 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.less 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.wxss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/detail.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/case.js 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/case.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/case.wxml 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/case.wxss 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.js 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.less 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.wxss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/realpic.js 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/realpic.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/realpic.wxml 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/realpic.wxss 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/homeId/index.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.js 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.less 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.wxss 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/mine/mine.less 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/mine/mine.wxss 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/sets/index.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/info.less 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/info.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/info.wxss 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/staffList.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/staffList.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/collect.js 72 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/favorite.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.less 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.wxml 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.wxss 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/mysub.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/utils/eventBus.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/app.json 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/homeId/index.js 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/homeId/index.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/userinfo/collect.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/app.json
@@ -33,7 +33,8 @@
    "navigationBarTextStyle": "black",
    "backgroundTextStyle": "dark",
    "navigationBarBackgroundColor": "#fff",
    "navigationStyle": "default"
    "navigationStyle": "default",
    "backgroundColor": "#fff"
  },
  "tabBar": {
    "color": "#999",
wechat_jiaxuan/app.wxss
@@ -108,9 +108,10 @@
/* æŒ‡ç¤ºç‚¹çš„æ ·å¼ */
.wx-swiper-dots .wx-swiper-dot {
  width: 40rpx;
  height: 4rpx;
  height: 6rpx;
  background: rgba(255,255,255,0.5);
  border-radius: 5rpx;
  margin-left: -10rpx;
}
.wx-swiper-dot.wx-swiper-dot-active {
wechat_jiaxuan/components/authCard/authCard.less
@@ -2,7 +2,7 @@
  width: 670rpx;
  margin: 0 auto;
  background-color: #fff;
  padding: 10rpx 10rpx;
  padding-bottom: 10rpx;
}
.wrap1{
  display: flex;
@@ -91,11 +91,10 @@
    .item{
      flex-shrink: 0;
      width: 305rpx;
      height: 184rpx;
      background: rgba(176,135,113,0.05) #FFFFFF;
      box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0,0,0,0.12);
      border-radius: 8rpx;
      padding: 20rpx;
      padding: 24rpx 20rpx;
      margin-right: 20rpx;
      .name{
        display: flex;
wechat_jiaxuan/components/authCard/authCard.wxml
@@ -1,19 +1,4 @@
<view class="container">
  <!-- æœªæŽˆæƒ -->
  <view wx:if="{{ type == '0' }}" class="wrap1">
    <view class="ai df_ct">
      <image src="../../static/icon/ai_auth.png"></image>
    </view>
    <view class="content">
      <view class="name">AI找设计</view>
      <view class="desc">你身边的全屋设计专家</view>
    </view>
    <view class="btn" bindtap="jumpAuth">
      <view>去</view>
      <view>看</view>
      <view>看</view>
    </view>
  </view>
  <!-- å·²æŽˆæƒ -->
  <view wx:if="{{ type == '1' }}" class="wrap2">
    <view class="header" bindtap="jumpStore">
@@ -49,7 +34,7 @@
    </view>
  </view>
  <!-- å·²æŽˆæƒ å·²ç»‘定 -->
  <view bindtap="jumpStaff" wx:if="{{ type == '2' }}" class="wrap1 wrap3">
  <view bindtap="jumpStaff" wx:elif="{{ type == '2' }}" class="wrap1 wrap3">
    <view class="ai df_ct">
      <image src="../../static/icon/home_ic_guwen@2x.png" mode="widthFix"></image>
    </view>
@@ -63,4 +48,19 @@
      <view>看</view>
    </view>
  </view>
    <!-- æœªæŽˆæƒ -->
    <view wx:else class="wrap1">
    <view class="ai df_ct">
      <image src="../../static/icon/ai_auth.png"></image>
    </view>
    <view class="content">
      <view class="name">AI找设计</view>
      <view class="desc">你身边的全屋设计专家</view>
    </view>
    <view class="btn" bindtap="jumpAuth">
      <view>去</view>
      <view>看</view>
      <view>看</view>
    </view>
  </view>
</view>
wechat_jiaxuan/components/authCard/authCard.wxss
@@ -2,7 +2,7 @@
  width: 670rpx;
  margin: 0 auto;
  background-color: #fff;
  padding: 10rpx 10rpx;
  padding-bottom: 10rpx;
}
.wrap1 {
  display: flex;
@@ -90,11 +90,10 @@
.wrap2 .list .item {
  flex-shrink: 0;
  width: 305rpx;
  height: 184rpx;
  background: rgba(176, 135, 113, 0.05) #FFFFFF;
  box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0, 0, 0, 0.12);
  border-radius: 8rpx;
  padding: 20rpx;
  padding: 24rpx 20rpx;
  margin-right: 20rpx;
}
.wrap2 .list .item .name {
wechat_jiaxuan/components/disCase/index.js
@@ -1,4 +1,5 @@
import { getCataLogTagList, getZhongTaiWholecasePage, actionDo } from '../../api/index'
import { eventBus } from '../../utils/eventBus'
Component({
  /**
   * ç»„件的属性列表
@@ -22,6 +23,22 @@
    sortType: '',
    catalogCode: 'whole_case'
  },
  pageLifetimes: {
    show: function() {
      // é¡µé¢è¢«å±•示
      console.log('组件被展示');
      eventBus.once('caseDeBack', (info) => {
        const dataList = this.data.dataList
        dataList.forEach(item => {
          if(item.id === info.id){
            item.isCollection = info.isCollection
            item.viewCount ++
          }
        })
        this.setData({ dataList })
      })
    },
  },
  attached() {
    this.getCatelist()
    this.getList()
wechat_jiaxuan/components/disProduct/index.js
@@ -1,4 +1,5 @@
import { getCatalogList, getCataLogTagList, getZhongTaiProductPage } from '../../api/index'
import { eventBus } from '../../utils/eventBus'
Component({
  /**
   * ç»„件的属性列表
@@ -25,6 +26,22 @@
    sortType: '',
    catalogCode: ""
  },
  pageLifetimes: {
    show: function() {
      // é¡µé¢è¢«å±•示
      console.log('组件被展示');
      eventBus.once('productDeBack', (info) => {
        const datalist = this.data.datalist
        datalist.forEach(item => {
          if(item.id === info.id){
            item.isCollection = info.isCollection
            item.viewCount ++
          }
        })
        this.setData({ datalist })
      })
    },
  },
  attached() {
    this.getCatelist()
    var app = getApp()
wechat_jiaxuan/components/disRealpic/index.js
@@ -1,4 +1,5 @@
import { getCataLogTagList, getZhongTaiRealcasePage, actionDo } from '../../api/index'
import { eventBus } from '../../utils/eventBus'
Component({
  /**
   * ç»„件的属性列表
@@ -21,6 +22,22 @@
    sortType: '',
    catalogCode: 'real_case'
  },
  pageLifetimes: {
    show: function() {
      // é¡µé¢è¢«å±•示
      console.log('组件被展示');
      eventBus.once('realpicDeBack', (info) => {
        const dataList = this.data.dataList
        dataList.forEach(item => {
          if(item.id === info.id){
            item.isCollection = info.isCollection
            item.viewCount ++
          }
        })
        this.setData({ dataList })
      })
    },
  },
  attached() {
    this.getCatelist()
  },
wechat_jiaxuan/components/idCard/index.less
@@ -1,9 +1,13 @@
.user {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 750rpx;
  padding: 0 40rpx;
  height: 148rpx;
  background: #FFFFFF;
  border-radius: 8rpx;
  // border-radius: 0 0 8rpx 8rpx;
  padding: 0 30rpx;
  display: flex;
  align-items: center;
@@ -12,7 +16,7 @@
    .name {
      font-size: 30rpx;
      margin-bottom: 12rpx;
      margin-bottom: 10rpx;
    }
    .desc {
wechat_jiaxuan/components/idCard/index.wxss
@@ -1,9 +1,12 @@
.user {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 750rpx;
  padding: 0 40rpx;
  height: 148rpx;
  background: #FFFFFF;
  border-radius: 8rpx;
  padding: 0 30rpx;
  display: flex;
  align-items: center;
@@ -13,7 +16,7 @@
}
.user .content .name {
  font-size: 30rpx;
  margin-bottom: 12rpx;
  margin-bottom: 10rpx;
}
.user .content .desc {
  font-size: 24rpx;
wechat_jiaxuan/pages/consult/consult.less
@@ -20,6 +20,7 @@
    background-color: #F7F7F7;
    image{
      width: 28rpx;
      height: 28rpx;
      margin-right: 16rpx;
    }
  }
wechat_jiaxuan/pages/consult/consult.wxss
@@ -22,6 +22,7 @@
}
.home_top .search_wrap image {
  width: 28rpx;
  height: 28rpx;
  margin-right: 16rpx;
}
.cate_wrap {
wechat_jiaxuan/pages/consult/detail.wxml
@@ -1,4 +1,4 @@
<view>
<view style="padding-top: {{ origin != 'b' && info.users && info.users.id ? '148' : '0' }}rpx;">
    <!-- åç‰‡ -->
    <idCard users="{{ info.users }}" wx:if="{{ origin != 'b' && info.users && info.users.id }}" />
  <view class="main_content">
wechat_jiaxuan/pages/detailDis/case.js
@@ -1,4 +1,5 @@
import { actionDo, getWholecaseInfo } from '../../api/index'
import { eventBus } from '../../utils/eventBus'
Page({
  /**
@@ -15,6 +16,12 @@
      actionType: 'view',
      id: options.id
    })
  },
  onUnload() {
    console.log('详情进行了销毁');
    setTimeout(() => {
      eventBus.emit('caseDeBack', this.data.info)
    }, 500)
  },
  onLoad(options) {
    var app = getApp().globalData
@@ -69,6 +76,7 @@
      this.setData({info})
      wx.showToast({
        title: actionType == 'collect' ? '收藏成功' : '取消收藏',
        icon: "none"
      })
    })
  },
@@ -119,13 +127,6 @@
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面隐藏
   */
  onHide() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面卸载
   */
  onUnload() {
  },
wechat_jiaxuan/pages/detailDis/case.less
@@ -1,5 +1,5 @@
.container {
  padding: 0 40rpx 220rpx;
  padding: 148rpx 40rpx 220rpx;
  .main_title {
    font-weight: 500;
wechat_jiaxuan/pages/detailDis/case.wxml
@@ -1,6 +1,7 @@
<view class="container">
<view>
  <!-- åç‰‡ -->
  <idCard users="{{ info.users }}" wx:if="{{ origin != 'b' && info.users && info.users.id }}" />
  <view class="container" style="padding-top: {{ origin != 'b' && info.users && info.users.id ? '148' : '0' }}rpx;">
  <view class="main_title">{{ info.title }}</view>
  <view class="time">发布时间:{{ info.publishDt }}</view>
  <view class="fullview_wrap">
@@ -23,6 +24,7 @@
      <view class="content">{{ item.spaceDesc }}</view>
    </view>
  </view>
  </view>
  <!-- footer -->
  <view wx:if="{{ origin && origin == 'b' }}">
    <button open-type="share" style="bottom: {{bottomLift + 6}}px;" class="share_btn">分享</button>
wechat_jiaxuan/pages/detailDis/case.wxss
@@ -1,5 +1,5 @@
.container {
  padding: 0 40rpx 220rpx;
  padding: 148rpx 40rpx 220rpx;
}
.container .main_title {
  font-weight: 500;
wechat_jiaxuan/pages/detailDis/product.js
@@ -3,6 +3,7 @@
  actionDo,
  getMemberInfo
} from '../../api/index'
import { eventBus } from '../../utils/eventBus'
Page({
  /**
   * é¡µé¢çš„初始数据
@@ -26,11 +27,28 @@
      actionType: 'view',
      id: options.id
    })
    const member = wx.getStorageSync('member') || {}
    if(!member.id){
    getMemberInfo().then(res => {
      this.setData({
        member: res.data
      })
    })
    }
  },
  onShow() {
    const member = wx.getStorageSync('member') || {}
    if(member && member.id){
      this.setData({
        member
      })
    }
  },
  onUnload() {
    console.log('详情进行了销毁');
    setTimeout(() => {
      eventBus.emit('productDeBack', this.data.info)
    }, 500)
  },
  onLoad(options) {
    var app = getApp().globalData
@@ -87,6 +105,7 @@
      })
      wx.showToast({
        title: actionType == 'collect' ? '收藏成功' : '取消收藏',
        icon: "none"
      })
    })
  },
@@ -192,9 +211,6 @@
    })
  },
  onHide() {
  },
  onUnload() {
  },
  onPullDownRefresh() {
wechat_jiaxuan/pages/detailDis/product.less
@@ -42,6 +42,7 @@
}
.container{
  padding-bottom: 200rpx;
  padding-top: 148rpx;
}
page {
  background-color: #f7f7f7;
wechat_jiaxuan/pages/detailDis/product.wxml
@@ -1,4 +1,4 @@
<view class="container">
<view class="container" style="padding-top: {{ origin != 'b' && info.users && info.users.id ? '148' : '0' }}rpx;">
  <!-- åç‰‡ -->
  <idCard users="{{ info.users }}" wx:if="{{ origin != 'b' && info.users && info.users.id }}" />
  <!-- banner轮播 -->
wechat_jiaxuan/pages/detailDis/product.wxss
@@ -38,6 +38,7 @@
}
.container {
  padding-bottom: 200rpx;
  padding-top: 148rpx;
}
page {
  background-color: #f7f7f7;
wechat_jiaxuan/pages/detailDis/realpic.js
@@ -1,4 +1,5 @@
import { getRealcaseInfo, actionDo } from '../../api/index'
import { eventBus } from '../../utils/eventBus'
Page({
  data: {
    bottomLift: 0,
@@ -15,6 +16,12 @@
      actionType: 'view',
      id: options.id
    })
  },
  onUnload() {
    console.log('详情进行了销毁');
    setTimeout(() => {
      eventBus.emit('realpicDeBack', this.data.info)
    }, 500)
  },
  onLoad(options) {
    var app = getApp().globalData
@@ -43,6 +50,7 @@
      info.isCollection = !info.isCollection
      wx.showToast({
        title: actionType == 'collect' ? '收藏成功' : '取消收藏',
        icon: "none"
      })
      this.setData({info})
    })
@@ -138,9 +146,6 @@
    })
  },
  onHide() {
  },
  onUnload() {
  },
  onPullDownRefresh() {
wechat_jiaxuan/pages/detailDis/realpic.less
@@ -1,5 +1,5 @@
.container {
  padding: 0 40rpx 220rpx;
  padding: 148rpx 40rpx 220rpx;
  .info_item{
    width: 100%;
    margin-bottom: 20rpx;
wechat_jiaxuan/pages/detailDis/realpic.wxml
@@ -1,17 +1,11 @@
<view class="container">
<view>
  <!-- åç‰‡ -->
  <idCard users="{{ info.users }}" wx:if="{{ origin != 'b' && info.users && info.users.id }}" />
  <view class="container" style="padding-top: {{ origin != 'b' && info.users && info.users.id ? '148' : '0' }}rpx;">
  <view class="main_title">{{ info.title }}</view>
  <view class="time">发布时间:{{ info.publishDt }}</view>
  <image data-url="{{ item }}" bindtap="priviewSpace" class="info_item" wx:for="{{ info.contentImgList }}" src="{{ item }}" mode="widthFix"></image>
  <view class="desc">{{ info.contentText || '' }}</view>
  <!-- <view class="list">
    <view class="item">
      <image src="" mode="widthFix" />
      <view class="content">看惯了整齐划一的玻璃吊柜,金色框型玻门吊柜又是不一样的审美,边框微斜切入,左右对称分布,灯光映衬下,美味绚丽多姿</view>
    </view>
  </view> -->
  <!-- footer -->
  <view wx:if="{{ origin && origin == 'b' }}">
    <button open-type="share" style="bottom: {{bottomLift + 6}}px;" class="share_btn">分享</button>
  </view>
@@ -32,5 +26,5 @@
      </view>
    </view>
  </view>
  </view>
</view>
wechat_jiaxuan/pages/detailDis/realpic.wxss
@@ -1,5 +1,5 @@
.container {
  padding: 0 40rpx 220rpx;
  padding: 148rpx 40rpx 220rpx;
}
.container .info_item {
  width: 100%;
wechat_jiaxuan/pages/homeId/index.js
@@ -39,6 +39,7 @@
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    this.setData({ dataList: [], pageNum: 1, total: 0 })
    wx.stopPullDownRefresh()
    this.getList()
  },
  getList(){
wechat_jiaxuan/pages/index/index.js
@@ -8,10 +8,7 @@
  getZhongTaiVideoPage,
  getZhongTaiProductNewsPage
} from '../../api/index'
const {
  HYEventBus
} = require('hy-event-store')
const eventBus = new HYEventBus()
import { eventBus } from '../../utils/eventBus'
const app = getApp()
Page({
@@ -56,21 +53,17 @@
  },
  onShow() {
    let that = this
    const member = wx.getStorageSync('member') || {}
    if (member && member.id) {
    setTimeout(() => {
      getMemberInfo().then(res => {
        this.setData({
          member: res.data
        })
      })
    } else {
      this.setData({
        member
      })
    }
    eventBus.on("reloadHome", () => {
    }, 500)
    eventBus.once("reloadHome", () => {
      console.log('reloadHome');
      this.onLoad()
      this.initData()
    })
  },
  onLoad(options) {
wechat_jiaxuan/pages/index/index.less
@@ -40,7 +40,7 @@
      width: 60rpx;
      height: 4rpx;
      background: #f4f4f4;
      margin-left: -15rpx;
      margin-left: -16rpx;
      border-radius: 5rpx;
    }
    
@@ -82,7 +82,6 @@
    justify-content: space-between;
    background-color: #fff;
    padding: 40rpx;
    .item {
      width: 214rpx;
      height: 232rpx;
@@ -117,9 +116,8 @@
  // äº§å“è§†é¢‘
  .product_video {
    padding: 40rpx 40rpx;
    padding: 34rpx 40rpx 44rpx;
    background-color: #fff;
    .video_wrap {
      width: 670rpx;
      position: relative;
@@ -143,7 +141,7 @@
  }
  .strategy {
    padding: 80rpx 40rpx;
    padding: 44rpx 40rpx;
    background: #F7F7F7;
    .item{
      position: relative;
@@ -191,7 +189,7 @@
  // å’¨è¯¢
  .consult {
    padding: 40rpx 40rpx 60rpx;
    padding: 44rpx 40rpx;
    background: #fff;
  }
@@ -206,7 +204,6 @@
    align-items: center;
    width: 670rpx;
    margin-bottom: 42rpx;
    .left {
      font-weight: 600;
      font-size: 34rpx;
wechat_jiaxuan/pages/index/index.wxss
@@ -39,7 +39,7 @@
  width: 60rpx;
  height: 4rpx;
  background: #f4f4f4;
  margin-left: -15rpx;
  margin-left: -16rpx;
  border-radius: 5rpx;
}
.container .consult_swiper .wx-swiper-dot.wx-swiper-dot-active {
@@ -104,7 +104,7 @@
  color: #666666;
}
.container .product_video {
  padding: 40rpx 40rpx;
  padding: 34rpx 40rpx 44rpx;
  background-color: #fff;
}
.container .product_video .video_wrap {
@@ -125,7 +125,7 @@
  height: 376rpx;
}
.container .strategy {
  padding: 80rpx 40rpx;
  padding: 44rpx 40rpx;
  background: #F7F7F7;
}
.container .strategy .item {
@@ -165,7 +165,7 @@
  margin-top: 24rpx;
}
.container .consult {
  padding: 40rpx 40rpx 60rpx;
  padding: 44rpx 40rpx;
  background: #fff;
}
.container .service {
wechat_jiaxuan/pages/mine/mine.less
@@ -67,12 +67,16 @@
      background: #F7F7F7;
      border-radius: 8rpx;
      margin-bottom: 40rpx;
      padding: 0 40rpx;
      .line{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 40rpx;
        height: 108rpx;
        border-bottom: 1rpx solid #E5E5E5;;
        &:nth-last-of-type(1){
          border: none;
        }
        .icon{
          width: 40rpx;
        }
wechat_jiaxuan/pages/mine/mine.wxss
@@ -60,13 +60,17 @@
  background: #F7F7F7;
  border-radius: 8rpx;
  margin-bottom: 40rpx;
  padding: 0 40rpx;
}
.container .main_content .func_list .line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40rpx;
  height: 108rpx;
  border-bottom: 1rpx solid #E5E5E5;
}
.container .main_content .func_list .line:nth-last-of-type(1) {
  border: none;
}
.container .main_content .func_list .line .icon {
  width: 40rpx;
wechat_jiaxuan/pages/sets/index.js
@@ -2,8 +2,7 @@
  wxLogOff,
  wxLoginCustomer
} from '../../api/index'
const { HYEventBus } = require('hy-event-store')
const eventBus = new HYEventBus()
import { eventBus } from '../../utils/eventBus'
Page({
  /**
wechat_jiaxuan/pages/store/info.less
@@ -18,11 +18,18 @@
    font-size: 26rpx;
    color: #666666;
    margin-bottom: 24rpx;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .addr {
    font-size: 26rpx;
    color: #888888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.navback{
@@ -43,7 +50,7 @@
.main_content {
  position: relative;
  bottom: 80rpx;
  padding: 0 40rpx 40rpx;
  padding: 0 40rpx 240rpx;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
@@ -55,9 +62,13 @@
  }
  .list {
    height: calc( 100% - 420rpx );
    padding-bottom: 160rpx;
    padding: 20rpx;
    margin: 0 -40rpx;
    padding-bottom: 12rpx;
    width: 750rpx;
    .item {
      width: 670rpx;
      margin: 10rpx auto 30rpx;
      height: 148rpx;
      background: rgba(176, 135, 113, 0.05) #FFFFFF;
      box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0, 0, 0, 0.12);
@@ -65,8 +76,9 @@
      padding: 0 30rpx;
      display: flex;
      align-items: center;
      margin-bottom: 30rpx;
      &:nth-last-of-type(1){
        margin-bottom: 100rpx;
      }
      .content {
        flex: 1;
@@ -117,7 +129,6 @@
.footer{
  display: flex;
  align-items: center;
  height: 100rpx;
  position: fixed;
  background-color: #fff;
  z-index: 999;
wechat_jiaxuan/pages/store/info.wxml
@@ -33,7 +33,7 @@
    </view>
  </view>
  <!-- footer -->
  <view class="footer" style="bottom: {{bottomLift + 6}}px;">
  <view class="footer" style="padding-bottom: {{bottomLift + 6}}px;">
    <view bindtap="handleNavigation" class="btn">
      <image src="../../static/icon/mendian_ic_daohang@2x.png" mode="widthFix"></image>
      <view>导航</view>
wechat_jiaxuan/pages/store/info.wxss
@@ -17,10 +17,17 @@
  font-size: 26rpx;
  color: #666666;
  margin-bottom: 24rpx;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.header .addr {
  font-size: 26rpx;
  color: #888888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.navback {
  padding-left: 30rpx;
@@ -40,7 +47,7 @@
.main_content {
  position: relative;
  bottom: 80rpx;
  padding: 0 40rpx 40rpx;
  padding: 0 40rpx 240rpx;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
@@ -53,10 +60,14 @@
}
.main_content .list {
  height: calc(100% - 420rpx);
  padding-bottom: 160rpx;
  padding: 20rpx;
  margin: 0 -40rpx;
  padding-bottom: 12rpx;
  width: 750rpx;
}
.main_content .list .item {
  width: 670rpx;
  margin: 10rpx auto 30rpx;
  height: 148rpx;
  background: rgba(176, 135, 113, 0.05) #FFFFFF;
  box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0, 0, 0, 0.12);
@@ -64,7 +75,9 @@
  padding: 0 30rpx;
  display: flex;
  align-items: center;
  margin-bottom: 30rpx;
}
.main_content .list .item:nth-last-of-type(1) {
  margin-bottom: 100rpx;
}
.main_content .list .item .content {
  flex: 1;
@@ -109,7 +122,6 @@
.footer {
  display: flex;
  align-items: center;
  height: 100rpx;
  position: fixed;
  background-color: #fff;
  z-index: 999;
wechat_jiaxuan/pages/store/staffList.js
@@ -17,7 +17,7 @@
    this.getList()
  },
  handleDetail(e) {
    const id = e.currentTarget.dataset.iamId
    const id = e.currentTarget.dataset.id
    wx.navigateTo({
      url: '/pages/store/staff?id=' + id,
    })
wechat_jiaxuan/pages/store/staffList.wxml
@@ -8,12 +8,12 @@
  </view>
  <view class="list">
    <view wx:for="{{ dataList }}" class="item">
      <image class="avatar" src="{{ item.imgurlFull ? imgurlFull : '../../static/images/default_avatar.png' }}"></image>
      <image class="avatar" src="{{ item.imgurlFull ? item.imgurlFull : '../../static/images/default_avatar.png' }}"></image>
      <view class="content">
        <view class="name">{{ item.name || '' }}</view>
        <view class="desc">导购|{{ item.jobDate || 5 }}年经验</view>
      </view>
      <view data-iamId="{{ item.iamId }}" bindtap="handleDetail" class="btn">联系TA</view>
      <view data-id="{{ item.iamId }}" bindtap="handleDetail" class="btn">联系TA</view>
    </view>
  </view>
</view>
wechat_jiaxuan/pages/userinfo/collect.js
@@ -1,11 +1,10 @@
import {
  collectLikePage
} from '../../api/index'
import {
  eventBus
} from '../../utils/eventBus'
Page({
  /**
   * é¡µé¢çš„初始数据
   */
  data: {
    activeTabs: 'product_intro',
@@ -17,16 +16,60 @@
  onLoad(options) {
    this.getList()
  },
  onShow() {
    const dataList = this.data.dataList
    eventBus.once('caseDeBack', (info) => {
      const temp = dataList.filter(item => {
        if (item.id === info.id) {
          item.isCollection = info.isCollection
          item.viewCount++
        }
        if(item.isCollection) return item
      })
      this.setData({ dataList: temp})
    })
    eventBus.once('productDeBack', (info) => {
      const temp = dataList.filter(item => {
        if (item.id === info.id) {
          item.isCollection = info.isCollection
          item.viewCount++
        }
        if(item.isCollection) return item
      })
      this.setData({ dataList: temp})
    })
    eventBus.once('realpicDeBack', (info) => {
      const temp = dataList.filter(item => {
        if (item.id === info.id) {
          item.isCollection = info.isCollection
          item.viewCount++
        }
        if(item.isCollection) return item
      })
      this.setData({ dataList: temp})
    })
  },
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    this.setData({ dataList: [], pageNum: 1, total: 0 })
    this.setData({
      dataList: [],
      pageNum: 1,
      total: 0
    })
    wx.stopPullDownRefresh()
    this.getList()
  },
  onReachBottom() {
    console.log('触底事件');
    const { total, dataList, pageNum } = this.data
    const {
      total,
      dataList,
      pageNum
    } = this.data
    if(total > dataList.length){
      this.setData({ pageNum: pageNum + 1 })
      this.setData({
        pageNum: pageNum + 1
      })
      this.getList()
    }else{
      wx.showToast({
@@ -39,13 +82,17 @@
    const activeTabs = e.currentTarget.dataset.val
    this.setData({
      activeTabs,
      dataList: [],total: 0,pageNum: 1
      dataList: [],
      total: 0,
      pageNum: 1
    })
    this.getList()
  },
  handleDetail(e) {
    const id = e.currentTarget.dataset.id
    const { activeTabs } = this.data
    const {
      activeTabs
    } = this.data
    let url = ''
    if(activeTabs == 'product_intro'){
        url =  '/pages/detailDis/product'
@@ -83,13 +130,6 @@
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面初次渲染完成
   */
  onReady() {
  },
  /**
   * ç”Ÿå‘½å‘¨æœŸå‡½æ•°--监听页面显示
   */
  onShow() {
  },
wechat_jiaxuan/pages/userinfo/favorite.js
@@ -20,6 +20,7 @@
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    this.setData({ dataList: [], pageNum: 1, total: 0 })
    wx.stopPullDownRefresh()
    this.getList()
  },
  onReachBottom() {
wechat_jiaxuan/pages/userinfo/index.less
@@ -6,6 +6,9 @@
  box-shadow: 0rpx 2rpx 12rpx 0rpx rgba(0,0,0,0.08);
  border: 4rpx solid #FFFFFF;
}
.placeholder9{
  color: #c8c9cc;
}
.avatar_btn{
  width: 168rpx;
  height: 60rpx;
wechat_jiaxuan/pages/userinfo/index.wxml
@@ -5,17 +5,17 @@
    <view class="line">
      <view class="label">昵称</view>
      <view class="val">
        <input bindchange="getNickName" value="{{ nickname }}" maxlength="{{ 10 }}"  type="nickname"/>
        <input placeholder="请输入昵称" placeholder-class="placeholder9" bindchange="getNickName" value="{{ nickname }}" maxlength="{{ 10 }}"  type="nickname"/>
      </view>
    </view>
    <view class="line">
      <view class="label">姓名</view>
      <van-field type="text" border="{{ false }}" class="input" model:value="{{ name }}" maxlength="{{ 10 }}" clearable />
      <van-field placeholder="请输入姓名" type="text" border="{{ false }}" class="input" model:value="{{ name }}" maxlength="{{ 10 }}" clearable />
    </view>
    <view class="line">
      <view class="label">电话</view>
      <view class="wechat_phone">
        <van-field class="field" type="number" border="{{ false }}" model:value="{{ phone }}" maxlength="{{ 11 }}" clearable />
        <van-field placeholder="请输入电话" class="field" type="number" border="{{ false }}" model:value="{{ phone }}" maxlength="{{ 11 }}" clearable />
        <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" class="btn">微信授权</button>
      </view>
    </view>
@@ -25,7 +25,7 @@
        <view class="df_ac" style="width: 100%">
          <picker class="picker" mode="region" value="{{ addr }}" bindchange="positionChange">
            <view class="picker_wrap">
              <view class="text placeholder9" hidden="{{ addr.cityName }}">请选择地址</view>
              <view class="text placeholder9" hidden="{{ addr.cityName }}">请选择城市</view>
              <view class="text" hidden="{{ !addr.cityName }}">
                {{ addr.provinceName }}{{ addr.cityName }}{{ addr.areaName }}
              </view>
@@ -38,29 +38,31 @@
    <view class="line">
      <view class="label">地址</view>
      <view class="val" bindtap="changeAddr">
        <view class="df_ac">{{ address }}</view>
        <view class="df_ac" wx:if="{{address}}">{{ address }}</view>
        <view class="df_ac placeholder9">请选择地址</view>
        <image class="icon" src="../../static/icon/home_ar@2x.png" mode="widthFix"></image>
      </view>
    </view>
    <view class="line">
      <view class="label">小区</view>
      <van-field type="text" border="{{ false }}" class="input" model:value="{{ district }}" maxlength="{{ 15 }}" clearable />
      <van-field placeholder="请输入小区" type="text" border="{{ false }}" class="input" model:value="{{ district }}" maxlength="{{ 15 }}" clearable />
    </view>
    <view class="line">
      <view class="label">面积</view>
      <van-field custom-style="width: 100%" type="digit" border="{{ false }}" class="input" model:value="{{ housearea }}" maxlength="{{ 30 }}" clearable />
      <van-field placeholder="请输入面积" custom-style="width: 100%" type="digit" border="{{ false }}" class="input" model:value="{{ housearea }}" maxlength="{{ 30 }}" clearable />
      <text>m²</text>
    </view>
    <view class="line">
      <view class="label">户型</view>
      <view class="val" bindtap="openHouse">
        <view class="df_ac">
        <view wx:if="{{ houseType.val1 || houseType.val2 }}" class="df_ac">
          <text class="item" wx:if="{{ houseType.val1 }}">{{ houseType.val1 }}室</text>
          <text class="item" wx:if="{{ houseType.val2 }}">{{ houseType.val2 }}厅</text>
          <text class="item" wx:if="{{ houseType.val3 }}">{{ houseType.val3 }}厨</text>
          <text class="item" wx:if="{{ houseType.val4 }}">{{ houseType.val4 }}卫</text>
          <text class="item" wx:if="{{ houseType.val5 }}">{{ houseType.val5 }}阳</text>
        </view>
        <view wx:else class="df_ac placeholder9">请选择户型</view>
        <image class="icon" src="../../static/icon/home_ar@2x.png" mode="widthFix"></image>
      </view>
    </view>
wechat_jiaxuan/pages/userinfo/index.wxss
@@ -6,6 +6,9 @@
  box-shadow: 0rpx 2rpx 12rpx 0rpx rgba(0, 0, 0, 0.08);
  border: 4rpx solid #FFFFFF;
}
.placeholder9 {
  color: #c8c9cc;
}
.avatar_btn {
  width: 168rpx;
  height: 60rpx;
wechat_jiaxuan/pages/userinfo/mysub.js
@@ -18,6 +18,7 @@
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    this.setData({ dataList: [], page: 1, total: 0 })
    wx.stopPullDownRefresh()
    this.getList()
  },
  onReachBottom() {
wechat_jiaxuan/utils/eventBus.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,2 @@
const { HYEventBus } = require('hy-event-store')
export const eventBus = new HYEventBus()
wechat_staff/app.json
@@ -60,7 +60,10 @@
  "window": {
    "navigationBarTitleText": "ZB优家",
    "navigationBarTextStyle": "black",
    "navigationBarBackgroundColor": "#fff"
    "backgroundTextStyle": "dark",
    "navigationBarBackgroundColor": "#fff",
    "navigationStyle": "default",
    "backgroundColor": "#fff"
  },
  "requiredPrivateInfos": [
    "getLocation",
wechat_staff/pages/homeId/index.js
@@ -23,6 +23,11 @@
    this.getTabList()
    this.getList()
  },
  onPullDownRefresh() {
    this.setData({ dataList: [], pageNum: 1, total: 0 })
    wx.stopPullDownRefresh()
    this.getList()
  },
  onReachBottom() {
    console.log('触底事件');
    const { total, dataList, pageNum } = this.data
@@ -126,9 +131,6 @@
  /**
   * é¡µé¢ç›¸å…³äº‹ä»¶å¤„理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * é¡µé¢ä¸Šæ‹‰è§¦åº•事件的处理函数
wechat_staff/pages/homeId/index.json
@@ -1,3 +1,4 @@
{
  "navigationBarTitleText": ""
  "navigationBarTitleText": "",
  "enablePullDownRefresh": true
}
wechat_staff/pages/userinfo/collect.js
@@ -16,16 +16,17 @@
  },
  onLoad(options) {},
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    console.log('下拉刷新')
    this.setData({
      dataList: [],
      pageNum: 1,
      total: 0
    })
    wx.stopPullDownRefresh()
    this.getList()
  },
  onReachBottom() {
    console.log('触底事件');
    console.log('触底事件')
    const {
      total,
      dataList,