Browse Source

升级依赖

dusenyao 3 years ago
parent
commit
5b7793000c

+ 86 - 92
package-lock.json

@@ -11,7 +11,7 @@
         "ailp-book-question-ui": "file:../ailp-book-question-ui-0.1.1.tgz",
         "awe-dnd": "^0.3.4",
         "axios": "^0.27.2",
-        "book-ui": "file:../book-ui-0.3.3.tgz",
+        "book-ui": "file:../book-ui-0.3.4.tgz",
         "core-js": "^3.22.7",
         "dayjs": "^1.11.2",
         "element-ui": "^2.15.8",
@@ -31,8 +31,8 @@
         "vuex": "^3.6.2"
       },
       "devDependencies": {
-        "@babel/core": "^7.18.0",
-        "@babel/eslint-parser": "^7.17.0",
+        "@babel/core": "^7.18.2",
+        "@babel/eslint-parser": "^7.18.2",
         "@rushstack/eslint-patch": "^1.1.3",
         "@vue/cli-plugin-babel": "~4.5.17",
         "@vue/cli-plugin-eslint": "~4.5.17",
@@ -55,7 +55,7 @@
         "sass": "^1.52.1",
         "sass-loader": "^10.2.1",
         "script-ext-html-webpack-plugin": "^2.1.5",
-        "stylelint": "14.8.4",
+        "stylelint": "14.8.5",
         "stylelint-config-prettier": "^9.0.3",
         "stylelint-config-recess-order": "^3.0.0",
         "stylelint-config-recommended-vue": "^1.4.0",
@@ -120,21 +120,21 @@
       }
     },
     "node_modules/@babel/core": {
-      "version": "7.18.0",
-      "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.0.tgz",
-      "integrity": "sha512-Xyw74OlJwDijToNi0+6BBI5mLLR5+5R3bcSH80LXzjzEGEUlvNzujEE71BaD/ApEZHAvFI/Mlmp4M5lIkdeeWw==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.2.tgz",
+      "integrity": "sha512-A8pri1YJiC5UnkdrWcmfZTJTV85b4UXTAfImGmCfYmax4TR9Cw8sDS0MOk++Gp2mE/BefVJ5nwy5yzqNJbP/DQ==",
       "dev": true,
       "dependencies": {
         "@ampproject/remapping": "^2.1.0",
         "@babel/code-frame": "^7.16.7",
-        "@babel/generator": "^7.18.0",
-        "@babel/helper-compilation-targets": "^7.17.10",
+        "@babel/generator": "^7.18.2",
+        "@babel/helper-compilation-targets": "^7.18.2",
         "@babel/helper-module-transforms": "^7.18.0",
-        "@babel/helpers": "^7.18.0",
+        "@babel/helpers": "^7.18.2",
         "@babel/parser": "^7.18.0",
         "@babel/template": "^7.16.7",
-        "@babel/traverse": "^7.18.0",
-        "@babel/types": "^7.18.0",
+        "@babel/traverse": "^7.18.2",
+        "@babel/types": "^7.18.2",
         "convert-source-map": "^1.7.0",
         "debug": "^4.1.0",
         "gensync": "^1.0.0-beta.2",
@@ -150,9 +150,9 @@
       }
     },
     "node_modules/@babel/eslint-parser": {
-      "version": "7.17.0",
-      "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.17.0.tgz",
-      "integrity": "sha512-PUEJ7ZBXbRkbq3qqM/jZ2nIuakUBqCYc7Qf52Lj7dlZ6zERnqisdHioL0l4wwQZnmskMeasqUNzLBFKs3nylXA==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.18.2.tgz",
+      "integrity": "sha512-oFQYkE8SuH14+uR51JVAmdqwKYXGRjEXx7s+WiagVjqQ+HPE+nnwyF2qlVG8evUsUHmPcA+6YXMEDbIhEyQc5A==",
       "dev": true,
       "dependencies": {
         "eslint-scope": "^5.1.1",
@@ -168,12 +168,12 @@
       }
     },
     "node_modules/@babel/generator": {
-      "version": "7.18.0",
-      "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz",
-      "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.2.tgz",
+      "integrity": "sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw==",
       "dev": true,
       "dependencies": {
-        "@babel/types": "^7.18.0",
+        "@babel/types": "^7.18.2",
         "@jridgewell/gen-mapping": "^0.3.0",
         "jsesc": "^2.5.1"
       },
@@ -207,9 +207,9 @@
       }
     },
     "node_modules/@babel/helper-compilation-targets": {
-      "version": "7.17.10",
-      "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.10.tgz",
-      "integrity": "sha512-gh3RxjWbauw/dFiU/7whjd0qN9K6nPJMqe6+Er7rOavFh0CQUSwhAE3IcTho2rywPJFxej6TUUHDkWcYI6gGqQ==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.2.tgz",
+      "integrity": "sha512-s1jnPotJS9uQnzFtiZVBUxe67CuBa679oWFHpxYYnTpRL/1ffhyX44R9uYiXoa/pLXcY9H2moJta0iaanlk/rQ==",
       "dev": true,
       "dependencies": {
         "@babel/compat-data": "^7.17.10",
@@ -281,13 +281,10 @@
       }
     },
     "node_modules/@babel/helper-environment-visitor": {
-      "version": "7.16.7",
-      "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz",
-      "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.2.tgz",
+      "integrity": "sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ==",
       "dev": true,
-      "dependencies": {
-        "@babel/types": "^7.16.7"
-      },
       "engines": {
         "node": ">=6.9.0"
       }
@@ -493,14 +490,14 @@
       }
     },
     "node_modules/@babel/helpers": {
-      "version": "7.18.0",
-      "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.0.tgz",
-      "integrity": "sha512-AE+HMYhmlMIbho9nbvicHyxFwhrO+xhKB6AhRxzl8w46Yj0VXTZjEsAoBVC7rB2I0jzX+yWyVybnO08qkfx6kg==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.2.tgz",
+      "integrity": "sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg==",
       "dev": true,
       "dependencies": {
         "@babel/template": "^7.16.7",
-        "@babel/traverse": "^7.18.0",
-        "@babel/types": "^7.18.0"
+        "@babel/traverse": "^7.18.2",
+        "@babel/types": "^7.18.2"
       },
       "engines": {
         "node": ">=6.9.0"
@@ -1720,19 +1717,19 @@
       }
     },
     "node_modules/@babel/traverse": {
-      "version": "7.18.0",
-      "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz",
-      "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.2.tgz",
+      "integrity": "sha512-9eNwoeovJ6KH9zcCNnENY7DMFwTU9JdGCFtqNLfUAqtUHRCOsTOqWoffosP8vKmNYeSBUv3yVJXjfd8ucwOjUA==",
       "dev": true,
       "dependencies": {
         "@babel/code-frame": "^7.16.7",
-        "@babel/generator": "^7.18.0",
-        "@babel/helper-environment-visitor": "^7.16.7",
+        "@babel/generator": "^7.18.2",
+        "@babel/helper-environment-visitor": "^7.18.2",
         "@babel/helper-function-name": "^7.17.9",
         "@babel/helper-hoist-variables": "^7.16.7",
         "@babel/helper-split-export-declaration": "^7.16.7",
         "@babel/parser": "^7.18.0",
-        "@babel/types": "^7.18.0",
+        "@babel/types": "^7.18.2",
         "debug": "^4.1.0",
         "globals": "^11.1.0"
       },
@@ -1741,9 +1738,9 @@
       }
     },
     "node_modules/@babel/types": {
-      "version": "7.18.0",
-      "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
-      "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.2.tgz",
+      "integrity": "sha512-0On6B8A4/+mFUto5WERt3EEuG1NznDirvwca1O8UwXQHVY8g3R7OzYgxXdOfMwLO08UrpUD/2+3Bclyq+/C94Q==",
       "dev": true,
       "dependencies": {
         "@babel/helper-validator-identifier": "^7.16.7",
@@ -7549,9 +7546,9 @@
       "dev": true
     },
     "node_modules/book-ui": {
-      "version": "0.3.3",
-      "resolved": "file:../book-ui-0.3.3.tgz",
-      "integrity": "sha512-24oizfKEo3P3RXcWxHYgKriVAZUen2nyc0XCD76mtQYAHyK+8NPC3OTw5Zn5cWsQ94qQ6NbR39PRPRNiGV10tA==",
+      "version": "0.3.4",
+      "resolved": "file:../book-ui-0.3.4.tgz",
+      "integrity": "sha512-VUtTdJZmVbe+31xsvFjt/Puo0IRP2WAFxEbzR5a+sjkc+YKCiOc3h6/v6CNpwIKg45/fplk829o+lby3yCAmPA==",
       "dependencies": {
         "awe-dnd": "^0.3.4",
         "axios": "^0.21.1",
@@ -25960,9 +25957,9 @@
       }
     },
     "node_modules/stylelint": {
-      "version": "14.8.4",
-      "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.8.4.tgz",
-      "integrity": "sha512-VoyFmif50YNL2R1NC0NxbprTbvnihiqE9tdwb/IAUvlncoS3dEllSSEfvTaQQ6BTCp6iv6daIg5v7ryRSlBdgw==",
+      "version": "14.8.5",
+      "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.8.5.tgz",
+      "integrity": "sha512-e3t4H/hlWlspkcNUrkhf44RU3OpPTA7uBOoREGBzSwdEF+2g/+gbZq7WEpMP7BpopcSe/uLaTvDuL+URL7cdnQ==",
       "dev": true,
       "dependencies": {
         "balanced-match": "^2.0.0",
@@ -31060,21 +31057,21 @@
       "dev": true
     },
     "@babel/core": {
-      "version": "7.18.0",
-      "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.0.tgz",
-      "integrity": "sha512-Xyw74OlJwDijToNi0+6BBI5mLLR5+5R3bcSH80LXzjzEGEUlvNzujEE71BaD/ApEZHAvFI/Mlmp4M5lIkdeeWw==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.2.tgz",
+      "integrity": "sha512-A8pri1YJiC5UnkdrWcmfZTJTV85b4UXTAfImGmCfYmax4TR9Cw8sDS0MOk++Gp2mE/BefVJ5nwy5yzqNJbP/DQ==",
       "dev": true,
       "requires": {
         "@ampproject/remapping": "^2.1.0",
         "@babel/code-frame": "^7.16.7",
-        "@babel/generator": "^7.18.0",
-        "@babel/helper-compilation-targets": "^7.17.10",
+        "@babel/generator": "^7.18.2",
+        "@babel/helper-compilation-targets": "^7.18.2",
         "@babel/helper-module-transforms": "^7.18.0",
-        "@babel/helpers": "^7.18.0",
+        "@babel/helpers": "^7.18.2",
         "@babel/parser": "^7.18.0",
         "@babel/template": "^7.16.7",
-        "@babel/traverse": "^7.18.0",
-        "@babel/types": "^7.18.0",
+        "@babel/traverse": "^7.18.2",
+        "@babel/types": "^7.18.2",
         "convert-source-map": "^1.7.0",
         "debug": "^4.1.0",
         "gensync": "^1.0.0-beta.2",
@@ -31083,9 +31080,9 @@
       }
     },
     "@babel/eslint-parser": {
-      "version": "7.17.0",
-      "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.17.0.tgz",
-      "integrity": "sha512-PUEJ7ZBXbRkbq3qqM/jZ2nIuakUBqCYc7Qf52Lj7dlZ6zERnqisdHioL0l4wwQZnmskMeasqUNzLBFKs3nylXA==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.18.2.tgz",
+      "integrity": "sha512-oFQYkE8SuH14+uR51JVAmdqwKYXGRjEXx7s+WiagVjqQ+HPE+nnwyF2qlVG8evUsUHmPcA+6YXMEDbIhEyQc5A==",
       "dev": true,
       "requires": {
         "eslint-scope": "^5.1.1",
@@ -31094,12 +31091,12 @@
       }
     },
     "@babel/generator": {
-      "version": "7.18.0",
-      "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz",
-      "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.2.tgz",
+      "integrity": "sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw==",
       "dev": true,
       "requires": {
-        "@babel/types": "^7.18.0",
+        "@babel/types": "^7.18.2",
         "@jridgewell/gen-mapping": "^0.3.0",
         "jsesc": "^2.5.1"
       }
@@ -31124,9 +31121,9 @@
       }
     },
     "@babel/helper-compilation-targets": {
-      "version": "7.17.10",
-      "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.10.tgz",
-      "integrity": "sha512-gh3RxjWbauw/dFiU/7whjd0qN9K6nPJMqe6+Er7rOavFh0CQUSwhAE3IcTho2rywPJFxej6TUUHDkWcYI6gGqQ==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.2.tgz",
+      "integrity": "sha512-s1jnPotJS9uQnzFtiZVBUxe67CuBa679oWFHpxYYnTpRL/1ffhyX44R9uYiXoa/pLXcY9H2moJta0iaanlk/rQ==",
       "dev": true,
       "requires": {
         "@babel/compat-data": "^7.17.10",
@@ -31177,13 +31174,10 @@
       }
     },
     "@babel/helper-environment-visitor": {
-      "version": "7.16.7",
-      "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz",
-      "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==",
-      "dev": true,
-      "requires": {
-        "@babel/types": "^7.16.7"
-      }
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.2.tgz",
+      "integrity": "sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ==",
+      "dev": true
     },
     "@babel/helper-explode-assignable-expression": {
       "version": "7.16.7",
@@ -31338,14 +31332,14 @@
       }
     },
     "@babel/helpers": {
-      "version": "7.18.0",
-      "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.0.tgz",
-      "integrity": "sha512-AE+HMYhmlMIbho9nbvicHyxFwhrO+xhKB6AhRxzl8w46Yj0VXTZjEsAoBVC7rB2I0jzX+yWyVybnO08qkfx6kg==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.2.tgz",
+      "integrity": "sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg==",
       "dev": true,
       "requires": {
         "@babel/template": "^7.16.7",
-        "@babel/traverse": "^7.18.0",
-        "@babel/types": "^7.18.0"
+        "@babel/traverse": "^7.18.2",
+        "@babel/types": "^7.18.2"
       }
     },
     "@babel/highlight": {
@@ -32163,27 +32157,27 @@
       }
     },
     "@babel/traverse": {
-      "version": "7.18.0",
-      "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz",
-      "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.2.tgz",
+      "integrity": "sha512-9eNwoeovJ6KH9zcCNnENY7DMFwTU9JdGCFtqNLfUAqtUHRCOsTOqWoffosP8vKmNYeSBUv3yVJXjfd8ucwOjUA==",
       "dev": true,
       "requires": {
         "@babel/code-frame": "^7.16.7",
-        "@babel/generator": "^7.18.0",
-        "@babel/helper-environment-visitor": "^7.16.7",
+        "@babel/generator": "^7.18.2",
+        "@babel/helper-environment-visitor": "^7.18.2",
         "@babel/helper-function-name": "^7.17.9",
         "@babel/helper-hoist-variables": "^7.16.7",
         "@babel/helper-split-export-declaration": "^7.16.7",
         "@babel/parser": "^7.18.0",
-        "@babel/types": "^7.18.0",
+        "@babel/types": "^7.18.2",
         "debug": "^4.1.0",
         "globals": "^11.1.0"
       }
     },
     "@babel/types": {
-      "version": "7.18.0",
-      "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz",
-      "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==",
+      "version": "7.18.2",
+      "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.2.tgz",
+      "integrity": "sha512-0On6B8A4/+mFUto5WERt3EEuG1NznDirvwca1O8UwXQHVY8g3R7OzYgxXdOfMwLO08UrpUD/2+3Bclyq+/C94Q==",
       "dev": true,
       "requires": {
         "@babel/helper-validator-identifier": "^7.16.7",
@@ -36930,8 +36924,8 @@
       }
     },
     "book-ui": {
-      "version": "file:..\\book-ui-0.3.3.tgz",
-      "integrity": "sha512-24oizfKEo3P3RXcWxHYgKriVAZUen2nyc0XCD76mtQYAHyK+8NPC3OTw5Zn5cWsQ94qQ6NbR39PRPRNiGV10tA==",
+      "version": "file:..\\book-ui-0.3.4.tgz",
+      "integrity": "sha512-VUtTdJZmVbe+31xsvFjt/Puo0IRP2WAFxEbzR5a+sjkc+YKCiOc3h6/v6CNpwIKg45/fplk829o+lby3yCAmPA==",
       "requires": {
         "awe-dnd": "^0.3.4",
         "axios": "^0.21.1",
@@ -51576,9 +51570,9 @@
       }
     },
     "stylelint": {
-      "version": "14.8.4",
-      "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.8.4.tgz",
-      "integrity": "sha512-VoyFmif50YNL2R1NC0NxbprTbvnihiqE9tdwb/IAUvlncoS3dEllSSEfvTaQQ6BTCp6iv6daIg5v7ryRSlBdgw==",
+      "version": "14.8.5",
+      "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.8.5.tgz",
+      "integrity": "sha512-e3t4H/hlWlspkcNUrkhf44RU3OpPTA7uBOoREGBzSwdEF+2g/+gbZq7WEpMP7BpopcSe/uLaTvDuL+URL7cdnQ==",
       "dev": true,
       "requires": {
         "balanced-match": "^2.0.0",

+ 4 - 4
package.json

@@ -16,7 +16,7 @@
     "ailp-book-question-ui": "file:../ailp-book-question-ui-0.1.1.tgz",
     "awe-dnd": "^0.3.4",
     "axios": "^0.27.2",
-    "book-ui": "file:../book-ui-0.3.3.tgz",
+    "book-ui": "file:../book-ui-0.3.4.tgz",
     "core-js": "^3.22.7",
     "dayjs": "^1.11.2",
     "element-ui": "^2.15.8",
@@ -36,8 +36,8 @@
     "vuex": "^3.6.2"
   },
   "devDependencies": {
-    "@babel/core": "^7.18.0",
-    "@babel/eslint-parser": "^7.17.0",
+    "@babel/core": "^7.18.2",
+    "@babel/eslint-parser": "^7.18.2",
     "@rushstack/eslint-patch": "^1.1.3",
     "@vue/cli-plugin-babel": "~4.5.17",
     "@vue/cli-plugin-eslint": "~4.5.17",
@@ -60,7 +60,7 @@
     "sass": "^1.52.1",
     "sass-loader": "^10.2.1",
     "script-ext-html-webpack-plugin": "^2.1.5",
-    "stylelint": "14.8.4",
+    "stylelint": "14.8.5",
     "stylelint-config-prettier": "^9.0.3",
     "stylelint-config-recess-order": "^3.0.0",
     "stylelint-config-recommended-vue": "^1.4.0",

+ 46 - 42
src/components/course/CompletionView.vue

@@ -52,7 +52,7 @@
       />
     </template>
     <template v-if="category === 'RLC'">
-      <bookrlc v-if="context" :context="context" :theme-color="themeColor" />
+      <bookrlc v-if="context" :context="context" :theme-color="themeColor" :book-font-size="bookFontSize" />
     </template>
 
     <div slot="footer" />
@@ -101,6 +101,7 @@ export default {
       category: '',
       dialogWidth: '820px',
       themeColor: '',
+      bookFontSize: '',
       previewType: 'previewCheckShow'
     };
   },
@@ -112,50 +113,53 @@ export default {
         return;
       }
       this.getTaskMaterialStudentExamAnswer().then(() => {
-        GetCoursewareContent_View({ id: this.curCoursewareId }).then(({ content, category, book_theme_color }) => {
-          if (!content) {
-            this.context = null;
-            return;
-          }
-          this.category = category;
-          if (category === 'OC' || category.length === 0) {
-            this.dialogWidth = '820px';
-            this.context = {
-              id: this.curCoursewareId,
-              ui_type: JSON.parse(content).question.ui_type,
-              content: JSON.parse(content)
-            };
-            return;
-          }
-          if (category === 'AILP') {
-            this.dialogWidth = '820px';
-            const contents = JSON.parse(content);
-            if (contents.question && contents.question.length > 0) {
-              this.context = JSON.parse(contents.question);
-              this.ui_type = contents.ui_type ? contents.ui_type : '';
+        GetCoursewareContent_View({ id: this.curCoursewareId }).then(
+          ({ content, category, book_theme_color, book_font_size }) => {
+            if (!content) {
+              this.context = null;
+              return;
+            }
+            this.category = category;
+            if (category === 'OC' || category.length === 0) {
+              this.dialogWidth = '820px';
+              this.context = {
+                id: this.curCoursewareId,
+                ui_type: JSON.parse(content).question.ui_type,
+                content: JSON.parse(content)
+              };
+              return;
+            }
+            if (category === 'AILP') {
+              this.dialogWidth = '820px';
+              const contents = JSON.parse(content);
+              if (contents.question && contents.question.length > 0) {
+                this.context = JSON.parse(contents.question);
+                this.ui_type = contents.ui_type ? contents.ui_type : '';
+              }
+              return;
+            }
+            if (category === 'NPC') {
+              this.themeColor = book_theme_color;
+              this.dialogWidth = '900px';
+              this.context = JSON.parse(content);
+              return;
+            }
+            if (category === 'NNPE') {
+              this.dialogWidth = '900px';
+              this.themeColor = book_theme_color;
+              this.context = JSON.parse(content);
+              return;
             }
-            return;
-          }
-          if (category === 'NPC') {
-            this.themeColor = book_theme_color;
-            this.dialogWidth = '900px';
-            this.context = JSON.parse(content);
-            return;
-          }
-          if (category === 'NNPE') {
-            this.dialogWidth = '900px';
-            this.themeColor = book_theme_color;
-            this.context = JSON.parse(content);
-            return;
-          }
 
-          if (category === 'RLC') {
-            this.dialogWidth = '900px';
-            this.themeColor = book_theme_color;
-            this.context = JSON.parse(content);
-            return;
+            if (category === 'RLC') {
+              this.dialogWidth = '900px';
+              this.themeColor = book_theme_color;
+              this.bookFontSize = book_font_size;
+              this.context = JSON.parse(content);
+              return;
+            }
           }
-        });
+        );
       });
     }
   },

+ 50 - 46
src/components/course/FinishCourseware.vue

@@ -52,7 +52,7 @@
     </template>
 
     <template v-if="category === 'RLC'">
-      <bookrlc v-if="context" :context="context" :theme-color="themeColor" />
+      <bookrlc v-if="context" :context="context" :theme-color="themeColor" :book-font-size="bookFontSize" />
     </template>
 
     <div v-if="category !== 'NPC' && category !== 'NNPE'" slot="footer">
@@ -93,6 +93,7 @@ export default {
       category: '',
       dialogWidth: '860px',
       themeColor: '',
+      bookFontSize: '',
       previewType: 'previewCheckShow'
     };
   },
