Parcourir la source

上传bug22769修改

namejr il y a 4 ans
Parent
commit
11cb9c628e
2 fichiers modifiés avec 9 ajouts et 6 suppressions
  1. 6 3
      EBook.Web/Common/tasklib_book.css
  2. 3 3
      EBook.Web/Common/tasklib_book.js

+ 6 - 3
EBook.Web/Common/tasklib_book.css

@@ -173,7 +173,6 @@ table tr td:last-child{
 /*#region音频插件*/
 .ListenDiv{
     height:48px;
-    background-color:rgba(10,169,251,1);
     margin-top: 15px;
     margin-bottom: 5px;
     border-radius:5px;
@@ -203,10 +202,12 @@ table tr td:last-child{
     border-bottom:2px solid #fff;
 }
 .ListenDiv .LDivFooter{
-    width:calc(100% - 20px);
+    width:calc(100%);
     height:47px;
     margin:0 auto;
     overflow:hidden;
+    background-color:rgba(10,169,251,1);
+    border-radius: 24px;
 }
 .LDivFooter .LDFPlayS {
     width:32px;
@@ -216,6 +217,7 @@ table tr td:last-child{
     background-repeat:no-repeat;
     margin-top: 8px;
     background-size: 100%;
+    margin-left: 24px;
 }
 .LDFPlayS[data-playstatus='1'] {
     background-image: url('../Images/Listen/暂停1@2x.png');
@@ -239,7 +241,7 @@ table tr td:last-child{
     background-color: #fff;
 }
 .LDivFooter .LDFProcS {
-    width:calc(100% - 180px);
+    width:calc(100% - 228px);
     height:2px;
     float:left;
     background-color:rgba(6,142,216,1);
@@ -265,6 +267,7 @@ table tr td:last-child{
     margin-top:14px;
     text-align: right;
     overflow:hidden;
+    margin-right: 24px;
 }
 .LDFTimerS span{
     color:rgba(255,255,255,0.6);

+ 3 - 3
EBook.Web/Common/tasklib_book.js

@@ -899,7 +899,7 @@ function bindEventTeaOrignalYS(sWidthVal) {
     //处理暂无参考答案
     $.each($(".yaoshi"), function (index, item) {
         var parent = $(item).parent();
-        var prev = $(item).nextUntil(".yaoshi").find(".underlineContent");
+        var prev = $(item).nextUntil(".yaoshi").filter(".underlineContent");
         if (prev.length == 0) {
             var spanHtml = document.createElement("span");
             //添加子节点
@@ -912,7 +912,7 @@ function bindEventTeaOrignalYS(sWidthVal) {
                     uHtml.innerHTML = "   ";
                     //改错题,要随机下划线长度
                     if ($(parent).hasClass('correntQue')) {
-                        uHtml.style = "width:" + randomNum(220, 300) + "px;display:inline-block;";
+                        uHtml.style = "width:" + randomNum(220, 300) + "px;display:inline-block;height: 22px;";
                     }
                     else {
                         uHtml.style = "width:10px;display:inline-block;";
@@ -1054,7 +1054,7 @@ function bindEventYS(sWidthVal) {
                     uHtml.innerHTML = "   ";
                     //改错题,要随机下划线长度
                     if ($(parent).hasClass('correntQue')) {
-                        uHtml.style = "width:" + randomNum(220, 300) + "px;display:inline-block;";
+                        uHtml.style = "width:" + randomNum(220, 300) + "px;display:inline-block;height: 22px;";
                     }
                     else {
                         uHtml.style = "width:10px;display:inline-block;";