|  | @@ -1,10 +1,14 @@
 | 
	
		
			
				|  |  |  <template>
 | 
	
		
			
				|  |  |    <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="hanzi_list"
 | 
	
		
			
				|  |  | -      >
 | 
	
		
			
				|  |  | +      <div class="hanzi_list">
 | 
	
		
			
				|  |  |          <div class="top_jf">
 | 
	
		
			
				|  |  |            <div class="j_f">
 | 
	
		
			
				|  |  |              <div :class="[JFIndex == 0 ? 'sele' : '']" @click="jfEvent(0)">
 | 
	
	
		
			
				|  | @@ -15,48 +19,56 @@
 | 
	
		
			
				|  |  |              </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"
 | 
	
		
			
				|  |  |              v-for="(item, index) in ShowHzData"
 | 
	
		
			
				|  |  |              :key="'index' + index"
 | 
	
		
			
				|  |  | -            >
 | 
	
		
			
				|  |  | +          >
 | 
	
		
			
				|  |  |              <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="play_audio">
 | 
	
		
			
				|  |  | +              <div class="play_audio">
 | 
	
		
			
				|  |  |                  <img src="../../assets/teacherdev/speaker-one.png" alt="" />
 | 
	
		
			
				|  |  |                  <span>{{ item.pinyin }}</span>
 | 
	
		
			
				|  |  | -                </div>
 | 
	
		
			
				|  |  | -                <div
 | 
	
		
			
				|  |  | +              </div>
 | 
	
		
			
				|  |  | +              <div
 | 
	
		
			
				|  |  |                  v-for="(items, indexs) in item.hzDetail.hz_json.medians.length"
 | 
	
		
			
				|  |  |                  :key="'row' + indexs"
 | 
	
		
			
				|  |  |                  class="row"
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | -                <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"
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  | +                <StrockplayredlineCorpus
 | 
	
		
			
				|  |  | +                  :Book_text="JFIndex == 0 ? item.con : item.fanti"
 | 
	
		
			
				|  |  | +                  :playStorkes="false"
 | 
	
		
			
				|  |  | +                  :curItem="item.hzDetail"
 | 
	
		
			
				|  |  | +                  :targetDiv="'bwcHanziIntp_height' + index + item.con + indexs"
 | 
	
		
			
				|  |  | +                  :targetDivGray="
 | 
	
		
			
				|  |  | +                    'bwcHanziIntp_height_Grey' + index + item.con + indexs
 | 
	
		
			
				|  |  | +                  "
 | 
	
		
			
				|  |  | +                  :isHighlight="true"
 | 
	
		
			
				|  |  | +                  :judgeAnswer="indexs + 1"
 | 
	
		
			
				|  |  | +                  :BoxbgType="0"
 | 
	
		
			
				|  |  | +                  strokeColorgray="#aaaaaa"
 | 
	
		
			
				|  |  | +                  strokeColor="#000000"
 | 
	
		
			
				|  |  |                  />
 | 
	
		
			
				|  |  |                  <div class="number">{{ indexs + 1 }}</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">
 | 
	
		
			
				|  |  |              <template v-if="unfold">
 | 
	
		
			
				|  |  |                <img src="../../assets/teacherdev/up.png" alt="" />
 | 
	
	
		
			
				|  | @@ -208,15 +220,15 @@
 | 
	
		
			
				|  |  |                            }"
 | 
	
		
			
				|  |  |                            v-html="items.con"
 | 
	
		
			
				|  |  |                          ></div>
 | 
	
		
			
				|  |  | -                        </div>
 | 
	
		
			
				|  |  | -                            <div
 | 
	
		
			
				|  |  | -                            class="shiyi"
 | 
	
		
			
				|  |  | -                            :style="{
 | 
	
		
			
				|  |  | -                                marginBottom: sizeIndex == 2 ? '0' : '5px',
 | 
	
		
			
				|  |  | -                            }"
 | 
	
		
			
				|  |  | -                            >
 | 
	
		
			
				|  |  | +                      </div>
 | 
	
		
			
				|  |  | +                      <div
 | 
	
		
			
				|  |  | +                        class="shiyi"
 | 
	
		
			
				|  |  | +                        :style="{
 | 
	
		
			
				|  |  | +                          marginBottom: sizeIndex == 2 ? '0' : '5px',
 | 
	
		
			
				|  |  | +                        }"
 | 
	
		
			
				|  |  | +                      >
 | 
	
		
			
				|  |  |                          ({{ item.shiyi }})
 | 
	
		
			
				|  |  | -                        </div>
 | 
	
		
			
				|  |  | +                      </div>
 | 
	
		
			
				|  |  |                      </div>
 | 
	
		
			
				|  |  |                    </div>
 | 
	
		
			
				|  |  |                    <div class="bottom">{{ item.laiyuan }}</div>
 | 
	
	
		
			
				|  | @@ -244,7 +256,11 @@
 | 
	
		
			
				|  |  |                      }"
 | 
	
		
			
				|  |  |                    >
 | 
	
		
			
				|  |  |                      <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>
 | 
	
	
		
			
				|  | @@ -328,6 +344,7 @@
 | 
	
		
			
				|  |  |  import Header from "@/components/Header";
 | 
	
		
			
				|  |  |  import { getLogin } from "@/api/api";
 | 
	
		
			
				|  |  |  import Strockplayredline from "@/components/corpus/Strockplayredline";
 | 
	
		
			
				|  |  | +import StrockplayredlineCorpus from "@/components/corpus/StrockplayredlineCorpus";
 | 
	
		
			
				|  |  |  import "@/utils/pinyin_dict_withtone";
 | 
	
		
			
				|  |  |  import "@/utils/pinyinUtil";
 | 
	
		
			
				|  |  |  const OpenCC = require("opencc-js");
 | 
	
	
		
			
				|  | @@ -339,6 +356,7 @@ export default {
 | 
	
		
			
				|  |  |    components: {
 | 
	
		
			
				|  |  |      Header,
 | 
	
		
			
				|  |  |      Strockplayredline,
 | 
	
		
			
				|  |  | +    StrockplayredlineCorpus,
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    props: {},
 | 
	
		
			
				|  |  |    data() {
 | 
	
	
		
			
				|  | @@ -892,8 +910,8 @@ export default {
 | 
	
		
			
				|  |  |        this.hzData = [];
 | 
	
		
			
				|  |  |        let arr = this.$route.query.keyword.split("");
 | 
	
		
			
				|  |  |        arr.forEach((item) => {
 | 
	
		
			
				|  |  | -        if(!/^[\u4e00-\u9fa5]/.test(item)){
 | 
	
		
			
				|  |  | -            return
 | 
	
		
			
				|  |  | +        if (!/^[\u4e00-\u9fa5]/.test(item)) {
 | 
	
		
			
				|  |  | +          return;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          let result = pinyinUtil.getPinyin(item);
 | 
	
		
			
				|  |  |          let obj = {
 | 
	
	
		
			
				|  | @@ -988,21 +1006,21 @@ export default {
 | 
	
		
			
				|  |  |          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 {
 | 
	
		
			
				|  |  |        margin-bottom: 20px;
 |