''
liukangdong
2024-08-02 1cee3a660c5f8e5f4290ae894c2898c4966a834d
''
已添加1个文件
已修改64个文件
758 ■■■■■ 文件已修改
wechat_jiaxuan/api/index.js 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disCase/index.less 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disCase/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disCase/index.wxss 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.js 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.less 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.wxss 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.less 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.wxss 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.js 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/detail.js 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/detail.wxml 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/case.js 78 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.wxml 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/realpic.js 77 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/discover/discover.less 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/discover/discover.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/discover/discover.wxss 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/homeId/index.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/homeId/index.wxml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/homeId/index.wxss 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.js 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.less 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.wxml 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.wxss 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/productVideo/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.less 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.wxss 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/project.private.config.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/static/icon/wx.gif 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/detailFooter/index.js 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disCase/index.less 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disCase/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disCase/index.wxss 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.less 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.wxss 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.less 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.wxss 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/consult/consult.js 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/consult/consult.less 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/consult/consult.wxml 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/consult/consult.wxss 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/consult/detail.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/discover/discover.less 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/discover/discover.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/discover/discover.wxss 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/homeId/index.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/homeId/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/homeId/index.wxss 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/index/index.wxml 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/fond.js 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/select.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/select.less 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/select.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/select.wxss 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/productVideo/index.js 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/productVideo/index.wxml 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/project.private.config.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/api/index.js
@@ -70,13 +70,6 @@
    data
  })
}
// 中台 分享
export const shareContent = (data) => {
  return request({
    url: '/web/customer/shareContent',
    data
  })
}
// 志说装修 内容
export const pageZSZXContentList = (data) => {
  return request({
wechat_jiaxuan/components/disCase/index.less
@@ -17,20 +17,13 @@
.app {
  height: 100%;
  width: 100%;
  overflow-y:hidden;
  .home_content{
    height: 100%;
  }
}
.home_top{
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content{
  height: 100%;
  padding-top: 120rpx;
  .query_wrap_scroll{
    width: 750rpx;
    padding: 0 40rpx;
wechat_jiaxuan/components/disCase/index.wxml
@@ -1,12 +1,12 @@
<view class="app">
  <view class="home_top" style="top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px">
  <view class="home_top">
    <view class="search_wrap">
      <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
      <input bindconfirm="bindblur" model:value="{{ query }}" type="text" placeholder="搜索案例名称" />
    </view>
  </view>
  <!--  -->
  <view class="home_content" style="padding-top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px;">
  <view class="home_content">
    <view class="main_content">
      <scroll-view class="query_wrap_scroll" scroll-x>
        <view class="query_wrap">
wechat_jiaxuan/components/disCase/index.wxss
@@ -17,19 +17,13 @@
.app {
  height: 100%;
  width: 100%;
  overflow-y: hidden;
}
.app .home_content {
  height: 100%;
}
.home_top {
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content {
  height: 100%;
  padding-top: 120rpx;
}
.main_content .query_wrap_scroll {
  width: 750rpx;
wechat_jiaxuan/components/disProduct/index.js
@@ -24,7 +24,8 @@
    total: 0,
    query: '',
    sortType: '',
    catalogCode: ""
    catalogCode: "",
    scrollTop: 0
  },
  pageLifetimes: {
    show: function() {
@@ -120,10 +121,6 @@
          icon: 'none'
        })
      }
    },
    scrolltoupper() {
      this.setData({ pageNum: 1, datalist: [], total: 0 })
      this.getList()
    },
    cateClick(e) {
      var {isLoading} = this.data
wechat_jiaxuan/components/disProduct/index.less
@@ -10,7 +10,6 @@
  display: flex;
  align-items: center;
  background-color: #F7F7F7;
  image {
    width: 28rpx;
    height: 28rpx;
@@ -27,16 +26,8 @@
  }
}
.home_top {
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content {
  display: flex;
  padding-top: 120rpx;
  height: 100%;
  .main_left {
    width: 160rpx;
wechat_jiaxuan/components/disProduct/index.wxml
@@ -1,11 +1,11 @@
<view class="app">
  <view class="home_top" style="top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px">
  <view class="home_top">
    <view class="search_wrap">
      <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
      <input bindconfirm="bindblur" model:value="{{ query }}" type="text" placeholder="搜索产品名称" />
    </view>
  </view>
  <view class="home_content" style="padding-top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px;">
  <view class="home_content">
    <view class="main_content">
      <scroll-view class="main_left" enable-flex scroll-y>
        <!-- <view class="main_left"> -->
wechat_jiaxuan/components/disProduct/index.wxss
@@ -22,15 +22,8 @@
.app .home_content {
  height: 100%;
}
.home_top {
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content {
  display: flex;
  padding-top: 120rpx;
  height: 100%;
}
.main_content .main_left {
wechat_jiaxuan/components/disRealpic/index.less
@@ -15,24 +15,16 @@
    margin-right: 16rpx;
  }
}
.app {
  height: 100%;
  width: 100%;
  overflow-y:hidden;
  .home_content{
    height: 100%;
  }
}
.home_top{
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content{
  height: 100%;
  padding-top: 120rpx;
  .query_wrap_scroll {
    width: 750rpx;
    padding: 0 40rpx;
wechat_jiaxuan/components/disRealpic/index.wxml
@@ -1,5 +1,5 @@
<view class="app">
  <view class="home_top" style="top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px">
  <view class="home_top">
    <view class="search_wrap">
      <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
      <input bindconfirm="bindblur"  model:value="{{ query }}" type="text" placeholder="搜索实景名称" />
@@ -7,7 +7,7 @@
  </view>
  <!--  -->
  <view class="home_content" style="padding-top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px;">
  <view class="home_content">
    <view class="main_content">
      <scroll-view class="query_wrap_scroll" scroll-x>
        <view class="query_wrap">
wechat_jiaxuan/components/disRealpic/index.wxss
@@ -17,19 +17,13 @@
.app {
  height: 100%;
  width: 100%;
  overflow-y: hidden;
}
.app .home_content {
  height: 100%;
}
.home_top {
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content {
  height: 100%;
  padding-top: 120rpx;
}
.main_content .query_wrap_scroll {
  width: 750rpx;
wechat_jiaxuan/pages/auth/auth.js
@@ -43,10 +43,15 @@
  handleJudge(e) {
    const flag = e.currentTarget.dataset.flag
    console.log(e);
    this.setData({ agreementFalg: flag, showModal: false })
    this.setData({
      agreementFalg: flag,
      showModal: false
    })
  },
  loginIn() {
    const { agreementFalg } = this.data
    const {
      agreementFalg
    } = this.data
    if(!agreementFalg) return wx.showToast({
      title: '请先阅读并同意相关协议',
      icon: 'none',
@@ -57,7 +62,10 @@
    console.log(e.detail)
    console.log(e.detail.iv)
    console.log(e.detail.encryptedData)
    const data = { ...e.detail }
    const data = {
      ...e.detail
    }
    if (e.detail && e.detail.iv) {
    getWxMiniPhone({
      encryptedData: data.encryptedData,
      iv: data.iv,
@@ -67,16 +75,30 @@
        phone: res.data
      }).then((res) => {
        if(res.code == 200){
            const tempPath = wx.getStorageSync('tempPath') || ''
          wx.setStorageSync('member', res.data)
            if (tempPath) {
              wx.redirectTo({
                url: tempPath,
              })
            } else {
          wx.navigateBack()
            }
        }
      })
    })
    }
  },
  onOpen(e){
    console.log('e', e);
    const { serviceHtml, privacyHtml } = this.data
    const { index } = e.target.dataset
    const {
      serviceHtml,
      privacyHtml
    } = this.data
    const {
      index
    } = e.target.dataset
    let activeHtml = index == '0' ? serviceHtml : privacyHtml
    this.setData({
      activeHtml,
@@ -84,7 +106,9 @@
    })
  },
  onClose(){
    this.setData({showModal: false})
    this.setData({
      showModal: false
    })
  },
  agreementChange(e) {
    this.setData({
wechat_jiaxuan/pages/consult/detail.js
@@ -1,4 +1,4 @@
import { shareContent, getProductNewsInfo } from '../../api/index'
import { actionDo, getProductNewsInfo } from '../../api/index'
Page({
  /**
@@ -51,15 +51,11 @@
  },
  handleShare() {
    console.log('点击了分享');
    shareContent(this.data.info.id)
    actionDo({
      actionType: 'share',
      id: this.data.info.id
    })
  },
  // onShareAppMessage: function () {
  //   // let { productDetail, userInfo } = this.data
  //   return {
  //     title: productDetail.title,
  //     path: '/pages/index/index?id=' + productDetail.id + '&shareuserid=' + userInfo.id + '&type=0'
  //   }
  // },
  onClose() {
    this.setData({showShare: false})
  },
wechat_jiaxuan/pages/consult/detail.wxml
@@ -28,20 +28,4 @@
      </view>
    </view>
  </view>
  <!--  -->
  <van-popup position="bottom" show="{{ showShare }}" bind:close="onClose">
    <view class="share_modal">
      <view class="btns">
        <button open-type="share" class="item" bindtap="handleShare">
          <image src="../../static/icon/wechat.png"></image>
          <view>发送好友</view>
        </button>
        <button class="item">
          <image src="../../static/icon/download.png"></image>
          <view>下载海报</view>
        </button>
      </view>
      <view bindtap="onClose" class="cancel">取消</view>
    </view>
  </van-popup>
</view>
wechat_jiaxuan/pages/detailDis/case.js
@@ -1,5 +1,10 @@
import { actionDo, getWholecaseInfo } from '../../api/index'
import { eventBus } from '../../utils/eventBus'
import {
  actionDo,
  getWholecaseInfo
} from '../../api/index'
import {
  eventBus
} from '../../utils/eventBus'
Page({
  /**
@@ -30,30 +35,48 @@
    })
    
    if(options.origin && options.origin == 'b'){
      this.setData({ origin: 'b' })
      this.setData({
        origin: 'b'
      })
    }
    const member = wx.getStorageSync('member')
    this.setData({id: options.id, member})
    this.setData({
      id: options.id,
      member
    })
  },
  priviewFull(){
    let { panorama: link, title } = this.data.info
    let {
      panorama: link,
      title
    } = this.data.info
    wx.navigateTo({
      url: '/pages/webView/index',
      success: function(res) {
        // 通过eventChannel向被打开页面传送数据
        res.eventChannel.emit('acceptDataFromOpenerPage', { link, title })
        res.eventChannel.emit('acceptDataFromOpenerPage', {
          link,
          title
        })
      }
    })
  },
  openShare() {
    this.setData({showShare: true})
    this.setData({
      showShare: true
    })
  },
  handleShare() {
    console.log('点击了分享');
    actionDo({ actionType: 'share', id: this.data.info.id })
    actionDo({
      actionType: 'share',
      id: this.data.info.id
    })
  },
  onShareAppMessage: function () {
    let { info } = this.data
    let {
      info
    } = this.data
    console.log('点击了分享')
    return {
      path: '/pages/detailDis/case?id=' + info.id + '&userId=' + info.users.id
@@ -61,7 +84,9 @@
  },
  handleAction(e){
    const actionType = e.currentTarget.dataset.code
    const { info } = this.data
    const {
      info
    } = this.data
    const member = wx.getStorageSync('member')
    if (member.authStatus == '0') {
      return wx.navigateTo({
@@ -73,7 +98,9 @@
      id: this.data.info.id
    }).then(res => {
      info.isCollection = !info.isCollection
      this.setData({info})
      this.setData({
        info
      })
      wx.showToast({
        title: actionType == 'collect' ? '收藏成功' : '取消收藏',
        icon: "none"
@@ -88,18 +115,32 @@
  priviewSpace(e) {
    const url = e.currentTarget.dataset.url
    const index = e.currentTarget.dataset.index
    const { info } = this.data
    const {
      info
    } = this.data
    wx.previewImage({
      urls: info.apiSpaceCaseVos[index].imgList,
      current: url
    })
  },
  getDetail(id, userId) {
    getWholecaseInfo({id, salesId: userId || null}).then(res => {
      this.setData({ info: res.data })
    getWholecaseInfo({
      id,
      salesId: userId || null
    }).then(res => {
      this.setData({
        info: res.data
      })
      wx.setNavigationBarTitle({
        title: res.data.title
     })
      if (userId) {
        getMemberInfo().then(res => {
          this.setData({
            member: res.data
          })
        })
      }
    })
  },
  handleDesign() {
@@ -109,11 +150,16 @@
  },
  playVideo() {
    wx.previewMedia({
      sources: [{ url: this.data.info.video, type: 'video' }]
      sources: [{
        url: this.data.info.video,
        type: 'video'
      }]
    })
  },
  onClose() {
    this.setData({showShare: false})
    this.setData({
      showShare: false
    })
  },
  /**
wechat_jiaxuan/pages/detailDis/product.js
@@ -107,9 +107,13 @@
      wx.setNavigationBarTitle({
        title: res.data.title
      })
      if(userId){
      getMemberInfo().then(res => {
        this.setData({ member: res.data })
      })
      }else{
        this.setData({ member: wx.getStorageSync('member') })
      }
    })
  },
  playVideo() {
wechat_jiaxuan/pages/detailDis/product.wxml
@@ -74,20 +74,5 @@
      </view>
    </view>
  </view>
  <!--  -->
  <van-popup position="bottom" show="{{ showShare }}" bind:close="onClose">
    <view class="share_modal">
      <view class="btns">
        <button open-type="share" class="item" bindtap="handleShare">
          <image src="../../static/icon/wechat.png"></image>
          <view>发送好友</view>
        </button>
        <button class="item" bindtap="handleDown">
          <image src="../../static/icon/download.png"></image>
          <view>下载海报</view>
        </button>
      </view>
      <view bindtap="onClose" class="cancel">取消</view>
    </view>
  </van-popup>
</view>
wechat_jiaxuan/pages/detailDis/realpic.js
@@ -1,5 +1,10 @@
import { getRealcaseInfo, actionDo } from '../../api/index'
import { eventBus } from '../../utils/eventBus'
import {
  getRealcaseInfo,
  actionDo
} from '../../api/index'
import {
  eventBus
} from '../../utils/eventBus'
Page({
  data: {
    bottomLift: 0,
@@ -29,14 +34,21 @@
      bottomLift: app.bottomLift
    })
    if(options.origin && options.origin == 'b'){
      this.setData({ origin: 'b' })
      this.setData({
        origin: 'b'
      })
    }
    const member = wx.getStorageSync('member')
    this.setData({id: options.id, member})
    this.setData({
      id: options.id,
      member
    })
  },
  handleAction(e){
    const actionType = e.currentTarget.dataset.code
    const { info } = this.data
    const {
      info
    } = this.data
    const member = wx.getStorageSync('member')
    if (member.authStatus == '0') {
      return wx.navigateTo({
@@ -52,20 +64,36 @@
        title: actionType == 'collect' ? '收藏成功' : '取消收藏',
        icon: "none"
      })
      this.setData({info})
      this.setData({
        info
      })
    })
  },
  getDetail(id, userId) {
    getRealcaseInfo({id, salesId: userId || null}).then(res => {
      this.setData({ info: res.data })
    getRealcaseInfo({
      id,
      salesId: userId || null
    }).then(res => {
      this.setData({
        info: res.data
      })
      wx.setNavigationBarTitle({
        title: res.data.title
     })
      if (userId) {
        getMemberInfo().then(res => {
          this.setData({
            member: res.data
          })
        })
      }
    })
  },
  priviewSpace(e) {
    const url = e.currentTarget.dataset.url
    const { info } = this.data
    const {
      info
    } = this.data
    wx.previewImage({
      urls: info.contentImgList,
      current: url
@@ -73,11 +101,17 @@
  },
  playVideo() {
    wx.previewMedia({
      sources: [{ url: this.data.info.video, type: 'video' }]
      sources: [{
        url: this.data.info.video,
        type: 'video'
      }]
    })
  },
  bannerbindload(e) {
    const { height, width } = e.detail
    const {
      height,
      width
    } = e.detail
    let activeHeight = height * 670 / width
    this.setData({
      bannerHeight: activeHeight
@@ -89,11 +123,16 @@
    })
  },
  openShare() {
    this.setData({showShare: true})
    this.setData({
      showShare: true
    })
  },
  handleShare() {
    console.log('点击了分享');
    actionDo({ actionType: 'share', id: this.data.info.id })
    actionDo({
      actionType: 'share',
      id: this.data.info.id
    })
    // shareContent({id: this.data.info.id || this.data.id}).then(res => {
    //   this.setData({showShare: false})
    // })
@@ -106,10 +145,14 @@
  //   }
  // },
  onClose() {
    this.setData({showShare: false})
    this.setData({
      showShare: false
    })
  },
  handleDown() {
    let { info } = this.data
    let {
      info
    } = this.data
    wx.showToast({
      title: '下载中',
      icon: 'loading'
@@ -155,7 +198,9 @@
  },
  onShareAppMessage: function () {
    let { info } = this.data
    let {
      info
    } = this.data
    console.log('点击了分享')
    return {
      path: '/pages/detailDis/realpic?id=' + info.id + '&userId=' + info.users.id
wechat_jiaxuan/pages/discover/discover.less
@@ -3,7 +3,6 @@
  display: flex;
  align-items: center;
  padding: 0 40rpx;
  // border: 1px solid red;
  .item{
    width: 76rpx;
    font-size: 32rpx;
@@ -26,12 +25,13 @@
  }
}
.home_tab{
  position: fixed;
  z-index: 999;
  width: 100%;
  background-color: #fff;
}
// .main_content{
//   padding-top: 200rpx;
// }
.container{
  height: 100vh;
  .main_content{
    overflow: hidden;
  }
}
wechat_jiaxuan/pages/discover/discover.wxml
@@ -17,7 +17,7 @@
    </view>
  </view>
  <!--  -->
  <view class="main_content" style="height: 100vh">
  <view class="main_content" style="height: calc( 100% - {{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px );">
    <disProduct menuButtonInfo="{{ menuButtonInfo }}" wx:if="{{ catalogCode == 'product_intro' }}" />
    <disCase menuButtonInfo="{{ menuButtonInfo }}" wx:if="{{ catalogCode == 'whole_case' }}" />
    <disRealpic menuButtonInfo="{{ menuButtonInfo }}" wx:if="{{ catalogCode == 'real_case' }}" />
wechat_jiaxuan/pages/discover/discover.wxss
@@ -24,8 +24,13 @@
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.56) 0%, rgba(206, 144, 111, 0.88) 100%);
}
.home_tab {
  position: fixed;
  z-index: 999;
  width: 100%;
  background-color: #fff;
}
.container {
  height: 100vh;
}
.container .main_content {
  overflow: hidden;
}
wechat_jiaxuan/pages/homeId/index.less
@@ -59,7 +59,7 @@
  }
}
.content{
  padding: 80rpx 40rpx 40rpx;
  padding: 0rpx 40rpx 40rpx;
  .item{
    margin-bottom: 60rpx;
    .img{
wechat_jiaxuan/pages/homeId/index.wxml
@@ -1,15 +1,15 @@
<view class="container">
  <!-- 分类 -->
  <view class="home_tabs">
    <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 30rpx;">
  <view wx:if="{{ tagList && tagList.length > 0 }}" class="home_tabs">
    <scroll-view scroll-x="true" style="width: 710rpx;margin-bottom: 30rpx;">
      <view class="scroll_cate">
        <view bindtap="cateClick" data-code="{{item.labelValueCode}}" wx:for="{{ tagList }}" class="item {{ tagCodes == item.labelValueCode ? 'active': '' }}">{{ item.labelValueName }}</view>
      </view>
    </scroll-view>
  </view>
  <!-- content -->
  <view class="content">
  <view class="content" style="padding-top: {{ tagList && tagList.length > 0 ? 80 : 0 }}rpx;">
    <view wx:for="{{ dataList }}" class="item" bindtap="itemClick" data-item="{{item}}">
      <image class="img" src="{{ item.coverImage }}" mode="widthFix"></image>
      <view class="title">{{ item.title }}</view>
wechat_jiaxuan/pages/homeId/index.wxss
@@ -2,7 +2,6 @@
  background-color: #fff;
}
.home_tabs {
  width: 100%;
  height: 80rpx;
  position: fixed;
  background-color: #fff;
@@ -56,7 +55,7 @@
  font-weight: 400;
}
.content {
  padding: 80rpx 40rpx 40rpx;
  padding: 0rpx 40rpx 40rpx;
}
.content .item {
  margin-bottom: 60rpx;
wechat_jiaxuan/pages/index/index.js
@@ -12,6 +12,7 @@
  eventBus
} from '../../utils/eventBus'
const app = getApp()
var touchDot = 0; //触摸时的原点
Page({
  /**
@@ -21,6 +22,8 @@
    // 顶部nav
    topHeadStyle: 1,
    top: 0,
    open: false,
    desc: true,
    font_color: '#ffffff',
    ZSZXCata: {},
@@ -56,6 +59,10 @@
    // 已经登录,可以走依赖token的逻辑了
    console.log('首页的onLoadLogin', options, `{"token":"${app.globalData.token}"}`);
    this.initData()
    const member = wx.getStorageSync('member')
    this.setData({
      member
    })
  },
  onReady() {
    const windowInfo = wx.getWindowInfo()
@@ -75,7 +82,6 @@
    this.setData({
      member
    })
    eventBus.once("reloadHome", () => {
      console.log('reloadHome');
      this.onLoad()
@@ -121,6 +127,7 @@
            url: '/pages/design/design'
          })
        } else {
          wx.setStorageSync('tempPath', '/pages/auth/auth')
          wx.navigateTo({
            url: '/pages/auth/auth',
          })
@@ -375,6 +382,24 @@
      id
    })
  },
  hdBtn() {
    this.setData({ showWhiteHead: true, open: true,font_color: "#000000", sty: '',topHeadStyle: 1, desc: false })
  },
  touchStart: function (e) {
    touchDot = e.touches[0].pageY;
  },
  touchMove: function (e) {
    var touchMove = e.touches[0].pageY;
    if (touchMove - touchDot <= 0 && this.data.top <= 1 && this.data.desc) {
      this.setData({ showWhiteHead: true, open: false, desc: false })
      setTimeout(() => {
        this.setData({ open: true, sty: '' })
      }, 1000)
    }
    if (touchMove - touchDot >= 50 && this.data.top <= 1 && !this.data.desc) {
      this.setData({ showWhiteHead: false, open: false, desc: true, sty: 'overflow: hidden;' })
    }
  },
  onPageScroll(e) {
    const { videoTop, windowHeight, videoPlay } = this.data
    if(e.scrollTop - 100 > videoTop - (windowHeight / 2) && videoPlay ){
wechat_jiaxuan/pages/index/index.less
@@ -4,8 +4,13 @@
  overflow-x: hidden;
  min-height: 100vh;
  .banner-bax {
    position: relative;
    width: 100%;
    margin: 0 auto 0;
  .banner_swiper {
    height: 600rpx;
      transition: height 1s;
      height: 100vh;
    width: 100%;
    image {
@@ -14,13 +19,31 @@
      display: block;
    }
  }
    .on{
      height: calc(100vh - 300rpx);
    }
  }
  .wxImg {
    width: 54rpx;
    height: 54rpx;
    display: block;
    position: absolute;
    bottom: 50rpx;
    left: 50%;
    z-index: 1;
    margin-left: -27rpx;
  }
  .consult_swiper {
    width: 100%;
    image {
      width: 670rpx;
      height: 376rpx;
    }
    .scroll_text{
      height: 100rpx;
      width: 670rpx;
@@ -30,11 +53,13 @@
      padding-top: 22rpx;
      font-size: 32rpx;
    }
    .wx-swiper-dots.wx-swiper-dots-horizontal {
      position: absolute;
      right: 0;
      bottom: 0rpx;
    }
    /* 指示点的样式 */
    .wx-swiper-dots .wx-swiper-dot {
      width: 60rpx;
@@ -48,8 +73,10 @@
      background: #666666;
    }
  }
  .consult_wrap{
    height: 476rpx;
    .wx-swiper-dots.wx-swiper-dots-horizontal {
      position: absolute;
      right: 0;
@@ -64,6 +91,7 @@
    align-items: center;
    padding: 0 0 60rpx;
    background-color: #fff;
    .logo {
      width: 246rpx;
    }
@@ -74,6 +102,7 @@
    right: 28rpx;
    bottom: 60rpx;
    width: 146rpx;
    height: 146rpx;
  }
  .function_wrap {
@@ -82,6 +111,7 @@
    justify-content: space-between;
    background-color: #fff;
    padding: 40rpx;
    .item {
      width: 214rpx;
      height: 232rpx;
@@ -118,6 +148,7 @@
  .product_video {
    padding: 34rpx 40rpx 44rpx;
    background-color: #fff;
    .video_wrap {
      width: 670rpx;
      position: relative;
@@ -137,6 +168,7 @@
        height: 376rpx;
      }
    }
    video{
      width: 100%;
    }
@@ -146,13 +178,16 @@
  .strategy {
    padding: 44rpx 40rpx;
    background: #F7F7F7;
    .item{
      position: relative;
      image {
        width: 100%;
        height: 100%;
        position: absolute;
      }
      text{
        color: #fff;
        position: absolute;
@@ -176,6 +211,7 @@
        .item {
          width: 322rpx;
          height: 160rpx;
          &:nth-last-child(1) {
            margin-top: 20rpx;
          }
@@ -207,16 +243,19 @@
    align-items: center;
    width: 670rpx;
    margin-bottom: 42rpx;
    .left {
      font-weight: 600;
      font-size: 34rpx;
      color: #111111;
      line-height: 34rpx;
      flex: 1;
      .name {
        display: flex;
        align-items: center;
        margin-bottom: 10rpx;
        .icon {
          width: 36rpx;
          height: 36rpx;
@@ -238,9 +277,11 @@
  }
}
.auth{
  background-color: #fff;
}
.home_title{
  font-weight: 600;
  font-size: 38rpx;
@@ -260,4 +301,3 @@
    font-size: 40rpx;
  }
}
wechat_jiaxuan/pages/index/index.wxml
@@ -11,16 +11,19 @@
  <van-nav-bar wx:else border="{{ topHeadBorder }}" custom-class="top-head-transparent" fixed>
    <view slot="left" class="flex-cc search">
      <text class="home_title" style="color: {{font_color}};">志邦家选</text>
    </view>
    </view>ƒ
  </van-nav-bar>
  <!-- banner轮播 -->
  <swiper class="banner_swiper" circular indicator-dots="{{ bannerSwiperOption.indicatorDots }}" autoplay="{{ bannerSwiperOption.autoplay }}" interval="{{ bannerSwiperOption.interval }}" style="height:{{bannerImgHeight}}rpx" duration="{{ bannerSwiperOption.duration }}">
  <view class="banner-bax">
    <image wx:if="{{ !showWhiteHead }}" src="/static/icon/wx.gif" class="wxImg" mode="widthFix" bindtap="hdBtn"></image>
    <swiper class="banner_swiper {{showWhiteHead?'on':''}}" circular indicator-dots="{{ bannerSwiperOption.indicatorDots }}" autoplay="{{ bannerSwiperOption.autoplay }}" interval="{{ bannerSwiperOption.interval }}" duration="{{ bannerSwiperOption.duration }}">
    <block wx:for="{{ bannerList }}" wx:key="index">
      <swiper-item>
        <image data-item="{{ item }}" data-id="{{ item.id }}" bindtap="bannerClick" bindload="bannerbindload" mode="widthFix" src="{{ item.coverImage }}"></image>
          <image data-item="{{ item }}" data-id="{{ item.id }}" bindtap="bannerClick" mode="aspectFill" src="{{ item.coverImage }}"></image>
      </swiper-item>
    </block>
  </swiper>
  </view>
  <!--  -->
  <view class="function_wrap">
    <view class="item" data-type="0" bindtap="changePath">
@@ -89,10 +92,9 @@
        </view>
      </view>
    </view>
    <view data-item="{{ ZSZXCata.jdId }}" bindtap="changeStrategy" class="home_id item">
    <!-- <view data-item="{{ ZSZXCata.jdId }}" bindtap="changeStrategy" class="home_id item">
      <image src="{{HOME_CLASS_C}}"></image>
      <!-- <text>{{ ZSZXCata.jdId.name }}</text> -->
    </view>
    </view> -->
  </view>
  <!-- 咨询 -->
  <view class="consult">
@@ -139,6 +141,6 @@
    <image src="../../static/icon/home_logo@2x.png" class="logo" mode="widthFix"></image>
  </view>
  <!-- active -->
  <image class="active_baoming" data-type="2" bindtap="changePath" src="../../static/icon/ic_float_baoming@2x.png" mode="widthFix"></image>
  <image class="active_baoming" data-type="2" bindtap="changePath" src="../../static/icon/ic_float_baoming@2x.png"></image>
<videoPlay class="videoPlay"/>
</view>
wechat_jiaxuan/pages/index/index.wxss
@@ -4,14 +4,33 @@
  overflow-x: hidden;
  min-height: 100vh;
}
.container .banner_swiper {
  height: 600rpx;
.container .banner-bax {
  position: relative;
  width: 100%;
  margin: 0 auto 0;
}
.container .banner-bax .banner_swiper {
  transition: height 1s;
  height: 100vh;
  width: 100%;
}
.container .banner_swiper image {
.container .banner-bax .banner_swiper image {
  width: 100%;
  height: 100%;
  display: block;
}
.container .banner-bax .on {
  height: calc(100vh - 300rpx);
}
.container .wxImg {
  width: 54rpx;
  height: 54rpx;
  display: block;
  position: absolute;
  bottom: 50rpx;
  left: 50%;
  z-index: 1;
  margin-left: -27rpx;
}
.container .consult_swiper {
  width: 100%;
@@ -69,6 +88,7 @@
  right: 28rpx;
  bottom: 60rpx;
  width: 146rpx;
  height: 146rpx;
}
.container .function_wrap {
  width: 100%;
wechat_jiaxuan/pages/productVideo/index.js
@@ -50,7 +50,7 @@
    })
  },
  itemClick(e) {
    const { videourl ,id} = e.currentTarget.dataset.item
    const { id} = e.currentTarget.dataset.item
    const { dataList } = this.data
    dataList.forEach(ite => {
      if(id === ite.id){
wechat_jiaxuan/pages/userinfo/index.js
@@ -86,9 +86,6 @@
        title: '保存成功',
        icon: 'none'
      })
      setTimeout(() => {
        wx.navigateBack()
      }, 500)
    })
  },
  initData() {
wechat_jiaxuan/pages/userinfo/index.less
@@ -41,6 +41,12 @@
        flex: 1;
      }
    }
    .df_ac{
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      width: 480rpx;
    }
    .label{
      width: 110rpx;
      font-size: 30rpx;
wechat_jiaxuan/pages/userinfo/index.wxml
@@ -42,8 +42,8 @@
    <view class="line">
      <view class="label">地址</view>
      <view class="val" bindtap="changeAddr">
        <view class="df_ac" wx:if="{{address}}">{{ address }}</view>
        <view class="df_ac placeholder9">请选择地址</view>
        <view class="df_ac" wx:if="{{address}}">{{ address }}{{ address }}</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
@@ -43,6 +43,12 @@
.list .line .picker .text {
  flex: 1;
}
.list .line .df_ac {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 480rpx;
}
.list .line .label {
  width: 110rpx;
  font-size: 30rpx;
wechat_jiaxuan/project.private.config.json
@@ -53,7 +53,7 @@
        },
        {
          "name": "",
          "pathName": "pages/productVideo/index",
          "pathName": "pages/detailDis/product",
          "query": "",
          "launchMode": "default",
          "scene": null
wechat_jiaxuan/static/icon/wx.gif
wechat_staff/components/detailFooter/index.js
@@ -1,5 +1,6 @@
import {
  getContentShareImg
  getContentShareImg,
  actionDo
} from '../../api/index'
Component({
  /**
@@ -37,6 +38,10 @@
        '/pages/consult/detail',//资讯详情
      ]
      const { info,  path} = this.data
      actionDo({
        actionType: 'share',
        id: info.id
      })
      wx.navigateToMiniProgram({
        appId: 'wxcd2b89fd2ff065f8',
        path: `${map[path]}?origin=b&id=${info.id}&userId=${wx.getStorageSync('member').id}`,
@@ -67,7 +72,7 @@
        info,
        path
      } = this.data
      let that = this
      getContentShareImg({
        articleId: `${info.id}_${path}`,
        type: '0',
@@ -128,6 +133,10 @@
      wx.setStorageSync('downloadConfig', {
        path: this.data.path,id: this.data.info.id
      })
      actionDo({
        actionType: 'download',
        id: this.data.info.id
      })
      wx.navigateTo({
        url: '/pages/download/index',
      }, 1000)
wechat_staff/components/disCase/index.less
@@ -17,20 +17,13 @@
.app {
  height: 100%;
  width: 100%;
  overflow-y:hidden;
  .home_content{
    height: 100%;
  }
}
.home_top{
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content{
  height: 100%;
  padding-top: 120rpx;
  .query_wrap_scroll{
    width: 750rpx;
    padding: 0 40rpx;
wechat_staff/components/disCase/index.wxml
@@ -1,12 +1,12 @@
<view class="app">
  <view class="home_top" style="top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px">
  <view class="home_top">
    <view class="search_wrap">
      <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
      <input bindconfirm="bindblur" model:value="{{ query }}" type="text" placeholder="搜索案例名称" />
    </view>
  </view>
  <!--  -->
  <view class="home_content" style="padding-top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px;">
  <view class="home_content">
    <view class="main_content">
      <scroll-view class="query_wrap_scroll" scroll-x>
        <view class="query_wrap">
wechat_staff/components/disCase/index.wxss
@@ -17,19 +17,13 @@
.app {
  height: 100%;
  width: 100%;
  overflow-y: hidden;
}
.app .home_content {
  height: 100%;
}
.home_top {
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content {
  height: 100%;
  padding-top: 120rpx;
}
.main_content .query_wrap_scroll {
  width: 750rpx;
wechat_staff/components/disProduct/index.less
@@ -27,16 +27,8 @@
  }
}
.home_top {
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content {
  display: flex;
  padding-top: 120rpx;
  height: 100%;
  .main_left {
    width: 160rpx;
wechat_staff/components/disProduct/index.wxml
@@ -1,11 +1,11 @@
<view class="app">
  <view class="home_top" style="top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px">
  <view class="home_top">
    <view class="search_wrap">
      <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
      <input bindconfirm="bindblur" model:value="{{ query }}" type="text" placeholder="搜索产品名称" />
    </view>
  </view>
  <view class="home_content" style="padding-top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px;">
  <view class="home_content">
    <view class="main_content">
      <scroll-view class="main_left" enable-flex scroll-y>
        <!-- <view class="main_left"> -->
wechat_staff/components/disProduct/index.wxss
@@ -22,15 +22,8 @@
.app .home_content {
  height: 100%;
}
.home_top {
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content {
  display: flex;
  padding-top: 120rpx;
  height: 100%;
}
.main_content .main_left {
wechat_staff/components/disRealpic/index.less
@@ -15,23 +15,16 @@
    margin-right: 16rpx;
  }
}
.app {
  height: 100%;
  width: 100%;
  overflow-y:hidden;
  .home_content{
    height: 100%;
  }
}
.home_top{
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content{
  height: 100%;
  padding-top: 120rpx;
  .query_wrap_scroll {
    width: 750rpx;
wechat_staff/components/disRealpic/index.wxml
@@ -1,5 +1,5 @@
<view class="app">
  <view class="home_top" style="top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px">
  <view class="home_top">
    <view class="search_wrap">
      <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
      <input bindconfirm="bindblur" model:value="{{ query }}" type="text" placeholder="搜索实景名称" />
@@ -7,7 +7,7 @@
  </view>
  <!--  -->
  <view class="home_content" style="padding-top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px;">
  <view class="home_content">
    <view class="main_content">
      <scroll-view class="query_wrap_scroll" scroll-x>
        <view class="query_wrap">
wechat_staff/components/disRealpic/index.wxss
@@ -17,19 +17,13 @@
.app {
  height: 100%;
  width: 100%;
  overflow-y: hidden;
}
.app .home_content {
  height: 100%;
}
.home_top {
  position: fixed;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
}
.main_content {
  height: 100%;
  padding-top: 120rpx;
}
.main_content .query_wrap_scroll {
  width: 750rpx;
wechat_staff/pages/consult/consult.js
@@ -1,4 +1,5 @@
import { getZhongTaiProductNewsPage, getCatalogList,actionDo,refreshEnjoy } from '../../api/index'
let touchDot = 0
Page({
  /**
@@ -7,6 +8,7 @@
  data: {
    category: [],
    secondCategory: [],
    showCate: true,
    catalogCode: '',
    tagCode: '',
@@ -15,6 +17,7 @@
    total: 0,
    pageNum: 1,
    pageSize: 10,
    scrollTop: 0
    // height: 0,
    // top: 0,
@@ -22,12 +25,12 @@
  onLoad(options) {
    this.getCate()
  },
  onReachBottom() {
  bindscrolltolower() {
    console.log('触底事件');
    const { total, dataList, pageNum } = this.data
    if(total > dataList.length){
      this.setData({ pageNum: pageNum + 1 })
      this.getList()
      this.getList(false)
    }else{
      wx.showToast({
        title: '暂无更多数据',
@@ -80,7 +83,7 @@
      })
    }    
  },
  getList() {
  getList(showCate = true) {
    const { pageNum, pageSize, catalogCode, tagCode, query } = this.data
    getZhongTaiProductNewsPage({
      pageNum, pageSize, query, catalogCode: tagCode || catalogCode
@@ -88,7 +91,8 @@
      if(res.data){
        this.setData({ 
          dataList: [ ...this.data.dataList, ...res.data.records ],
          total: res.data.total
          total: res.data.total,
          showCate
        })
      }
      
@@ -119,10 +123,20 @@
  onReady() {
  },
  /**
   * 生命周期函数--监听页面显示
   */
  touchstart(e){
    // touchDot = e.touches[0].pageY;
    console.log('开始', e);
  },
  touchmove(e) {
    // var touchMove = e.touches[0].pageY;
    console.log('touchMove', e);
    // if(touchDot - touchMove > 60){
    //   this.setData({ showCate: false })
    // }
    // if(touchMove - touchDot > 60){
    //   this.setData({ showCate: true })
    // }
  },
  onShow() {
    refreshEnjoy(this) 
  },
wechat_staff/pages/consult/consult.less
@@ -1,8 +1,10 @@
.container {
  background-color: #fff;
}
page{
  overflow: hidden;
}
.home_top{
  position: fixed;
  width: 100%;
  z-index: 99;
  top: 0;
@@ -11,17 +13,13 @@
.cate_wrap{
  background-color: #fff;
  .cate_one{
    position: fixed;
    top: 96rpx;
    background-color: #fff;
    width: 100%;
  }
  .cate_two{
    position: fixed;
    top: 156rpx;
    line-height: 88rpx;
    margin-left: 40rpx;
    height: 88rpx;
    background-color: #fff;
    padding-top: 30rpx;
    width: 100%;
  }
}
.search_wrap{
@@ -40,9 +38,9 @@
}
.scroll_cate {
  display: flex;
  align-items: center;
  line-height: 88rpx;
  margin-left: 40rpx;
  height: 60rpx;
  height: 88rpx;
  .item {
    margin-right: 54rpx;
    color: #666666;
@@ -57,6 +55,8 @@
}
.second_list {
  display: flex;
  align-items: center;
  .item {
    padding: 0 40rpx;
    display: flex;
@@ -69,14 +69,15 @@
    margin-right: 24rpx;
  }
  .active{
    background-color: var(--themeColor);
    background: rgba(176,135,113,0.08);
    color: #fff;
    font-size: 24rpx;
    font-weight: 400;
  }
}
.content{
  padding: 260rpx 40rpx 40rpx;
  padding: 0rpx 40rpx 40rpx;
  height: calc( 100vh - 200rpx );
  .item{
    margin-bottom: 60rpx;
    .img{
wechat_staff/pages/consult/consult.wxml
@@ -10,15 +10,15 @@
  </view>
  <!-- 分类 -->
  <view class="cate_wrap">
    <view class="cate_one">
      <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 30rpx;">
    <view wx:if="{{ category && category.length > 0 }}" class="cate_one">
      <scroll-view scroll-x="true">
        <view class="scroll_cate">
          <view bindtap="cateClick" data-code="{{item.code}}" wx:for="{{ category }}" class="item {{ catalogCode == item.code ? 'active': '' }}">{{ item.name }}</view>
        </view>
      </scroll-view>
    </view>
    <view class="cate_two">
      <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 24rpx;">
    <view wx:if="{{showCate && secondCategory && secondCategory.length > 0}}" class="cate_two">
      <scroll-view scroll-x="true">
        <view class="scroll_cate second_list">
          <view bindtap="seCateClick" data-code="{{item.code}}" wx:for="{{ secondCategory }}" class="item {{ tagCode == item.code ? 'active': '' }}">{{ item.name }}</view>
        </view>
@@ -26,7 +26,7 @@
    </view>
  </view>
  <!-- content -->
  <view class="content" style="padding-top: {{ secondCategory.length > 0 ? 276 : 186 }}rpx;">
  <scroll-view scroll-y enhanced class="content" bindscrolltolower="bindscrolltolower" binddragging="touchmove" binddragstart="touchstart">
    <view wx:for="{{ dataList }}" class="item" bindtap="itemClick" data-item="{{item}}">
      <image class="img" src="{{ item.coverImage }}" mode="widthFix"></image>
      <view class="title">{{ item.title }}</view>
@@ -41,6 +41,6 @@
    <view wx:if="{{ dataList.length == 0 }}" class="empty_wrap">
      <image class="default_empty" src="../../static/images/default_empty.png"></image>
    </view>
  </view>
  </scroll-view>
</view>
<wxs module="format" src="../../utils/format.wxs"></wxs>
wechat_staff/pages/consult/consult.wxss
@@ -1,8 +1,10 @@
.container {
  background-color: #fff;
}
page {
  overflow: hidden;
}
.home_top {
  position: fixed;
  width: 100%;
  z-index: 99;
  top: 0;
@@ -12,17 +14,13 @@
  background-color: #fff;
}
.cate_wrap .cate_one {
  position: fixed;
  top: 96rpx;
  background-color: #fff;
  width: 100%;
}
.cate_wrap .cate_two {
  position: fixed;
  top: 156rpx;
  line-height: 88rpx;
  margin-left: 40rpx;
  height: 88rpx;
  background-color: #fff;
  padding-top: 30rpx;
  width: 100%;
}
.search_wrap {
  width: 670rpx;
@@ -40,9 +38,9 @@
}
.scroll_cate {
  display: flex;
  align-items: center;
  line-height: 88rpx;
  margin-left: 40rpx;
  height: 60rpx;
  height: 88rpx;
}
.scroll_cate .item {
  margin-right: 54rpx;
@@ -53,6 +51,10 @@
  color: #222222;
  font-weight: 500;
  font-size: 30rpx;
}
.second_list {
  display: flex;
  align-items: center;
}
.second_list .item {
  padding: 0 40rpx;
@@ -66,13 +68,14 @@
  margin-right: 24rpx;
}
.second_list .active {
  background-color: var(--themeColor);
  background: rgba(176, 135, 113, 0.08);
  color: #fff;
  font-size: 24rpx;
  font-weight: 400;
}
.content {
  padding: 260rpx 40rpx 40rpx;
  padding: 0rpx 40rpx 40rpx;
  height: calc(100vh - 200rpx);
}
.content .item {
  margin-bottom: 60rpx;
wechat_staff/pages/consult/detail.js
@@ -1,4 +1,4 @@
import { shareContent, getProductNewsInfo } from '../../api/index'
import { shareContent, getProductNewsInfo, actionDo } from '../../api/index'
Page({
  /**
@@ -23,6 +23,10 @@
    this.getDetail(options.id)
  },
  handleDesign() {
    actionDo({
      actionType: 'share',
      id: this.data.info.id
    })
    wx.navigateToMiniProgram({
      appId: 'wxcd2b89fd2ff065f8',
      path: `/pages/consult/detail?id=${this.data.info.id}&origin=b&userId=${wx.getStorageSync('member').id}`,
wechat_staff/pages/discover/discover.less
@@ -26,12 +26,13 @@
  }
}
.home_tab{
  position: fixed;
  z-index: 999;
  width: 100%;
  background-color: #fff;
}
// .main_content{
//   padding-top: 200rpx;
// }
.container{
  height: 100vh;
  .main_content{
    overflow: hidden;
  }
}
wechat_staff/pages/discover/discover.wxml
@@ -18,7 +18,7 @@
    </view>
  </view>
  <!--  -->
  <view class="main_content" style="height: 100vh">
  <view class="main_content" style="height: calc( 100% - {{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px );">
    <disProduct class="disProduct" menuButtonInfo="{{ menuButtonInfo }}" wx:if="{{ catalogCode == 'product_intro' }}" />
    <disCase class="disCase" menuButtonInfo="{{ menuButtonInfo }}" wx:if="{{ catalogCode == 'whole_case' }}" />
    <disRealpic class="disRealpic" menuButtonInfo="{{ menuButtonInfo }}" wx:if="{{ catalogCode == 'real_case' }}" />
wechat_staff/pages/discover/discover.wxss
@@ -24,8 +24,13 @@
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.56) 0%, rgba(206, 144, 111, 0.88) 100%);
}
.home_tab {
  position: fixed;
  z-index: 999;
  width: 100%;
  background-color: #fff;
}
.container {
  height: 100vh;
}
.container .main_content {
  overflow: hidden;
}
wechat_staff/pages/homeId/index.less
@@ -59,7 +59,7 @@
  }
}
.content{
  padding: 80rpx 40rpx 40rpx;
  padding: 0rpx 40rpx 40rpx;
  .item{
    margin-bottom: 60rpx;
    .img{
wechat_staff/pages/homeId/index.wxml
@@ -1,7 +1,7 @@
<view class="container">
  <!-- 分类 -->
  <view class="home_tabs" style="width: 100%;">
  <view wx:if="{{tagList && tagList.length > 0 }}" class="home_tabs" style="width: 100%;">
    <scroll-view scroll-x="true" style="width: 710rpx;margin-bottom: 30rpx;">
      <view class="scroll_cate">
        <view bindtap="cateClick" data-code="{{item.labelValueCode}}" wx:for="{{ tagList }}" class="item {{ tagCodes == item.labelValueCode ? 'active': '' }}">{{ item.labelValueName }}</view>
@@ -9,7 +9,7 @@
    </scroll-view>
  </view>
  <!-- content -->
  <view class="content">
  <view class="content" style="padding-top: {{ tagList && tagList.length > 0 ? 80 : 0 }}rpx;">
    <view wx:for="{{ dataList }}" class="item" bindtap="itemClick" data-item="{{item}}">
      <image class="img" src="{{ item.coverImage }}" mode="widthFix"></image>
      <view class="title">{{ item.title }}</view>
wechat_staff/pages/homeId/index.wxss
@@ -55,7 +55,7 @@
  font-weight: 400;
}
.content {
  padding: 80rpx 40rpx 40rpx;
  padding: 0rpx 40rpx 40rpx;
}
.content .item {
  margin-bottom: 60rpx;
wechat_staff/pages/index/index.wxml
@@ -95,10 +95,9 @@
        </view>
      </view>
    </view>
    <view data-item="{{ ZSZXCata.jdId }}" bindtap="changeStrategy" class="home_id item">
    <!-- <view data-item="{{ ZSZXCata.jdId }}" bindtap="changeStrategy" class="home_id item">
      <image src="{{HOME_CLASS_C}}"></image>
      <!-- <text>{{ ZSZXCata.jdId.name }}</text> -->
    </view>
    </view> -->
  </view>
  <!-- service -->
  <view class="consult">
wechat_staff/pages/kefu/fond.js
@@ -165,14 +165,6 @@
      }
    })
  },
  batchDown() {
    setTimeout(() => {
      eventBus.emit('batchDown', [1,2,3])
    }, 800)
    wx.navigateTo({
      url: '/pages/download/index',
    })
  },
  closeCard() {
    this.setData({ isShowPoster: false })
  },
wechat_staff/pages/kefu/select.js
@@ -51,11 +51,19 @@
      platId: customer.platSourceId,
      platSource: customer.platSource
    }).then(res => {
      if (res.code == 200) {
      setTimeout(() => {
        wx.showToast({
          title: '绑定成功',icon: 'none'
            title: '绑定成功',
            icon: 'none'
        })
      }, 500)
      }else{
        return wx.showToast({
          title: res.message,
          icon: 'none'
        })
      }
      this.setData({
        customer: {}
      })
wechat_staff/pages/kefu/select.less
@@ -90,6 +90,10 @@
      }
      .val{
        color: #333333;
        width: 420rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
    .source{
wechat_staff/pages/kefu/select.wxml
@@ -25,7 +25,7 @@
          <view class="checked_wrap">
            <image data-item="{{ item }}" bindtap="itemCheck" wx:if="{{ customer.platSourceId == item.platSourceId }}" class="icon" src="../../static/icon/ic_video@2x.png" mode="widthFix"></image>
            <image wx:else data-item="{{ item }}" bindtap="itemCheck" class="icon" src="../../static/icon/ic_select@2x.png" mode="widthFix"></image>
            <image class="avatar" src="../../static/images/default_avatar.png"></image>
            <image class="avatar" src="{{ item.headPortrait ? item.headPortrait : '../../static/images/default_avatar.png' }}"></image>
          </view>
          <!--  -->
          <view class="content">
wechat_staff/pages/kefu/select.wxss
@@ -92,6 +92,10 @@
}
.list .item .line .val {
  color: #333333;
  width: 420rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list .item .source {
  margin-top: 12rpx;
wechat_staff/pages/productVideo/index.js
@@ -46,25 +46,18 @@
    })
  },
  itemClick(e) {
    const { videourl, id } = e.currentTarget.dataset
    const { id } = e.currentTarget.dataset.item
    const { dataList } = this.data
    dataList.forEach(ite => {
      if(id === ite.id){
        ite.viewCount += 1
      }
    })
    this.setData({ dataList })
    actionDo({
      actionType: 'view',
      id: id
    })
    var dataList = this.data.dataList;
    dataList.forEach(item =>{
       if(item.id == id){
         item.viewCount = (item.viewCount||0) +1
        }
    })
    this.setData({dataList:dataList})
    let videoPlay = this.selectComponent('.videoPlay');
    if(videoPlay){
      videoPlay.startPlayVideo(videourl,this );
    }
    // wx.previewMedia({
    //   sources: [{ url: videourl, type: 'video' }]
    // })
  },
  cateClick(e) {
    const { code } = e.target.dataset
wechat_staff/pages/productVideo/index.wxml
@@ -2,12 +2,12 @@
  <buoyClient class="buoyClient"/>
  <!-- 分类 -->
  <view>
    <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 30rpx;">
    <scroll-view wx:if="{{ category.length > 0 }}" scroll-x="true" style="width: 710rpx;margin-bottom: 30rpx;">
      <view class="scroll_cate">
        <view bindtap="cateClick" data-code="{{item.labelCode}}" wx:for="{{ category }}" class="item {{ tagCodes == item.labelCode ? 'active': '' }}">{{ item.labelName }}</view>
      </view>
    </scroll-view>
    <!-- <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 28rpx;">
    <!-- <scroll-view scroll-x="true" style="width: 710rpx;margin-bottom: 28rpx;">
      <view class="scroll_cate second_list">
        <view bindtap="seCateClick" data-index="{{index}}" wx:for="{{ secondCategory }}" class="item {{ index == 0 ? 'active': '' }}">{{ index }}{{ item }}</view>
      </view>
@@ -16,10 +16,11 @@
  <!-- content -->
  <view class="content">
    <view wx:for="{{ dataList }}" class="item">
      <view bindtap="itemClick" data-videourl="{{ item.videoUrl }}" data-id="{{ item.id }}" class="img_wrap">
      <!-- <view bindtap="itemClick" data-videourl="{{ item.videoUrl }}" data-id="{{ item.id }}" class="img_wrap">
        <image class="img" src="{{ item.coverImage }}" mode="widthFix"></image>
        <image class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
      </view>
      </view> -->
      <video poster="{{ item.coverImage }}" data-item="{{ item }}" bindplay="itemClick" class="img_wrap" src="{{ item.videoUrl }}"    show-center-play-btn show-fullscreen-btn></video>
      <view class="title">{{ item.title }}</view>
      <view class="df_sb static">
wechat_staff/project.private.config.json
@@ -45,7 +45,7 @@
        },
        {
          "name": "",
          "pathName": "pages/kefu/fond",
          "pathName": "pages/consult/consult",
          "query": "",
          "launchMode": "default",
          "scene": null
@@ -60,5 +60,5 @@
      ]
    }
  },
  "libVersion": "3.3.5"
  "libVersion": "3.5.1"
}