@@ -104,54 +105,57 @@ export default {
         return;
       }
 
-      GetCoursewareContent_View({ id: this.coursewareId }).then(({ content, category, book_theme_color }) => {
-        if (!content) {
-          this.context = null;
-          return;
-        }
-        this.category = category;
-        if (category === 'OC' || category.length === 0) {
-          this.dialogWidth = '860px';
-          this.context = {
-            id: this.coursewareId,
-            ui_type: JSON.parse(content).question.ui_type,
-            content: JSON.parse(content)
-          };
-          this.$nextTick(() => {
-            this.$refs.courseware.handleAnswerTimeStart();
-          });
-        }
-        if (category === 'AILP') {
-          this.dialogWidth = '860px';
-          const contents = JSON.parse(content);
-          if (contents.question && contents.question.length > 0) {
-            this.context = JSON.parse(contents.question);
-            this.ui_type = contents.ui_type ? contents.ui_type : '';
+      GetCoursewareContent_View({ id: this.coursewareId }).then(
+        ({ content, category, book_theme_color, book_font_size }) => {
+          if (!content) {
+            this.context = null;
+            return;
+          }
+          this.category = category;
+          if (category === 'OC' || category.length === 0) {
+            this.dialogWidth = '860px';
+            this.context = {
+              id: this.coursewareId,
+              ui_type: JSON.parse(content).question.ui_type,
+              content: JSON.parse(content)
+            };
+            this.$nextTick(() => {
+              this.$refs.courseware.handleAnswerTimeStart();
+            });
+          }
+          if (category === 'AILP') {
+            this.dialogWidth = '860px';
+            const contents = JSON.parse(content);
+            if (contents.question && contents.question.length > 0) {
+              this.context = JSON.parse(contents.question);
+              this.ui_type = contents.ui_type ? contents.ui_type : '';
+            }
+          }
+          if (category === 'NPC') {
+            this.themeColor = book_theme_color;
+            this.dialogWidth = '900px';
+            this.context = JSON.parse(content);
+            this.$nextTick(() => {
+              this.$refs.booknpc.handleAnswerTimeStart();
+            });
+            return;
+          }
+          if (category === 'NNPE') {
+            this.dialogWidth = '900px';
+            this.themeColor = book_theme_color;
+            this.context = JSON.parse(content);
+            return;
           }
-        }
-        if (category === 'NPC') {
-          this.themeColor = book_theme_color;
-          this.dialogWidth = '900px';
-          this.context = JSON.parse(content);
-          this.$nextTick(() => {
-            this.$refs.booknpc.handleAnswerTimeStart();
-          });
-          return;
-        }
-        if (category === 'NNPE') {
-          this.dialogWidth = '900px';
-          this.themeColor = book_theme_color;
-          this.context = JSON.parse(content);
-          return;
-        }
 
-        if (category === 'RLC') {
-          this.dialogWidth = '900px';
-          this.themeColor = book_theme_color;
-          this.context = JSON.parse(content);
-          return;
+          if (category === 'RLC') {
+            this.dialogWidth = '900px';
+            this.themeColor = book_theme_color;
+            this.bookFontSize = book_font_size;
+            this.context = JSON.parse(content);
+            return;
+          }
         }
-      });
+      );
     }
   },
   methods: {

+ 4 - 2
src/components/live/CurMaterial.vue

@@ -81,7 +81,7 @@
       </template>
 
       <template v-if="category === 'RLC'">
-        <bookrlc v-if="context" :context="context" :theme-color="themeColor" />
+        <bookrlc v-if="context" :context="context" :theme-color="themeColor" :book-font-size="bookFontSize" />
       </template>
     </template>
 
@@ -169,6 +169,7 @@ export default {
       },
       text: '',
       themeColor: '',
+      bookFontSize: '',
       refresh: true
     };
   },
