正在显示
1 个修改的文件
包含
44 行增加
和
44 行删除
@@ -319,7 +319,7 @@ | @@ -319,7 +319,7 @@ | ||
319 | <script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script> | 319 | <script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script> |
320 | <script src="__TMPL__/public/assets/js/weui.js"></script> | 320 | <script src="__TMPL__/public/assets/js/weui.js"></script> |
321 | <script src="__TMPL__/public/assets/js/myweui.js"></script> | 321 | <script src="__TMPL__/public/assets/js/myweui.js"></script> |
322 | -<script src="__TMPL__/public/assets/js/referral.js"></script> | 322 | +<!--<script src="__TMPL__/public/assets/js/referral.js"></script>--> |
323 | <script> | 323 | <script> |
324 | 324 | ||
325 | //文本框显示字数 | 325 | //文本框显示字数 |
@@ -506,49 +506,49 @@ | @@ -506,49 +506,49 @@ | ||
506 | 506 | ||
507 | //添加一条新语音 | 507 | //添加一条新语音 |
508 | var num = 1; | 508 | var num = 1; |
509 | - // $('.voice_module').on('click', '.add_voice', function () { | ||
510 | - // times=60 | ||
511 | - // // clearInterval(timer); | ||
512 | - // var day = 0, | ||
513 | - // hour = 0, | ||
514 | - // minute = 0, | ||
515 | - // second = 0;//时间默认值 | ||
516 | - // if (day <= 9) day = '0' + day; | ||
517 | - // if (hour <= 9) hour = '0' + hour; | ||
518 | - // if (minute <= 9) minute = '0' + minute; | ||
519 | - // if (second <= 9) second = '0' + second; | ||
520 | - // | ||
521 | - // $('#hour_show').html('<text id="h"></text>' + hour + ':'); | ||
522 | - // $('#minute_show').html('<text></text>' + minute + ':'); | ||
523 | - // $('#second_show').html('<text></text>' + second + ''); | ||
524 | - // $('#second_test').html(60); | ||
525 | - // | ||
526 | - // num = num + 1 | ||
527 | - // var parent = $(this).parents('.voice_module') | ||
528 | - // var html = '<div class="voice_list" voiceitemid="'+num+'">\n' + | ||
529 | - // '<div class="voice_box voice_third" style="display: none;">\n' + | ||
530 | - // ' <div class="voice_item">\n' + | ||
531 | - // ' <text class="iconfont icon-luyin voice_icon"></text>\n' + | ||
532 | - // ' <text class="voice_font luyin">点击图标可播放 时长:<span class="timeLength">0</span>秒</text>\n' + | ||
533 | - // ' </div>\n' + | ||
534 | - // ' <div class="voice_btn_box">\n' + | ||
535 | - // ' <text class="iconfont icon-quxiao cancle_voice"></text>\n' + | ||
536 | - // // ' <text class="iconfont icon-tianjia add_voice"></text>\n' + | ||
537 | - // ' </div>\n' + | ||
538 | - // ' </div>\n' + | ||
539 | - // ' <div class="voice_box voice_first">\n' + | ||
540 | - // ' <div class="voice_item">\n' + | ||
541 | - // ' <text class="iconfont icon-huatong mike voice_icon"></text>\n' + | ||
542 | - // ' <text class="voice_font huatong">点击图标开始语音语音最长60秒</text>\n' + | ||
543 | - // ' </div>\n' + | ||
544 | - // ' <div class="voice_btn_box">\n' + | ||
545 | - // ' <text class="iconfont icon-quxiao icon_cancle cancle_voice"></text>\n' + | ||
546 | - // ' </div>\n' + | ||
547 | - // ' </div>\n' + | ||
548 | - // '</div>' | ||
549 | - // parent.append(html) | ||
550 | - // | ||
551 | - // }) | 509 | + $('.voice_module').on('click', '.add_voice', function () { |
510 | + times=60 | ||
511 | + // clearInterval(timer); | ||
512 | + var day = 0, | ||
513 | + hour = 0, | ||
514 | + minute = 0, | ||
515 | + second = 0;//时间默认值 | ||
516 | + if (day <= 9) day = '0' + day; | ||
517 | + if (hour <= 9) hour = '0' + hour; | ||
518 | + if (minute <= 9) minute = '0' + minute; | ||
519 | + if (second <= 9) second = '0' + second; | ||
520 | + | ||
521 | + $('#hour_show').html('<text id="h"></text>' + hour + ':'); | ||
522 | + $('#minute_show').html('<text></text>' + minute + ':'); | ||
523 | + $('#second_show').html('<text></text>' + second + ''); | ||
524 | + $('#second_test').html(60); | ||
525 | + | ||
526 | + num = num + 1 | ||
527 | + var parent = $(this).parents('.voice_module') | ||
528 | + var html = '<div class="voice_list" voiceitemid="'+num+'">\n' + | ||
529 | + '<div class="voice_box voice_third" style="display: none;">\n' + | ||
530 | + ' <div class="voice_item">\n' + | ||
531 | + ' <text class="iconfont icon-luyin voice_icon"></text>\n' + | ||
532 | + ' <text class="voice_font luyin">点击图标可播放 时长:<span class="timeLength">0</span>秒</text>\n' + | ||
533 | + ' </div>\n' + | ||
534 | + ' <div class="voice_btn_box">\n' + | ||
535 | + ' <text class="iconfont icon-quxiao cancle_voice"></text>\n' + | ||
536 | + // ' <text class="iconfont icon-tianjia add_voice"></text>\n' + | ||
537 | + ' </div>\n' + | ||
538 | + ' </div>\n' + | ||
539 | + ' <div class="voice_box voice_first">\n' + | ||
540 | + ' <div class="voice_item">\n' + | ||
541 | + ' <text class="iconfont icon-huatong mike voice_icon"></text>\n' + | ||
542 | + ' <text class="voice_font huatong">点击图标开始语音语音最长60秒</text>\n' + | ||
543 | + ' </div>\n' + | ||
544 | + ' <div class="voice_btn_box">\n' + | ||
545 | + ' <text class="iconfont icon-quxiao icon_cancle cancle_voice"></text>\n' + | ||
546 | + ' </div>\n' + | ||
547 | + ' </div>\n' + | ||
548 | + '</div>' | ||
549 | + parent.append(html) | ||
550 | + | ||
551 | + }) | ||
552 | 552 | ||
553 | //显示弹窗 | 553 | //显示弹窗 |
554 | var videoid='' | 554 | var videoid='' |
-
请 注册 或 登录 后发表评论