|
@@ -134,7 +134,8 @@
|
|
|
<template v-if="chartIndex != 3">
|
|
|
<el-switch
|
|
|
v-model="ratioShow"
|
|
|
- :inactive-text="ratioShow ? '比例' : '数量'"
|
|
|
+ inactive-text="数量"
|
|
|
+ active-text="比例"
|
|
|
:width="26"
|
|
|
style="margin-left: 24px"
|
|
|
@change="changeratioShow"
|
|
@@ -266,6 +267,10 @@
|
|
|
<span class="line"></span>
|
|
|
<span>{{ base.pinyinCount }} / {{ base.pinyinTextCount }}</span>
|
|
|
</div>
|
|
|
+ <div class="twoline">
|
|
|
+ <span class="line"></span>
|
|
|
+ <span class="line"></span>
|
|
|
+ </div>
|
|
|
<div>
|
|
|
<span
|
|
|
>汉字难度
|
|
@@ -274,6 +279,10 @@
|
|
|
<span class="line"></span>
|
|
|
<span>{{ base.wordCount }} / {{ base.wordTextCount }}</span>
|
|
|
</div>
|
|
|
+ <div class="twoline">
|
|
|
+ <span class="line"></span>
|
|
|
+ <span class="line"></span>
|
|
|
+ </div>
|
|
|
<div>
|
|
|
<span>词汇难度{{ difficulty.vocabularyDifficulty }}</span>
|
|
|
<span class="line"></span>
|
|
@@ -468,7 +477,7 @@ export default {
|
|
|
wordsMargin: 3,
|
|
|
fenci: false,
|
|
|
pinyinShow: false,
|
|
|
- leftNavIndex: 0,
|
|
|
+ leftNavIndex: 2,
|
|
|
leftList: null,
|
|
|
colorValue: "#FF3737",
|
|
|
colorIndex: 0,
|
|
@@ -554,7 +563,7 @@ export default {
|
|
|
html = this.$(".articel").html();
|
|
|
this.$("br").remove();
|
|
|
newhtml = this.$(".articel").html();
|
|
|
- this.$(".articel").html(html);
|
|
|
+ // this.$(".articel").html(html);
|
|
|
}
|
|
|
let dv = document.createElement("div");
|
|
|
dv.id = "html_dv";
|
|
@@ -593,7 +602,6 @@ export default {
|
|
|
</div>
|
|
|
</body>
|
|
|
</html>`;
|
|
|
- console.log(cxzcxz);
|
|
|
let converted = htmlDocx.asBlob(content);
|
|
|
FileSaver.saveAs(converted, "文章.docx");
|
|
|
},
|
|
@@ -1312,6 +1320,7 @@ export default {
|
|
|
this.textContent = str;
|
|
|
let flag = sessionStorage.getItem("tablehighlight");
|
|
|
if (this.$route.query.remarks && flag == "true") {
|
|
|
+ this.cutNav(this.$route.query.leftNavIndex * 1);
|
|
|
this.wordTablehighlight(
|
|
|
JSON.parse(this.$route.query.remarks),
|
|
|
this.$route.query.color
|
|
@@ -1762,9 +1771,15 @@ export default {
|
|
|
font-size: 14px;
|
|
|
line-height: 22px;
|
|
|
color: #a6a6a6;
|
|
|
- > div {
|
|
|
- margin-left: 24px;
|
|
|
+ .twoline {
|
|
|
+ margin: 0 20px;
|
|
|
+ span {
|
|
|
+ margin: 0 2px;
|
|
|
+ }
|
|
|
}
|
|
|
+ // > div {
|
|
|
+ // margin-left: 24px;
|
|
|
+ // }
|
|
|
.line {
|
|
|
display: inline-block;
|
|
|
height: 12px;
|