k94314517
2024-08-15 89e7ed902461f28d6a7dd3e6c927eaf40b154f5e
Merge remote-tracking branch 'origin/master'
已修改32个文件
146 ■■■■■ 文件已修改
wechat_jiaxuan/components/disProduct/index.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.wxss 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/mine/mine.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/sets/protocol.wxml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/project.config.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/project.private.config.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/utils/config.js 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/detailFooter/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disCase/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.less 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.wxss 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/consult/detail.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/download/index.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/fond.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/select.js 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/login/index.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/login/index.less 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/login/index.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/login/index.wxss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/sets/protocol.wxml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/sets/protocol.wxss 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/userinfo/index.js 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/userinfo/index.less 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/userinfo/index.wxml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/userinfo/index.wxss 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/project.private.config.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/utils/config.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.less
@@ -165,7 +165,7 @@
      }
    }
    .goods_list {
      height: 100%;
      height: calc( 100% - 100rpx );
      width: 590rpx;
      box-sizing: border-box;
      padding: 12rpx 40rpx;
wechat_jiaxuan/components/disProduct/index.wxss
@@ -153,7 +153,7 @@
  background-color: #333333;
}
.main_content .main_right .goods_list {
  height: 100%;
  height: calc(100% - 100rpx);
  width: 590rpx;
  box-sizing: border-box;
  padding: 12rpx 40rpx;
wechat_jiaxuan/pages/auth/auth.wxml
@@ -23,8 +23,8 @@
  <van-popup position="bottom" show="{{ showModal }}" round bind:close="onClose">
    <view class="modal">
      <view class="content">
        <!-- <mp-html content="{{activeHtml}}"></mp-html> -->
        <rich-text nodes="{{activeHtml}}"></rich-text>
        <mp-html content="{{activeHtml}}"></mp-html>
        <!-- <rich-text nodes="{{activeHtml}}"></rich-text> -->
      </view>
      <view style="bottom: {{ bottomLift }}px" class="btns">
        <view data-flag="{{true}}" bindtap="handleJudge" class="agree">同意</view>
wechat_jiaxuan/pages/mine/mine.js
@@ -83,7 +83,7 @@
      wx.navigateToMiniProgram({
        appId: 'wx9910433b937fff92',
        path: '',
        envVersion: 'trial',
        envVersion: 'release',
        extraData: {
          origin: 'c'
        }
wechat_jiaxuan/pages/sets/protocol.wxml
@@ -1,4 +1,4 @@
<view style="width: 100%;height: auto;padding: 0px 40rpx;">
<!-- <mp-html  content="{{activeHtml}}"> </mp-html> -->
<rich-text nodes="{{activeHtml}}"></rich-text>
<view style="height: auto;padding: 0px 40rpx;">
<mp-html  content="{{activeHtml}}"> </mp-html>
<!-- <rich-text nodes="{{activeHtml}}"></rich-text> -->
</view>
wechat_jiaxuan/project.config.json
@@ -1,5 +1,5 @@
{
  "appid": "wxcd2b89fd2ff065f8",
  "appid": "wx208dd1edc0be24ee",
  "compileType": "miniprogram",
  "libVersion": "3.4.10",
  "packOptions": {
wechat_jiaxuan/project.private.config.json
@@ -2,7 +2,7 @@
  "projectname": "wechat_jiaxuan",
  "setting": {
    "compileHotReLoad": true,
    "urlCheck": false
    "urlCheck": true
  },
  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
  "libVersion": "3.4.10",
wechat_jiaxuan/utils/config.js
@@ -4,7 +4,10 @@
// export const baseUrl = 'http://192.168.0.135:10027' // 本地
// export const baseUrl = 'https://dmtest.ahapp.net/web_interface' //测试服务器
export const baseUrl = 'https://dmdev.zhibang.com:8443/web_interface'
// 测试服务器
// export const baseUrl = 'https://dmdev.zhibang.com:8443/web_interface'
// 生产服务器
export const baseUrl = 'https://zbyj.zbom.com/web_interface'
// 腾讯地图开发者 key
export const qqMapKey = 'HIDBZ-2QXL4-TAWUD-XET6Q-EKTJE-CCBSQ'
wechat_staff/components/detailFooter/index.js
@@ -43,9 +43,9 @@
        id: info.id
      })
      wx.navigateToMiniProgram({
        appId: 'wxcd2b89fd2ff065f8',
        appId: 'wx208dd1edc0be24ee',
        path: `${map[path]}?origin=b&id=${info.id}&userId=${wx.getStorageSync('member').id}`,
        envVersion: 'trial'
        envVersion: 'release'
      })
    },
    handleEnjoy() {
wechat_staff/components/disCase/index.js
@@ -115,7 +115,7 @@
      getZhongTaiWholecasePage({
        catalogCode,pageNum,pageSize,tagCodes, sortType,query
      }).then(res => {
        if(res.data || res.data.records){
        if(res.data && res.data.records){
          this.setData({ 
            total: res.data.total,
            dataList: [...this.data.dataList, ...res.data.records],
wechat_staff/components/disProduct/index.js
@@ -139,7 +139,7 @@
      getZhongTaiProductPage({
        catalogCode,pageNum,pageSize,sortType,query,tagCodes
      }).then(res => {
        if(res.data || res.data.records){
        if(res.data && res.data.records){
          this.setData({
            datalist: [...this.data.datalist, ...res.data.records],
            total: res.data.total
wechat_staff/components/disProduct/index.less
@@ -166,7 +166,7 @@
    }
    .goods_list {
      height: 100%;
      height: calc( 100% - 100rpx );
      width: 590rpx;
      box-sizing: border-box;
      padding: 12rpx 40rpx;
@@ -174,7 +174,7 @@
        height: 92rpx;
      }
      .item {
        width: 242rpx;
        width: 240rpx;
        float: left;
        margin-bottom: 32rpx;
        // margin-right: 26rpx;
wechat_staff/components/disProduct/index.wxss
@@ -151,7 +151,7 @@
  background-color: #333333;
}
.main_content .main_right .goods_list {
  height: 100%;
  height: calc(100% - 100rpx);
  width: 590rpx;
  box-sizing: border-box;
  padding: 12rpx 40rpx;
@@ -160,7 +160,7 @@
  height: 92rpx;
}
.main_content .main_right .goods_list .item {
  width: 242rpx;
  width: 240rpx;
  float: left;
  margin-bottom: 32rpx;
}
wechat_staff/components/disRealpic/index.js
@@ -118,7 +118,7 @@
      getZhongTaiRealcasePage({
        catalogCode,tagCodes,pageNum,pageSize, sortType,query
      }).then(res => {
        if(res.data || res.data.records){
        if(res.data && res.data.records){
          this.setData({
            dataList: [...this.data.dataList, ...res.data.records],
            total: res.data.total
wechat_staff/pages/consult/detail.js
@@ -28,9 +28,9 @@
      id: this.data.info.id
    })
    wx.navigateToMiniProgram({
      appId: 'wxcd2b89fd2ff065f8',
      appId: 'wx208dd1edc0be24ee',
      path: `/pages/consult/detail?id=${this.data.info.id}&origin=b&userId=${wx.getStorageSync('member').id}`,
      envVersion: 'trial'
      envVersion: 'release'
    })
  },
  getDetail(id) {
wechat_staff/pages/download/index.js
@@ -119,6 +119,11 @@
                  })
                }
              },
              fail(err) {
                wx.showToast({
                  title: '图片下载失败',icon: 'none'
                })
              }
            })
          }
wechat_staff/pages/kefu/fond.js
@@ -110,9 +110,9 @@
    ] 
    console.log(info.id)
    wx.navigateToMiniProgram({
      appId: 'wxcd2b89fd2ff065f8',
      appId: 'wx208dd1edc0be24ee',
      path: `${map[info.joinType]}?origin=b&id=${info.id}&userId=${wx.getStorageSync('member').id}`,
      envVersion: 'trial'
      envVersion: 'release'
    })
  },
  handleDown() {
wechat_staff/pages/kefu/index.js
@@ -24,9 +24,9 @@
  handleShare() {
    const { info } = this.data
    wx.navigateToMiniProgram({
      appId: 'wxcd2b89fd2ff065f8',
      appId: 'wx208dd1edc0be24ee',
      path: `/pages/kefu/index?title=专属客服&id=${info.id}`,
      envVersion: 'trial'
      envVersion: 'release'
    })
  },
  getDetail(id) {
wechat_staff/pages/kefu/select.js
@@ -41,7 +41,7 @@
      customer
    } = this.data
    const enjoyList = wx.getStorageSync('enjoyList') || []
    if (!customer.userId) return wx.showToast({
    if (!customer.customerId) return wx.showToast({
      title: '请先选择要关联的客户',
      icon: 'none'
    })
@@ -58,21 +58,19 @@
            icon: 'none'
          })
        }, 500)
        this.setData({
          customer: {},
          total: 0,
          dataList: [],
          page: 1
        })
        this.getList()
      }else{
        return wx.showToast({
          title: res.message,
          icon: 'none'
        })
      }
      this.setData({
        customer: {}
      })
      this.setData({
        total: 0,
        dataList: [],
        page: 1
      })
      this.getList()
    })
  },
  tabsClick(e) {
wechat_staff/pages/login/index.js
@@ -119,6 +119,7 @@
      }else{
        wx.showToast({
          title: '你还不是该系统用户,请联系相关管理员注册',
          icon: 'none'
        })
      }
    })
@@ -201,6 +202,7 @@
      }else{
        wx.showToast({
          title: '你还不是该系统用户,请联系相关管理员注册',
          icon: 'none'
        })
      }
wechat_staff/pages/login/index.less
@@ -42,6 +42,7 @@
    border-bottom: 1rpx solid #E5E5E5;
    .icon{
      width: 40rpx;
      height: 40rpx;
    }
    .input{
      flex: 1;
wechat_staff/pages/login/index.wxml
@@ -36,8 +36,8 @@
  <van-popup position="bottom" show="{{ showModal }}" round bind:close="onClose">
    <view class="modal">
      <view class="content">
        <!-- <mp-html content="{{activeHtml}}"></mp-html> -->
        <rich-text nodes="{{activeHtml}}"></rich-text>
        <mp-html content="{{activeHtml}}"></mp-html>
        <!-- <rich-text nodes="{{activeHtml}}"></rich-text> -->
      </view>
      <view style="bottom: {{ bottomLift }}px" class="btns">
        <view data-flag="{{true}}" bindtap="handleJudge" class="agree">同意</view>
wechat_staff/pages/login/index.wxss
@@ -44,6 +44,7 @@
}
.btns .line .icon {
  width: 40rpx;
  height: 40rpx;
}
.btns .line .input {
  flex: 1;
wechat_staff/pages/sets/protocol.wxml
@@ -1,5 +1,5 @@
<!--pages/sets/protocol.wxml-->
<view style="width: 100%;height: auto;padding: 0px 40rpx;">
<!-- <mp-html  content="{{content}}"> </mp-html> -->
<rich-text nodes="{{content}}"></rich-text>
<view class="content">
  <!-- <rich-text nodes="{{content}}"></rich-text> -->
  <mp-html content="{{content}}"></mp-html>
</view>
wechat_staff/pages/sets/protocol.wxss
@@ -1 +1,7 @@
/* pages/sets/protocol.wxss */
.content{
  width: 750rpx;
  box-sizing: border-box;
  padding: 12rpx 40rpx;
  overflow-y: auto;
  overflow-x: hidden;
}
wechat_staff/pages/store/staff.wxml
@@ -3,7 +3,7 @@
  <view class="bg_wrap">
    <image src="../../static/images/design_banner@2x.png" mode="widthFix" ></image>
  </view>
  <view bindtap="jumpUser" class="editBtn">编辑资料</view>
  <view wx:if="{{ !isShow }}" bindtap="jumpUser" class="editBtn">编辑资料</view>
  <view class="container">
    <image class="avatar" src="{{userInfo.imgurlFull ? userInfo.imgurlFull : '../../static/images/default_avatar.png'}}"></image>
    <view class="name_wrap">
wechat_staff/pages/userinfo/index.js
@@ -16,6 +16,7 @@
    qrcodeImgFull: '',
    companyQrcodeImg: '',
    companyQrcodeImgFull: '',
    bottomLift: 0,
    userInfo: {
      name: '',
      phone: '',
@@ -30,8 +31,10 @@
  },
  onLoad(options) {
    const endDate = new Date().getFullYear() + '-09-01'
    var app = getApp().globalData
    this.setData({
      endDate
      endDate,
      bottomLift: app.bottomLift
    })
    this.getUserInfo()
  },
wechat_staff/pages/userinfo/index.less
@@ -1,3 +1,6 @@
.main_app{
  padding: 0 0 148rpx;
}
.avatar{
  margin: 52rpx auto 40rpx;
  width: 160rpx;
@@ -6,6 +9,7 @@
  box-shadow: 0rpx 2rpx 12rpx 0rpx rgba(0,0,0,0.08);
  border: 4rpx solid #FFFFFF;
}
.avatar_btn{
  width: 168rpx;
  height: 60rpx;
@@ -67,17 +71,19 @@
    justify-content: space-between;
  }
  .save{
    position: fixed;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 670rpx;
    height: 88rpx;
    left: 40rpx;
    bottom: 12rpx;
    z-index: 999;
    background: var(--themeColor);
    border-radius: 8rpx;
    font-weight: 500;
    font-size: 32rpx;
    margin-top: 20rpx;
    margin-bottom: 10rpx;
  }
}
wechat_staff/pages/userinfo/index.wxml
@@ -1,4 +1,4 @@
<view class="container">
<view class="main_app">
  <image class="avatar" src="{{ userInfo.imgurlFull ? userInfo.imgurlFull : '../../static/images/default_avatar.png' }}"></image>
  <!-- <button open-type="chooseAvatar" bindchooseavatar="getBindchooseavatar" class="avatar_btn">更换头像</button> -->
  <button hover-class="none" bind:tap="selMedia3" class="avatar_btn">更换头像</button>
@@ -67,8 +67,8 @@
        <image wx:if="{{ editFalg }}"  class="icon" src="../../static/icon/home_ar@2x.png" mode="widthFix"></image>
      </view>
    </view>
    <view wx:if="{{ !editFalg }}" bindtap="startEdit" class="save">编辑</view>
    <view wx:else bindtap="onSubmit" class="save">保存</view>
    <view wx:if="{{ !editFalg }}" style="bottom: {{bottomLift + 4}}px;" bindtap="startEdit" class="save">编辑</view>
    <view wx:else bindtap="onSubmit" style="bottom: {{bottomLift + 4}}px;" class="save">保存</view>
  </view>
  <!--  -->
</view>
wechat_staff/pages/userinfo/index.wxss
@@ -1,3 +1,6 @@
.main_app {
  padding: 0 0 148rpx;
}
.avatar {
  margin: 52rpx auto 40rpx;
  width: 160rpx;
@@ -66,16 +69,18 @@
  justify-content: space-between;
}
.list .save {
  position: fixed;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 670rpx;
  height: 88rpx;
  left: 40rpx;
  bottom: 12rpx;
  z-index: 999;
  background: var(--themeColor);
  border-radius: 8rpx;
  font-weight: 500;
  font-size: 32rpx;
  margin-top: 20rpx;
  margin-bottom: 10rpx;
}
wechat_staff/project.private.config.json
@@ -2,7 +2,7 @@
  "projectname": "wechat_staff",
  "setting": {
    "compileHotReLoad": true,
    "urlCheck": false
    "urlCheck": true
  },
  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
  "condition": {
@@ -45,7 +45,7 @@
        },
        {
          "name": "",
          "pathName": "pages/consult/consult",
          "pathName": "pages/store/index",
          "query": "",
          "launchMode": "default",
          "scene": null
wechat_staff/utils/config.js
@@ -1,10 +1,8 @@
// export const baseUrl = 'http://192.168.0.135:10027' 
// export const baseUrl = 'https://dmtest.ahapp.net/web_interface' // 本地
export const baseUrl = 'https://dmdev.zhibang.com:8443/web_interface'
// export const imageUrl = 'https://osswebcdn.zbom.com/jiaxuan/images/'
// export const baseUrl = 'https://dmtest.ahapp.net/web_interface/' // 测试服
// 测试服务器
// export const baseUrl = 'https://dmdev.zhibang.com:8443/web_interface'
// 生产服务器
export const baseUrl = 'https://zbyj.zbom.com/web_interface'
 
// 腾讯地图开发者 key
export const qqMapKey = 'HIDBZ-2QXL4-TAWUD-XET6Q-EKTJE-CCBSQ'