瀏覽代碼

关于答题点判断

namejr 4 年之前
父節點
當前提交
e14b5b1cbd
共有 3 個文件被更改,包括 5 次插入0 次删除
  1. 4 0
      EBook.Web/Common/tasklib_book.js
  2. 1 0
      EBook.Web/EBook.Web.csproj
  3. 0 0
      EBook.Web/lghp/data2021232037.lghp

+ 4 - 0
EBook.Web/Common/tasklib_book.js

@@ -242,6 +242,10 @@ var AdjustTableFunc = function (sWidthVal, isAStatus) {
         var RuleFlag = true;
         var HasIndex = 0;
         RSArrs = [];
+        if (isAStatus == 1) {
+            // 判断是否存在答题点
+            isAStatus = $(item).find(".yaoshi").length > 0 ? 1 : 0;
+        }
         $.each($(item).find("tr"), function (trIndex, trItem) {
             $.each($(trItem).find("td"), function (tdIndex, tdItem) {
                 var RowSpanNum = parseInt($(tdItem).attr("rowspan"));

+ 1 - 0
EBook.Web/EBook.Web.csproj

@@ -160,6 +160,7 @@
     <Content Include="Lghp\22518.lghp" />
     <Content Include="Lghp\22788.lghp" />
     <Content Include="Lghp\data20211251605.lghp" />
+    <Content Include="Lghp\data2021232037.lghp" />
     <None Include="Lghp\gaicuo.lghp" />
     <None Include="Lghp\TS.lghp" />
     <Content Include="NK\tasklib_book.css" />

文件差異過大導致無法顯示
+ 0 - 0
EBook.Web/lghp/data2021232037.lghp


部分文件因文件數量過多而無法顯示