|
你好,uichatbox输入框前面的录音按钮怎么去掉呢?我弄成这样还是有录音按钮。。- var obj = api.require('UIChatBox');
- obj.open({
- placeholder: '',
- maxRows: 4,
- emotionPath: 'widget://image/emotion',
- styles: {
- inputBox: {
- borderColor: '#B3B3B3',
- bgColor: '#FFFFFF'
- },
- emotionBtn: {
- normalImg: 'widget://image/chatBox_face1.png'
- },
- extrasBtn: {
- normalImg: 'widget://image/chatBox_add1.png'
- },
- speechBtn: {
- normalImg: 'widget://image/chatBox_key1.png'
- },
- },
- }, function(ret){
- //点击附加功能面板
- if(ret.eventType == 'clickExtras'){
- alert("用户点击了第"+ ret.index +"个按钮");
- }
- //点击发送按钮
- if(ret.eventType == 'send'){
- alert('输入的内容是:'+ ret.msg);
- }
- });
复制代码 |
|