k94314517
2024-07-29 282ae8b61eed9a9eb81ac85a9c7f6899eb3652fd
Merge remote-tracking branch 'origin/master'
已删除2个文件
已修改72个文件
917 ■■■■■ 文件已修改
wechat_jiaxuan/app.json 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/app.wxss 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disCase/index.js 71 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disCase/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.less 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.wxss 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.js 37 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.json 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.less 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.wxml 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.wxss 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/idCard/index.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/idCard/index.wxss 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/videoPlay/index.less 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/videoPlay/index.wxss 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.less 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.wxml 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.wxss 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/homeId/index.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/sets/protocol.json 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/sets/protocol.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/info.less 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/info.wxml 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/info.wxss 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/staff.less 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/staff.wxss 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/store.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/store.wxss 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.js 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.less 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.wxml 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.wxss 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/project.private.config.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/utils/config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/utils/request.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/detailFooter/index.less 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/detailFooter/index.wxss 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disCase/index.js 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disCase/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.less 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.js 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.json 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.less 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.wxml 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.wxss 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/videoPlay/index.less 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/videoPlay/index.wxss 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/detailDis/product.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/detailDis/product.less 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/detailDis/product.wxml 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/homeId/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/index/index.less 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/index/index.wxss 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/fond.js 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/fond.less 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/fond.wxss 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/promotion/index.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/promotion/index.wxss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/sets/protocol.wxml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.less 39 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.wxml 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.wxss 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/userinfo/index.less 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/userinfo/index.wxss 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/work/index.less 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/work/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/work/index.wxss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/utils/config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/utils/request.js 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/app.json
@@ -79,6 +79,9 @@
  "permission": {
    "scope.userLocation": {
      "desc": "你的位置信息将用于小程序位置接口的效果展示"
    },
    "scope.userInfo": {
      "desc": "你的微信呢称将用于小程序呢称的效果展示"
    }
  },
  "componentFramework": "glass-easel",
