Bladeren bron

修改接口

namejr 4 jaren geleden
bovenliggende
commit
01738eeaf0
1 gewijzigde bestanden met toevoegingen van 5 en 1 verwijderingen
  1. 5 1
      EBook.Web/Common/tasklib_book.js

+ 5 - 1
EBook.Web/Common/tasklib_book.js

@@ -369,7 +369,7 @@ var pauseMusicFunc = function (iIndex) {
     }
     playVisiableAudioCallBack(1, JSON.stringify(info));
 }
-// 设置滑块的位置(iIndex第几个音频,leftVal进度条实时时间,allTimes表示总时间)
+// 设置滑块的位置
 var playImageFunc = function (iIndex,leftVal,allTimes) {
     var jQStr = ".LDFProcImg_" + iIndex;
     var LeftPx = (leftVal * 158) / allTimes;
@@ -1979,4 +1979,8 @@ function getSelectedText(title) {
         txt = window.document.selection.createRange().text;
     }
     JSInterface.callback(txt, title);
+}
+// 控制滑块接口(Id第几个音频,leftVal进度条实时时间,allTimes表示总时间)
+function playImageFunc(Id, leftVal, allTimes) {
+    playImageFunc(Id, leftVal, allTimes)
 }