Explorar o código

Merge branch 'master' of http://192.168.3.18:3000/CallPro/EBook

pengmi %!s(int64=4) %!d(string=hai) anos
pai
achega
7a50952610

+ 1090 - 0
EBook.Web/AnsText/duogouxuan.json

@@ -0,0 +1,1090 @@
+[
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "0",
+    "Score": 0.0,
+    "Text": "1111",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "1",
+    "Score": 0.0,
+    "Text": "2222",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "2",
+    "Score": 0.0,
+    "Text": "3333",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "3",
+    "Score": 0.0,
+    "Text": "4454",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "4",
+    "Score": 0.0,
+    "Text": "2424",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "5",
+    "Score": 0.0,
+    "Text": "4244",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "6",
+    "Score": 0.0,
+    "Text": "6666",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "7",
+    "Score": 0.0,
+    "Text": "22112",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "8",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "9",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "10",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "11",
+    "Score": 0.0,
+    "Text": "sdas",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "12",
+    "Score": 0.0,
+    "Text": "asdhbnahjas s ",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "13",
+    "Score": 0.0,
+    "Text": "sdsada",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "14",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "15",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "16",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "17",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "18",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "19",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "20",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "21",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "22",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "23",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "24",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "25",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "26",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "27",
+    "Score": 0.0,
+    "Text": "asas",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "28",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "29",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "30",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "31",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "32",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "33",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "34",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "35",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "36",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "37",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "38",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "39",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "40",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "41",
+    "Score": 0.0,
+    "Text": "sdfsd sdfsf sf sf sdf sd",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "42",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "43",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "44",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "45",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "46",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "47",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "48",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "49",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "50",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "51",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "52",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "53",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "54",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "55",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "56",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "57",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "58",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "59",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "60",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "61",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "62",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "63",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "64",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "65",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "66",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "67",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "68",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "69",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "70",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "71",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "72",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "73",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "74",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "75",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "76",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "77",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "78",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "79",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "80",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "81",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "82",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "83",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "84",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "85",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "86",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "87",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "88",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "89",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "90",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "91",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "92",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "93",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "94",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "95",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "96",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "97",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "98",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "99",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "100",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "101",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "102",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "103",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "104",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "105",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "106",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "107",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "108",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "109",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "110",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "111",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "112",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "113",
+    "Score": 0.0,
+    "Text": "√",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "114",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "115",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "116",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "117",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "118",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "119",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "120",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "121",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "122",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "123",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "124",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "125",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "126",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "127",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "128",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "129",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "130",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "131",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "132",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "133",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "134",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  },
+  {
+    "AudioLength": 0,
+    "AudioUrl": "",
+    "Id": "135",
+    "Score": 0.0,
+    "Text": "",
+    "Type": 1
+  }
+]

+ 13 - 2
EBook.Web/Common/tasklib_book.css

