|
@@ -1,10 +1,14 @@
|
|
<template>
|
|
<template>
|
|
<div class="result" v-loading="loading">
|
|
<div class="result" v-loading="loading">
|
|
- <Header :projectShow="true" :seekShow="true" :seekOption="false" :seekOptions="true" @changehzdata="changehzdata" />
|
|
|
|
|
|
+ <Header
|
|
|
|
+ :projectShow="true"
|
|
|
|
+ :seekShow="true"
|
|
|
|
+ :seekOption="false"
|
|
|
|
+ :seekOptions="true"
|
|
|
|
+ @changehzdata="changehzdata"
|
|
|
|
+ />
|
|
<div class="main">
|
|
<div class="main">
|
|
- <div
|
|
|
|
- class="hanzi_list"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="hanzi_list">
|
|
<div class="top_jf">
|
|
<div class="top_jf">
|
|
<div class="j_f">
|
|
<div class="j_f">
|
|
<div :class="[JFIndex == 0 ? 'sele' : '']" @click="jfEvent(0)">
|
|
<div :class="[JFIndex == 0 ? 'sele' : '']" @click="jfEvent(0)">
|
|
@@ -15,48 +19,50 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="list_one_box"
|
|
|
|
- :style="{
|
|
|
|
- overflowY: unfold ? 'scroll' : 'hidden',
|
|
|
|
- }">
|
|
|
|
- <div
|
|
|
|
|
|
+ <div
|
|
|
|
+ class="list_one_box"
|
|
|
|
+ :style="{
|
|
|
|
+ overflowY: unfold ? 'scroll' : 'hidden',
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ <div
|
|
class="list_one"
|
|
class="list_one"
|
|
v-for="(item, index) in ShowHzData"
|
|
v-for="(item, index) in ShowHzData"
|
|
:key="'index' + index"
|
|
:key="'index' + index"
|
|
- >
|
|
|
|
|
|
+ >
|
|
<Strockplayredline
|
|
<Strockplayredline
|
|
- v-if="item.hzDetail.hz_json"
|
|
|
|
- :Book_text="JFIndex == 0 ? item.con : item.fanti"
|
|
|
|
- :playStorkes="true"
|
|
|
|
- :curItem="item.hzDetail"
|
|
|
|
- :targetDiv="'bwcHanziIntp' + index + item.con"
|
|
|
|
- :isHighlight="false"
|
|
|
|
- :judgeAnswer="2"
|
|
|
|
|
|
+ v-if="item.hzDetail.hz_json"
|
|
|
|
+ :Book_text="JFIndex == 0 ? item.con : item.fanti"
|
|
|
|
+ :playStorkes="true"
|
|
|
|
+ :curItem="item.hzDetail"
|
|
|
|
+ :targetDiv="'bwcHanziIntp' + index + item.con"
|
|
|
|
+ :isHighlight="false"
|
|
|
|
+ :judgeAnswer="2"
|
|
/>
|
|
/>
|
|
<div class="Highlight" v-if="item.hzDetail.hz_json">
|
|
<div class="Highlight" v-if="item.hzDetail.hz_json">
|
|
- <div class="play_audio">
|
|
|
|
|
|
+ <div class="play_audio">
|
|
<img src="../../assets/teacherdev/speaker-one.png" alt="" />
|
|
<img src="../../assets/teacherdev/speaker-one.png" alt="" />
|
|
<span>{{ item.pinyin }}</span>
|
|
<span>{{ item.pinyin }}</span>
|
|
- </div>
|
|
|
|
- <div
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
v-for="(items, indexs) in item.hzDetail.hz_json.medians.length"
|
|
v-for="(items, indexs) in item.hzDetail.hz_json.medians.length"
|
|
:key="'row' + indexs"
|
|
:key="'row' + indexs"
|
|
class="row"
|
|
class="row"
|
|
- >
|
|
|
|
|
|
+ >
|
|
<Strockplayredline
|
|
<Strockplayredline
|
|
- :Book_text="JFIndex == 0 ? item.con : item.fanti"
|
|
|
|
- :playStorkes="false"
|
|
|
|
- :curItem="item.hzDetail"
|
|
|
|
- :targetDiv="'bwcHanziIntp_height' + index + item.con + indexs"
|
|
|
|
- :isHighlight="true"
|
|
|
|
- :judgeAnswer="indexs + 1"
|
|
|
|
|
|
+ :Book_text="JFIndex == 0 ? item.con : item.fanti"
|
|
|
|
+ :playStorkes="false"
|
|
|
|
+ :curItem="item.hzDetail"
|
|
|
|
+ :targetDiv="'bwcHanziIntp_height' + index + item.con + indexs"
|
|
|
|
+ :isHighlight="true"
|
|
|
|
+ :judgeAnswer="indexs + 1"
|
|
/>
|
|
/>
|
|
<div class="number">{{ indexs + 1 }}</div>
|
|
<div class="number">{{ indexs + 1 }}</div>
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div class="shouqi" v-if="hzData.length>2">
|
|
|
|
|
|
+ <div class="shouqi" v-if="hzData.length > 2">
|
|
<span @click="updownHz">
|
|
<span @click="updownHz">
|
|
<template v-if="unfold">
|
|
<template v-if="unfold">
|
|
<img src="../../assets/teacherdev/up.png" alt="" />
|
|
<img src="../../assets/teacherdev/up.png" alt="" />
|
|
@@ -213,7 +219,7 @@
|
|
v-if="shiyiShow"
|
|
v-if="shiyiShow"
|
|
>
|
|
>
|
|
({{ item.shiyi }})
|
|
({{ item.shiyi }})
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="bottom">{{ item.laiyuan }}</div>
|
|
<div class="bottom">{{ item.laiyuan }}</div>
|
|
@@ -241,7 +247,11 @@
|
|
}"
|
|
}"
|
|
>
|
|
>
|
|
<div v-for="(txt, indexs) in item.resArr" :key="indexs">
|
|
<div v-for="(txt, indexs) in item.resArr" :key="indexs">
|
|
- <span v-for="(txts, indexs) in txt" v-html="txts" :key="indexs"></span>
|
|
|
|
|
|
+ <span
|
|
|
|
+ v-for="(txts, indexs) in txt"
|
|
|
|
+ v-html="txts"
|
|
|
|
+ :key="indexs"
|
|
|
|
+ ></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -288,6 +298,8 @@
|
|
borderBottom:
|
|
borderBottom:
|
|
i == rightList.length - 1 ? 'none' : '1px solid #eeeeee',
|
|
i == rightList.length - 1 ? 'none' : '1px solid #eeeeee',
|
|
}"
|
|
}"
|
|
|
|
+ @mouseover="gaolangbzt(i, 'shanxing_main')"
|
|
|
|
+ @mouseout="closegaolangbzt(i, 'shanxing_main')"
|
|
>
|
|
>
|
|
<div>
|
|
<div>
|
|
<span></span>
|
|
<span></span>
|
|
@@ -885,12 +897,30 @@ export default {
|
|
};
|
|
};
|
|
option && myChart.setOption(option);
|
|
option && myChart.setOption(option);
|
|
},
|
|
},
|
|
|
|
+ // 鼠标进入
|
|
|
|
+ gaolangbzt(index, id) {
|
|
|
|
+ var compareChart = echarts.getInstanceByDom(document.getElementById(id));
|
|
|
|
+ compareChart.dispatchAction({
|
|
|
|
+ type: "highlight",
|
|
|
|
+ seriesIndex: 0,
|
|
|
|
+ dataIndex: index,
|
|
|
|
+ });
|
|
|
|
+ },
|
|
|
|
+ // 鼠标移出
|
|
|
|
+ closegaolangbzt(index, id) {
|
|
|
|
+ var compareChart = echarts.getInstanceByDom(document.getElementById(id));
|
|
|
|
+ compareChart.dispatchAction({
|
|
|
|
+ type: "downplay",
|
|
|
|
+ seriesIndex: 0,
|
|
|
|
+ dataIndex: index,
|
|
|
|
+ });
|
|
|
|
+ },
|
|
changehzdata() {
|
|
changehzdata() {
|
|
this.hzData = [];
|
|
this.hzData = [];
|
|
let arr = this.$route.query.keyword.split("");
|
|
let arr = this.$route.query.keyword.split("");
|
|
arr.forEach((item) => {
|
|
arr.forEach((item) => {
|
|
- if(!/^[\u4e00-\u9fa5]/.test(item)){
|
|
|
|
- return
|
|
|
|
|
|
+ if (!/^[\u4e00-\u9fa5]/.test(item)) {
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
let result = pinyinUtil.getPinyin(item);
|
|
let result = pinyinUtil.getPinyin(item);
|
|
let obj = {
|
|
let obj = {
|
|
@@ -992,21 +1022,21 @@ export default {
|
|
background: #de4444;
|
|
background: #de4444;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .list_one_box{
|
|
|
|
- max-height: 750px;
|
|
|
|
- padding: 0 27px;
|
|
|
|
- &::-webkit-scrollbar-track-piece {
|
|
|
|
- background: #fff;
|
|
|
|
- }
|
|
|
|
|
|
+ .list_one_box {
|
|
|
|
+ max-height: 750px;
|
|
|
|
+ padding: 0 27px;
|
|
|
|
+ &::-webkit-scrollbar-track-piece {
|
|
|
|
+ background: #fff;
|
|
|
|
+ }
|
|
|
|
|
|
- &::-webkit-scrollbar {
|
|
|
|
- width: 4px;
|
|
|
|
- }
|
|
|
|
|
|
+ &::-webkit-scrollbar {
|
|
|
|
+ width: 4px;
|
|
|
|
+ }
|
|
|
|
|
|
- &::-webkit-scrollbar-thumb {
|
|
|
|
- background: #D9D9D9;
|
|
|
|
- border-radius: 20px;
|
|
|
|
- }
|
|
|
|
|
|
+ &::-webkit-scrollbar-thumb {
|
|
|
|
+ background: #d9d9d9;
|
|
|
|
+ border-radius: 20px;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.list_one {
|
|
.list_one {
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|