合并代码

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', // 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,

View File

@ -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
}) })

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB