|
@@ -131,7 +131,7 @@
|
|
|
/>
|
|
|
</div>
|
|
|
</template>
|
|
|
- <div class="refresh">
|
|
|
+ <div class="refresh" @click="handleRefresh">
|
|
|
<img src="../../assets/teacherdev/refresh.png" alt="" />
|
|
|
</div>
|
|
|
<template v-if="patternIndex == 0">
|
|
@@ -198,6 +198,7 @@
|
|
|
:style="{
|
|
|
fontSize: pinyinSize + 'px',
|
|
|
}"
|
|
|
+ v-if="pinyinShow"
|
|
|
>
|
|
|
{{ items.pinyin }}
|
|
|
</div>
|
|
@@ -214,6 +215,7 @@
|
|
|
:style="{
|
|
|
marginBottom: sizeIndex == 2 ? '0' : '5px',
|
|
|
}"
|
|
|
+ v-if="shiyiShow"
|
|
|
>
|
|
|
({{ item.shiyi }})
|
|
|
</div>
|
|
@@ -345,8 +347,8 @@ export default {
|
|
|
//这里存放数据
|
|
|
return {
|
|
|
page: 1,
|
|
|
- shiyiShow: false,
|
|
|
- pinyinShow: false,
|
|
|
+ shiyiShow: true,
|
|
|
+ pinyinShow: true,
|
|
|
JFIndex: 0,
|
|
|
hzData: [],
|
|
|
ShowHzData: [],
|
|
@@ -714,7 +716,7 @@ export default {
|
|
|
KWICData: [
|
|
|
{
|
|
|
number: 1,
|
|
|
- laiyuan: "轻松学中文1大撒大撒大苏打撒旦阿斯顿阿斯顿安生安生",
|
|
|
+ laiyuan: "《轻松学中文1》 Unit 1 课文一 P16",
|
|
|
resArr: [
|
|
|
["你"],
|
|
|
[
|
|
@@ -908,6 +910,13 @@ export default {
|
|
|
});
|
|
|
this.gethzJSON();
|
|
|
},
|
|
|
+ handleRefresh(){
|
|
|
+ this.pinyinShow = true
|
|
|
+ this.shiyiShow = true
|
|
|
+ this.sizeIndex = 1
|
|
|
+ this.sort = "down";
|
|
|
+ this.KWIC_sortIndex = 0
|
|
|
+ }
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
|
created() {
|