|
@@ -166,7 +166,7 @@
|
|
|
:class="[
|
|
|
pItem.tokens[9] === '' ? 'marginRight' : '',
|
|
|
(pItem.highIndex &&
|
|
|
- printForm.bold.indexOf(pItem.type) > -1) ||
|
|
|
+ printForm.bold.indexOf(pItem.types) > -1) ||
|
|
|
(printForm.bold.indexOf('sentence') > -1 &&
|
|
|
longSentIds.indexOf(pItem.sent_id) > -1)
|
|
|
? 'fontWeight'
|
|
@@ -196,7 +196,7 @@
|
|
|
: '',
|
|
|
(item.wordsList[pIndex + 1].highIndex &&
|
|
|
printForm.bold.indexOf(
|
|
|
- item.wordsList[pIndex + 1].type
|
|
|
+ item.wordsList[pIndex + 1].types
|
|
|
) > -1) ||
|
|
|
(printForm.bold.indexOf('sentence') > -1 &&
|
|
|
longSentIds.indexOf(
|
|
@@ -711,7 +711,7 @@ export default {
|
|
|
? articleInfo.art_phrase_data
|
|
|
: [];
|
|
|
this.wordLit.forEach((item) => {
|
|
|
- item.type = "newWord";
|
|
|
+ item.types = "newWord";
|
|
|
item.exp_title = item.word_name;
|
|
|
let paraStr = "";
|
|
|
if (item.word_explain && item.word_explain.word_para_list) {
|
|
@@ -760,6 +760,7 @@ export default {
|
|
|
) {
|
|
|
obj.highIndex = true;
|
|
|
obj.type = itema.type;
|
|
|
+ obj.types = itema.type;
|
|
|
obj.word_id = itema.id; // 生词注释短语的id
|
|
|
obj.explainNumber = explainNumber;
|
|
|
explainNumber++;
|
|
@@ -769,6 +770,7 @@ export default {
|
|
|
if (indexs === itemi) {
|
|
|
obj.highIndex = true;
|
|
|
obj.type = itema.type;
|
|
|
+ obj.types = itema.types ? itema.types : itema.type;
|
|
|
obj.word_id = itema.id; // 生词注释短语的id
|
|
|
}
|
|
|
});
|