作者 刘晓艳
1 个管道 的构建 通过 耗费 0 秒

测试1

... ... @@ -319,7 +319,7 @@
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script src="__TMPL__/public/assets/js/weui.js"></script>
<script src="__TMPL__/public/assets/js/myweui.js"></script>
<script src="__TMPL__/public/assets/js/referral.js"></script>
<!--<script src="__TMPL__/public/assets/js/referral.js"></script>-->
<script>
//文本框显示字数
... ... @@ -506,49 +506,49 @@
//添加一条新语音
var num = 1;
// $('.voice_module').on('click', '.add_voice', function () {
// times=60
// // clearInterval(timer);
// var day = 0,
// hour = 0,
// minute = 0,
// second = 0;//时间默认值
// if (day <= 9) day = '0' + day;
// if (hour <= 9) hour = '0' + hour;
// if (minute <= 9) minute = '0' + minute;
// if (second <= 9) second = '0' + second;
//
// $('#hour_show').html('<text id="h"></text>' + hour + ':');
// $('#minute_show').html('<text></text>' + minute + ':');
// $('#second_show').html('<text></text>' + second + '');
// $('#second_test').html(60);
//
// num = num + 1
// var parent = $(this).parents('.voice_module')
// 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' +
// // ' <text class="iconfont icon-tianjia add_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' +
// ' </div>\n' +
// ' </div>\n' +
// '</div>'
// parent.append(html)
//
// })
$('.voice_module').on('click', '.add_voice', function () {
times=60
// clearInterval(timer);
var day = 0,
hour = 0,
minute = 0,
second = 0;//时间默认值
if (day <= 9) day = '0' + day;
if (hour <= 9) hour = '0' + hour;
if (minute <= 9) minute = '0' + minute;
if (second <= 9) second = '0' + second;
$('#hour_show').html('<text id="h"></text>' + hour + ':');
$('#minute_show').html('<text></text>' + minute + ':');
$('#second_show').html('<text></text>' + second + '');
$('#second_test').html(60);
num = num + 1
var parent = $(this).parents('.voice_module')
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' +
// ' <text class="iconfont icon-tianjia add_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' +
' </div>\n' +
' </div>\n' +
'</div>'
parent.append(html)
})
//显示弹窗
var videoid=''
... ...