liukangdong
2024-07-26 1ae423f71a056e06a1f8908c6ae048d865e8ff47
b端
已添加1个文件
已修改42个文件
417 ■■■■■ 文件已修改
wechat_jiaxuan/app.json 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disCase/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disCase/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.js 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/calculator/index.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.js 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.less 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/consult/consult.wxss 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/case.js 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/case.wxml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.js 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/realpic.js 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/realpic.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/homeId/index.js 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/homeId/index.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.js 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/productVideo/index.js 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/productVideo/index.json 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/productVideo/index.less 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/productVideo/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/productVideo/index.wxss 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/staff.js 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/staff.less 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/staff.wxml 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/staff.wxss 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/store.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/store.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/collect.js 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/collect.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/favorite.js 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/favorite.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/mysub.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/mysub.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/webView/index.js 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/project.private.config.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/static/icon/ic_720.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/app.json
@@ -31,6 +31,7 @@
  "window": {
    "navigationBarTitleText": "志邦家选",
    "navigationBarTextStyle": "black",
    "backgroundTextStyle": "dark",
    "navigationBarBackgroundColor": "#fff",
    "navigationStyle": "default"
  },
wechat_jiaxuan/components/disCase/index.js
@@ -54,6 +54,10 @@
        }  
      })
    },
    scrolltoupper() {
      this.setData({ pageNum: 1,datalist: [],total: 0})
      this.getList()
    },
    scrolltolower() {
      console.log('触底事件');
      const { total, dataList, pageNum } = this.data
wechat_jiaxuan/components/disCase/index.wxml
@@ -35,7 +35,7 @@
        <view class="item {{ sortType == 'time' ? 'active' : '' }}" data-status="time" bindtap="statusChange">最新</view>
      </view>
      <!-- goods_list -->
      <scroll-view bindscrolltolower="scrolltolower" scroll-y    enable-passive enable-flex class="goods_list">
      <scroll-view bindscrolltoupper="scrolltoupper" bindscrolltolower="scrolltolower" scroll-y    enable-passive enable-flex class="goods_list">
        <view wx:for="{{ dataList }}" data-id="{{ item.id }}" class="item" bindtap="handleDetail">
          <view class="img_wrap">
            <image src="{{ item.coverImage }}" class="img"></image>
wechat_jiaxuan/components/disProduct/index.js
@@ -93,6 +93,10 @@
        })
      }
    },
    scrolltoupper() {
      this.setData({ pageNum: 1,datalist: [],total: 0})
      this.getList()
    },
    cateClick(e) {
      const catalogCode = e.currentTarget.dataset.code
      this.setData({ catalogCode, tagCodes: [] })
wechat_jiaxuan/components/disProduct/index.wxml
@@ -36,7 +36,7 @@
          <view class="separate"></view>
          <view class="item {{ sortType == 'time' ? 'active' : '' }}" data-status="time" bindtap="statusChange">最新</view>
        </view>
        <scroll-view bindscrolltolower="scrolltolower" scroll-y    enable-passive enable-flex class="goods_list">
        <scroll-view bindscrolltoupper="scrolltoupper" bindscrolltolower="scrolltolower" scroll-y    enable-passive enable-flex class="goods_list">
            <view wx:for="{{ datalist }}" data-id="{{item.id}}" class="item" bindtap="handleDetail">
              <view class="img_wrap">
                <image src="{{ item.coverImage }}" class="img" mode="aspectFit"></image>
wechat_jiaxuan/components/disRealpic/index.js
@@ -51,6 +51,10 @@
        })
      })
    },
    scrolltoupper() {
      this.setData({ pageNum: 1,datalist: [],total: 0})
      this.getList()
    },
    scrolltolower() {
      console.log('触底事件');
      const { total, dataList, pageNum } = this.data
wechat_jiaxuan/components/disRealpic/index.wxml
@@ -36,7 +36,7 @@
        <view class="item {{ sortType == 'time' ? 'active' : '' }}" data-status="time" bindtap="statusChange">最新</view>
      </view>
      <!-- goods_list -->
      <scroll-view bindscrolltolower="scrolltolower" scroll-y enable-passive enable-flex class="goods_list">
      <scroll-view bindscrolltoupper="scrolltoupper" bindscrolltolower="scrolltolower" scroll-y enable-passive enable-flex class="goods_list">
        <view wx:for="{{ dataList }}" data-item="{{item}}" class="item" bindtap="handleDetail">
          <view class="img_wrap">
            <image src="{{ item.coverImage }}" class="img"></image>
wechat_jiaxuan/pages/auth/auth.js
@@ -58,9 +58,7 @@
      }).then((res) => {
        if(res.code == 200){
          wx.setStorageSync('member', res.data)
          wx.switchTab({
            url: '/pages/index/index',
          })
          wx.navigateBack()
        }
      })
    })