@@ -265,7 +266,7 @@ export default {
 
     getCoursewareContent_View() {
       GetCoursewareContent_View({ id: this.material_id })
-        .then(({ content, category, book_theme_color }) => {
+        .then(({ content, category, book_theme_color, book_font_size }) => {
           if (!content) {
             this.context = null;
             return;
@@ -306,6 +307,7 @@ export default {
 
           if (category === 'RLC') {
             this.themeColor = book_theme_color;
+            this.bookFontSize = book_font_size;
             this.context = JSON.parse(content);
             return;
           }

+ 4 - 2
src/components/preview/PreviewCourse.vue

@@ -32,7 +32,7 @@
         />
       </template>
       <template v-if="category === 'RLC'">
-        <bookrlc v-if="context" :context="context" :theme-color="themeColor" />
+        <bookrlc v-if="context" :context="context" :theme-color="themeColor" :book-font-size="bookFontSize" />
       </template>
     </template>
 
@@ -85,6 +85,7 @@ export default {
       category: '',
       context: null,
       themeColor: '',
+      bookFontSize: '',
       fileUrl: '',
       loading: false
     };
@@ -110,7 +111,7 @@ export default {
   },
   methods: {
     getCoursewareContent_View() {
-      GetCoursewareContent_View({ id: this.fileId }).then(({ content, category, book_theme_color }) => {
+      GetCoursewareContent_View({ id: this.fileId }).then(({ content, category, book_theme_color, book_font_size }) => {
         if (!content) {
           this.context = null;
           return;
@@ -148,6 +149,7 @@ export default {
 
         if (category === 'RLC') {
           this.themeColor = book_theme_color;
+          this.bookFontSize = book_font_size;
           this.context = JSON.parse(content);
           return;
         }

+ 41 - 37
src/components/select/SelectCourse.vue

@@ -55,7 +55,7 @@
         </template>
 
         <template v-if="category === 'RLC'">
-          <bookrlc v-if="context" :context="context" :theme-color="themeColor" />
+          <bookrlc v-if="context" :context="context" :theme-color="themeColor" :book-font-size="bookFontSize" />
         </template>
       </div>
     </div>
@@ -99,6 +99,7 @@ export default {
       ui_type: '',
       category: '',
       themeColor: '',
+      bookFontSize: '',
       previewType: 'previewCheck',
       previewGroupId: '[]'
     };
@@ -157,45 +158,48 @@ export default {
     },
 
     getCoursewareContent_View() {
-      GetCoursewareContent_View({ id: this.currentCourse }).then(({ content, category, book_theme_color }) => {
-        if (!content) {
-          this.context = null;
-          return;
-        }
-        this.category = category;
-        if (category === 'OC' || category.length === 0) {
-          this.context = {
-            id: this.currentCourse,
-            ui_type: JSON.parse(content).question.ui_type,
-            content: JSON.parse(content)
-          };
-          return;
-        }
-        if (category === 'AILP') {
-          const contents = JSON.parse(content);
-          if (contents.question && contents.question.length > 0) {
-            this.context = JSON.parse(contents.question);
-            this.ui_type = contents.ui_type ? contents.ui_type : '';
+      GetCoursewareContent_View({ id: this.currentCourse }).then(
+        ({ content, category, book_theme_color, book_font_size }) => {
+          if (!content) {
+            this.context = null;
+            return;
+          }
+          this.category = category;
+          if (category === 'OC' || category.length === 0) {
+            this.context = {
+              id: this.currentCourse,
+              ui_type: JSON.parse(content).question.ui_type,
+              content: JSON.parse(content)
+            };
+            return;
+          }
+          if (category === 'AILP') {
+            const contents = JSON.parse(content);
+            if (contents.question && contents.question.length > 0) {
+              this.context = JSON.parse(contents.question);
+              this.ui_type = contents.ui_type ? contents.ui_type : '';
+            }
+            return;
+          }
+          if (category === 'NPC') {
+            this.themeColor = book_theme_color;
+            this.context = JSON.parse(content);
+            return;
+          }
+          if (category === 'NNPE') {
+            this.themeColor = book_theme_color;
+            this.bookFontSize = book_font_size;
+            this.context = JSON.parse(content);
+            return;
           }
-          return;
-        }
-        if (category === 'NPC') {
-          this.themeColor = book_theme_color;
-          this.context = JSON.parse(content);
-          return;
-        }
-        if (category === 'NNPE') {
-          this.themeColor = book_theme_color;
-          this.context = JSON.parse(content);
-          return;
-        }
 
-        if (category === 'RLC') {
-          this.themeColor = book_theme_color;
-          this.context = JSON.parse(content);
-          return;
+          if (category === 'RLC') {
+            this.themeColor = book_theme_color;
+            this.context = JSON.parse(content);
+            return;
+          }
         }
-      });
+      );
     }
   }
 };

+ 46 - 42
src/views/live/teacher/CompleteList.vue

@@ -91,7 +91,7 @@
           />
         </template>
         <template v-if="category === 'RLC'">
-          <bookrlc v-if="context" :context="context" :theme-color="themeColor" />
+          <bookrlc v-if="context" :context="context" :theme-color="themeColor" :book-font-size="bookFontSize" />
         </template>
       </template>
       <template v-else>
@@ -148,6 +148,7 @@ export default {
       ui_type: '',
       category: '',
       themeColor: '',
+      bookFontSize: '',
       dialogWidth: '900',
       bookAnswerContent: '',
       duration: 0,
@@ -254,50 +255,53 @@ export default {
     },
 
     getCoursewareContent_View() {
-      GetCoursewareContent_View({ id: this.material_id }).then(({ content, category, book_theme_color }) => {
-        if (!content) {
-          this.context = null;
-          return;
-        }
-        this.category = category;
-        if (category === 'OC' || category.length === 0) {
-          this.dialogWidth = '900';
-          this.context = {
-            id: this.material_id,
-            ui_type: JSON.parse(content).question.ui_type,
-            content: JSON.parse(content)
-          };
-          return;
-        }
-        if (category === 'AILP') {
-          this.dialogWidth = '900';
-          const contents = JSON.parse(content);
-          if (contents.question && contents.question.length > 0) {
-            this.context = JSON.parse(contents.question);
-            this.ui_type = contents.ui_type ? contents.ui_type : '';
+      GetCoursewareContent_View({ id: this.material_id }).then(
+        ({ content, category, book_theme_color, book_font_size }) => {
+          if (!content) {
+            this.context = null;
+            return;
+          }
+          this.category = category;
+          if (category === 'OC' || category.length === 0) {
+            this.dialogWidth = '900';
+            this.context = {
+              id: this.material_id,
+              ui_type: JSON.parse(content).question.ui_type,
+              content: JSON.parse(content)
+            };
+            return;
+          }
+          if (category === 'AILP') {
+            this.dialogWidth = '900';
+            const contents = JSON.parse(content);
+            if (contents.question && contents.question.length > 0) {
+              this.context = JSON.parse(contents.question);
+              this.ui_type = contents.ui_type ? contents.ui_type : '';
+            }
+            return;
+          }
+          if (category === 'NPC') {
+            this.themeColor = book_theme_color;
+            this.dialogWidth = '920';
+            this.context = JSON.parse(content);
+            return;
+          }
+          if (category === 'NNPE') {
+            this.dialogWidth = '920';
+            this.themeColor = book_theme_color;
+            this.context = JSON.parse(content);
+            return;
           }
-          return;
-        }
-        if (category === 'NPC') {
-          this.themeColor = book_theme_color;
-          this.dialogWidth = '920';
-          this.context = JSON.parse(content);
-          return;
-        }
-        if (category === 'NNPE') {
-          this.dialogWidth = '920';
-          this.themeColor = book_theme_color;
-          this.context = JSON.parse(content);
-          return;
-        }
 
-        if (category === 'RLC') {
-          this.dialogWidth = '920';
-          this.themeColor = book_theme_color;
-          this.context = JSON.parse(content);
-          return;
+          if (category === 'RLC') {
+            this.dialogWidth = '920';
+            this.themeColor = book_theme_color;
+            this.bookFontSize = book_font_size;
+            this.context = JSON.parse(content);
+            return;
+          }
         }
-      });
+      );
     },
 
     getFileStoreInfo() {

+ 52 - 48
src/views/task_details/ShowCourseware.vue

@@ -40,7 +40,7 @@
         />
       </template>
       <template v-if="category === 'RLC'">
-        <bookrlc v-if="context" :context="context" :theme-color="themeColor" />
+        <bookrlc v-if="context" :context="context" :theme-color="themeColor" :book-font-size="bookFontSize" />
       </template>
     </div>
   </div>
@@ -60,59 +60,63 @@ export default {
       previewWidth: window.screen.width,
       previewHeight: window.screen.height,
       category: '',
-      themeColor: ''
+      themeColor: '',
+      bookFontSize: ''
     };
   },
   created() {
-    GetCoursewareContent_View({ id: this.coursewareId }).then(({ content, category, book_theme_color }) => {
-      if (!content) {
-        this.context = null;
-        return;
-      }
-      this.category = category;
-      if (category === 'OC' || category.length === 0) {
-        this.context = {
-          id: this.coursewareId,
-          ui_type: JSON.parse(content).question.ui_type,
-          content: JSON.parse(content)
-        };
-        this.$nextTick(() => {
-          this.$refs.courseware.handleAnswerTimeStart();
-        });
-        return;
-      }
-      if (category === 'AILP') {
-        const contents = JSON.parse(content);
-        if (contents.question && contents.question.length > 0) {
-          this.context = JSON.parse(contents.question);
-          this.ui_type = contents.ui_type ? contents.ui_type : '';
+    GetCoursewareContent_View({ id: this.coursewareId }).then(
+      ({ content, category, book_theme_color, book_font_size }) => {
+        if (!content) {
+          this.context = null;
+          return;
+        }
+        this.category = category;
+        if (category === 'OC' || category.length === 0) {
+          this.context = {
+            id: this.coursewareId,
+            ui_type: JSON.parse(content).question.ui_type,
+            content: JSON.parse(content)
+          };
+          this.$nextTick(() => {
+            this.$refs.courseware.handleAnswerTimeStart();
+          });
+          return;
+        }
+        if (category === 'AILP') {
+          const contents = JSON.parse(content);
+          if (contents.question && contents.question.length > 0) {
+            this.context = JSON.parse(contents.question);
+            this.ui_type = contents.ui_type ? contents.ui_type : '';
+          }
+          this.$nextTick(() => {
+            const offsetWidth = document.querySelector('div.Big-Book-preview').offsetWidth;
+            const transform = document.querySelector('div.Big-Book-preview').style.transform;
+            document.querySelector('button.full-screen').style.left = `${
+              offsetWidth * Number(transform.slice(6, -1)) - 130
+            }px`;
+          });
+          return;
+        }
+        if (category === 'NPC') {
+          this.context = JSON.parse(content);
+          this.themeColor = book_theme_color;
+          return;
+        }
+        if (category === 'NNPE') {
+          this.themeColor = book_theme_color;
+          this.context = JSON.parse(content);
+          return;
         }
-        this.$nextTick(() => {
-          const offsetWidth = document.querySelector('div.Big-Book-preview').offsetWidth;
-          const transform = document.querySelector('div.Big-Book-preview').style.transform;
-          document.querySelector('button.full-screen').style.left = `${
-            offsetWidth * Number(transform.slice(6, -1)) - 130
-          }px`;
-        });
-        return;
-      }
-      if (category === 'NPC') {
-        this.context = JSON.parse(content);
-        this.themeColor = book_theme_color;
-        return;
-      }
-      if (category === 'NNPE') {
-        this.themeColor = book_theme_color;
-        this.context = JSON.parse(content);
-        return;
-      }
 
-      if (category === 'RLC') {
-        this.themeColor = book_theme_color;
-        this.context = JSON.parse(content);
-        return;
+        if (category === 'RLC') {
+          this.themeColor = book_theme_color;
+          this.bookFontSize = book_font_size;
+          this.context = JSON.parse(content);
+          return;
+        }
       }
-    });
+    );
   },
   methods: {
     fullScreen() {