| | |
| | | |
| | | |
| | | // export const baseUrl = 'http://192.168.0.136:10027' // 本地 |
| | | export const baseUrl = 'https://dmtest.ahapp.net/web_interface' //测试服务器 |
| | | // 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' |
| | | export const baseUrl = 'https://zbyj.zbom.com/web_interface' |
| | | |
| | | // 腾讯地图开发者 key |
| | | export const qqMapKey = 'HIDBZ-2QXL4-TAWUD-XET6Q-EKTJE-CCBSQ' |
| | |
| | | /** |
| | | * 生命周期函数--监听页面加载 |
| | | */ |
| | | onLoad(options) { |
| | | onShow(options) { |
| | | var app = getApp().globalData |
| | | this.setData({ |
| | | bottomLift: app.bottomLift |
| | |
| | | title: '请先选择要关联的客户', |
| | | icon: 'none' |
| | | }) |
| | | if(enjoyList.filter(i => i.checked).length == 0) return wx.showToast({ |
| | | title: '请重新选择要关联的的产品', |
| | | icon: 'none' |
| | | }) |
| | | batchAddLike({ |
| | | articleIds: enjoyList.filter(i => i.checked).map(i => i.id).join(','), |
| | | customerId: customer.customerId, |
| | |
| | | dataList: [], |
| | | page: 1 |
| | | }) |
| | | wx.navigateBack() |
| | | this.getList() |
| | | }else{ |
| | | return wx.showToast({ |
| | |
| | | } |
| | | .icon{ |
| | | width: 28rpx; |
| | | height: 28rpx; |
| | | margin-top: 4rpx; |
| | | margin-right: 14rpx; |
| | | } |
| | | } |
| | | .kehu{ |
| | | width: 48rpx; |
| | | height: 48rpx; |
| | | margin-left: 30rpx; |
| | | } |
| | | } |
| | |
| | | <!-- --> |
| | | <view class="search_wrap"> |
| | | <view class="input_wrap"> |
| | | <image class="icon" src="../../static/icon/ic_search@2x.png" mode="widthFix"></image> |
| | | <image class="icon" src="../../static/icon/ic_search@2x.png"></image> |
| | | <input model:value="{{keyWords}}" bindblur="reloadList" type="text" placeholder="搜索客户昵称、导购、备注名" /> |
| | | </view> |
| | | <image bindtap="jumpClient" class="kehu" src="../../static/icon/kehu_ic_new@2x.png" mode="widthFix"></image> |
| | | <image bindtap="jumpClient" class="kehu" src="../../static/icon/kehu_ic_new@2x.png"></image> |
| | | </view> |
| | | <!-- --> |
| | | <scroll-view bindscrolltolower="scrolltolower" scroll-y enable-passive enable-flex class="list"> |
| | |
| | | } |
| | | .search_wrap .input_wrap .icon { |
| | | width: 28rpx; |
| | | height: 28rpx; |
| | | margin-top: 4rpx; |
| | | margin-right: 14rpx; |
| | | } |
| | | .search_wrap .kehu { |
| | | width: 48rpx; |
| | | height: 48rpx; |
| | | margin-left: 30rpx; |
| | | } |
| | | .list { |
| | |
| | | "projectname": "wechat_staff", |
| | | "setting": { |
| | | "compileHotReLoad": true, |
| | | "urlCheck": true |
| | | "urlCheck": false |
| | | }, |
| | | "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", |
| | | "condition": { |
| | |
| | | // export const baseUrl = 'http://192.168.0.136:10027' |
| | | export const baseUrl = 'http://192.168.0.170:80' |
| | | // 测试服务器 |
| | | 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' |
| | | |