合并代码

This commit is contained in:
sx 2025-03-18 09:41:34 +08:00
parent cb57627169
commit 552b14ccf7
3 changed files with 19 additions and 19 deletions

View File

@ -6,8 +6,8 @@ const config = {
// host: 'h5api',
// #endif
// #ifndef H5
// host: 'http://91f.xyz:8080',
host: 'http://1d857465.r24.cpolar.top',
host: 'http://91f.xyz:8080',
// host: 'http://1d857465.r24.cpolar.top',
// #endif
// 是否vivo显示
showVivo: true,

View File

@ -43,29 +43,29 @@
label: '拍摄',
value: 'takePhoto',
}, {
type: 'pages/news/group/create.png',
type: 'redPacket.png',
label: '红包',
value: 'redEnvelope',
}]
const isCustomer = props.msg.isCustomer;
//
if (props.msg.type == 'C2C' && !isCustomer) result.push({
type: 'news-voice.png',
label: '音视频',
value: 'voice'
})
//
if (isCustomer) result.unshift({
type: 'order.png',
label: '订单',
value: 'chooseOrder',
}, {
type: 'shop.png',
label: '商品',
value: 'chooseShop',
})
// //
// if (props.msg.type == 'C2C' && !isCustomer) result.push({
// type: 'news-voice.png',
// label: '',
// value: 'voice'
// })
// //
// if (isCustomer) result.unshift({
// type: 'order.png',
// label: '',
// value: 'chooseOrder',
// }, {
// type: 'shop.png',
// label: '',
// value: 'chooseShop',
// })
return result
})

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB