Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JM-07
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
JM-07
Commits
7fddcb2a
Commit
7fddcb2a
authored
Oct 25, 2021
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: remove vconsole
parent
9e62f938
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
index.html
play/index.html
+2
-2
index.js
play/index.js
+6
-0
No files found.
play/index.html
View file @
7fddcb2a
...
@@ -12,9 +12,9 @@
...
@@ -12,9 +12,9 @@
<link
href=
"./index.css"
rel=
"stylesheet"
>
<link
href=
"./index.css"
rel=
"stylesheet"
>
<script
type=
"text/javascript"
src=
"//staging-teach.cdn.ireadabc.com/h5template/h5-static-lib/js/air_online_open.js"
></script>
<script
type=
"text/javascript"
src=
"//staging-teach.cdn.ireadabc.com/h5template/h5-static-lib/js/air_online_open.js"
></script>
<script
src=
'https://cdn.bootcss.com/vConsole/3.9.2/vconsole.min.js'
type=
"text/javascript"
charset=
"utf-8"
></script
>
<!-- <script src='https://cdn.bootcss.com/vConsole/3.9.2/vconsole.min.js' type="text/javascript" charset="utf-8"></script>--
>
<script>
<script>
window
.
vConsole
=
new
window
.
VConsole
()
//
window.vConsole = new window.VConsole()
</script>
</script>
</head>
</head>
...
...
play/index.js
View file @
7fddcb2a
...
@@ -966,6 +966,12 @@ function annotation(text, detail){
...
@@ -966,6 +966,12 @@ function annotation(text, detail){
}
}
function
scoreByText
(
text
,
keyWords
,
timeLen
)
{
function
scoreByText
(
text
,
keyWords
,
timeLen
)
{
if
(
!
text
.
trim
())
{
return
{
integrity
:
0
,
fluency
:
0
};
}
const
smallText
=
text
.
toLowerCase
();
const
smallText
=
text
.
toLowerCase
();
let
detailArr
=
[];
let
detailArr
=
[];
if
(
keyWords
){
if
(
keyWords
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment