Selaa lähdekoodia

修改作答格式错乱问题

lujianhong 5 vuotta sitten
vanhempi
commit
c3c5954b43
3 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 2 2
      EBook.Web/AnsText/21255.json
  2. 1 1
      EBook.Web/Common/tasklib_book.css
  3. 3 3
      EBook.Web/Test.html

+ 2 - 2
EBook.Web/AnsText/21255.json

@@ -52,7 +52,7 @@
     "AudioUrl": "",
     "Id": "6",
     "Score": 0.0,
-    "Text": "",
+    "Text": "learning learning learning learning learning learning nineteen ninety ninelearning learning learning learning learning learning nineteen ninety ninelearning learning learning learning learning learning nineteen ninety ninelearning learning learning learning learning learning nineteen ninety ninelearning learning learning learning learning learning nineteen ninety ninelearning learning learning learning learning learning nineteen ninety ninelearning learning learning learning learning learning nineteen ninety ninelearning learning learning learning learning learning nineteen ninety ninelearning learning learning learning learning learning nineteen ninety ninelearning learning learning learning learning learning nineteen ninety ninelearning learning learning learning learning learning nineteen ninety ninelearning learning learning learning learning learning nineteen ninety nine",
     "Type": 1
   },
   {
@@ -76,7 +76,7 @@
     "AudioUrl": "",
     "Id": "9",
     "Score": 0.0,
-    "Text": "",
+    "Text": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
     "Type": 1
   },
   {

+ 1 - 1
EBook.Web/Common/tasklib_book.css

@@ -1,5 +1,5 @@
 body {text-align:left;}
-.answer-range {height:30px;background-color:#eaf6ff;border-radius: 5px; display:inline-block;margin-bottom:-5px;}
+.answer-range {background-color:#eaf6ff;border-radius: 5px; display:inline-block;margin-bottom:-5px;}
 .answer-range img {float:left;margin-left:3px;margin-top:5px;width:20px;height:20px;}
 
 .answertext { float:left;margin-left:5px; margin-right:8px;color:#6ab7ff;word-break:keep-all;line-height:30px;font-size:16px;}

+ 3 - 3
EBook.Web/Test.html

@@ -5,7 +5,7 @@
     <title>主体课文</title>
 	<meta charset="utf-8" />
     <script src="Scripts/jquery.js"></script>
-    <link href="Common/mtm_passage.css" rel="stylesheet" type="text/css" />
+    <!--<link href="Common/mtm_passage.css" rel="stylesheet" type="text/css" />-->
     <link href="Common/tasklib_book.css" rel="stylesheet" type="text/css" />
     <script src="Common/mtm_temp.js"></script>
     <script src="Common/tasklib_book.js"></script>
@@ -47,10 +47,10 @@
         }
         //加载听说课文
         $("#load-text").on("click", function () {
-            var data = $.ajax({ url: "lghp/21051.lghp", async: false }).responseText;
+            var data = $.ajax({ url: "lghp/data13.lghp", async: false }).responseText;
             $("#data").html(data);
 
-            Fill(JSON.parse(hightcodejson));
+            //Fill(JSON.parse(hightcodejson));
             bindEventYS();
             //bindCoursewareEvent();