Merge remote-tracking branch 'origin/master'
| | |
| | | } |
| | | } |
| | | .goods_list { |
| | | height: 100%; |
| | | height: calc( 100% - 100rpx ); |
| | | width: 590rpx; |
| | | box-sizing: border-box; |
| | | padding: 12rpx 40rpx; |
| | |
| | | background-color: #333333; |
| | | } |
| | | .main_content .main_right .goods_list { |
| | | height: 100%; |
| | | height: calc(100% - 100rpx); |
| | | width: 590rpx; |
| | | box-sizing: border-box; |
| | | padding: 12rpx 40rpx; |
| | |
| | | <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> |
| | |
| | | wx.navigateToMiniProgram({ |
| | | appId: 'wx9910433b937fff92', |
| | | path: '', |
| | | envVersion: 'trial', |
| | | envVersion: 'release', |
| | | extraData: { |
| | | origin: 'c' |
| | | } |
| | |
| | | <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> |
| | |
| | | { |
| | | "appid": "wxcd2b89fd2ff065f8", |
| | | "appid": "wx208dd1edc0be24ee", |
| | | "compileType": "miniprogram", |
| | | "libVersion": "3.4.10", |
| | | "packOptions": { |
| | |
| | | "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", |
| | |
| | | // 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' |
| | |
| | | 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() { |
| | |
| | | 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], |
| | |
| | | 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 |
| | |
| | | } |
| | | |
| | | .goods_list { |
| | | height: 100%; |
| | | height: calc( 100% - 100rpx ); |
| | | width: 590rpx; |
| | | box-sizing: border-box; |
| | | padding: 12rpx 40rpx; |
| | |
| | | height: 92rpx; |
| | | } |
| | | .item { |
| | | width: 242rpx; |
| | | width: 240rpx; |
| | | float: left; |
| | | margin-bottom: 32rpx; |
| | | // margin-right: 26rpx; |
| | |
| | | background-color: #333333; |
| | | } |
| | | .main_content .main_right .goods_list { |
| | | height: 100%; |
| | | height: calc(100% - 100rpx); |
| | | width: 590rpx; |
| | | box-sizing: border-box; |
| | | padding: 12rpx 40rpx; |
| | |
| | | height: 92rpx; |
| | | } |
| | | .main_content .main_right .goods_list .item { |
| | | width: 242rpx; |
| | | width: 240rpx; |
| | | float: left; |
| | | margin-bottom: 32rpx; |
| | | } |
| | |
| | | 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 |
| | |
| | | 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) { |
| | |
| | | }) |
| | | |
| | | } |
| | | }, |
| | | fail(err) { |
| | | wx.showToast({ |
| | | title: '图片下载失败',icon: 'none' |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | |
| | | ] |
| | | 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() { |
| | |
| | | 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) { |
| | |
| | | customer |
| | | } = this.data |
| | | const enjoyList = wx.getStorageSync('enjoyList') || [] |
| | | if (!customer.userId) return wx.showToast({ |
| | | if (!customer.customerId) return wx.showToast({ |
| | | title: '请先选择要关联的客户', |
| | | icon: 'none' |
| | | }) |
| | |
| | | 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) { |
| | |
| | | }else{ |
| | | wx.showToast({ |
| | | title: '你还不是该系统用户,请联系相关管理员注册', |
| | | icon: 'none' |
| | | }) |
| | | } |
| | | }) |
| | |
| | | }else{ |
| | | wx.showToast({ |
| | | title: '你还不是该系统用户,请联系相关管理员注册', |
| | | icon: 'none' |
| | | }) |
| | | } |
| | | |
| | |
| | | border-bottom: 1rpx solid #E5E5E5; |
| | | .icon{ |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | } |
| | | .input{ |
| | | flex: 1; |
| | |
| | | <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> |
| | |
| | | } |
| | | .btns .line .icon { |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | } |
| | | .btns .line .input { |
| | | flex: 1; |
| | |
| | | <!--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> |
| | |
| | | /* pages/sets/protocol.wxss */ |
| | | .content{ |
| | | width: 750rpx; |
| | | box-sizing: border-box; |
| | | padding: 12rpx 40rpx; |
| | | overflow-y: auto; |
| | | overflow-x: hidden; |
| | | } |
| | |
| | | <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"> |
| | |
| | | qrcodeImgFull: '', |
| | | companyQrcodeImg: '', |
| | | companyQrcodeImgFull: '', |
| | | bottomLift: 0, |
| | | userInfo: { |
| | | name: '', |
| | | phone: '', |
| | |
| | | }, |
| | | onLoad(options) { |
| | | const endDate = new Date().getFullYear() + '-09-01' |
| | | var app = getApp().globalData |
| | | this.setData({ |
| | | endDate |
| | | endDate, |
| | | bottomLift: app.bottomLift |
| | | }) |
| | | this.getUserInfo() |
| | | }, |
| | |
| | | .main_app{ |
| | | padding: 0 0 148rpx; |
| | | } |
| | | .avatar{ |
| | | margin: 52rpx auto 40rpx; |
| | | width: 160rpx; |
| | |
| | | box-shadow: 0rpx 2rpx 12rpx 0rpx rgba(0,0,0,0.08); |
| | | border: 4rpx solid #FFFFFF; |
| | | } |
| | | |
| | | .avatar_btn{ |
| | | width: 168rpx; |
| | | height: 60rpx; |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | .main_app { |
| | | padding: 0 0 148rpx; |
| | | } |
| | | .avatar { |
| | | margin: 52rpx auto 40rpx; |
| | | width: 160rpx; |
| | |
| | | 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; |
| | | } |
| | |
| | | "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": { |
| | |
| | | }, |
| | | { |
| | | "name": "", |
| | | "pathName": "pages/consult/consult", |
| | | "pathName": "pages/store/index", |
| | | "query": "", |
| | | "launchMode": "default", |
| | | "scene": null |
| | |
| | | // 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' |