作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

视频详情

... ... @@ -2,6 +2,7 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="309ad746-5b2a-4c29-af46-e7925a35765c" name="默认的" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/home/view/goods/audio_detail.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/home/view/goods/audio_detail.html" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
... ... @@ -79,8 +80,8 @@
<file leaf-file-name="audio_detail.html" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/application/home/view/goods/audio_detail.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="288">
<caret line="192" column="40" selection-start-line="192" selection-start-column="40" selection-end-line="192" selection-end-column="40" />
<state relative-caret-position="662">
<caret line="205" column="71" selection-start-line="205" selection-start-column="71" selection-end-line="205" selection-end-column="71" />
<folding>
<element signature="n#style#0;n#div#0;n#div#1;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#4;n#div#0;n#div#1;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
... ... @@ -436,28 +437,7 @@
<workItem from="1572568391799" duration="24440000" />
<workItem from="1572668245063" duration="699000" />
<workItem from="1572827640492" duration="25475000" />
<workItem from="1572914713443" duration="6078000" />
</task>
<task id="LOCAL-00083" summary="视频详情">
<created>1572857641578</created>
<option name="number" value="00083" />
<option name="presentableId" value="LOCAL-00083" />
<option name="project" value="LOCAL" />
<updated>1572857641578</updated>
</task>
<task id="LOCAL-00084" summary="视频详情">
<created>1572857746635</created>
<option name="number" value="00084" />
<option name="presentableId" value="LOCAL-00084" />
<option name="project" value="LOCAL" />
<updated>1572857746635</updated>
</task>
<task id="LOCAL-00085" summary="视频详情">
<created>1572858681597</created>
<option name="number" value="00085" />
<option name="presentableId" value="LOCAL-00085" />
<option name="project" value="LOCAL" />
<updated>1572858681597</updated>
<workItem from="1572914713443" duration="6784000" />
</task>
<task id="LOCAL-00086" summary="视频详情">
<created>1572858767663</created>
... ... @@ -781,11 +761,32 @@
<option name="project" value="LOCAL" />
<updated>1572920579425</updated>
</task>
<option name="localTasksCounter" value="132" />
<task id="LOCAL-00132" summary="视频详情">
<created>1572920802865</created>
<option name="number" value="00132" />
<option name="presentableId" value="LOCAL-00132" />
<option name="project" value="LOCAL" />
<updated>1572920802865</updated>
</task>
<task id="LOCAL-00133" summary="视频详情">
<created>1572920829342</created>
<option name="number" value="00133" />
<option name="presentableId" value="LOCAL-00133" />
<option name="project" value="LOCAL" />
<updated>1572920829342</updated>
</task>
<task id="LOCAL-00134" summary="视频详情">
<created>1572921301103</created>
<option name="number" value="00134" />
<option name="presentableId" value="LOCAL-00134" />
<option name="project" value="LOCAL" />
<updated>1572921301103</updated>
</task>
<option name="localTasksCounter" value="135" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="305656000" />
<option name="totallyTimeSpent" value="306362000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
... ... @@ -1207,8 +1208,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/application/home/view/goods/audio_detail.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="288">
<caret line="192" column="40" selection-start-line="192" selection-start-column="40" selection-end-line="192" selection-end-column="40" />
<state relative-caret-position="662">
<caret line="205" column="71" selection-start-line="205" selection-start-column="71" selection-end-line="205" selection-end-column="71" />
<folding>
<element signature="n#style#0;n#div#0;n#div#1;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#4;n#div#0;n#div#1;n#div#2;n#body#0;n#html#0;n#!!top" expanded="true" />
... ...
... ... @@ -190,23 +190,25 @@
getDuration(audio.eq(key),vo)
});
$(".audio_style").click(function() {
console.log($('.audio_style').index(this));
$(this).find('.audio').play();
var audioTimer = setInterval(function() {
audioTime--;
if (audioTime % 2 == 0) {
$(this).next('.audio_play').find('.b3').siblings().removeClass("b_active")
$(audio).each(function (key, vo) {
if(key == $('.audio_style').index(this)){
var audioTimer = setInterval(function() {
audioTime--;
if (audioTime % 2 == 0) {
audio.eq(key).parents('.detail_audio_wrap').find('.b3').siblings().removeClass("b_active")
} else {
$(this).next('.audio_play').find('.b1').addClass("b_active");
$(this).next('.audio_play').find('.b5').addClass("b_active");
}
if (audioTime <= 0) {
audioTime = parseInt(audio.duration);
$(this).next('.audio_play').find('.b3').siblings().removeClass("b_active")
clearInterval(audioTimer)
} else {
audio.eq(key).parents('.detail_audio_wrap').find('.b1').addClass("b_active");
audio.eq(key).parents('.detail_audio_wrap').find('.b5').addClass("b_active");
}
if (audioTime <= 0) {
audioTime = parseInt(audio.duration);
audio.eq(key).parents('.detail_audio_wrap').find('.b3').siblings().removeClass("b_active")
clearInterval(audioTimer)
}
}, 1000);
}
}, 1000);
});
});
// audio.addEventListener("ended", function() {
// $(".quest_box").removeClass("quest_ans");
... ...