正在显示
1 个修改的文件
包含
42 行增加
和
29 行删除
@@ -176,6 +176,47 @@ | @@ -176,6 +176,47 @@ | ||
176 | </div> | 176 | </div> |
177 | </div> | 177 | </div> |
178 | 178 | ||
179 | + | ||
180 | + <div class="info_item"> | ||
181 | + <div class="title" data-id="5"> | ||
182 | + <text>当前困惑</text> | ||
183 | + <text class="iconfont icon-huatong voice_btn voice_btn5"></text> | ||
184 | + <text class="iconfont icon-tianxie"></text> | ||
185 | + </div> | ||
186 | + <div class="textarea_box"> | ||
187 | + <textarea class="area textarea5" type="text" placeholder="请输入你的困惑" maxlength="1000" | ||
188 | + id="confused"></textarea> | ||
189 | + <p class="text_num"><span class="text-count">0</span>/1000</p> | ||
190 | + </div> | ||
191 | + <div id="voice_module5" class="voice_module" video-id="5"> | ||
192 | + <div class="voice_list" voiceitemid="5"> | ||
193 | + <div class="voice_box voice_third"> | ||
194 | + <div class="voice_item"> | ||
195 | + <text class="iconfont icon-luyin voice_icon"></text> | ||
196 | + <text class="voice_font luyin">点击图标可播放 时长:<span class="timeLength">0</span>秒</text> | ||
197 | + </div> | ||
198 | + <div class="voice_btn_box"> | ||
199 | + <text class="iconfont icon-quxiao cancle_voice"></text> | ||
200 | + <text class="iconfont icon-tianjia add_voice"></text> | ||
201 | + </div> | ||
202 | + </div> | ||
203 | + | ||
204 | + <div class="voice_box voice_first"> | ||
205 | + <div class="voice_item"> | ||
206 | + <text class="iconfont icon-huatong mike voice_icon"></text> | ||
207 | + <text class="voice_font huatong">点击图标开始语音语音最长60秒</text> | ||
208 | + </div> | ||
209 | + <div class="voice_btn_box"> | ||
210 | + <text class="iconfont icon-quxiao icon_cancle cancle_voice"></text> | ||
211 | + </div> | ||
212 | + </div> | ||
213 | + </div> | ||
214 | + </div> | ||
215 | + </div> | ||
216 | + | ||
217 | + | ||
218 | + | ||
219 | + | ||
179 | <!--专家提问显示内容--> | 220 | <!--专家提问显示内容--> |
180 | <div class="tab_content_box"> | 221 | <div class="tab_content_box"> |
181 | <div class="tab_info"> | 222 | <div class="tab_info"> |
@@ -545,9 +586,6 @@ | @@ -545,9 +586,6 @@ | ||
545 | ' </div>\n' + | 586 | ' </div>\n' + |
546 | ' </div>\n' + | 587 | ' </div>\n' + |
547 | '</div>' | 588 | '</div>' |
548 | - | ||
549 | - | ||
550 | - // parent.append($('.voice_list').html()); | ||
551 | parent.append(html) | 589 | parent.append(html) |
552 | 590 | ||
553 | }) | 591 | }) |
@@ -606,7 +644,6 @@ | @@ -606,7 +644,6 @@ | ||
606 | $('.pause').hide() | 644 | $('.pause').hide() |
607 | $('.start').show() | 645 | $('.start').show() |
608 | $('.stopping').hide() | 646 | $('.stopping').hide() |
609 | - | ||
610 | }) | 647 | }) |
611 | 648 | ||
612 | //播放语音 | 649 | //播放语音 |
@@ -619,8 +656,6 @@ | @@ -619,8 +656,6 @@ | ||
619 | }) | 656 | }) |
620 | $('.voice_puse').click(function () { | 657 | $('.voice_puse').click(function () { |
621 | mySound.pause(); | 658 | mySound.pause(); |
622 | - // $('.voice_play').show() | ||
623 | - // $('.voice_puse').hide() | ||
624 | $(this).hide() | 659 | $(this).hide() |
625 | $(this).siblings('.voice_play').show() | 660 | $(this).siblings('.voice_play').show() |
626 | }) | 661 | }) |
@@ -641,34 +676,12 @@ | @@ -641,34 +676,12 @@ | ||
641 | 676 | ||
642 | //点击试听 | 677 | //点击试听 |
643 | $('.audition').click(function () { | 678 | $('.audition').click(function () { |
644 | - // var videolist = $(".voice_module"); | ||
645 | - // for (var i = 0; i < videolist.length; i++) { | ||
646 | - // var videoid = $(videolist[i]).attr("video-id"); | ||
647 | - // if (videoid == title_id) { | ||
648 | - // $('.second').hide() | ||
649 | - // $(videolist[i]).show(); | ||
650 | - // $(videolist[i]).children('.voice_list').hide() | ||
651 | - // $(videolist[i]).children('.voice_third').show(); | ||
652 | - // } | ||
653 | - // } | 679 | + |
654 | }) | 680 | }) |
655 | 681 | ||
656 | 682 | ||
657 | //我要发送 | 683 | //我要发送 |
658 | $('.submit_voice').click(function () { | 684 | $('.submit_voice').click(function () { |
659 | - | ||
660 | - // var videolist = $(".voice_module"); | ||
661 | - // console.log(videolist,videolist.length) | ||
662 | - // for (var i = 0; i<videolist.length; i++) { | ||
663 | - // videoid = $(videolist[i]).attr("video-id"); | ||
664 | - // if (videoid == title_id) { | ||
665 | - // $('.second').hide() | ||
666 | - // $(videolist[i]).children(".voice_list").children('.voice_first').hide() | ||
667 | - // $(videolist[i]).children(".voice_list").children('.voice_third').show(); | ||
668 | - // } | ||
669 | - // } | ||
670 | - | ||
671 | - | ||
672 | voiceBox.find('.voice_first').hide().siblings('.voice_third').show() | 685 | voiceBox.find('.voice_first').hide().siblings('.voice_third').show() |
673 | $('.second').hide() | 686 | $('.second').hide() |
674 | 687 |
-
请 注册 或 登录 后发表评论