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

视频详情

... ... @@ -89,8 +89,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="577">
<caret line="230" column="53" selection-start-line="230" selection-start-column="53" selection-end-line="230" selection-end-column="53" />
<state relative-caret-position="101">
<caret line="199" column="40" selection-start-line="199" selection-start-column="40" selection-end-line="199" selection-end-column="40" />
<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" />
... ... @@ -467,21 +467,7 @@
<workItem from="1572568391799" duration="24440000" />
<workItem from="1572668245063" duration="699000" />
<workItem from="1572827640492" duration="25475000" />
<workItem from="1572914713443" duration="12611000" />
</task>
<task id="LOCAL-00119" summary="视频详情">
<created>1572918947499</created>
<option name="number" value="00119" />
<option name="presentableId" value="LOCAL-00119" />
<option name="project" value="LOCAL" />
<updated>1572918947499</updated>
</task>
<task id="LOCAL-00120" summary="视频详情">
<created>1572918974125</created>
<option name="number" value="00120" />
<option name="presentableId" value="LOCAL-00120" />
<option name="project" value="LOCAL" />
<updated>1572918974125</updated>
<workItem from="1572914713443" duration="13548000" />
</task>
<task id="LOCAL-00121" summary="视频详情">
<created>1572919075302</created>
... ... @@ -812,11 +798,25 @@
<option name="project" value="LOCAL" />
<updated>1572932238851</updated>
</task>
<option name="localTasksCounter" value="168" />
<task id="LOCAL-00168" summary="视频详情">
<created>1572932294791</created>
<option name="number" value="00168" />
<option name="presentableId" value="LOCAL-00168" />
<option name="project" value="LOCAL" />
<updated>1572932294791</updated>
</task>
<task id="LOCAL-00169" summary="视频详情">
<created>1572932526124</created>
<option name="number" value="00169" />
<option name="presentableId" value="LOCAL-00169" />
<option name="project" value="LOCAL" />
<updated>1572932526124</updated>
</task>
<option name="localTasksCounter" value="170" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="312189000" />
<option name="totallyTimeSpent" value="313126000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
... ... @@ -1238,8 +1238,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="577">
<caret line="230" column="53" selection-start-line="230" selection-start-column="53" selection-end-line="230" selection-end-column="53" />
<state relative-caret-position="101">
<caret line="199" column="40" selection-start-line="199" selection-start-column="40" selection-end-line="199" selection-end-column="40" />
<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" />
... ...
... ... @@ -196,12 +196,13 @@
$(".audio_style").click(function() {
var index = $('.audio_style').index(this);
$(audio).each(function (key, vo) {
let audioTimer = null;
var audioTimer = [key];
console.log(audioTimer);
if(key == index){
if(vo.currentTime == 0){
vo.play();
var audioTime = parseInt(vo.duration);
audioTimer = setInterval(function() {
audioTimer[0] = setInterval(function() {
audioTime--;
if (audioTime % 2 == 0) {
audio.eq(key).parents('.detail_audio_wrap').find(".b3").siblings().removeClass("b_active")
... ...