wechat_staff/pages/kefu/fond.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
wechat_staff/pages/kefu/fond.wxml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
wechat_staff/utils/config.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
wechat_staff/pages/kefu/fond.js
@@ -91,6 +91,33 @@ url: '/pages/kefu/select', }) }, handleShare() { const { enjoyList } = this.data let info = {} enjoyList.forEach(item => { item.list.forEach(ite => { if(ite.checked){ info = ite } }) }) let map = [ '/pages/detailDis/product', '/pages/detailDis/case', '/pages/detailDis/realpic' ] console.log(info.id) wx.navigateToMiniProgram({ appId: 'wx208dd1edc0be24ee', path: map[info.joinType], envVersion: 'trial', extraData: { id: info.id, origin: 'b' } }) }, handleDown() { const { enjoyList } = this.data let obj = {} @@ -188,9 +215,10 @@ }, checkAll() { this.setData({checkAll:!this.data.checkAll}) let enjoyList = wx.getStorageSync('enjoyList') || [] enjoyList.forEach(item => { item.checked = !item.checked item.checked = this.data.checkAll }) wx.setStorageSync('enjoyList', enjoyList) wechat_staff/pages/kefu/fond.wxml
@@ -32,7 +32,7 @@ <!-- --> <view wx:if="{{ showShare }}" class="shade_modal" style="padding-bottom: {{bottomLift}}px;"> <view class="btns"> <button open-type="share" class="item" bindtap="handleShare"> <button class="item" bindtap="handleShare"> <image src="../../static/icon/wechat.png"></image> <view>小程序分享</view> </button> 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/'