...
|
...
|
@@ -473,7 +473,36 @@ |
|
|
|
|
|
//删除语音
|
|
|
$(".voice_module").on("click",".cancle_voice",function(){
|
|
|
$(this).parents(".voice_box").remove();
|
|
|
var parent=$(this).parents(".voice_list").parent();
|
|
|
var leng=parent.children('.voice_list').length;
|
|
|
$(this).parents(".voice_list").remove();
|
|
|
if(leng==1){
|
|
|
num = num + 1
|
|
|
var html = '<div class="voice_list" voiceitemid="'+num+'">\n' +
|
|
|
'<div class="voice_box voice_third" style="display: none;">\n' +
|
|
|
' <div class="voice_item">\n' +
|
|
|
' <text class="iconfont icon-luyin voice_icon"></text>\n' +
|
|
|
' <text class="voice_font luyin">点击图标可播放 时长:<span class="timeLength">0</span>秒</text>\n' +
|
|
|
' </div>\n' +
|
|
|
' <div class="voice_btn_box">\n' +
|
|
|
' <text class="iconfont icon-quxiao cancle_voice"></text>\n' +
|
|
|
|
|
|
' </div>\n' +
|
|
|
' </div>\n' +
|
|
|
' <div class="voice_box voice_first">\n' +
|
|
|
' <div class="voice_item">\n' +
|
|
|
' <text class="iconfont icon-huatong mike voice_icon"></text>\n' +
|
|
|
' <text class="voice_font huatong">点击图标开始语音语音最长60秒</text>\n' +
|
|
|
' </div>\n' +
|
|
|
' <div class="voice_btn_box">\n' +
|
|
|
' <text class="iconfont icon-quxiao icon_cancle cancle_voice"></text>\n' +
|
|
|
' <text class="iconfont icon-tianjia add_voice"></text>\n' +
|
|
|
' </div>\n' +
|
|
|
' </div>\n' +
|
|
|
'</div>';
|
|
|
parent.append(html);
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
//开始录音
|
...
|
...
|
|