wechat_jiaxuan/app.wxss
@@ -2,6 +2,9 @@
view,text,scroll-view,image{
  box-sizing: border-box;
}
.swiper{
  box-sizing: border-box;
}
page{
  background-color: #fff;
  --themeColor:#B08771;
wechat_jiaxuan/components/disCase/index.js
@@ -11,7 +11,7 @@
    activeParam: [],
    selParam: '',
    tagCodes: [],
    isLoading :false,
    cateList: [],
    dataList: [],
@@ -42,6 +42,10 @@
      })
    },
    getList() {
      if(this.data.isLoading){
        return
      }
      this.setData({isLoading:true})
      const { sortType, query, tagCodes, pageNum, pageSize, catalogCode } = this.data
      getZhongTaiWholecasePage({
        catalogCode, pageNum, pageSize, tagCodes, sortType, query
@@ -52,6 +56,8 @@
            dataList: [...this.data.dataList, ...res.data.records],
          })
        }
      }).finally(()=>{
        this.setData({isLoading:false})
      })
    },
    scrolltolower() {
@@ -90,48 +96,65 @@
      })
    },
    tagClick(e) {
      if(this.data.isLoading){
        return
      }
      const code = e.currentTarget.dataset.code
      const paramIndex = e.currentTarget.dataset.index
      const { cateList, tagCodes, activeParam, activeIndex } = this.data
      const index = tagCodes.indexOf(code)
      if (index === -1) {
        // åŒparam里code重复
        if (activeParam && activeParam.length > 0) {
          activeParam.forEach(item => {
            const indexTemp = tagCodes.indexOf(item.labelValueCode)
            if (indexTemp > -1) {
              tagCodes.splice(indexTemp, 1)
            }
          })
        }
        tagCodes.push(code)
        cateList[activeIndex].paramIndex = paramIndex
        cateList[activeIndex].paramName = activeParam[paramIndex].labelValueName
      if (cateList[activeIndex].tempParamIndex==null ||     cateList[activeIndex].tempParamIndex != paramIndex) {
        // // åŒparam里code重复
        // if (activeParam && activeParam.length > 0) {
        //   activeParam.forEach(item => {
        //     const indexTemp = tagCodes.indexOf(item.labelValueCode)
        //     if (indexTemp > -1) {
        //       tagCodes.splice(indexTemp, 1)
        //     }
        //   })
        // }
        // tagCodes.push(code)
        cateList[activeIndex].tempParamIndex = paramIndex
        cateList[activeIndex].tempParamName = activeParam[paramIndex].labelValueName
        cateList[activeIndex].tempParamCode = code
      } else {
        tagCodes.splice(index, 1)
        cateList[activeIndex].paramIndex = -1
        cateList[activeIndex].paramName = ''
        // tagCodes.splice(index, 1)
        cateList[activeIndex].tempParamIndex = -1
        cateList[activeIndex].tempParamName = null
        cateList[activeIndex].tempParamCode = null
      }
      this.setData({ pageNum: 1, dataList: [], total: 0 })
      this.setData({ tagCodes, cateList })
      // this.setData({ pageNum: 1, dataList: [], total: 0 })
      this.setData({cateList })
      console.log('tagCodes', tagCodes)
    },
    cancelParam() {
      const { cateList } = this.data
      cateList.forEach(item => {
        item.paramIndex = -1
        item.paramName = item.paramName || ''
        item.tempParamIndex =item.paramIndex
        item.tempParamName =item.paramName
        item.tempParamCode =item.paramCode
      })
      this.setData({ tagCodes: [], activeParam: [], cateList, activeIndex: -1 })
      this.setData({ activeParam: [],cateList , activeIndex: -1 })
    },
    bindblur() {
      this.setData({ pageNum: 1, dataList: [], total: 0 })
      this.getList()
    },
    subParam() {
    subParam() {
      this.setData({ activeParam: [] })
      this.setData({ pageNum: 1, activeIndex: -1, dataList: [], total: 0 })
      const { cateList } = this.data
      var codes = []
      cateList.forEach(item => {
        item.paramIndex =item.tempParamIndex
        item.paramName =item.tempParamName
        item.paramCode =item.tempParamCode
        if(item.paramIndex >-1 && item.paramCode){
          codes.push(item.paramCode)
        }
      })
      this.setData({tagCodes:codes, pageNum: 1, activeIndex: -1, dataList: [], total: 0 })
      this.getList()
    },
    changeShowParams(e) {
wechat_jiaxuan/components/disCase/index.wxml
@@ -11,7 +11,7 @@
      <scroll-view class="query_wrap_scroll" scroll-x>
        <view class="query_wrap">
          <view data-index="{{ index }}" wx:for="{{ cateList }}" class="item" bindtap="changeShowParams">
            <view class="name">{{ item.paramName || item.labelName }}</view>
            <view class="name">{{ item.tempParamName || item.labelName }}</view>
            <van-icon name="{{ activeIndex === index ? 'arrow-up' : 'arrow-down' }}" />
          </view>
        </view>
@@ -19,7 +19,7 @@
      <!--  param -->
      <view wx:if="{{ activeParam && activeParam.length > 0 }}" class="query_param">
        <view class="list">
          <view data-index="{{index}}" data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ cateList[activeIndex].paramIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
          <view data-index="{{index}}" data-tempindex="{{item.tempParamIndex}}"  data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ cateList[activeIndex].tempParamIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
        </view>
        <view class="btns">
          <view class="btn" bindtap="cancelParam">取消</view>
wechat_jiaxuan/components/disProduct/index.js
@@ -131,7 +131,7 @@
      console.log('code', code)
      console.log('tagCodes', tagCodes)
      console.log(secondCateList)
      if (index === -1) {
      if ( secondCateList[activeIndex].tempParamIndex==null ||      secondCateList[activeIndex].tempParamIndex != paramIndex) {
        // åŒparam里code重复
        // if (activeParam && activeParam.length > 0) {
        //   activeParam.forEach(item => {
wechat_jiaxuan/components/disProduct/index.less
@@ -178,6 +178,9 @@
        width: 242rpx;
        flex-shrink: 0;
        margin-bottom: 32rpx;
        &:nth-last-child(1){
          margin-right: auto;
        }
        .img_wrap {
          width: 242rpx;
          border-radius: 8rpx;
wechat_jiaxuan/components/disProduct/index.wxml
@@ -21,7 +21,7 @@
        </view>
        <view wx:if="{{ activeParam.length > 0 }}" class="query_form">
          <view class="list">
            <view data-index="{{index}}" data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ secondCateList[activeIndex].tempParamIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
            <view data-index="{{index}}" data-tempindex="{{item.tempParamIndex}}"  data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ secondCateList[activeIndex].tempParamIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
          </view>
          <view class="btns">
            <view class="btn" bindtap="cancelParam">取消</view>
wechat_jiaxuan/components/disProduct/index.wxss
@@ -164,6 +164,9 @@
  flex-shrink: 0;
  margin-bottom: 32rpx;
}
.main_content .main_right .goods_list .item:nth-last-child(1) {
  margin-right: auto;
}
.main_content .main_right .goods_list .item .img_wrap {
  width: 242rpx;
  border-radius: 8rpx;
wechat_jiaxuan/components/disRealpic/index.js
@@ -76,9 +76,15 @@
    },
    videoClick(e) {
      const { videourl } = e.currentTarget.dataset
      wx.previewMedia({
        sources: [{ url: videourl, type: 'video' }]
      })
      let videoPlay = this.selectComponent('.videoPlay');
      if(videoPlay){
        videoPlay.startPlayVideo(videourl,this );
      }
      console.log(videourl+"-------------------------------------")
      // wx.previewMedia({
      //   sources: [{ url: videourl, type: 'video' }]
      // })
    },
    priviewFull(e){
      const item = e.currentTarget.dataset.item
@@ -111,9 +117,14 @@
      const item = e.currentTarget.dataset.item
      console.log('item', item);
      if(item.openType == 'video'){
        wx.previewMedia({
          sources: [{ url: item.openContent, type: 'video' }]
        })
        let videoPlay = this.selectComponent('.videoPlay');
        if(videoPlay){
          videoPlay.startPlayVideo(item.openContent,this );
        }
        // wx.previewMedia({
        //   sources: [{ url: item.openContent, type: 'video' }]
        // })
      }
      if(item.openType == 'link'){
        wx.navigateTo({
@@ -137,18 +148,8 @@
      const code = e.currentTarget.dataset.code
      const paramIndex = e.currentTarget.dataset.index
      const { cateList, tagCodes, activeParam, activeIndex } = this.data
      const index = tagCodes.indexOf(code)
      if(index === -1){
        // if(activeParam && activeParam.length > 0){
        //   activeParam.forEach(item => {
        //     const indexTemp = tagCodes.indexOf(item.labelValueCode)
        //     if(indexTemp > -1){
        //       tagCodes.splice(indexTemp, 1)
        //     }
        //   })
        // }
        // tagCodes.push(code)
      const index = tagCodes.indexOf(code)
      if( cateList[activeIndex].tempParamIndex==null ||     cateList[activeIndex].tempParamIndex != paramIndex){
        cateList[activeIndex].tempParamIndex = paramIndex
        cateList[activeIndex].tempParamName = activeParam[paramIndex].labelValueName
        cateList[activeIndex].tempParamCode = code
wechat_jiaxuan/components/disRealpic/index.json
@@ -1,4 +1,6 @@
{
  "component": true,
  "usingComponents": {}
  "usingComponents": {
    "videoPlay": "/components/videoPlay/index"
  }
}
wechat_jiaxuan/components/disRealpic/index.less
@@ -150,6 +150,9 @@
    .item {
      width: 324rpx;
      margin-bottom: 32rpx; 
      &:nth-last-child(1){
        margin-right: auto;
      }
      .img_wrap {
        width: 100%;
        height: 182rpx;
@@ -168,14 +171,14 @@
        .full {
          position: absolute;
          top: 32rpx;
          right: 32rpx;
          top: 16rpx;
          left: 16rpx;
          font-size: 20rpx;
          color: rgba(255, 255, 255, 0.8);
          width: 112rpx;
          height: 42rpx;
          width:52rpx;
          height: 46rpx;
          background: rgba(0, 0, 0, 0.54);
          border-radius: 30rpx;
          border-radius: 8rpx;
          display: flex;
          align-items: center;
          justify-content: center;
wechat_jiaxuan/components/disRealpic/index.wxml
@@ -12,7 +12,7 @@
      <scroll-view class="query_wrap_scroll" scroll-x>
        <view class="query_wrap">
          <view data-index="{{ index }}" wx:for="{{ cateList }}" class="item" bindtap="changeShowParams">
            <view class="name">{{ item.paramName || item.labelName }}</view>
            <view class="name">{{ item.tempParamName || item.labelName }}</view>
            <van-icon name="{{ activeIndex === index ? 'arrow-up' : 'arrow-down' }}" />
          </view>
        </view>
@@ -20,7 +20,7 @@
      <!--  param -->
      <view wx:if="{{ activeParam && activeParam.length > 0 }}" class="query_param">
        <view class="list">
          <view data-index="{{index}}" data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ cateList[activeIndex].paramIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
          <view data-index="{{index}}" data-tempindex="{{item.tempParamIndex}}"  data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ cateList[activeIndex].tempParamIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
        </view>
        <view class="btns">
          <view class="btn" bindtap="cancelParam">取消</view>
@@ -40,9 +40,8 @@
        <view wx:for="{{ dataList }}" data-item="{{item}}" class="item" bindtap="handleDetail">
          <view class="img_wrap">
            <image src="{{ item.coverImage }}" class="img"></image>
            <view wx:if="{{ item.openType == 'link' }}" data-item="{{item}}" bindtap="priviewFull" class="full">
              <image class="icon" src="../../static/icon/ic_720.png" mode="widthFix"></image>
              <text>全景</text>
            <view wx:if="{{ item.openType == 'link' }}" data-item="{{item}}" bindtap="priviewFull" class="full">
              <text>VR</text>
            </view>
            <image wx:if="{{ item.openType == 'video' }}" bindtap="videoClick" data-videourl="{{ item.openContent }}" class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
            <image wx:if="{{ false }}" class="new" src="../../static/icon/chanpin_ic_new@2x.png" mode="widthFix"></image>
@@ -66,4 +65,5 @@
  </view>
  <videoPlay class="videoPlay"/>
</view>
wechat_jiaxuan/components/disRealpic/index.wxss
@@ -132,10 +132,12 @@
  flex-wrap: wrap;
  justify-content: space-around;
}
.main_content .goods_list .item {
  width: 324rpx;
  margin-bottom: 32rpx;
}
.main_content .goods_list .item:nth-last-child(1) {
  margin-right: auto;
}
.main_content .goods_list .item .img_wrap {
  width: 100%;
@@ -154,14 +156,14 @@
}
.main_content .goods_list .item .img_wrap .full {
  position: absolute;
  top: 32rpx;
  right: 32rpx;
  top: 16rpx;
  left: 16rpx;
  font-size: 20rpx;
  color: rgba(255, 255, 255, 0.8);
  width: 112rpx;
  height: 42rpx;
  width:52rpx;
  height: 46rpx;
  background: rgba(0, 0, 0, 0.54);
  border-radius: 30rpx;
  border-radius: 8rpx;
  display: flex;
  align-items: center;
  justify-content: center;
wechat_jiaxuan/components/idCard/index.less
@@ -39,7 +39,7 @@
      font-size: 20rpx;
      color: #333333;
      .icon{
        margin-bottom: 4rpx;
        margin-bottom: 6rpx;
        width: 44rpx;
        height: 44rpx;
      }
wechat_jiaxuan/components/idCard/index.wxss
@@ -38,7 +38,7 @@
  color: #333333;
}
.user .btns .item .icon {
  margin-bottom: 4rpx;
  margin-bottom: 6rpx;
  width: 44rpx;
  height: 44rpx;
}
wechat_jiaxuan/components/videoPlay/index.less
ÎļþÒÑɾ³ý
wechat_jiaxuan/components/videoPlay/index.wxss
@@ -5,15 +5,17 @@
  left: 0;
  width: 100%;
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999; 
}
.video_content .video{
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  top: 40%;
  left: 0;
  width: 750rpx;
  z-index: 10000;
}
video{
  width: 750rpx;
}
wechat_jiaxuan/pages/detailDis/product.js
@@ -11,10 +11,14 @@
    current: 0,
    id: '',
    origin: '',
    isFold: false,
    info: {},
    member: {},
    showShare: false
  },
  changeFold() {
    this.setData({ isFold: !this.data.isFold })
  },
  onLoadLogin(options) {
    this.getDetail(options.id, options.userId || '')
    actionDo({
wechat_jiaxuan/pages/detailDis/product.less
@@ -92,13 +92,14 @@
  border-radius: 16rpx 16rpx 0rpx 0rpx;
  background-color: #fff;
  margin-bottom: 20rpx;
  overflow: hidden;
  .title {
    font-weight: 500;
    font-size: 36rpx;
    margin-bottom: 16rpx;
  }
  .desc {
    line-height: 40rpx;
    font-size: 26rpx;
    color: #555555;
    margin-bottom: 26rpx;
@@ -211,7 +212,16 @@
.detail {
  padding: 52rpx 40rpx 40rpx;
  background-color: #fff;
  .fold{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 84rpx;
    margin-top: 20rpx;
    .icon{
      margin-left: 12rpx;
    }
  }
  .title {
    font-weight: 600;
    font-size: 36rpx;
@@ -220,7 +230,8 @@
  .line {
    display: flex;
    margin-bottom: 20rpx;
    padding: 24rpx 0 26rpx;
    border-bottom: 1rpx dashed #E5E5E5;
    .label {
      width: 120rpx;
      font-size: 24rpx;
wechat_jiaxuan/pages/detailDis/product.wxml
@@ -10,7 +10,7 @@
        </swiper-item>
      </block>
    </swiper>
    <view class="indicator">{{current}}/{{info.bannerImgList.length}}</view>
    <view class="indicator">{{current + 1}}/{{info.bannerImgList.length}}</view>
  </view>
  <view class="main_content">
    <view class="title">{{ info.title }}</view>
@@ -31,9 +31,15 @@
  </view>
  <view class="detail">
    <view class="title">产品详情</view>
    <view class="line" wx:for="{{ info.productParamList }}">
      <view class="label">{{ item.paramName }}:</view>
      <view class="val">{{ item.paramValue }}</view>
    <block wx:for="{{ info.productParamList }}">
      <view wx:if="{{ index < 5 || isFold }}" class="line" >
        <view class="label">{{ item.paramName }}:</view>
        <view class="val">{{ item.paramValue }}</view>
      </view>
    </block>
    <view wx:if="{{ info.productParamList.length > 5 }}" class="fold" bindtap="changeFold">
      <text>{{ isFold ? '收起' : '展开' }}</text>
      <van-icon class="icon" name="{{ isFold ? 'arrow-up' : 'arrow-down' }}" />
    </view>
  </view>
  <!-- å¯Œæ–‡æœ¬ -->
wechat_jiaxuan/pages/detailDis/product.wxss
@@ -85,6 +85,7 @@
  border-radius: 16rpx 16rpx 0rpx 0rpx;
  background-color: #fff;
  margin-bottom: 20rpx;
  overflow: hidden;
}
.main_content .title {
  font-weight: 500;
@@ -92,6 +93,7 @@
  margin-bottom: 16rpx;
}
.main_content .desc {
  line-height: 40rpx;
  font-size: 26rpx;
  color: #555555;
  margin-bottom: 26rpx;
@@ -161,6 +163,7 @@
}
.video .img_wrap .img {
  width: 100%;
  height: 376rpx;
}
.video .img_wrap .play {
  position: absolute;
@@ -175,10 +178,28 @@
  border-radius: 30rpx;
  font-size: 26rpx;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video .img_wrap .play .icon {
  width: 14rpx;
  height: 16rpx;
  margin-left: 14rpx;
}
.detail {
  padding: 52rpx 40rpx 40rpx;
  background-color: #fff;
}
.detail .fold {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 84rpx;
  margin-top: 20rpx;
}
.detail .fold .icon {
  margin-left: 12rpx;
}
.detail .title {
  font-weight: 600;
@@ -187,13 +208,14 @@
}
.detail .line {
  display: flex;
  height: 32rpx;
  margin-bottom: 24rpx;
  padding: 24rpx 0 26rpx;
  border-bottom: 1rpx dashed #E5E5E5;
}
.detail .line .label {
  width: auto;
  width: 120rpx;
  font-size: 24rpx;
  color: #666666;
  flex-shrink: 0;
}
.detail .line .val {
  flex: 1;
wechat_jiaxuan/pages/homeId/index.js
@@ -53,6 +53,8 @@
        total: res.data.total,
        dataList: [ ...this.data.dataList, ...res.data.records ]
      })
    }).finally(()=>{
      wx.stopPullDownRefresh()
    })
  },
  itemClick(e) {
wechat_jiaxuan/pages/sets/protocol.json
@@ -1,4 +1,6 @@
{
  "usingComponents": {},
  "usingComponents": {
    "mp-html": "mp-html"
  },
  "navigationBarTitleText": ""
}
wechat_jiaxuan/pages/sets/protocol.wxml
@@ -1,3 +1,3 @@
<view class="container">
  <rich-text nodes="{{ activeHtml }}"></rich-text>
<view style="width: 100%;height: auto;padding: 0px 40rpx;">
<mp-html  content="{{activeHtml}}"> </mp-html>
</view>
wechat_jiaxuan/pages/store/info.less
@@ -103,6 +103,9 @@
    }
  }
}
.empty_wrap{
  padding-top: 100rpx;
}
.container{
  overflow: hidden;
  height: 100%;
wechat_jiaxuan/pages/store/info.wxml
@@ -12,7 +12,7 @@
    </view>
    <view class="main_content">
      <view class="title">门店导购</view>
      <scroll-view    scroll-y class="list">
      <scroll-view scroll-y class="list">
        <view class="item" wx:for="{{ info.usersList }}">
          <image data-id="{{ item.iamId }}" bindtap="handleDetail" src="{{ item.imgurlFull ? item.imgurlFull : '../../static/images/default_avatar.png' }}" class="avatar"></image>
          <view data-id="{{ item.iamId }}" bindtap="handleDetail" class="content">
@@ -21,6 +21,9 @@
          </view>
          <view data-phone="{{ item.phone }}" bindtap="callPhone" class="btn">联系TA</view>
        </view>
        <view wx:if="{{ info.usersList.length == 0 }}" class="empty_wrap">
          <image class="default_empty" src="../../static/images/default_empty.png"></image>
        </view>
      </scroll-view>
    </view>
  </view>
wechat_jiaxuan/pages/store/info.wxss
@@ -95,6 +95,9 @@
  color: var(--themeColor);
  border: 1rpx solid var(--themeColor);
}
.empty_wrap {
  padding-top: 100rpx;
}
.container {
  overflow: hidden;
  height: 100%;
wechat_jiaxuan/pages/store/staff.less
@@ -109,7 +109,9 @@
      margin-top: 8rpx;
      font-weight: 600;
      font-size: 40rpx;
      display: flex;
      display: flex;
      align-items: flex-end; /* è¿™ä¼šä½¿å­å…ƒç´ åº•部对齐 */
      justify-content: center; /* è¿™ä¼šä½¿å­å…ƒç´ æ°´å¹³å±…中 */
    }
  }
}
wechat_jiaxuan/pages/store/staff.wxss
@@ -101,7 +101,9 @@
  margin-top: 8rpx;
  font-weight: 600;
  font-size: 40rpx;
  display: flex;
  display: flex;
  align-items: flex-end; /* è¿™ä¼šä½¿å­å…ƒç´ åº•部对齐 */
  justify-content: center; /* è¿™ä¼šä½¿å­å…ƒç´ æ°´å¹³å±…中 */
}
.guide .title {
  font-weight: 500;
wechat_jiaxuan/pages/store/store.less
@@ -65,7 +65,7 @@
            margin-bottom: 16rpx;
          }
          .address{
            width: 520rpx;
            width: 440rpx;
            display: flex;
            align-items: center;
            font-size: 26rpx;
wechat_jiaxuan/pages/store/store.wxss
@@ -63,7 +63,7 @@
  margin-bottom: 16rpx;
}
.main_content .shops .shop .header .left .address {
  width: 520rpx;
  width: 440rpx;
  display: flex;
  align-items: center;
  font-size: 26rpx;
wechat_jiaxuan/pages/userinfo/index.js
@@ -2,7 +2,8 @@
  uploadUrl,
  editMember,
  getMemberInfo,
  getArea
  getArea,
  getWxMiniPhone
} from '../../api/index'
Page({
@@ -33,7 +34,19 @@
      val5: '',
    }
  },
  onShow() {
  onLoad() {
    wx.getUserInfo({
      success: function(res) {
        console.log('res', res);
        var userInfo = res.userInfo
        var nickName = userInfo.nickName
        var avatarUrl = userInfo.avatarUrl
        var gender = userInfo.gender //性别 0:未知、1:男、2:女
        var province = userInfo.province
        var city = userInfo.city
        var country = userInfo.country
      }
    })
    this.initData()
  },
  onSubmit() {
@@ -72,6 +85,9 @@
        title: '保存成功',
        icon: 'none'
      })
      setTimeout(() => {
        wx.navigateBack()
      }, 500)
    })
  },
  initData() {
@@ -154,6 +170,18 @@
      })
    }
  },
  getPhoneNumber (e) {
    const data = { ...e.detail }
    getWxMiniPhone({
      encryptedData: data.encryptedData,
      iv: data.iv,
      sessionKey: wx.getStorageSync('sessionKey') || data.iv,
    }).then(res => {
      this.setData({
        phone: res.data
      })
    })
  },
  getNickName(e) {
    this.setData({ nikname: e.detail.value })
  },
@@ -162,11 +190,13 @@
    wx.chooseLocation({
      type: 'wgs84',
      success: (res) => {
        console.log('res', res);
        this.setData({
          longitude: res.longitude,
          latitude: res.latitude,
          address: res.address,
        })
        console.log('address', this.data.address);
      }
    })
  },
wechat_jiaxuan/pages/userinfo/index.less
@@ -40,7 +40,20 @@
      font-size: 30rpx;
      color: #777777;
    }
    .wechat_phone{
      width: 100%;
      flex: 1;
      color: #111111;
      border-bottom: 1rpx solid #e5e5e5;
      display: flex;
      justify-content: space-between;
      .btn{
        font-size: 30rpx;
        color: #B08771;
      }
    }
    .input{
      width: 100%;
      flex: 1;
      color: #111111;
      border-bottom: 1rpx solid #e5e5e5;
wechat_jiaxuan/pages/userinfo/index.wxml
@@ -5,7 +5,7 @@
    <view class="line">
      <view class="label">昵称</view>
      <view class="val">
        <input bindchange="getNickName" value="{{ nickname }}" maxlength="{{ 18 }}"  type="nickname"/>
        <input bindchange="getNickName" value="{{ nickname }}" maxlength="{{ 10 }}"  type="nickname"/>
      </view>
    </view>
    <view class="line">
@@ -14,7 +14,10 @@
    </view>
    <view class="line">
      <view class="label">电话</view>
      <van-field type="number" border="{{ false }}" class="input" model:value="{{ phone }}" maxlength="{{ 11 }}" clearable />
      <view class="wechat_phone">
        <van-field type="number" border="{{ false }}" model:value="{{ phone }}" maxlength="{{ 11 }}" clearable />
        <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" class="btn">微信授权</button>
      </view>
    </view>
    <view class="line">
      <view class="label">城市</view>
@@ -45,7 +48,7 @@
    </view>
    <view class="line">
      <view class="label">面积</view>
      <van-field type="number" border="{{ false }}" class="input" model:value="{{ housearea }}" maxlength="{{ 30 }}" clearable />
      <van-field custom-style="width: 100%" type="digit" border="{{ false }}" class="input" model:value="{{ housearea }}" maxlength="{{ 30 }}" clearable />
      <text>m²</text>
    </view>
    <view class="line">
@@ -69,23 +72,23 @@
      <view class="label">房屋户型</view>
      <view class="val">
        <view class="item">
          <van-field data-str="val1" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" />
          <van-field value="{{ houseType.val1 }}" data-str="val1" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" />
          <view class="unit">室</view>
        </view>
        <view class="item">
          <van-field data-str="val2" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" />
          <van-field value="{{ houseType.val2 }}" data-str="val2" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" />
          <view class="unit">厅</view>
        </view>
        <view class="item">
          <van-field data-str="val3" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" />
          <van-field value="{{ houseType.val3 }}" data-str="val3" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" />
          <view class="unit">厨</view>
        </view>
        <view class="item">
          <van-field data-str="val4" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" />
          <van-field value="{{ houseType.val4 }}" data-str="val4" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" />
          <view class="unit">卫</view>
        </view>
        <view class="item">
          <van-field data-str="val5" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" />
          <van-field value="{{ houseType.val5 }}" data-str="val5" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" />
          <view class="unit">阳</view>
        </view>
      </view>
wechat_jiaxuan/pages/userinfo/index.wxss
@@ -42,7 +42,20 @@
  font-size: 30rpx;
  color: #777777;
}
.list .line .wechat_phone {
  width: 100%;
  flex: 1;
  color: #111111;
  border-bottom: 1rpx solid #e5e5e5;
  display: flex;
  justify-content: space-between;
}
.list .line .wechat_phone .btn {
  font-size: 30rpx;
  color: #B08771;
}
.list .line .input {
  width: 100%;
  flex: 1;
  color: #111111;
  border-bottom: 1rpx solid #e5e5e5;
wechat_jiaxuan/project.private.config.json
@@ -60,8 +60,8 @@
        },
        {
          "name": "",
          "pathName": "pages/consult/detail",
          "query": "id=1813577799402684418",
          "pathName": "pages/userinfo/index",
          "query": "",
          "launchMode": "default",
          "scene": null
        }
wechat_jiaxuan/utils/config.js
@@ -1,8 +1,8 @@
// export const baseUrl = 'http://192.168.0.135:10027' // æœ¬åœ°
export const baseUrl = 'https://dmtest.ahapp.net/web_interface' //测试服务器
export const baseUrl = 'http://192.168.0.135:10027' // æœ¬åœ°
// export const baseUrl = 'https://dmtest.ahapp.net/web_interface' //测试服务器
// export const imageUrl = 'https://osswebcdn.zbom.com/jiaxuan/images/'
wechat_jiaxuan/utils/request.js
@@ -1,10 +1,10 @@
import { baseUrl } from "./config"
import { wxLoginCustomer } from '../api/index'
let number = 0
export function request(options){
  let loading = options.loading || '1' // é»˜è®¤å€¼1显示,否则不显示
  if(loading == '1'){
    wx.showLoading()
    number ++
  }
  return new Promise(resolve => {
    wx.request({
@@ -40,7 +40,10 @@
      },
      complete() {
        if(loading == '1'){
          wx.hideLoading()
          number --
          if(number == 0){
            wx.hideLoading()
          }
        }
      }
    })
wechat_staff/components/detailFooter/index.less
@@ -103,44 +103,43 @@
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, .2);
  z-index: 99999;
  .img1{
    image{
      width: 600rpx;
      width: 560rpx;
      border-radius: 8rpx ;
    }
  }
  .content{
    width: 600rpx;
    height: 308rpx;
    padding: 26rpx 0 40rpx;
    width: 560rpx;
    padding: 24rpx 0 16rpx;
    background: rgba(255,255,255,0.8);
    border-radius: 16rpx;
    margin-top: 24rpx;
    text-align: center;
    .title{
      font-weight: 500;
      font-size: 30rpx;
      margin-bottom: 20rpx;
      font-size: 28rpx;
      margin-bottom: 12rpx;
    }
    .line{
      font-size: 26rpx;
      font-size: 24rpx;
      color: #333333;
      line-height: 36rpx;
      line-height: 28rpx;
    }
  }
  .btns{
    margin-top: 30rpx;
    margin-top: 24rpx;
    display: flex;
    justify-content: space-between;
    width: 100%;
    .btn{
      width: 160rpx;
      height: 88rpx;
      height: 72rpx;
      border-radius: 8rpx;
      border: 2rpx solid #FFFFFF;
      display: flex;
wechat_staff/components/detailFooter/index.wxss
@@ -99,20 +99,19 @@
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 99999;
}
.card_wrap .img1 image {
  width: 600rpx;
  width: 560rpx;
  border-radius: 8rpx ;
}
.card_wrap .content {
  width: 600rpx;
  height: 308rpx;
  padding: 26rpx 0 40rpx;
  width: 560rpx;
  padding: 24rpx 0 16rpx;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16rpx;
  margin-top: 24rpx;
@@ -120,23 +119,23 @@
}
.card_wrap .content .title {
  font-weight: 500;
  font-size: 30rpx;
  margin-bottom: 20rpx;
  font-size: 28rpx;
  margin-bottom: 12rpx;
}
.card_wrap .content .line {
  font-size: 26rpx;
  font-size: 24rpx;
  color: #333333;
  line-height: 36rpx;
  line-height: 28rpx;
}
.card_wrap .btns {
  margin-top: 30rpx;
  margin-top: 24rpx;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.card_wrap .btns .btn {
  width: 160rpx;
  height: 88rpx;
  height: 72rpx;
  border-radius: 8rpx;
  border: 2rpx solid #FFFFFF;
  display: flex;
wechat_staff/components/disCase/index.js
@@ -12,7 +12,7 @@
    selParam: '',
    tagCodes: [],
    isLoading:false,
    cateList: [],
    dataList: [],
    total: 0,
@@ -42,6 +42,11 @@
      })
    },
    getList() {
      if(this.data.isLoading){
        return
      }
      this.setData({isLoading:true})
      const { sortType, query, tagCodes, pageNum, pageSize,catalogCode } = this.data
      getZhongTaiWholecasePage({
        catalogCode,pageNum,pageSize,tagCodes, sortType,query
@@ -52,6 +57,8 @@
            dataList: [...this.data.dataList, ...res.data.records],
          })
        }  
      }).finally(()=>{
        this.setData({isLoading:false})
      })
    },
    scrolltolower() {
@@ -90,40 +97,33 @@
      })
    },
    tagClick(e) {
      if(this.data.isLoading){
        return
      }
      const code = e.currentTarget.dataset.code
      const paramIndex = e.currentTarget.dataset.index
      const paramIndex = e.currentTarget.dataset.index
      const { cateList, tagCodes, activeParam, activeIndex } = this.data
      const index = tagCodes.indexOf(code)
      if(index === -1){
        // åŒparam里code重复
        if(activeParam && activeParam.length > 0){
          activeParam.forEach(item => {
            const indexTemp = tagCodes.indexOf(item.labelValueCode)
            if(indexTemp > -1){
              tagCodes.splice(indexTemp, 1)
            }
          })
        }
        tagCodes.push(code)
        cateList[activeIndex].paramIndex = paramIndex
        cateList[activeIndex].paramName = activeParam[paramIndex].labelValueName
      }else{
        tagCodes.splice(index, 1)
        cateList[activeIndex].paramIndex = -1
        cateList[activeIndex].paramName = ''
      const index = tagCodes.indexOf(code)
      if( cateList[activeIndex].tempParamIndex==null ||     cateList[activeIndex].tempParamIndex != paramIndex){
        cateList[activeIndex].tempParamIndex = paramIndex
        cateList[activeIndex].tempParamName = activeParam[paramIndex].labelValueName
        cateList[activeIndex].tempParamCode = code
      } else {
        cateList[activeIndex].tempParamIndex = -1
        cateList[activeIndex].tempParamName = null
        cateList[activeIndex].tempParamCode = null
      }
      this.setData({ tagCodes, cateList })
      this.setData({cateList })
      console.log('tagCodes', tagCodes);
    },
    cancelParam() {
      const { cateList } = this.data
      console.log('cateList', cateList);
      cateList.forEach(item => {
        item.paramIndex = -1
        item.paramName = item.paramName || ''
        item.tempParamIndex =item.paramIndex
        item.tempParamName =item.paramName
        item.tempParamCode =item.paramCode
      })
      this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
      this.setData({ activeParam: [],cateList , activeIndex: -1 })
    },
    bindblur() {
      this.setData({ pageNum: 1,dataList: [],total: 0})
@@ -131,7 +131,17 @@
    },
    subParam() {
      this.setData({ activeParam: [] })
      this.setData({ pageNum: 1,activeIndex: -1,dataList: [],total: 0})
      const { cateList } = this.data
      var codes = []
      cateList.forEach(item => {
        item.paramIndex =item.tempParamIndex
        item.paramName =item.tempParamName
        item.paramCode =item.tempParamCode
        if(item.paramIndex >-1 && item.paramCode){
          codes.push(item.paramCode)
        }
      })
      this.setData({tagCodes:codes, pageNum: 1, activeIndex: -1, dataList: [], total: 0 })
      this.getList()
    },
    changeShowParams(e){
wechat_staff/components/disCase/index.wxml
@@ -11,7 +11,7 @@
      <scroll-view class="query_wrap_scroll" scroll-x>
        <view class="query_wrap">
          <view data-index="{{ index }}" wx:for="{{ cateList }}" class="item" bindtap="changeShowParams">
            <view class="name">{{ item.paramName || item.labelName }}</view>
            <view class="name">{{ item.tempParamName || item.labelName }}</view>
            <van-icon name="{{ activeIndex === index ? 'arrow-up' : 'arrow-down' }}" />
          </view>
        </view>
@@ -19,7 +19,7 @@
      <!--  param -->
      <view wx:if="{{ activeParam && activeParam.length > 0 }}" class="query_param">
        <view class="list">
          <view data-index="{{index}}" data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ cateList[activeIndex].paramIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
          <view data-index="{{index}}"  data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ cateList[activeIndex].tempParamIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
        </view>
        <view class="btns">
          <view class="btn" bindtap="cancelParam">取消</view>
wechat_staff/components/disProduct/index.js
@@ -120,9 +120,8 @@
    tagClick(e) {
      const code = e.currentTarget.dataset.code
      const paramIndex = e.currentTarget.dataset.index
      const { secondCateList, tagCodes, activeParam, activeIndex } = this.data
      const index = tagCodes.indexOf(code)
      if(index === -1){
      const { secondCateList, tagCodes, activeParam, activeIndex } = this.data
      if( secondCateList[activeIndex].tempParamIndex==null ||      secondCateList[activeIndex].tempParamIndex != paramIndex){
         // åŒparam里code重复
        // if (activeParam && activeParam.length > 0) {
        //   activeParam.forEach(item => {
wechat_staff/components/disProduct/index.less
@@ -177,6 +177,9 @@
        width: 242rpx;
        flex-shrink: 0;
        margin-bottom: 32rpx;
        &:nth-last-child(1){
          margin-right: auto;
        }
        .img_wrap {
          width: 242rpx;
          border-radius: 8rpx;
wechat_staff/components/disProduct/index.wxml
@@ -21,7 +21,7 @@
        </view>
        <view wx:if="{{ activeParam.length > 0 }}" class="query_form">
          <view class="list">
            <view data-index="{{index}}" data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ secondCateList[activeIndex].tempParamIndex === index  ? 'active' : '' }}">{{ item.labelValueName }}</view>
            <view data-index="{{index}}"  data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ secondCateList[activeIndex].tempParamIndex === index  ? 'active' : '' }}">{{ item.labelValueName }}</view>
          </view>
          <view class="btns">
            <view class="btn" bindtap="cancelParam">取消</view>
wechat_staff/components/disRealpic/index.js
@@ -11,7 +11,7 @@
    activeParam: [],
    selParam: '',
    tagCodes: [],
    isLoading:false,
    cateList: [],
    dataList: [],
@@ -41,6 +41,11 @@
      })
    },
    getList() {
      if(this.data.isLoading){
        return
      }
      this.setData({isLoading:true})
      const { sortType, query, tagCodes, pageNum, pageSize,catalogCode } = this.data
      getZhongTaiRealcasePage({
        catalogCode,tagCodes,pageNum,pageSize, sortType,query
@@ -49,6 +54,8 @@
          dataList: [...this.data.dataList, ...res.data.records],
          total: res.data.total,
        })
      }).finally(()=>{
        this.setData({isLoading:false})
      })
    },
    scrolltolower() {
@@ -66,9 +73,10 @@
    },
    videoClick(e) {
      const { videourl } = e.currentTarget.dataset
      wx.previewMedia({
        sources: [{ url: videourl, type: 'video' }]
      })
      let videoPlay = this.selectComponent('.videoPlay');
      if(videoPlay){
        videoPlay.startPlayVideo(videourl,this );
      }
    },
    priviewFull(e){
      const item = e.currentTarget.dataset.item
@@ -121,44 +129,50 @@
      }
    },
    tagClick(e) {
      if(this.data.isLoading){
        return
      }
      const code = e.currentTarget.dataset.code
      const paramIndex = e.currentTarget.dataset.index
      const { cateList, tagCodes, activeParam, activeIndex } = this.data
      const index = tagCodes.indexOf(code)
      if(index === -1){
        if(activeParam && activeParam.length > 0){
          activeParam.forEach(item => {
            const indexTemp = tagCodes.indexOf(item.labelValueCode)
            if(indexTemp > -1){
              tagCodes.splice(indexTemp, 1)
            }
          })
        }
        tagCodes.push(code)
        cateList[activeIndex].paramIndex = paramIndex
        cateList[activeIndex].paramName = activeParam[paramIndex].labelValueName
      const { cateList, tagCodes, activeParam, activeIndex } = this.data
      if(   cateList[activeIndex].tempParamIndex==null ||     cateList[activeIndex].tempParamIndex != paramIndex){
        cateList[activeIndex].tempParamIndex = paramIndex
        cateList[activeIndex].tempParamName = activeParam[paramIndex].labelValueName
        cateList[activeIndex].tempParamCode = code
        console.log(code)
      }else{
        tagCodes.splice(index, 1)
        cateList[activeIndex].paramIndex = -1
        cateList[activeIndex].paramName = ''
        cateList[activeIndex].tempParamIndex = -1
        cateList[activeIndex].tempParamName = null
        cateList[activeIndex].tempParamCode = null
        console.log(1)
      }
      this.setData({ tagCodes, cateList })
      this.setData({  cateList })
    },
    cancelParam() {
      const { cateList } = this.data
      cateList.forEach(item => {
        item.paramIndex = -1
        item.paramName = item.paramName || ''
        item.tempParamIndex = item.paramIndex
        item.tempParamName =   item.paramName
        item.tempParamCode =   item.paramCode
      })
      this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
      this.setData({    activeParam: [],cateList,activeIndex: -1 })
    },
    bindblur() {
      this.setData({ pageNum: 1,dataList: [],total: 0})
      this.getList()
    },
    subParam() {
      this.setData({ activeParam: [] })
      const { cateList } = this.data
      var codes =[]
      cateList.forEach(item => {
        item.paramIndex = item.tempParamIndex
        item.paramName =   item.tempParamName
        item.paramCode =   item.tempParamCode
        if(item.tempParamIndex >-1 && item.tempParamCode){
          codes.push(item.tempParamCode)
        }
      })
      this.setData({ activeParam: [],tagCodes:codes })
      this.setData({ pageNum: 1,activeIndex: -1,dataList: [],total: 0})
      this.getList()
    },
wechat_staff/components/disRealpic/index.json
@@ -1,4 +1,6 @@
{
  "component": true,
  "usingComponents": {}
  "usingComponents": {
    "videoPlay": "/components/videoPlay/index"
  }
}
wechat_staff/components/disRealpic/index.less
@@ -149,7 +149,9 @@
    .item {
      width: 324rpx;
      margin-bottom: 32rpx;
      &:nth-last-child(1){
        margin-right: auto;
      }
      .img_wrap {
        width: 100%;
        height: 182rpx;
@@ -168,14 +170,14 @@
        .full {
          position: absolute;
          top: 32rpx;
          right: 32rpx;
          top: 16rpx;
          left: 16rpx;
          font-size: 20rpx;
          color: rgba(255, 255, 255, 0.8);
          width: 112rpx;
          height: 42rpx;
          width:52rpx;
          height: 46rpx;
          background: rgba(0, 0, 0, 0.54);
          border-radius: 30rpx;
          border-radius: 8rpx;
          display: flex;
          align-items: center;
          justify-content: center;
wechat_staff/components/disRealpic/index.wxml
@@ -12,7 +12,7 @@
      <scroll-view class="query_wrap_scroll" scroll-x>
        <view class="query_wrap">
          <view data-index="{{ index }}" wx:for="{{ cateList }}" class="item" bindtap="changeShowParams">
            <view class="name">{{ item.paramName || item.labelName }}</view>
            <view class="name">{{ item.tempParamName || item.labelName }}</view>
            <van-icon name="{{ activeIndex === index ? 'arrow-up' : 'arrow-down' }}" />
          </view>
        </view>
@@ -20,7 +20,7 @@
      <!--  param -->
      <view wx:if="{{ activeParam && activeParam.length > 0 }}" class="query_param">
        <view class="list">
          <view data-index="{{index}}" data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ cateList[activeIndex].paramIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
          <view data-index="{{index}}"   data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ cateList[activeIndex].tempParamIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
        </view>
        <view class="btns">
          <view class="btn" bindtap="cancelParam">取消</view>
@@ -40,9 +40,8 @@
        <view wx:for="{{ dataList }}" data-index="index" data-item="{{item}}" class="item {{(index%2 == 0 && index == dataList.length-1)?'lastitem':''}}" bindtap="handleDetail">
          <view class="img_wrap">
            <image src="{{ item.coverImage }}" class="img"></image>
            <view wx:if="{{ item.openType == 'link' }}" data-item="{{item}}" bindtap="priviewFull" class="full">
              <image class="icon" src="../../static/icon/ic_720.png" mode="widthFix"></image>
              <text>全景</text>
            <view wx:if="{{ item.openType == 'link' }}" data-item="{{item}}" bindtap="priviewFull" class="full">
              <text>VR</text>
            </view>
            <image wx:if="{{ item.openType == 'video' }}" bindtap="videoClick" data-videourl="{{ item.openContent }}" class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
            <image wx:if="{{ false }}" class="new" src="../../static/icon/chanpin_ic_new@2x.png" mode="widthFix"></image>
@@ -65,5 +64,5 @@
    </view>
  </view>
  <videoPlay class="videoPlay"/>
</view>
wechat_staff/components/disRealpic/index.wxss
@@ -153,14 +153,14 @@
}
.main_content .goods_list .item .img_wrap .full {
  position: absolute;
  top: 32rpx;
  right: 32rpx;
  top: 16rpx;
  left: 16rpx;
  font-size: 20rpx;
  color: rgba(255, 255, 255, 0.8);
  width: 112rpx;
  height: 42rpx;
  width:52rpx;
  height: 46rpx;
  background: rgba(0, 0, 0, 0.54);
  border-radius: 30rpx;
  border-radius: 8rpx;
  display: flex;
  align-items: center;
  justify-content: center;
wechat_staff/components/videoPlay/index.less
ÎļþÒÑɾ³ý
wechat_staff/components/videoPlay/index.wxss
@@ -5,15 +5,17 @@
  left: 0;
  width: 100%;
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999; 
}
.video_content .video{
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  top: 40%;
  left: 0;
  width: 750rpx;
  z-index: 10000;
}
video{
  width: 750rpx;
}
wechat_staff/pages/detailDis/product.js
@@ -16,6 +16,7 @@
    info: {},
    member: {},
    showShare: false,
    isFold: false,
    enjoyList: []
  },
  onShow(){
@@ -167,6 +168,9 @@
    //   this.setData({showShare: false})
    // })
  },
  changeFold() {
    this.setData({ isFold: !this.data.isFold })
  },
  // onShareAppMessage: function () {
  //   // let { productDetail, userInfo } = this.data
  //   return {
wechat_staff/pages/detailDis/product.less
@@ -81,6 +81,7 @@
    margin-bottom: 16rpx;
  }
  .desc {
    line-height: 40rpx;
    font-size: 26rpx;
    color: #555555;
    margin-bottom: 26rpx;
@@ -193,7 +194,16 @@
.detail {
  padding: 52rpx 40rpx 40rpx;
  background-color: #fff;
  .fold{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 84rpx;
    margin-top: 20rpx;
    .icon{
      margin-left: 12rpx;
    }
  }
  .title {
    font-weight: 600;
    font-size: 36rpx;
@@ -202,9 +212,10 @@
  .line {
    display: flex;
    margin-bottom: 20rpx;
    padding: 24rpx 0 26rpx;
    border-bottom: 1rpx dashed #E5E5E5;
    .label {
      width: auto;
      width: 120rpx;
      font-size: 24rpx;
      color: #666666;
      flex-shrink: 0;
wechat_staff/pages/detailDis/product.wxml
@@ -10,7 +10,7 @@
        </swiper-item>
      </block>
    </swiper>
    <view class="indicator">{{current}}/{{info.bannerImgList.length}}</view>
    <view class="indicator">{{current + 1}}/{{info.bannerImgList.length}}</view>
  </view>
  <view class="main_content">
    <view class="title">{{ info.title }}</view>
@@ -28,11 +28,17 @@
      </view>
    </view>
  </view>
  <view class="detail">
    <view class="title" bind:tap="goTestPage">产品详情</view>
    <view class="line" wx:for="{{ info.productParamList }}">
      <view class="label">{{ item.paramName }}:</view>
      <view class="val">{{ item.paramValue }}</view>
   <view class="detail">
    <view class="title">产品详情</view>
    <block wx:for="{{ info.productParamList }}">
      <view wx:if="{{ index < 5 || isFold }}" class="line" >
        <view class="label">{{ item.paramName }}:</view>
        <view class="val">{{ item.paramValue }}</view>
      </view>
    </block>
    <view wx:if="{{ info.productParamList.length > 5 }}" class="fold" bindtap="changeFold">
      <text>{{ isFold ? '收起' : '展开' }}</text>
      <van-icon class="icon" name="{{ isFold ? 'arrow-up' : 'arrow-down' }}" />
    </view>
  </view>
  <!-- å¯Œæ–‡æœ¬ -->
wechat_staff/pages/homeId/index.wxml
@@ -1,8 +1,8 @@
<view class="container">
<!-- åˆ†ç±» -->
<view class="home_tabs">
  <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 30rpx;">
<view 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>
    </view>
wechat_staff/pages/index/index.less
@@ -1,3 +1,10 @@
.search_fix{
  position: fixed;
  z-index: 10000;
  width: 100%;
  height: 206rpx;
  background-color: white;
}
.search_wrap {
  display: flex;
  align-items: center;
@@ -7,22 +14,19 @@
  border: 2rpx solid #B08771;
  padding: 0 30rpx;
  margin-left: 40rpx;
  .icon {
    width: 28rpx;
    margin-right: 18rpx;
  }
}
}
.everyday {
  width: 670rpx;
  height: 466rpx;
  margin: 40rpx;
  margin: 206rpx 40rpx;
  background: linear-gradient(180deg, #F2E7E1 0%, #FEFEFD 30%, #FFFFFF 100%), #FFFFFF;
  box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(176, 135, 113, 0.2);
  border-radius: 8rpx;
  padding: 30rpx;
  .header {
    display: flex;
    justify-content: space-between;
wechat_staff/pages/index/index.wxss
@@ -1,3 +1,10 @@
.search_fix{
   position: fixed;
   z-index: 10000;
   width: 100%;
   height: 206rpx;
   background-color: white;
}
.search_wrap {
  display: flex;
  align-items: center;
@@ -15,7 +22,7 @@
.everyday {
  width: 670rpx;
  height: 466rpx;
  margin: 40rpx;
  margin: 206rpx 40rpx;
  background: linear-gradient(180deg, #F2E7E1 0%, #FEFEFD 30%, #FFFFFF 100%), #FFFFFF;
  box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(176, 135, 113, 0.2);
  border-radius: 8rpx;
@@ -81,7 +88,7 @@
.func_lsit {
  display: flex;
  justify-content: space-between;
  padding: 20rpx 60rpx;
  padding: 60rpx;
}
.func_lsit .item {
  width: 120rpx;
@@ -230,20 +237,4 @@
}
.home_ar {
  width: 44rpx;
}
.wx-swiper-dots.wx-swiper-dots-horizontal {
  position: absolute;
  right: 0;
  bottom: 0rpx;
}
/* æŒ‡ç¤ºç‚¹çš„æ ·å¼ */
.wx-swiper-dots .wx-swiper-dot {
  width: 60rpx;
  height: 4rpx;
  background: #f4f4f4;
  margin-left: -15rpx;
  border-radius: 5rpx;
}
.wx-swiper-dot.wx-swiper-dot-active {
  background: #666666;
}
wechat_staff/pages/kefu/fond.js
@@ -8,7 +8,9 @@
  data: {
    bottomLift: 0,
    checkAll: false,
    enjoyList: []
    enjoyList: [],
    leftIcon: '<<',
    rightIcon: '>>',
  },
  /**
wechat_staff/pages/kefu/fond.less
@@ -154,44 +154,43 @@
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, .2);
  z-index: 99999;
  .img1{
    image{
      width: 600rpx;
      width: 560rpx;
      border-radius: 8rpx ;
    }
  }
  .content{
    width: 600rpx;
    height: 308rpx;
    padding: 26rpx 0 40rpx;
    width: 560rpx;
    padding: 24rpx 0 16rpx;
    background: rgba(255,255,255,0.8);
    border-radius: 16rpx;
    margin-top: 24rpx;
    text-align: center;
    .title{
      font-weight: 500;
      font-size: 30rpx;
      margin-bottom: 20rpx;
      font-size: 28rpx;
      margin-bottom: 12rpx;
    }
    .line{
      font-size: 26rpx;
      font-size: 24rpx;
      color: #333333;
      line-height: 36rpx;
      line-height: 28rpx;
    }
  }
  .btns{
    margin-top: 30rpx;
    margin-top: 24rpx;
    display: flex;
    justify-content: space-between;
    width: 100%;
    .btn{
      width: 160rpx;
      height: 88rpx;
      height: 72rpx;
      border-radius: 8rpx;
      border: 2rpx solid #FFFFFF;
      display: flex;
wechat_staff/pages/kefu/fond.wxss
@@ -41,10 +41,8 @@
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  white-space: break-spaces;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.date_item .line .content .time {
  font-size: 24rpx;
@@ -155,20 +153,19 @@
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 99999;
}
.card_wrap .img1 image {
  width: 600rpx;
  width: 560rpx;
  border-radius: 8rpx ;
}
.card_wrap .content {
  width: 600rpx;
  height: 308rpx;
  padding: 26rpx 0 40rpx;
  width: 560rpx;
  padding: 24rpx 0 16rpx;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16rpx;
  margin-top: 24rpx;
@@ -176,23 +173,23 @@
}
.card_wrap .content .title {
  font-weight: 500;
  font-size: 30rpx;
  margin-bottom: 20rpx;
  font-size: 28rpx;
  margin-bottom: 12rpx;
}
.card_wrap .content .line {
  font-size: 26rpx;
  font-size: 24rpx;
  color: #333333;
  line-height: 36rpx;
  line-height: 28rpx;
}
.card_wrap .btns {
  margin-top: 30rpx;
  margin-top: 24rpx;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.card_wrap .btns .btn {
  width: 160rpx;
  height: 88rpx;
  height: 72rpx;
  border-radius: 8rpx;
  border: 2rpx solid #FFFFFF;
  display: flex;
wechat_staff/pages/promotion/index.less
@@ -15,7 +15,7 @@
  background: #F7F7F7;
  border-radius: 8rpx;
  padding: 34rpx 40rpx 40rpx;
  margin-bottom: 40rpx;
  .time {
    font-weight: 500;
    font-size: 30rpx;
wechat_staff/pages/promotion/index.wxss
@@ -13,6 +13,7 @@
  background: #F7F7F7;
  border-radius: 8rpx;
  padding: 34rpx 40rpx 40rpx;
  margin-bottom: 40rpx;
}
.content .time {
  font-weight: 500;
wechat_staff/pages/sets/protocol.wxml
@@ -1,2 +1,4 @@
<!--pages/sets/protocol.wxml-->
<view style="width: 100%;height: auto;padding: 0px 40rpx;">
<mp-html  content="{{content}}"> </mp-html>
</view>
wechat_staff/pages/store/staff.less
@@ -111,6 +111,9 @@
      font-weight: 600;
      font-size: 40rpx;
      display: flex;
      align-items: flex-end; /* è¿™ä¼šä½¿å­å…ƒç´ åº•部对齐 */
      justify-content: center; /* è¿™ä¼šä½¿å­å…ƒç´ æ°´å¹³å±…中 */
    }
  }
}
@@ -204,25 +207,43 @@
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, .2);
  z-index: 999;
  z-index: 99999;
  .img1{
    image{
      width: 600rpx;
      width: 560rpx;
      border-radius: 8rpx ;
    }
  }
  .content{
    width: 560rpx;
    padding: 24rpx 0 16rpx;
    background: rgba(255,255,255,0.8);
    border-radius: 16rpx;
    margin-top: 24rpx;
    text-align: center;
    .title{
      font-weight: 500;
      font-size: 28rpx;
      margin-bottom: 12rpx;
    }
    .line{
      font-size: 24rpx;
      color: #333333;
      line-height: 28rpx;
    }
  }
  .btns{
    margin-top: 30rpx;
    margin-top: 24rpx;
    display: flex;
    justify-content: space-between;
    width: 100%;
    .btn{
      width: 290rpx;
      height: 88rpx;
      width: 160rpx;
      height: 72rpx;
      border-radius: 8rpx;
      border: 2rpx solid #FFFFFF;
      display: flex;
@@ -231,8 +252,10 @@
      color: #fff;
    }
    .save{
      width: 420rpx;
      margin-left: 20rpx;
      border: none;
      background: linear-gradient( 180deg, #E0B49C 0%, #B68B74 100%);
    }
  }
}
}
wechat_staff/pages/store/staff.wxml
@@ -25,7 +25,8 @@
      <view class="card">
      <image src="../../static/images/mingpian_bg_kehu.png" class="bg"></image>
        <view>服务客户</view>
        <view class="num" wx:if="{{ userInfo.costomerNum || userInfo.costomerNum == 0 }}">{{ userInfo.costomerNum || '--' }}+</view>
        <view class="num" wx:if="{{ userInfo.costomerNum || userInfo.costomerNum == 0 }}">{{ userInfo.costomerNum || '--' }}+
        </view>
        <view wx:else class="num">--</view>
      </view>
    </view>
wechat_staff/pages/store/staff.wxss
@@ -105,7 +105,6 @@
  font-size: 40rpx;
  display: flex;
}
.guide .title {
  font-weight: 500;
  font-size: 32rpx;
@@ -187,31 +186,51 @@
  font-size: 26rpx;
  color: #999999;
  text-align: center;
  align-items: flex-end; /* è¿™ä¼šä½¿å­å…ƒç´ åº•部对齐 */
  justify-content: center; /* è¿™ä¼šä½¿å­å…ƒç´ æ°´å¹³å±…中 */
}
.card_wrap {
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 999;
  z-index: 99999;
}
.card_wrap .img1 image {
  width: 600rpx;
  width: 560rpx;
  border-radius: 8rpx ;
}
.card_wrap .content {
  width: 560rpx;
  padding: 24rpx 0 16rpx;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16rpx;
  margin-top: 24rpx;
  text-align: center;
}
.card_wrap .content .title {
  font-weight: 500;
  font-size: 28rpx;
  margin-bottom: 12rpx;
}
.card_wrap .content .line {
  font-size: 24rpx;
  color: #333333;
  line-height: 28rpx;
}
.card_wrap .btns {
  margin-top: 30rpx;
  margin-top: 24rpx;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.card_wrap .btns .btn {
  width: 290rpx;
  height: 88rpx;
  width: 160rpx;
  height: 72rpx;
  border-radius: 8rpx;
  border: 2rpx solid #FFFFFF;
  display: flex;
@@ -220,6 +239,8 @@
  color: #fff;
}
.card_wrap .btns .save {
  width: 420rpx;
  margin-left: 20rpx;
  border: none;
  background: linear-gradient(180deg, #E0B49C 0%, #B68B74 100%);
}
}
wechat_staff/pages/userinfo/index.less
@@ -73,5 +73,6 @@
    font-weight: 500;
    font-size: 32rpx;
    margin-top: 20rpx;
    margin-bottom: 10rpx;
  }
}
wechat_staff/pages/userinfo/index.wxss
@@ -73,5 +73,6 @@
  border-radius: 8rpx;
  font-weight: 500;
  font-size: 32rpx;
  margin-top: 20rpx;
  margin-top: 20rpx;
  margin-bottom: 10rpx;
}
wechat_staff/pages/work/index.less
@@ -45,6 +45,7 @@
    }
  }
  .main_content{
    margin-top: -16rpx;
    background-color: #fff;
    border-radius: 16rpx 16rpx 0rpx 0rpx;
    padding: 40rpx;
wechat_staff/pages/work/index.wxml
@@ -23,7 +23,7 @@
        <view class="name">我的收藏</view>
        <image class="icon" src="../../static/icon/mine_ic_ar.png" mode="widthFix"></image>
      </view>
      <view class="line" data-index="3" bindtap="changePath">
      <view class="line" wx:if="{{userInfo.manageShop}}" data-index="3" bindtap="changePath">
        <view class="name">门店管理</view>
        <image class="icon" src="../../static/icon/mine_ic_ar.png" mode="widthFix"></image>
      </view>
wechat_staff/pages/work/index.wxss
@@ -41,6 +41,7 @@
  margin-right: 30rpx;
}
.container .main_content {
  margin-top: -16rpx;
  background-color: #fff;
  border-radius: 16rpx 16rpx 0rpx 0rpx;
  padding: 40rpx;
wechat_staff/utils/config.js
@@ -1,5 +1,5 @@
// export const baseUrl = 'http://192.168.0.135:10027'
export const baseUrl = 'https://dmtest.ahapp.net/web_interface' // æœ¬åœ°
export const baseUrl = 'http://192.168.0.135:10027'
// export const baseUrl = 'https://dmtest.ahapp.net/web_interface' // æœ¬åœ°
// export const baseUrl = 'http://zbtest.ahapp.net/zbom_interface/jx/wechat/' //测试服务器
// export const imageUrl = 'https://osswebcdn.zbom.com/jiaxuan/images/'
wechat_staff/utils/request.js
@@ -1,8 +1,10 @@
import { baseUrl } from "./config"
export function request(options){
import { baseUrl } from "./config"
let number = 0
export function request(options) {
  let loading = options.loading || '1' // é»˜è®¤å€¼1显示,否则不显示
  if(loading == '1'){
  if (loading == '1') {
    wx.showLoading()
    number++
  }
  return new Promise(resolve => {
    wx.request({
@@ -18,7 +20,7 @@
        if (res.data.code === 200) {
          resolve(res.data || true)
        } else {
          if(res.data.code && (res.data.code == 5112 || res.data.code == 5111)){
          if (res.data.code && (res.data.code == 5112 || res.data.code == 5111)) {
            wx.navigateTo({
              url: '/pages/login/index',
            })
@@ -30,18 +32,21 @@
        }
      },
      fail(err) {
        console.log('err', err);
        console.log('err', err)
        err.message && wx.showToast({
          title: err.message || '发生错误',
          icon: 'none'
        })
      },
      complete() {
        if(loading == '1'){
          wx.hideLoading()
        if (loading == '1') {
          number--
          if (number == 0) {
            wx.hideLoading()
          }
        }
      }
    })
  } )
  })
}