save
This commit is contained in:
6
Note.md
6
Note.md
@@ -60,3 +60,9 @@ nce1-16.A polite request.解析出来有问题
|
||||
I found this note on my car: 'Sir, we welcome you to our city. This is a 'No Parking' area. You will enjoy your stay here if you pay attention to our street signs. This note is only a reminder.' If you receive a request like this, you cannot fail to obey it!
|
||||
|
||||
'No Parking' 会被截断
|
||||
|
||||
|
||||
Food and talk
|
||||
A new play is coming to "The Globe"soon, I said. Will you be seeing it?
|
||||
|
||||
26的 of curse
|
||||
@@ -817,7 +817,7 @@
|
||||
"newWords": [],
|
||||
"textAllWords": [],
|
||||
"audioSrc": "/sound/article/nce2-1/Am I all right.mp3",
|
||||
"lrcPosition": [[15.89,26.07],[26.16,30.06],[31.89,35.85],[35.85,43.93],[43.93,55.13],[55.13,64.32],[64.32,76.56],[76.56,83.4],[83.4,90.01]]
|
||||
"lrcPosition": [[15.89,26.07],[26.16,30.06],[30.06,35.85],[35.85,43.93],[43.93,55.13],[55.13,64.32],[64.32,76.56],[76.56,83.4],[83.4,90.01]]
|
||||
},
|
||||
{
|
||||
"id": "jX93q7",
|
||||
@@ -828,7 +828,7 @@
|
||||
"newWords": [],
|
||||
"textAllWords": [],
|
||||
"audioSrc": "/sound/article/nce2-1/Food and talk.mp3",
|
||||
"lrcPosition": [[15.64,22.24],[22.24,29.24],[29.34,34.73],[34.73,39.22],[42.09,44.95],[44.95,53.05],[53.12,55.65],[55.65,62.56],[53.12,55.95],[65.81,69.92],[53.12,55.95],[72.94,78.46],[78.46,89.47]]
|
||||
"lrcPosition": [[14.84,22.24],[22.74,29.24],[29.34,34.73],[34.73,39.22],[42.09,44.95],[44.95,53.05],[53.12,55.65],[55.65,62.56],[53.12,55.95],[65.81,69.92],[53.12,55.95],[72.94,78.46],[78.46,89.47]]
|
||||
},
|
||||
{
|
||||
"id": "dWA516",
|
||||
|
||||
@@ -437,33 +437,7 @@ function onContextMenu(e: MouseEvent, sentence: Sentence, i, j, w) {
|
||||
y: e.y,
|
||||
items: [
|
||||
{
|
||||
label: "从这开始",
|
||||
onClick: () => {
|
||||
sectionIndex = i
|
||||
sentenceIndex = j
|
||||
//todo 这里有可能是符号,要处理下
|
||||
wordIndex = w + 1
|
||||
stringIndex = 0
|
||||
input = wrong = ''
|
||||
isEnd = isSpace = false
|
||||
let currentSection = props.article.sections[sectionIndex]
|
||||
currentSection.slice(sentenceIndex).map(w => {
|
||||
w.words.map(v => {
|
||||
v.input = ''
|
||||
})
|
||||
})
|
||||
props.article.sections.slice(sectionIndex + 1).map((v, i) => {
|
||||
v.map((w) => {
|
||||
w.words.map(v => {
|
||||
v.input = ''
|
||||
})
|
||||
})
|
||||
})
|
||||
emit('play', {sentence: sentence, handle: false})
|
||||
}
|
||||
},
|
||||
{
|
||||
label: "添加到收藏",
|
||||
label: "收藏单词",
|
||||
onClick: () => {
|
||||
let word = props.article.sections[i][j].words[w]
|
||||
let doc = nlp(word.word)
|
||||
@@ -499,6 +473,32 @@ function onContextMenu(e: MouseEvent, sentence: Sentence, i, j, w) {
|
||||
})
|
||||
}
|
||||
},
|
||||
{
|
||||
label: "从这开始",
|
||||
onClick: () => {
|
||||
sectionIndex = i
|
||||
sentenceIndex = j
|
||||
//todo 这里有可能是符号,要处理下
|
||||
wordIndex = w + 1
|
||||
stringIndex = 0
|
||||
input = wrong = ''
|
||||
isEnd = isSpace = false
|
||||
let currentSection = props.article.sections[sectionIndex]
|
||||
currentSection.slice(sentenceIndex).map(w => {
|
||||
w.words.map(v => {
|
||||
v.input = ''
|
||||
})
|
||||
})
|
||||
props.article.sections.slice(sectionIndex + 1).map((v, i) => {
|
||||
v.map((w) => {
|
||||
w.words.map(v => {
|
||||
v.input = ''
|
||||
})
|
||||
})
|
||||
})
|
||||
emit('play', {sentence: sentence, handle: false})
|
||||
}
|
||||
},
|
||||
{
|
||||
label: "播放句子",
|
||||
onClick: () => {
|
||||
|
||||
Reference in New Issue
Block a user