wechat_jiaxuan/pages/calculator/index.js
@@ -92,7 +92,9 @@
      binDingPhone({
        phone: res.data
      }).then((res) => {
        this.setData({ userPhone: res.data })
        if(res.code == 200){
          this.setData()
          wx.setStorageSync('member', res.data)
          this.submit()
        }
wechat_jiaxuan/pages/consult/consult.js
@@ -35,6 +35,11 @@
      })
    }
  },
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    this.setData({ dataList: [], pageNum: 1, total: 0 })
    this.getList()
  },
  getCate() {
    getCatalogList({catalogCode: 'product_info'}).then(res => {
      this.setData({ category: res.data })
@@ -60,7 +65,7 @@
    actionDo({actionType: 'view',id: item.id})
    if(item.contentType == 'link'){
      wx.navigateTo({
        url: '/pages/webView/index?link=' + item.content,
        url: '/pages/webView/index',
        success: function(res) {
          // 通过eventChannel向被打开页面传送数据
          res.eventChannel.emit('acceptDataFromOpenerPage', { link: item.openContent, title: item.title })
wechat_jiaxuan/pages/consult/consult.json
@@ -2,5 +2,6 @@
  "usingComponents": {
    "idCard": "../../components/idCard/index"
  },
  "navigationBarTitleText": "资讯"
  "navigationBarTitleText": "资讯",
  "enablePullDownRefresh": true
}
wechat_jiaxuan/pages/consult/consult.less
@@ -6,36 +6,38 @@
  width: 100%;
  z-index: 99;
  top: 0;
  height: 96rpx;
  padding-bottom: 24rpx;
  background-color: #fff;
  .search_wrap{
    width: 670rpx;
    height: 72rpx;
    margin: 0rpx auto;
    border-radius: 8rpx;
    padding: 0 40rpx 0rpx;
    display: flex;
    align-items: center;
    background-color: #F7F7F7;
    image{
      width: 28rpx;
      margin-right: 16rpx;
    }
  }
}
.cate_wrap{
  background-color: #fff;
  .cate_one{
    position: fixed;
    top: 96rpx;
    top: 94rpx;
    background-color: #fff;
    width: 100%;
  }
  .cate_two{
    position: fixed;
    top: 156rpx;
    top: 154rpx;
    background-color: #fff;
    padding-top: 30rpx;
    width: 100%;
  }
}
.search_wrap{
  width: 670rpx;
  height: 72rpx;
  margin: 0rpx auto 24rpx;
  border-radius: 8rpx;
  padding: 0 40rpx;
  display: flex;
  align-items: center;
  background-color: #F7F7F7;
  image{
    width: 28rpx;
    margin-right: 16rpx;
  }
}
.scroll_cate {
wechat_jiaxuan/pages/consult/consult.wxml
@@ -23,7 +23,7 @@
    </view>
  </view>
  <!-- content -->
  <view class="content" style="padding-top: {{ secondCategory.length > 0 ? 276 : 186 }}rpx;">
  <view class="content" style="padding-top: {{ secondCategory.length > 0 ? 274 : 184 }}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/consult/consult.wxss
@@ -6,37 +6,39 @@
  width: 100%;
  z-index: 99;
  top: 0;
  height: 96rpx;
  padding-bottom: 24rpx;
  background-color: #fff;
}
.home_top .search_wrap {
  width: 670rpx;
  height: 72rpx;
  margin: 0rpx auto;
  border-radius: 8rpx;
  padding: 0 40rpx 0rpx;
  display: flex;
  align-items: center;
  background-color: #F7F7F7;
}
.home_top .search_wrap image {
  width: 28rpx;
  margin-right: 16rpx;
}
.cate_wrap {
  background-color: #fff;
}
.cate_wrap .cate_one {
  position: fixed;
  top: 96rpx;
  top: 94rpx;
  background-color: #fff;
  width: 100%;
}
.cate_wrap .cate_two {
  position: fixed;
  top: 156rpx;
  top: 154rpx;
  background-color: #fff;
  padding-top: 30rpx;
  width: 100%;
}
.search_wrap {
  width: 670rpx;
  height: 72rpx;
  margin: 0rpx auto 24rpx;
  border-radius: 8rpx;
  padding: 0 40rpx;
  display: flex;
  align-items: center;
  background-color: #F7F7F7;
}
.search_wrap image {
  width: 28rpx;
  margin-right: 16rpx;
}
.scroll_cate {
  display: flex;
wechat_jiaxuan/pages/detailDis/case.js
@@ -52,17 +52,37 @@
  handleAction(e){
    const actionType = e.currentTarget.dataset.code
    const { info } = this.data
    const member = wx.getStorageSync('member')
    if (member.authStatus == '0') {
      return wx.navigateTo({
        url: '/pages/auth/auth',
      })
    }
    actionDo({
      actionType,
      id: this.data.info.id
    }).then(res => {
      info.collection = !info.collection
      info.isCollection = !info.isCollection
      this.setData({info})
      wx.showToast({
        title: actionType == 'collect' ? '收藏成功' : '取消收藏',
      })
    })
  },
  priviewLayout() {
    wx.previewImage({
      urls: [this.data.info.layoutUlr]
    })
  },
  priviewSpace(e) {
    const url = e.currentTarget.dataset.url
    const index = e.currentTarget.dataset.index
    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 })
wechat_jiaxuan/pages/detailDis/case.wxml
@@ -11,7 +11,7 @@
    <image class="banner" src="{{ info.coverImage }}" mode="widthFix"></image>
  </view>
  <view class="h1">布置图</view>
  <image class="img" src="{{ info.layoutUlr }}"  mode="widthFix"></image>
  <image bindtap="priviewLayout" class="img" src="{{ info.layoutUlr }}"  mode="widthFix"></image>
  <view class="analysis">
    <view class="h2">案例解析</view>
    <view class="text">{{ info.caseInfo }}</view>
@@ -19,7 +19,7 @@
  <view class="list">
    <view wx:for="{{ info.apiSpaceCaseVos }}" class="item">
      <view class="h1">{{ item.spaceName }}</view>
      <image class="img" wx:for="{{ item.imgList }}" wx:for-item="img" src="{{ img }}" mode="widthFix" />
      <image data-index="{{index}}" data-url="{{ img }}" bindtap="priviewSpace" class="img" wx:for="{{ item.imgList }}" wx:for-item="img" src="{{ img }}" mode="widthFix" />
      <view class="content">{{ item.spaceDesc }}</view>
    </view>
  </view>
@@ -27,7 +27,7 @@
  <view class="footer" style="padding-bottom: {{bottomLift}}px;">
    <view class="btns">
      <button class="item btn">
        <image data-code="collect_cancel" bindtap="handleAction" wx:if="{{ info.collection }}" class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image>
        <image data-code="collect_cancel" bindtap="handleAction" wx:if="{{ info.isCollection }}" class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image>
        <image wx:else data-code="collect" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collect.png" mode="widthFix"></image>
        <view class="name">收藏</view>
      </button>
wechat_jiaxuan/pages/detailDis/product.js
@@ -34,16 +34,42 @@
      member
    })
  },
  priviewBanner(e) {
    const url = e.currentTarget.dataset.url
    const {
      info
    } = this.data
    wx.previewImage({
      urls: info.bannerImgList,
      current: url
    })
  },
  priviewSpace(e) {
    const url = e.currentTarget.dataset.url
    const {
      info
    } = this.data
    wx.previewImage({
      urls: info.spaceList,
      current: url
    })
  },
  handleAction(e) {
    const actionType = e.currentTarget.dataset.code
    const {
      info
    } = this.data
    const member = wx.getStorageSync('member')
    if (member.authStatus == '0') {
      return wx.navigateTo({
        url: '/pages/auth/auth',
      })
    }
    actionDo({
      actionType,
      id: this.data.info.id
    }).then(res => {
      info.collection = !info.collection
      info.isCollection = !info.isCollection
      this.setData({
        info
      })
@@ -54,7 +80,8 @@
  },
  getDetail(id, userId) {
    getProductInfo({
      id, salesId: userId || null
      id,
      salesId: userId || null
    }).then(res => {
      this.setData({
        info: res.data
wechat_jiaxuan/pages/detailDis/product.wxml
@@ -5,7 +5,7 @@
  <swiper class="banner_swiper" circular indicator-dots autoplay style="height:{{bannerHeight}}rpx" duration>
    <block wx:for="{{ info.bannerImgList }}">
      <swiper-item>
        <image bindload="bannerbindload" mode="widthFix" src="{{ item }}"></image>
        <image data-url="{{ item }}" bindtap="priviewBanner" bindload="bannerbindload" mode="widthFix" src="{{ item }}"></image>
      </swiper-item>
    </block>
  </swiper>
@@ -37,7 +37,7 @@
  <view class="spaceList">
    <view class="item" wx:for="{{ info.spaceList }}">
      <!-- <view class="name">{{ item.spaceName }}</view> -->
      <image src="{{ item.spaceImg }}" mode="widthFix" class="img"></image>
      <image data-url="{{ item.spaceImg }}" bindtap="priviewSpace" src="{{ item.spaceImg }}" mode="widthFix" class="img"></image>
      <!-- <mp-html content="{{item.spaceContent}}"></mp-html> -->
    </view>
  </view>
wechat_jiaxuan/pages/detailDis/realpic.js
@@ -31,11 +31,17 @@
  handleAction(e){
    const actionType = e.currentTarget.dataset.code
    const { info } = this.data
    const member = wx.getStorageSync('member')
    if (member.authStatus == '0') {
      return wx.navigateTo({
        url: '/pages/auth/auth',
      })
    }
    actionDo({
      actionType,
      id: this.data.info.id
    }).then(res => {
      info.collection = !info.collection
      info.isCollection = !info.isCollection
      wx.showToast({
        title: actionType == 'collect' ? '收藏成功' : '取消收藏',
      })
@@ -50,6 +56,14 @@
     })
    })
  },
  priviewSpace(e) {
    const url = e.currentTarget.dataset.url
    const { info } = this.data
    wx.previewImage({
      urls: info.contentImgList,
      current: url
    })
  },
  playVideo() {
    wx.previewMedia({
      sources: [{ url: this.data.info.video, type: 'video' }]
wechat_jiaxuan/pages/detailDis/realpic.wxml
@@ -3,7 +3,7 @@
  <idCard users="{{ info.users }}" wx:if="{{ info.users && info.users.id }}" />
  <view class="main_title">{{ info.title }}</view>
  <view class="time">发布时间:{{ info.publishDt }}</view>
  <image class="info_item" wx:for="{{ info.contentImgList }}" src="{{ item }}" mode="widthFix"></image>
  <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">
@@ -15,7 +15,7 @@
  <view class="footer" style="padding-bottom: {{bottomLift}}px;">
    <view class="btns">
      <button class="item btn">
        <image data-code="collect_cancel" bindtap="handleAction" wx:if="{{ info.collection }}" class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image>
        <image data-code="collect_cancel" bindtap="handleAction" wx:if="{{ info.isCollection }}" class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image>
        <image wx:else data-code="collect" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collect.png" mode="widthFix"></image>
        <view class="name">收藏</view>
      </button>
wechat_jiaxuan/pages/homeId/index.js
@@ -36,6 +36,11 @@
      })
    }
  },
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    this.setData({ dataList: [], pageNum: 1, total: 0 })
    this.getList()
  },
  getList(){
    const { code, tagCodes, pageSize, pageNum } = this.data
    pageZSZXContentList({
@@ -62,7 +67,11 @@
    }
    if(item.contentType == 'link'){
      wx.navigateTo({
        url: '/pages/webView/index?link=' + item.content,
        url: '/pages/webView/index',
        success: function(res) {
          console.log('发出事件');
          res.eventChannel.emit('data',{link:item.content} );
        }
      })
    }
    if(item.contentType == 'page'){
@@ -117,14 +126,6 @@
  onUnload() {
  },
  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * 页面上拉触底事件的处理函数
   */
wechat_jiaxuan/pages/homeId/index.json
@@ -1,3 +1,4 @@
{
  "navigationBarTitleText": ""
  "navigationBarTitleText": "",
  "enablePullDownRefresh": true
}
wechat_jiaxuan/pages/index/index.js
@@ -8,7 +8,9 @@
  getZhongTaiVideoPage,
  getZhongTaiProductNewsPage
} from '../../api/index'
const { HYEventBus } = require('hy-event-store')
const {
  HYEventBus
} = require('hy-event-store')
const eventBus = new HYEventBus()
Page({
@@ -93,7 +95,6 @@
          url: '/pages/calculator/index'
        })
        break;
      case '2':
        wx.navigateTo({
          url: '/pages/design/design'
@@ -256,7 +257,7 @@
    } = e.currentTarget.dataset
    const item = e.currentTarget.dataset.item
    console.log('item', item);
    if(item.openType){
    if (item.openType) {
      actionDo({
        actionType: 'view',
        id: item.id
@@ -272,7 +273,12 @@
    }
    if (item.openType == 'link') {
      wx.navigateTo({
        url: '/pages/webView/index?link=' + item.openContent,
        url: '/pages/webView/index',
        success: function (res) {
          res.eventChannel.emit('data', {
            link: item.content
          });
        }
      })
    }
    if (item.openType == 'page') {
wechat_jiaxuan/pages/productVideo/index.js
@@ -6,8 +6,9 @@
   */
  data: {
    category: [],
    activeCate: '',
    seActiveCate: '',
    tagCodes: '',
    videoUrl: '',
    showVideo: false,
    dataList: [],
    total: 0,
@@ -15,19 +16,35 @@
    pageNum: 1,
  },
  onReachBottom() {
    console.log('触底事件');
    const { total, dataList, pageNum } = this.data
    if(total > dataList.length){
      this.setData({ pageNum: pageNum + 1 })
      this.getList()
    }else{
      wx.showToast({
        title: '暂无更多数据',
        icon: 'none'
      })
    }
  },
  getList() {
    const { pageSize, pageNum } = this.data
    const { pageSize, pageNum, tagCodes } = this.data
    getZhongTaiVideoPage({
      pageSize,pageNum
      pageSize,pageNum, tagCodes: tagCodes ? [tagCodes] : null
    }).then(res => {
      this.setData({ dataList: res.data.records })
      this.setData({
        dataList: [...this.data.dataList, ...res.data.records],
        total: res.data.total
      })
    })
  },
  getTagList() {
    getCataLogTagList({
      catalogCode: 'video_rec'
    }).then(res => {
      this.setData({ category: res.data.valueVos })
      this.setData({ category: res.data })
    })
  },
  itemClick(e) {
@@ -37,8 +54,10 @@
    })
  },
  cateClick(e) {
    const { index } = e.target.dataset
    console.log(index);
    const { code } = e.target.dataset
    this.setData({ tagCodes: code })
    this.setData({ total: 0, dataList: [], pageNum: 1 })
    this.getList()
  },
  seCateClick(e) {
    const { index } = e.target.dataset
@@ -83,14 +102,6 @@
  onPullDownRefresh() {
  },
  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {
  },
  /**
   * 用户点击右上角分享
   */
wechat_jiaxuan/pages/productVideo/index.json
@@ -1,3 +1,6 @@
{
  "usingComponents": {
    "van-overlay": "@vant/weapp/overlay/index"
  },
  "navigationBarTitleText": "产品视频"
}
wechat_jiaxuan/pages/productVideo/index.less
@@ -68,9 +68,11 @@
    }
    .img_wrap{
      width: 100%;
      height: 376rpx;
      position: relative;
      .img{
        width: 100%;
        height: 376rpx;
      }
    }
    .title{
@@ -87,4 +89,17 @@
      }
    }
  }
}
.video_wrap{
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 999;
  video{
    width: 100%;
    position: fixed;
    z-index: 9999;
    top: 50%;
    transform: translate(0, -50%);
  }
}
wechat_jiaxuan/pages/productVideo/index.wxml
@@ -3,7 +3,7 @@
  <view>
    <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 30rpx;">
      <view class="scroll_cate">
        <view bindtap="cateClick" data-index="{{index}}" wx:for="{{ category }}" class="item {{ index == 0 ? 'active': '' }}">{{ item }}</view>
        <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;">
@@ -16,7 +16,7 @@
  <view class="content">
    <view wx:for="{{ dataList }}" class="item">
      <view class="img_wrap">
        <image class="img" src="{{ item.coverImage }}" mode="widthFix"></image>
        <image class="img" src="{{ item.coverImage }}" mode="aspectFill"></image>
        <image bindtap="itemClick" data-videourl="{{ item.videoUrl }}" class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
      </view>
wechat_jiaxuan/pages/productVideo/index.wxss
@@ -66,10 +66,12 @@
}
.content .item .img_wrap {
  width: 100%;
  height: 376rpx;
  position: relative;
}
.content .item .img_wrap .img {
  width: 100%;
  height: 376rpx;
}
.content .item .title {
  font-size: 30rpx;
@@ -84,3 +86,16 @@
  width: 26rpx;
  margin-right: 10rpx;
}
.video_wrap {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 999;
}
.video_wrap video {
  width: 100%;
  position: fixed;
  z-index: 9999;
  top: 50%;
  transform: translate(0, -50%);
}
wechat_jiaxuan/pages/store/staff.js
@@ -6,7 +6,7 @@
   */
  data: {
    bottomLift: 0,
    isShow: true,
    isShow: false,
    info: {}
  },
@@ -28,10 +28,15 @@
  getDetail(id) {
    usersDetailByIamId({iamId: id}).then(res => {
      this.setData({ info: res.data })
      if(res.data && res.data.qrcodeImgFull){
        this.setData({ isShow: true })
      }
    })
  },
  openModal() {
    this.setData({isShow: true})
    if(this.data.info.qrcodeImgFull){
      this.setData({ isShow: true })
    }
  },
  onClose() {
    this.setData({isShow: false})
wechat_jiaxuan/pages/store/staff.less
@@ -27,6 +27,14 @@
    margin-bottom: 40rpx;
    color: #333333;
    position: relative;
    .text{
      width: 100%;
      overflow : hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
    .icon{
      position: absolute;
      background: #F7F7F7;
@@ -114,10 +122,12 @@
  .line {
    display: flex;
    align-items: flex-start;
    font-size: 30rpx;
    margin-bottom: 42rpx;
    .icon {
      width: 30rpx;
      margin-top: 6rpx;
    }
    .label {
      color: #777777;
wechat_jiaxuan/pages/store/staff.wxml
@@ -9,11 +9,11 @@
        <view class="tag">导购</view>
        <!-- <view class="tag">{{ info.jobDate || '-' }}年经验</view> -->
      </view>
      <image bindtap="openModal" class="qrcode" src="../../static/icon/mingpian_erweima@2x.png" mode="widthFix"></image>
      <image wx:if="{{ info.qrcodeImgFull }}" bindtap="openModal" class="qrcode" src="../../static/icon/mingpian_erweima@2x.png" mode="widthFix"></image>
    </view>
    <view class="desc">
      <image src="../../static/icon/mingpian_ic_edit@2x.png" mode="widthFix"></image>
      <view>{{ info.slogans }}</view>
      <view class="text">{{ info.slogans }}</view>
      <view class="icon"></view>
    </view>
    <view class="static">
@@ -34,17 +34,17 @@
      <view class="line">
        <image class="icon" src="../../static/icon/mingpian_ic_phone@2x.png" mode="widthFix"></image>
        <text class="label">联系电话</text>
        <text class="val">{{ info.phone }}</text>
        <text class="val">{{ info.phone || '--' }}</text>
      </view>
      <view class="line">
        <image class="icon" src="../../static/icon/mingpian_ic_mendian@2x.png" mode="widthFix"></image>
        <text class="label">门店名称</text>
        <text class="val">{{ info.shopName }}</text>
        <text class="val">{{ info.shopName || '--' }}</text>
      </view>
      <view class="line">
        <image class="icon" src="../../static/icon/mingpian_ic_dizhi@2x.png" mode="widthFix"></image>
        <text class="label">门店地址</text>
        <text class="val">{{ info.shopAddress }}</text>
        <text class="val">{{ info.shopAddress || '--' }}</text>
      </view>
    </view>
  </view>
wechat_jiaxuan/pages/store/staff.wxss
@@ -28,6 +28,14 @@
  color: #333333;
  position: relative;
}
.container .desc .text {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.container .desc .icon {
  position: absolute;
  background: #F7F7F7;
@@ -102,11 +110,13 @@
}
.guide .line {
  display: flex;
  align-items: flex-start;
  font-size: 30rpx;
  margin-bottom: 42rpx;
}
.guide .line .icon {
  width: 30rpx;
  margin-top: 6rpx;
}
.guide .line .label {
  color: #777777;
wechat_jiaxuan/pages/store/store.js
@@ -72,6 +72,8 @@
  },
  userDetail(e) {
    const iamId =  e.currentTarget.dataset.id
    console.log('e', e);
    console.log('iamId', iamId);
    wx.navigateTo({
      url: `/pages/store/staff?id=${iamId}`,
    })
wechat_jiaxuan/pages/store/store.wxml
@@ -27,9 +27,9 @@
        </view>
        <scroll-view scroll-x style="width: 640rpx">
          <view class="user_list">
            <view bindtap="userDetail" data-id="{{ item.iamId }}" class="item" wx:for="{{ item.usersList }}" wx:for-item="user">
            <view bindtap="userDetail" data-id="{{ user.iamId }}" class="item" wx:for="{{ item.usersList }}" wx:for-item="user">
              <view class="info">
                <image class="avatar" src="{{ user.imgurlFull ? user.imgurlFull : '../../static/images/default_avatar.png' }}" mode="widthFix"></image>
                <image class="avatar" src="{{ user.imgurlFull ? user.imgurlFull : '../../static/images/default_avatar.png' }}" ></image>
                <view class="text">
                  <view class="name">{{ user.name }}</view>
                  <view class="ex" wx:if="{{user.jobDate}}">{{ user.jobDate || 5 }}年经验</view>
wechat_jiaxuan/pages/userinfo/collect.js
@@ -17,6 +17,11 @@
  onLoad(options) {
    this.getList()
  },
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    this.setData({ dataList: [], pageNum: 1, total: 0 })
    this.getList()
  },
  onReachBottom() {
    console.log('触底事件');
    const { total, dataList, pageNum } = this.data
@@ -101,14 +106,6 @@
  onUnload() {
  },
  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * 页面上拉触底事件的处理函数
   */
wechat_jiaxuan/pages/userinfo/collect.json
@@ -1,4 +1,5 @@
{
  "usingComponents": {},
  "navigationBarTitleText": "我收藏的"
  "navigationBarTitleText": "我收藏的",
  "enablePullDownRefresh": true
}
wechat_jiaxuan/pages/userinfo/favorite.js
@@ -17,6 +17,11 @@
  onLoad(options) {
    this.getList()
  },
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    this.setData({ dataList: [], pageNum: 1, total: 0 })
    this.getList()
  },
  onReachBottom() {
    console.log('触底事件');
    const { total, dataList, pageNum } = this.data
@@ -101,21 +106,6 @@
  onUnload() {
  },
  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {
  },
  /**
   * 页面上拉触底事件的处理函数
   */
  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {
  }
wechat_jiaxuan/pages/userinfo/favorite.json
@@ -1,4 +1,5 @@
{
  "usingComponents": {},
  "navigationBarTitleText": "我喜欢的"
  "navigationBarTitleText": "我喜欢的",
  "enablePullDownRefresh": true
}
wechat_jiaxuan/pages/userinfo/mysub.js
@@ -15,6 +15,11 @@
  onLoad(options) {
    this.getList()
  },
  onPullDownRefresh: function () {
    console.log('下拉刷新');
    this.setData({ dataList: [], page: 1, total: 0 })
    this.getList()
  },
  onReachBottom() {
    console.log('触底事件');
    const { total, dataList, page } = this.data
wechat_jiaxuan/pages/userinfo/mysub.json
@@ -1,4 +1,5 @@
{
  "usingComponents": {},
  "navigationBarTitleText": "我的预约"
  "navigationBarTitleText": "我的预约",
  "enablePullDownRefresh": true
}
wechat_jiaxuan/pages/webView/index.js
@@ -14,18 +14,13 @@
  onLoad: function (options) {
    let that = this
    const eventChannel = this.getOpenerEventChannel()
    if (options.link) {
      that.setData({ link: options.link, id: options.id })
    } else {
      // 监听acceptDataFromOpenerPage事件,获取上一页面通过eventChannel传送到当前页面的数据
      eventChannel.on('acceptDataFromOpenerPage', function(data) {
        console.log('参数', data)
        if (data.title)  wx.setNavigationBarTitle({ title: data.title })
        that.setData({ link: data.link, id: data.id })
        // saveBannerLookNum({ id: data.id })
      })
    }
    eventChannel.on('acceptDataFromOpenerPage', function(data) {
      console.log('参数', data)
      if (data.title)  wx.setNavigationBarTitle({ title: data.title })
      that.setData({ link: data.link, id: data.id })
      // saveBannerLookNum({ id: data.id })
    })
  },
  /**
wechat_jiaxuan/project.private.config.json
@@ -53,7 +53,7 @@
        },
        {
          "name": "",
          "pathName": "pages/store/info",
          "pathName": "pages/productVideo/index",
          "query": "",
          "launchMode": "default",
          "scene": null
wechat_staff/static/icon/ic_720.png