@@ -2,13 +2,20 @@
 p{word-break: break-word;word-wrap: break-word;clear:both;line-height: 22px;}
 /*作答区域外层*/
 .answer-body {background-color:#eaf6ff;border-radius: 5px;display:inline-block;margin-bottom:-1px;margin-top:8px;}
+.answer-body[answer-showanswer='1']{display:inline;}
+p .answer-body{
+    margin-left:5px;
+}
+p .answer-body:first-child{
+    margin-left:0px;
+}
 .answer-border {border:solid #66b6ff 1px;}
 /*作答音频区域*/
 .answer-audio-range { border-radius: 5px;border:solid #66b6ff 1px;height:20px;background-color:#eaf6ff;display:none;margin-bottom:-6px;}
 .answer-audio-range img {float:left;margin-left:3px;margin-top:2px;width:15px;height:15px;}
 .answer-audio-range span { float:left;margin-left:4px; margin-right:5px;color:#6ab7ff;line-height:19px;font-size:15px;}
 /*答题点区域*/
-.answer-point-range { border-radius: 5px;height:25px;display:inline-block;}
+.answer-point-range { border-radius: 5px;height:20px;display:inline-block;}
 .answer-point-range img {float:left;margin-left:3px;margin-top:5px;width:16px;height:16px;}
 .answer-point-range span { float:left;margin-left:3px; margin-right:7px;color:#6ab7ff;line-height:25px;font-size:16px;}
 /*作答内容*/
@@ -73,5 +80,9 @@ p{word-break: break-word;word-wrap: break-word;clear:both;line-height: 22px;}
     border-bottom:1px solid rgb(151, 151, 151);
 }
 .container-table{
-    overflow-x:auto;
+    overflow-x:auto !important;
+    overflow-y:hidden !important;
+}
+.container-table td{
+    min-width:90px;
 }

+ 231 - 75
EBook.Web/Common/tasklib_book.js

@@ -27,11 +27,54 @@ function showHideAnswer(flag) {
         //$(".underlineContent").show();
         $(".underlineContent").css("color", "#92D050");
         $(".yaoshi").attr("src", PicInfo.yaoshiShowImgUrl);
+        $.each($(".underlineContent"), function (index, item) {
+            var underlineContentText = $(this).text();  // 获取文本内容
+            var widthValue = $(item).css("width");
+            var newClsName = $(item).next().attr("class");
+            if (newClsName != "underlineContentShow") {
+                var addHtml = "";
+                if (hasChineseWorld(underlineContentText)) {
+                    addHtml = "<span class='underlineContentShow' style='width:" + widthValue + ";' data-status='0'>&emsp;</span>";
+                }
+                else {
+                    addHtml = "<span class='underlineContentShow' style='width:" + widthValue + ";' data-status='0'>&nbsp;</span>";
+                }
+                $(item).css("display", "inline-block").after(addHtml);
+            }
+            else {
+                $(item).css("display", "inline-block").next().attr("data-status", "0");
+            }
+            if (underlineContentText.indexOf("√") > -1) {
+                $(this).parent().find(".checkbox").find("input").prop('checked', true);
+            }
+        });
     }
     else {
         //$(".underlineContent").hide();
         $(".underlineContent").css("color", "#ffffff");
         $(".yaoshi").attr("src", PicInfo.yaoshiHideImgUrl);
+        $.each($(".underlineContent,.underlineContent.no-answer"), function (index, item) {
+            var underlineContentText = $(this).text();  // 获取文本内容
+            var widthValue = $(item).css("width");
+            var newClsName = $(item).next().attr("class");
+            if (newClsName != "underlineContentShow") {
+                var addHtml = "";
+                if (hasChineseWorld(underlineContentText)) {
+                    addHtml = "<span class='underlineContentShow' style='width:" + widthValue + ";' data-status='0'>&emsp;</span>";
+                }
+                else {
+                    addHtml = "<span class='underlineContentShow' style='width:" + widthValue + ";' data-status='0'>&nbsp;</span>";
+                }
+                $(item).css("display", "none").after(addHtml);
+                $(item).next().attr("data-status", "1");
+            }
+            else {
+                $(item).css("display", "none").next().attr("data-status", "1");
+            }
+            if (underlineContentText.indexOf("√") > -1) {
+                $(this).parent().find(".checkbox").find("input").prop('checked', false);
+            }
+        });
     }
 }
 
@@ -46,6 +89,25 @@ function showHideAnswerEx(isShowYX, isShowAS) {
 
     if (isShowAS) {
         $.each($(".underlineContent"), function (index, item) {
+            var underlineContentText = $(this).text();  // 获取文本内容
+            var widthValue = $(item).css("width");
+            var newClsName = $(item).next().attr("class");
+            if (newClsName != "underlineContentShow") {
+                var addHtml = "";
+                if (hasChineseWorld(underlineContentText)) {
+                    addHtml = "<span class='underlineContentShow' style='width:" + widthValue + ";' data-status='0'>&emsp;</span>";
+                }
+                else {
+                    addHtml = "<span class='underlineContentShow' style='width:" + widthValue + ";' data-status='0'>&nbsp;</span>";
+                }
+                $(item).css("display", "inline-block").after(addHtml);
+            }
+            else {
+                $(item).css("display", "inline-block").next().attr("data-status", "0");
+            }
+            if (underlineContentText.indexOf("√") > -1) {
+                $(this).parent().find(".checkbox").find("input").prop('checked', true);
+            }
             //$(item).html($(item).attr("data-text"));
             if (!$(item).hasClass("no-answer")) {
                 $(item).css("color", "#92D050");
@@ -53,7 +115,6 @@ function showHideAnswerEx(isShowYX, isShowAS) {
             else {
                 $(item).css("color", "#989898");
             }
-
             $(item).find(".wordStyle").css("color", "#db5d00");
             $(item).find(".phraseStyle").css("background-color", "#f2db8b");
         });
@@ -62,6 +123,26 @@ function showHideAnswerEx(isShowYX, isShowAS) {
     }
     else {
         $.each($(".underlineContent,.underlineContent.no-answer"), function (index, item) {
+            var underlineContentText = $(this).text();  // 获取文本内容
+            var widthValue = $(item).css("width");
+            var newClsName = $(item).next().attr("class");
+            if (newClsName != "underlineContentShow") {
+                var addHtml = "";
+                if (hasChineseWorld(underlineContentText)) {
+                    addHtml = "<span class='underlineContentShow' style='width:" + widthValue + ";' data-status='0'>&emsp;</span>";
+                }
+                else {
+                    addHtml = "<span class='underlineContentShow' style='width:" + widthValue + ";' data-status='0'>&nbsp;</span>";
+                }
+                $(item).css("display", "none").after(addHtml);
+                $(item).next().attr("data-status", "1");
+            }
+            else {
+                $(item).css("display", "none").next().attr("data-status", "1");
+            }
+            if (underlineContentText.indexOf("√") > -1) {
+                $(this).parent().find(".checkbox").find("input").prop('checked', false);
+            }
             $(item).css("color", "#ffffff");
             $(item).find(".wordStyle").css("color", "#ffffff");
             $(item).find(".phraseStyle").css("background-color", "#ffffff");
@@ -212,7 +293,7 @@ function bindEventYS() {
             uHtml.innerText = "暂无参考答案";
             if ($(parent)[0].tagName == 'P') {
                 if ($(parent).hasClass('correntQue') || $(parent).hasClass('boxQue')) {
-                    uHtml.innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
+                    uHtml.innerHTML = "&nbsp;&nbsp;&nbsp;";
                 }
             }
             uHtml.setAttribute("data-text", uHtml.innerText);
@@ -227,23 +308,17 @@ function bindEventYS() {
     var checkId = 0;
     var headid = -1;
     var groupId = -1;
-    $.each($(".multipleStart").nextUntil(".multipleEnd").filter("[class*='group']"), function (index, item) {
-        checkId = $(item).find('.yaoshi').attr("answer-id");
-        var gid = $(item).attr('class').replace(/.*group(\d+).*/g, "$1");
-        if (index == 0 || groupId != gid) {
-            groupId = gid;
-            headid = checkId;
-        }
-        $(item).find('.yaoshi').attr('parent-anid', headid);
-
-        var ischecked = $(item).find(".underlineContent").text().indexOf("√") > -1;
-        var answerText = ischecked ? "√" : "";
-        //勾选题
-        if ($(item).hasClass('boxQue')) {
-            $(item).find('.yaoshi').after("<div class='checkbox' answer-id='" + checkId + "' parent-anid='" + headid + "' answer-isky='2' answer-anstext=" + answerText + "><input id=" + checkId + " type='checkbox' onclick=this.checked=!this.checked><label for=" + checkId + "></label></div>");
-            $(item).find('input').prop('checked', ischecked);
-            $(item).find('.underlineContent').hide();
-        }
+    $(".multipleStart").each(function (i, item) {
+        var $startNode = $(item);
+        $.merge($(item).nextUntil(".multipleEnd").filter("[class*='group']"), $(item).nextUntil(".multipleEnd").find("[class*='group']")).each(function (index, item) {
+            checkId = $(item).find('.yaoshi').attr("answer-id");
+            var gid = $(item).attr('class').replace(/.*group(\d+).*/g, "$1");
+            if (index == 0 || groupId != gid) {
+                groupId = gid;
+                headid = checkId;
+            }
+            $(item).find('.yaoshi').attr('parent-anid', headid);
+        });
     });
 
     //显示/隐藏习题答案
@@ -414,7 +489,7 @@ function bindEventYS() {
     });
 }
 var pressTableFlag = false;
-// 移动端使用(表格处理)
+// 移动端使用,true:表示点击表格且正在移动,需阻止模块切换
 function getPressFlag() {
     alert(pressTableFlag);
 }
@@ -435,6 +510,51 @@ function handleAnswerRange() {
     //规范文本格式
     var answerId = "";
     var tempJson = new Array();
+    //先处理一题多空的情况,获取两个之间的答题点
+    $(".multipleStart").each(function (i, item) {
+        $.merge($(item).nextUntil(".multipleEnd").filter("[class*='group']"), $(item).nextUntil(".multipleEnd").find("[class*='group']")).each(function (index, item) {
+            var checkId = $(item).find('.yaoshi').attr("answer-id");
+            var headid = $(item).find('.yaoshi').attr("parent-anid");
+            var ischecked = $(item).find(".underlineContent").text().indexOf("√") > -1;
+            var answerText = ischecked ? "√" : "";
+            //勾选题
+            if ($(item).hasClass('boxQue')) {
+                $(item).find('.yaoshi').after("<div class='checkbox' answer-id='" + checkId + "' parent-anid='" + headid + "' answer-isky='2' answer-anstext=" + answerText + "><input id=" + checkId + " type='checkbox'><label for=" + checkId + "></label></div>");
+                //$(item).find('input').prop('checked', ischecked);
+                $(item).find('.underlineContent').hide();
+            }
+            //点击事件
+            $(item).find('input').bind("click", function () {
+                var curObj = new Object();
+                curObj.Id = $(this).parent().attr("answer-id");//答题点ID
+                curObj.pId = $(this).parent().attr("parent-anid");//答题点ID
+                curObj.IsKY = $(this).parent().attr("answer-isky");//是否是口语试题,0-不是口语题,1-是口语题,2-打勾题
+                //curObj.Text = $(this).parent().attr("answer-text");//用户作答内容
+                curObj.Score = $(this).parent().attr("answer-score");//作答评分
+                curObj.AnsText = $(this).parent().attr("answer-anstext");//参考答案
+                curObj.Comment = $(this).parent().attr("answer-comment");//评语
+                curObj.pId = curObj.pId ? curObj.pId : curObj.Id;//组ID
+                curObj.Text = $(this).prop("checked") ? "√" : "";//用户作答内容
+                $(this).parent().attr("answer-text", curObj.Text);//用户作答内容
+
+                $(".checkbox").removeClass("select-answer");
+                $(".answer-body").removeClass("select-answer");
+                $(this).parent().addClass("select-answer");
+
+                //已作答,弹出作答答案
+                if ($(this).parent().data("ans-status") == "1") {
+                    //移动端添加外部处理
+                    onClickAnswerPoint(JSON.stringify(curObj));
+                }
+                else {
+                    //移动端添加外部处理,弹出作答操作
+                    onClickAnswerPoint(JSON.stringify(curObj));
+                }
+            });
+            //删除钥匙节点
+            $(item).find('.yaoshi').hide();
+        });
+    });
 
     //所有underline不做处理
     $.each($(".yaoshi").nextUntil(".yaoshi").filter(".underline"), function (index, item) {
@@ -522,6 +642,7 @@ function handleAnswerRange() {
 
     //合并参考答案数据
     var tempid = "";
+    var temppid = "";
     var temptext = "";
     for (var i = 0; i < tempJson.length; i++) {
         if (tempid == tempJson[i].Id) {
@@ -531,6 +652,7 @@ function handleAnswerRange() {
             if (tempid != "") {
                 var info = new Object();
                 info.Id = tempid;
+                info.pId = temppid;
                 info.AnsText = temptext;
                 answerData.push(info);
                 //重置
@@ -539,11 +661,13 @@ function handleAnswerRange() {
             }
 
             tempid = tempJson[i].Id;
+            temppid = tempJson[i].pId;
             temptext = tempJson[i].AnsText;
             //最后一个存入
             if (i == tempJson.length - 1) {
                 var info = new Object();
                 info.Id = tempid;
+                info.pId = temppid;
                 info.AnsText = temptext;
                 answerData.push(info);
             }
@@ -561,6 +685,7 @@ function handleAnswerRange() {
                 for (var j = 0; j < index; j++) {
                     var info = new Object();
                     info.Id = (i + j).toString();
+                    info.pId = info.Id;
                     info.AnsText = "";
                     answerData.splice(i, 0, info);
                 }
@@ -568,48 +693,13 @@ function handleAnswerRange() {
             else {
                 var info = new Object();
                 info.Id = (i).toString();
+                info.pId = info.Id;
                 info.AnsText = "";
                 answerData.splice(i, 0, info);
             }
         }
     }
 
-    //获取两个之间的答题点
-    var index = 1;
-    var checkId = 0;
-    $.each($(".multipleStart").nextUntil(".multipleEnd").filter("[class*='group']"), function (index, item) {
-        $(item).find('input').removeAttr("onclick");
-        $(item).find('input').prop('checked', false);
-        $(item).find('input').bind("click", function () {
-            var curObj = new Object();
-            curObj.Id = $(this).parent().attr("answer-id");//答题点ID
-            curObj.pId = $(this).parent().attr("parent-anid");//答题点ID
-            curObj.IsKY = $(this).parent().attr("answer-isky");//是否是口语试题,0-不是口语题,1-是口语题,2-打勾题
-            //curObj.Text = $(this).parent().attr("answer-text");//用户作答内容
-            curObj.Score = $(this).parent().attr("answer-score");//作答评分
-            curObj.AnsText = $(this).parent().attr("answer-anstext");//参考答案
-            curObj.Comment = $(this).parent().attr("answer-comment");//评语
-            curObj.pId = curObj.pId ? curObj.pId : curObj.Id;//组ID
-            curObj.Text = $(this).prop("checked") ? "√" : "";//用户作答内容
-
-            $(".checkbox").removeClass("select-answer");
-            $(".answer-body").removeClass("select-answer");
-            $(this).parent().addClass("select-answer");
-
-            //已作答,弹出作答答案
-            if ($(this).parent().data("ans-status") == "1") {
-                //移动端添加外部处理
-                onClickAnswerPoint(JSON.stringify(curObj));
-            }
-            else {
-                //移动端添加外部处理,弹出作答操作
-                onClickAnswerPoint(JSON.stringify(curObj));
-            }
-        });
-        //删除钥匙节点
-        $(item).find('.yaoshi').remove();
-    });
-    
     //添加答题点的点击UI及交互
     $.each($(".tag-span"), function (index, item) {
         var answerText = "";
@@ -622,7 +712,7 @@ function handleAnswerRange() {
                 break;
             }
         }
-        $(item).prop("outerHTML", "<div class='answer-body' answer-id='" + answerid + "' answer-anstext='" + answerText + "' answer-isky='" + isky + "'><div class='answer-audio-range'><img src='" + PicInfo.recordPlayImgUrl + "'/><span class='answer-audio-text'>作答音频</span></div><div class='answer-point-range'><img src='" + PicInfo.answerPointImgUrl + "'/><span class='answer-point-text'>答题点</span></div><buttom class='answer-text'></buttom></div>");
+        $(item).prop("outerHTML", "<div class='answer-body' answer-id='" + answerid + "' answer-anstext='" + answerText + "' answer-isky='" + isky + "' answer-showanswer='0'><div class='answer-audio-range'><img src='" + PicInfo.recordPlayImgUrl + "'/><span class='answer-audio-text'>作答音频</span></div><div class='answer-point-range'><img src='" + PicInfo.answerPointImgUrl + "'/><span class='answer-point-text'>答题点</span></div><buttom class='answer-text'></buttom></div>");
         //删除钥匙节点
         var prev = $("img[answer-id='" + answerid + "']");
         if (prev.length > 0) {
@@ -665,7 +755,9 @@ function handleAnswerRange() {
             $(item).remove();
         }
     });
-
+    //删除所有钥匙节点
+    $("img[class=yaoshi]").remove();
+    //console.log(JSON.stringify(answerData));
     return answerData;
 }
 
@@ -734,13 +826,25 @@ function getAllAnswer() {
             $(item).children(".answer-text").addClass("no-answer");
         }
     });
-    $("input[type=checkbox]").unbind("click");
-    $("input[type=checkbox]").removeAttr("onclick");
-    $("input[type=checkbox]").addr("disabled", "disabled");
     $(".answer-body").removeClass("select-answer");//移除样式
     $(".answer-body").unbind("click");//取消点击绑定事件
     $(".answer-body").children(".answer-audio-range").children("span").unbind("click");//取消点击绑定事件
 
+    //打勾题的还原
+    $.each($(".checkbox"), function (num, item) {
+        var answerid = $(item).attr("answer-id");
+        var parentid = $(item).attr("parent-anid");
+        //提交直接还原作答现场
+        var mytext = $(item).attr("answer-text");//我的答案
+        var ischecked = mytext.indexOf("√") > -1;
+        var answerText = $(item).attr("answer-anstext");//参考答案
+
+        mytext = mytext == "" ? "__" : mytext;
+        $(item).prop("outerHTML", "<div class='answer-body' answer-id='" + answerid + "' parent-anid='" + parentid + "' answer-anstext='" + answerText + "' answer-isky='2'><div class='answer-audio-range'><img src='" + PicInfo.recordPlayImgUrl + "'/><span class='answer-audio-text'>作答音频</span></div><div class='answer-point-range' style='display:none;'><img src='" + PicInfo.answerPointImgUrl + "'/><span class='answer-point-text'>答题点</span></div><buttom class='answer-text' style='display:block;'>" + mytext + "</buttom></div>");
+    });
+
+    //console.log(JSON.stringify(answerData));
+
     return answerData;
 }
 
@@ -821,6 +925,7 @@ function backupAllAnswer(answerJson, statusType) {
             }
             //已评阅,查看评阅详情
             if (statusType == 2) {
+                $(item).attr("answer-showanswer", "1");  // 修改显示格式
                 //添加音频控制
                 if ((answerList[index].Type == 3 || answerList[index].Type == 4) && answerList[index].AudioUrl != "") {
                     //独立绑定事件
@@ -856,6 +961,7 @@ function backupAllAnswer(answerJson, statusType) {
             //查找
             var index = 0;
             var answerid = $(item).attr("answer-id");
+            var parentid = $(item).attr("parent-anid");
             for (var i = 0; i < answerList.length; i++) {
                 if (answerid == answerList[i].Id) {
                     index = i;
@@ -866,22 +972,45 @@ function backupAllAnswer(answerJson, statusType) {
             //提交直接还原作答现场
             var mytext = answerList[index].Text;//我的答案
             var ischecked = mytext.indexOf("√") > -1;
-
+            var answerText = $(item).attr("answer-anstext");//参考答案
+            
             $(item).attr("answer-text", mytext);
             $(item).find('input').prop('checked', ischecked);
             
-            //已提交,作答还原
-            if (statusType == 1) {
-                $("input[type=checkbox]").unbind("click");
-                $("input[type=checkbox]").removeAttr("onclick");
-                $("input[type=checkbox]").attr("disabled", "disabled");
-            }
-            //已评阅,查看评阅详情
-            if (statusType == 2) {
-                $("input[type=checkbox]").attr("disabled", "disabled");
-                //$("input[type=checkbox]").attr("onclick", "this.checked=!this.checked");
+            //已提交,已评阅,还原HTML代码,去除checkbox
+            if (statusType == 1 || statusType == 2) {
+                mytext = mytext == "" ? "__" : mytext;
+                $(item).prop("outerHTML", "<div class='answer-body' answer-id='" + answerid + "' parent-anid='" + parentid + "' answer-anstext='" + answerText + "' answer-isky='2' answer-text='" + mytext + "'><div class='answer-audio-range'><img src='" + PicInfo.recordPlayImgUrl + "'/><span class='answer-audio-text'>作答音频</span></div><div class='answer-point-range' style='display:none;'><img src='" + PicInfo.answerPointImgUrl + "'/><span class='answer-point-text'>答题点</span></div><buttom class='answer-text' style='display:block;'>" + mytext + "</buttom></div>");
             }
         });
+        //点击事件重新绑定
+        if (statusType == 0 || statusType == 2) {
+            $(".answer-body").unbind("click").on("click", function () {
+                var curObj = new Object();
+                curObj.Id = $(this).attr("answer-id");//答题点ID
+                curObj.pId = $(this).attr("parent-anid");//答题点ID
+                curObj.IsKY = $(this).attr("answer-isky");//是否是口语试题,0-不是口语题,1-是口语题
+                curObj.Text = $(this).attr("answer-text");//用户作答内容
+                curObj.Score = $(this).attr("answer-score");//作答评分
+                curObj.AnsText = $(this).attr("answer-anstext");//参考答案
+                curObj.Comment = $(this).attr("answer-comment");//评语
+                curObj.pId = curObj.pId ? curObj.pId : curObj.Id;//组ID
+
+                $(".checkbox").removeClass("select-answer");
+                $(".answer-body").removeClass("select-answer");
+                $(this).addClass("select-answer");
+
+                //已作答,弹出作答答案
+                if ($(this).data("ans-status") == "1") {
+                    //移动端添加外部处理
+                    onClickAnswerPoint(JSON.stringify(curObj));
+                }
+                else {
+                    //移动端添加外部处理,弹出作答操作
+                    onClickAnswerPoint(JSON.stringify(curObj));
+                }
+            });
+        }
     }
 }
 
@@ -981,6 +1110,7 @@ function backupAllReview(answerJson) {
             //查找
             var index = 0;
             var answerid = $(item).attr("answer-id");
+            var parentid = $(item).attr("parent-anid");
             for (var i = 0; i < answerList.length; i++) {
                 if (answerid == answerList[i].Id) {
                     index = i;
@@ -991,10 +1121,35 @@ function backupAllReview(answerJson) {
             //提交直接还原作答现场
             var mytext = answerList[index].Text;//我的答案
             var ischecked = mytext.indexOf("√") > -1;
+            var answerText = $(item).attr("answer-anstext");//参考答案
+            mytext = mytext == "" ? "__" : mytext;
+            $(item).prop("outerHTML", "<div class='answer-body' answer-id='" + answerid + "' parent-anid='" + parentid + "' answer-anstext='" + answerText + "' answer-isky='2' answer-text='" + mytext + "'><div class='answer-audio-range'><img src='" + PicInfo.recordPlayImgUrl + "'/><span class='answer-audio-text'>作答音频</span></div><div class='answer-point-range' style='display:none;'><img src='" + PicInfo.answerPointImgUrl + "'/><span class='answer-point-text'>答题点</span></div><buttom class='answer-text' style='display:block;'>" + mytext + "</buttom></div>");
+        });
+        //点击事件重新绑定
+        $(".answer-body").unbind("click").on("click", function () {
+            var curObj = new Object();
+            curObj.Id = $(this).attr("answer-id");//答题点ID
+            curObj.pId = $(this).attr("parent-anid");//答题点ID
+            curObj.IsKY = $(this).attr("answer-isky");//是否是口语试题,0-不是口语题,1-是口语题
+            curObj.Text = $(this).attr("answer-text");//用户作答内容
+            curObj.Score = $(this).attr("answer-score");//作答评分
+            curObj.AnsText = $(this).attr("answer-anstext");//参考答案
+            curObj.Comment = $(this).attr("answer-comment");//评语
+            curObj.pId = curObj.pId ? curObj.pId : curObj.Id;//组ID
 
-            $(item).attr("answer-text", mytext);
-            $(item).find('input').prop('checked', ischecked);
-            $("input[type=checkbox]").attr("disabled", "disabled");
+            $(".checkbox").removeClass("select-answer");
+            $(".answer-body").removeClass("select-answer");
+            $(this).addClass("select-answer");
+
+            //已作答,弹出作答答案
+            if ($(this).data("ans-status") == "1") {
+                //移动端添加外部处理
+                onClickAnswerPoint(JSON.stringify(curObj));
+            }
+            else {
+                //移动端添加外部处理,弹出作答操作
+                onClickAnswerPoint(JSON.stringify(curObj));
+            }
         });
     }
 }
@@ -1018,6 +1173,7 @@ function playRecordAudio(answerid, isPlay) {
 //滚动到相应DIV
 function scrollAnswer(answerid) {
     //console.log(answerid);
+    $(".checkbox").removeClass("select-answer");
     $(".answer-body").removeClass("select-answer");
     var ansDom = $(".answer-body[answer-id='" + answerid + "']");
     if (ansDom.length == 0) {

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

@@ -72,6 +72,7 @@
     <Content Include="Common\mtm_temp.js" />
     <Content Include="Common\tasklib_book.css" />
     <Content Include="Common\tasklib_book.js" />
+    <Content Include="AnsText\duogouxuan.json" />
     <None Include="HightCode\21051.json" />
     <None Include="HightCode\210511.json" />
     <Content Include="Html\P1.html" />
@@ -95,6 +96,8 @@
     <None Include="Lghp\21587.lghp" />
     <Content Include="Lghp\21836.lghp" />
     <Content Include="Lghp\BGGX.lghp" />
+    <Content Include="Lghp\duogouxuan.lghp" />
+    <Content Include="Lghp\21879.lghp" />
     <None Include="Lghp\gaicuo.lghp" />
     <Content Include="NK\tasklib_book.css" />
     <Content Include="NK\tasklib_book.js" />

+ 18 - 11
EBook.Web/Scripts/common.js

@@ -51,45 +51,52 @@ $("#submit-answer").on("click", function () {
 //一题多空的处理参考
 function FormatChoiceQues() {
     var $this = this;
-    $(".multipleStart").each(function(i, item) {
+    $(".multipleStart").each(function (i, item) {
         var table = {};
         var $startNode = $(item);
-        $.merge($(item).nextUntil(".multipleEnd").filter("[class*='group']"), $(item).nextUntil(".multipleEnd").find("[class*='group']")).each(function(i, item) {
+        $.merge($(item).nextUntil(".multipleEnd").filter("[class*='group']"), $(item).nextUntil(".multipleEnd").find("[class*='group']")).each(function (i, item) {
             var checkId = $this.genID();
             var index = $(item).attr('class').replace(/.*group(\d+).*/g, "$1");
             var ischecked = $(item).find(".answerWraper").text().indexOf("√") > -1;
 
             if ($(item).hasClass('boxQue')) {
                 if ($this.options.readonly) {
-                    $(item).find('.yaoshi').after("<div class='checkbox'><input id=" + checkId + " type='checkbox'><label></label></div>").next().next('.answerWraper').hide();
+                    $(item).find("u").css("visibility", "hidden");
                 } else {
-                    $(item).find('.yaoshi').after("<div class='checkbox'><input id=" + checkId + " type='checkbox'><label for=" + checkId + "></label></div>").next().next('.answerWraper').hide();
+                    $(item).find('.keyImg').after("<div class='checkbox'><input id=" + checkId + " type='checkbox'><label for=" + checkId + "></label></div>").next().next('.answerWraper').hide();
                 }
                 $(item).find('input').prop('checked', ischecked);
             }
-            $(item).find('.yaoshi').unbind().bind('click', function (e) {
+            $(item).find('.keyImg').unbind().bind('click', function (e) {
                 var groupnode = $.merge($startNode.nextUntil(".multipleEnd").filter(".group" + index), $startNode.nextUntil(".multipleEnd").find(".group" + index));
                 if ($(this).hasClass('showAnswer')) {
-                    groupnode.find('.yaoshi').removeClass('showAnswer');
+                    groupnode.find('.keyImg').removeClass('showAnswer');
                     if ($(item).hasClass('boxQue')) { //打钩作答
-                        groupnode.find('.checkbox label').html('').prepend("<style>p.group" + index + " input[type='checkbox']:checked+label::before {display: none;}</style>");
+                        if ($this.options.readonly) {
+                            groupnode.find("u").css("visibility", "hidden");
+                        } else {
+                            groupnode.find('.checkbox label').html('').prepend("<style>p[class~='group" + index + "'] input[type='checkbox']:checked+label::before {display: none;}</style>");
+                        }
                     } else { //改错题
                         groupnode.find("u").css("visibility", "hidden");
                     }
                     if ($(".showAnswer").length == 0)
                         $('.div-answer-power').find('span>.on-off-button').removeClass("on").addClass("off");
                 } else {
-                    groupnode.find('.yaoshi').addClass('showAnswer');
+                    groupnode.find('.keyImg').addClass('showAnswer');
                     if ($(item).hasClass('boxQue')) { //打钩作答
-                        groupnode.find('.checkbox label').html('').prepend("<style>p.group" + index + " input[type='checkbox']:checked+label::before {display: block;}</style>");
+                        if ($this.options.readonly) {
+                            groupnode.find("u").css("visibility", "visible");
+                        } else {
+                            groupnode.find('.checkbox label').html('').prepend("<style>p[class~='group" + index + "'] input[type='checkbox']:checked+label::before {display: block;}</style>");
+                        }
                     } else { //改错题
                         groupnode.find("u").css("visibility", "visible");
                     }
-                    if ($(".yaoshi").length == $(".showAnswer").length)
+                    if ($(".keyImg").length == $(".showAnswer").length)
                         $('.div-answer-power').find('span>.on-off-button').removeClass("off").addClass("on");
                 }
             });
         });
-
     });
 }

+ 5 - 5
EBook.Web/Test.html

@@ -41,16 +41,16 @@
         //加载数据
         window.onload = function () {
             //加载听说课文
-            answerjson = $.ajax({ url: "AnsText/21255.json", async: false }).responseText;
+            answerjson = $.ajax({ url: "AnsText/duogouxuan.json", async: false }).responseText;
             reviewjson = $.ajax({ url: "AnsText/anstext.txt", async: false }).responseText;
-            hightcodejson = $.ajax({ url: "HightCode/21051.json", async: false }).responseText;
+            hightcodejson = $.ajax({ url: "HightCode/210511.json", async: false }).responseText;
         }
         //加载听说课文
         $("#load-text").on("click", function () {
-            var data = $.ajax({ url: "lghp/gouxuan.lghp", async: false }).responseText;
+            var data = $.ajax({ url: "lghp/duogouxuan.lghp", async: false }).responseText;
             $("#data").html(data);
 
-            //Fill(JSON.parse(hightcodejson));
+            Fill(JSON.parse(hightcodejson));
             bindEventYS();
             //bindCoursewareEvent();
 
@@ -104,7 +104,7 @@
         });
         //回显习题答案
         $("#backup-answer").on("click", function () {
-            backupAllAnswer(answerjson, 2);
+            backupAllAnswer(answerjson, 0);
             //var answerJson = "{\"AudioLength\":3,\"AudioUrl\":\"http://172.16.41.241:10103/http_TBookEditor51/exerciseAnswerAudio/2020-11-06_09-31-19.wav\",\"Id\":\"18\",\"Text\":\"\",\"Type\":3}";
             //reviewAnswer(answerJson);
         });

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
EBook.Web/lghp/21879.lghp


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
EBook.Web/lghp/duogouxuan.lghp


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio