合并代码
This commit is contained in:
parent
cb57627169
commit
552b14ccf7
|
@ -6,8 +6,8 @@ const config = {
|
||||||
// host: 'h5api',
|
// host: 'h5api',
|
||||||
// #endif
|
// #endif
|
||||||
// #ifndef H5
|
// #ifndef H5
|
||||||
// host: 'http://91f.xyz:8080',
|
host: 'http://91f.xyz:8080',
|
||||||
host: 'http://1d857465.r24.cpolar.top',
|
// host: 'http://1d857465.r24.cpolar.top',
|
||||||
// #endif
|
// #endif
|
||||||
// 是否vivo显示
|
// 是否vivo显示
|
||||||
showVivo: true,
|
showVivo: true,
|
||||||
|
|
|
@ -43,29 +43,29 @@
|
||||||
label: '拍摄',
|
label: '拍摄',
|
||||||
value: 'takePhoto',
|
value: 'takePhoto',
|
||||||
}, {
|
}, {
|
||||||
type: 'pages/news/group/create.png',
|
type: 'redPacket.png',
|
||||||
label: '红包',
|
label: '红包',
|
||||||
value: 'redEnvelope',
|
value: 'redEnvelope',
|
||||||
}]
|
}]
|
||||||
|
|
||||||
const isCustomer = props.msg.isCustomer;
|
const isCustomer = props.msg.isCustomer;
|
||||||
|
|
||||||
// 单聊
|
// // 单聊
|
||||||
if (props.msg.type == 'C2C' && !isCustomer) result.push({
|
// if (props.msg.type == 'C2C' && !isCustomer) result.push({
|
||||||
type: 'news-voice.png',
|
// type: 'news-voice.png',
|
||||||
label: '音视频',
|
// label: '音视频',
|
||||||
value: 'voice'
|
// value: 'voice'
|
||||||
})
|
// })
|
||||||
// 客服
|
// // 客服
|
||||||
if (isCustomer) result.unshift({
|
// if (isCustomer) result.unshift({
|
||||||
type: 'order.png',
|
// type: 'order.png',
|
||||||
label: '订单',
|
// label: '订单',
|
||||||
value: 'chooseOrder',
|
// value: 'chooseOrder',
|
||||||
}, {
|
// }, {
|
||||||
type: 'shop.png',
|
// type: 'shop.png',
|
||||||
label: '商品',
|
// label: '商品',
|
||||||
value: 'chooseShop',
|
// value: 'chooseShop',
|
||||||
})
|
// })
|
||||||
return result
|
return result
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Loading…
Reference in New Issue