|  | @@ -38,101 +38,114 @@
 | 
	
		
			
				|  |  |            />
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </template>
 | 
	
		
			
				|  |  | -      <div
 | 
	
		
			
				|  |  | -        class="Big-Book-main"
 | 
	
		
			
				|  |  | -        v-for="(item, index) in curQue.option"
 | 
	
		
			
				|  |  | -        :key="item + index"
 | 
	
		
			
				|  |  | -        style="margin-bottom: 20px"
 | 
	
		
			
				|  |  | +      <template
 | 
	
		
			
				|  |  | +        v-if="type == 'text_problem_chs' || type == 'newWord_preview_chs'"
 | 
	
		
			
				|  |  |        >
 | 
	
		
			
				|  |  | -        <template v-if="type == 'text_problem_chs'">
 | 
	
		
			
				|  |  | +        <div
 | 
	
		
			
				|  |  | +          class="Big-Book-main"
 | 
	
		
			
				|  |  | +          v-for="(item, index) in curQue.option"
 | 
	
		
			
				|  |  | +          :key="item + index"
 | 
	
		
			
				|  |  | +          style="margin-bottom: 20px"
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  | +          <template v-if="type == 'text_problem_chs'">
 | 
	
		
			
				|  |  | +            <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | +              <span class="adult-book-lable">序号:</span>
 | 
	
		
			
				|  |  | +              <el-input
 | 
	
		
			
				|  |  | +                class="adult-book-input"
 | 
	
		
			
				|  |  | +                type="textarea"
 | 
	
		
			
				|  |  | +                :autosize="{ minRows: 2 }"
 | 
	
		
			
				|  |  | +                placeholder="请输入序号"
 | 
	
		
			
				|  |  | +                v-model="item.number"
 | 
	
		
			
				|  |  | +                @blur="onBlur(item, 'number')"
 | 
	
		
			
				|  |  | +              ></el-input>
 | 
	
		
			
				|  |  | +              <img
 | 
	
		
			
				|  |  | +                @click="deleteOptionOne(index)"
 | 
	
		
			
				|  |  | +                class="close"
 | 
	
		
			
				|  |  | +                src="../../../assets/adult/del-close.png"
 | 
	
		
			
				|  |  | +                alt=""
 | 
	
		
			
				|  |  | +              />
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  | +            <div class="NPC-sentence-Segword">
 | 
	
		
			
				|  |  | +              <SentenceSegwordChs :curQue="item.detail" />
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  | +          </template>
 | 
	
		
			
				|  |  | +          <template v-if="type == 'newWord_preview_chs'">
 | 
	
		
			
				|  |  | +            <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | +              <span class="adult-book-lable">拼音:</span>
 | 
	
		
			
				|  |  | +              <el-input
 | 
	
		
			
				|  |  | +                class="adult-book-input"
 | 
	
		
			
				|  |  | +                type="textarea"
 | 
	
		
			
				|  |  | +                :autosize="{ minRows: 2 }"
 | 
	
		
			
				|  |  | +                placeholder="请输入拼音"
 | 
	
		
			
				|  |  | +                v-model="item.pinyin"
 | 
	
		
			
				|  |  | +                @blur="onBlur(item, 'pinyin')"
 | 
	
		
			
				|  |  | +              ></el-input>
 | 
	
		
			
				|  |  | +              <img
 | 
	
		
			
				|  |  | +                @click="deleteOptionOne(index)"
 | 
	
		
			
				|  |  | +                class="close"
 | 
	
		
			
				|  |  | +                src="../../../assets/adult/del-close.png"
 | 
	
		
			
				|  |  | +                alt=""
 | 
	
		
			
				|  |  | +              />
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  | +            <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | +              <span class="adult-book-lable">展示方式:</span>
 | 
	
		
			
				|  |  | +              <el-radio-group v-model="item.imgOrText">
 | 
	
		
			
				|  |  | +                <el-radio label="image">图片</el-radio>
 | 
	
		
			
				|  |  | +                <el-radio label="text">文本</el-radio>
 | 
	
		
			
				|  |  | +              </el-radio-group>
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  | +            <template v-if="item.imgOrText == 'image'">
 | 
	
		
			
				|  |  | +              <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | +                <span class="adult-book-lable">图片:</span>
 | 
	
		
			
				|  |  | +                <Upload
 | 
	
		
			
				|  |  | +                  :changeFillId="changeImage"
 | 
	
		
			
				|  |  | +                  :datafileList="item.img_list"
 | 
	
		
			
				|  |  | +                  :filleNumber="mp3Number"
 | 
	
		
			
				|  |  | +                  :uploadType="'image'"
 | 
	
		
			
				|  |  | +                  :index="index"
 | 
	
		
			
				|  |  | +                />
 | 
	
		
			
				|  |  | +              </div>
 | 
	
		
			
				|  |  | +            </template>
 | 
	
		
			
				|  |  | +            <template v-if="item.imgOrText == 'text'">
 | 
	
		
			
				|  |  | +              <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | +                <span class="adult-book-lable">生字:</span>
 | 
	
		
			
				|  |  | +                <el-input
 | 
	
		
			
				|  |  | +                  class="adult-book-input"
 | 
	
		
			
				|  |  | +                  type="textarea"
 | 
	
		
			
				|  |  | +                  :autosize="{ minRows: 2 }"
 | 
	
		
			
				|  |  | +                  placeholder="请输入生字"
 | 
	
		
			
				|  |  | +                  v-model="item.con"
 | 
	
		
			
				|  |  | +                  @blur="onBlur(item, 'con')"
 | 
	
		
			
				|  |  | +                ></el-input>
 | 
	
		
			
				|  |  | +              </div>
 | 
	
		
			
				|  |  | +              <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | +                <span class="adult-book-lable">音频:</span>
 | 
	
		
			
				|  |  | +                <Upload
 | 
	
		
			
				|  |  | +                  :changeFillId="changeMp3"
 | 
	
		
			
				|  |  | +                  :datafileList="item.mp3_list"
 | 
	
		
			
				|  |  | +                  :filleNumber="mp3Number"
 | 
	
		
			
				|  |  | +                  :uploadType="'mp3'"
 | 
	
		
			
				|  |  | +                  :index="index"
 | 
	
		
			
				|  |  | +                />
 | 
	
		
			
				|  |  | +              </div>
 | 
	
		
			
				|  |  | +            </template>
 | 
	
		
			
				|  |  | +          </template>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +      </template>
 | 
	
		
			
				|  |  | +      <template v-if="type == 'listen_record_single_syllable_chs'">
 | 
	
		
			
				|  |  | +        <div
 | 
	
		
			
				|  |  | +          class="Big-Book-main"
 | 
	
		
			
				|  |  | +          v-for="(item, index) in curQue"
 | 
	
		
			
				|  |  | +          :key="item + index"
 | 
	
		
			
				|  |  | +          style="margin-bottom: 20px"
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  |            <div class="adult-book-input-item">
 | 
	
		
			
				|  |  |              <span class="adult-book-lable">序号:</span>
 | 
	
		
			
				|  |  |              <el-input
 | 
	
		
			
				|  |  |                class="adult-book-input"
 | 
	
		
			
				|  |  |                type="textarea"
 | 
	
		
			
				|  |  |                :autosize="{ minRows: 2 }"
 | 
	
		
			
				|  |  | -              placeholder="请输入序号"
 | 
	
		
			
				|  |  | -              v-model="item.number"
 | 
	
		
			
				|  |  | -              @blur="onBlur(item, 'number')"
 | 
	
		
			
				|  |  | -            ></el-input>
 | 
	
		
			
				|  |  | -            <img
 | 
	
		
			
				|  |  | -              @click="deleteOptionOne(index)"
 | 
	
		
			
				|  |  | -              class="close"
 | 
	
		
			
				|  |  | -              src="../../../assets/adult/del-close.png"
 | 
	
		
			
				|  |  | -              alt=""
 | 
	
		
			
				|  |  | -            />
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | -          <div class="NPC-sentence-Segword">
 | 
	
		
			
				|  |  | -            <SentenceSegwordChs :curQue="item.detail" />
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | -        </template>
 | 
	
		
			
				|  |  | -        <template v-if="type == 'newWord_preview_chs'">
 | 
	
		
			
				|  |  | -          <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | -            <span class="adult-book-lable">拼音:</span>
 | 
	
		
			
				|  |  | -            <el-input
 | 
	
		
			
				|  |  | -              class="adult-book-input"
 | 
	
		
			
				|  |  | -              type="textarea"
 | 
	
		
			
				|  |  | -              :autosize="{ minRows: 2 }"
 | 
	
		
			
				|  |  | -              placeholder="请输入拼音"
 | 
	
		
			
				|  |  | -              v-model="item.pinyin"
 | 
	
		
			
				|  |  | -              @blur="onBlur(item, 'pinyin')"
 | 
	
		
			
				|  |  | -            ></el-input>
 | 
	
		
			
				|  |  | -            <img
 | 
	
		
			
				|  |  | -              @click="deleteOptionOne(index)"
 | 
	
		
			
				|  |  | -              class="close"
 | 
	
		
			
				|  |  | -              src="../../../assets/adult/del-close.png"
 | 
	
		
			
				|  |  | -              alt=""
 | 
	
		
			
				|  |  | -            />
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | -          <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | -            <span class="adult-book-lable">生字:</span>
 | 
	
		
			
				|  |  | -            <el-input
 | 
	
		
			
				|  |  | -              class="adult-book-input"
 | 
	
		
			
				|  |  | -              type="textarea"
 | 
	
		
			
				|  |  | -              :autosize="{ minRows: 2 }"
 | 
	
		
			
				|  |  | -              placeholder="请输入生字"
 | 
	
		
			
				|  |  | -              v-model="item.con"
 | 
	
		
			
				|  |  | -              @blur="onBlur(item, 'con')"
 | 
	
		
			
				|  |  | -            ></el-input>
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | -          <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | -            <span class="adult-book-lable">音频:</span>
 | 
	
		
			
				|  |  | -            <Upload
 | 
	
		
			
				|  |  | -              :changeFillId="changeMp3"
 | 
	
		
			
				|  |  | -              :datafileList="item.mp3_list"
 | 
	
		
			
				|  |  | -              :filleNumber="mp3Number"
 | 
	
		
			
				|  |  | -              :uploadType="'mp3'"
 | 
	
		
			
				|  |  | -              :index="index"
 | 
	
		
			
				|  |  | -            />
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | -        </template>
 | 
	
		
			
				|  |  | -        <template v-if="type == 'listen_record_single_syllable_chs'">
 | 
	
		
			
				|  |  | -          <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | -            <span class="adult-book-lable">拼音:</span>
 | 
	
		
			
				|  |  | -            <el-input
 | 
	
		
			
				|  |  | -              class="adult-book-input"
 | 
	
		
			
				|  |  | -              type="textarea"
 | 
	
		
			
				|  |  | -              :autosize="{ minRows: 2 }"
 | 
	
		
			
				|  |  |                placeholder="请输入拼音"
 | 
	
		
			
				|  |  | -              v-model="item.pinyin"
 | 
	
		
			
				|  |  | -              @blur="onBlur(item, 'pinyin')"
 | 
	
		
			
				|  |  | -            ></el-input>
 | 
	
		
			
				|  |  | -            <img
 | 
	
		
			
				|  |  | -              @click="deleteOptionOne(index)"
 | 
	
		
			
				|  |  | -              class="close"
 | 
	
		
			
				|  |  | -              src="../../../assets/adult/del-close.png"
 | 
	
		
			
				|  |  | -              alt=""
 | 
	
		
			
				|  |  | -            />
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | -        </template>
 | 
	
		
			
				|  |  | -        <template v-if="type == 'zi_transverse_line_chs'">
 | 
	
		
			
				|  |  | -          <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | -            <span class="adult-book-lable">序号:</span>
 | 
	
		
			
				|  |  | -            <el-input
 | 
	
		
			
				|  |  | -              class="adult-book-input"
 | 
	
		
			
				|  |  | -              type="textarea"
 | 
	
		
			
				|  |  | -              :autosize="{ minRows: 2 }"
 | 
	
		
			
				|  |  | -              placeholder="请输入序号"
 | 
	
		
			
				|  |  |                v-model="item.number"
 | 
	
		
			
				|  |  |                @blur="onBlur(item, 'number')"
 | 
	
		
			
				|  |  |              ></el-input>
 | 
	
	
		
			
				|  | @@ -143,101 +156,33 @@
 | 
	
		
			
				|  |  |                alt=""
 | 
	
		
			
				|  |  |              />
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  | -          <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | -            <span class="adult-book-lable">内容:</span>
 | 
	
		
			
				|  |  | -            <el-input
 | 
	
		
			
				|  |  | -              class="adult-book-input"
 | 
	
		
			
				|  |  | -              type="textarea"
 | 
	
		
			
				|  |  | -              :autosize="{ minRows: 2 }"
 | 
	
		
			
				|  |  | -              placeholder="请输入内容"
 | 
	
		
			
				|  |  | -              v-model="item.con"
 | 
	
		
			
				|  |  | -              @blur="onBlur(item, 'con')"
 | 
	
		
			
				|  |  | -            ></el-input>
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | -          <div
 | 
	
		
			
				|  |  | -            class="adult-book-input-item"
 | 
	
		
			
				|  |  | -            v-for="(ans, anIndex) in item.answer"
 | 
	
		
			
				|  |  | -            :key="'an' + anIndex"
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | -            <span class="adult-book-lable">答案:</span>
 | 
	
		
			
				|  |  | -            <el-input
 | 
	
		
			
				|  |  | -              class="adult-book-input"
 | 
	
		
			
				|  |  | -              type="textarea"
 | 
	
		
			
				|  |  | -              :autosize="{ minRows: 2 }"
 | 
	
		
			
				|  |  | -              placeholder="请输入答案"
 | 
	
		
			
				|  |  | -              v-model="ans.con"
 | 
	
		
			
				|  |  | -              @blur="onBlur(ans, 'con')"
 | 
	
		
			
				|  |  | -            ></el-input>
 | 
	
		
			
				|  |  | -            <img
 | 
	
		
			
				|  |  | -              @click="deleteanswer(anIndex, index)"
 | 
	
		
			
				|  |  | -              class="close"
 | 
	
		
			
				|  |  | -              src="../../../assets/adult/del-close.png"
 | 
	
		
			
				|  |  | -              alt=""
 | 
	
		
			
				|  |  | -            />
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | -          <div class="addoption" @click="addanswer(index)">添加答案</div>
 | 
	
		
			
				|  |  | -          <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | -            <span class="adult-book-lable">拼音状态:</span>
 | 
	
		
			
				|  |  | -            <el-radio-group v-model="item.Ispinyin">
 | 
	
		
			
				|  |  | -              <el-radio :label="true">需要拼音</el-radio>
 | 
	
		
			
				|  |  | -              <el-radio :label="false">不需要拼音</el-radio>
 | 
	
		
			
				|  |  | -            </el-radio-group>
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | -          <div class="adult-book-input-item" v-if="item.Ispinyin">
 | 
	
		
			
				|  |  | -            <span class="adult-book-lable">拼音位置:</span>
 | 
	
		
			
				|  |  | -            <el-radio-group v-model="item.pinyinSite">
 | 
	
		
			
				|  |  | -              <el-radio label="top">上</el-radio>
 | 
	
		
			
				|  |  | -              <el-radio label="bottom">下</el-radio>
 | 
	
		
			
				|  |  | -              <el-radio label="left">左</el-radio>
 | 
	
		
			
				|  |  | -              <el-radio label="right">右</el-radio>
 | 
	
		
			
				|  |  | -            </el-radio-group>
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | -          <template v-if="item.Ispinyin && item.pinyinSite">
 | 
	
		
			
				|  |  | -            <div
 | 
	
		
			
				|  |  | -              class="adult-book-input-item"
 | 
	
		
			
				|  |  | -              v-for="(py, pyIndex) in item.pinyinList"
 | 
	
		
			
				|  |  | -              :key="'py' + pyIndex"
 | 
	
		
			
				|  |  | -            >
 | 
	
		
			
				|  |  | +          <div v-for="(it, itI) in item.option" :key="'it' + itI">
 | 
	
		
			
				|  |  | +            <div class="adult-book-input-item">
 | 
	
		
			
				|  |  |                <span class="adult-book-lable">拼音:</span>
 | 
	
		
			
				|  |  |                <el-input
 | 
	
		
			
				|  |  |                  class="adult-book-input"
 | 
	
		
			
				|  |  |                  type="textarea"
 | 
	
		
			
				|  |  |                  :autosize="{ minRows: 2 }"
 | 
	
		
			
				|  |  |                  placeholder="请输入拼音"
 | 
	
		
			
				|  |  | -                v-model="py.con"
 | 
	
		
			
				|  |  | -                @blur="onBlur(py, 'con')"
 | 
	
		
			
				|  |  | +                v-model="it.pinyin"
 | 
	
		
			
				|  |  | +                @blur="onBlur(it, 'pinyin')"
 | 
	
		
			
				|  |  |                ></el-input>
 | 
	
		
			
				|  |  |                <img
 | 
	
		
			
				|  |  | -                @click="deletepinyin(pyIndex, index)"
 | 
	
		
			
				|  |  | +                @click="deleteyinjie(index, itI)"
 | 
	
		
			
				|  |  |                  class="close"
 | 
	
		
			
				|  |  |                  src="../../../assets/adult/del-close.png"
 | 
	
		
			
				|  |  |                  alt=""
 | 
	
		
			
				|  |  |                />
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  | -            <div class="addoption" @click="addpinyin(index)">添加拼音</div>
 | 
	
		
			
				|  |  | -          </template>
 | 
	
		
			
				|  |  | -          <div class="adult-book-input-item">
 | 
	
		
			
				|  |  | -            <span class="adult-book-lable">音频控件:</span>
 | 
	
		
			
				|  |  | -            <img src="../../../assets/adult/mini.png" alt="" />
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  | -        </template>
 | 
	
		
			
				|  |  | -      </div>
 | 
	
		
			
				|  |  | +          <div class="addoption" @click="addyinjie(index, itI)">
 | 
	
		
			
				|  |  | +            添加一个音节
 | 
	
		
			
				|  |  | +          </div>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +      </template>
 | 
	
		
			
				|  |  |        <div class="Big-Book-addrole">
 | 
	
		
			
				|  |  |          <div class="addoption" @click="addOption">添加一个</div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  | -      <div class="Big-Book-divide" v-if="type == 'zi_transverse_line_chs'">
 | 
	
		
			
				|  |  | -        <el-divider content-position="center">功能设置</el-divider>
 | 
	
		
			
				|  |  | -        <span style="margin: 0 10px">请选择每行数量</span>
 | 
	
		
			
				|  |  | -        <el-select v-model="curQue.numberList.con" placeholder="请选择">
 | 
	
		
			
				|  |  | -          <el-option
 | 
	
		
			
				|  |  | -            v-for="(item, i) in curQue.numberList.arr"
 | 
	
		
			
				|  |  | -            :key="i"
 | 
	
		
			
				|  |  | -            :label="item.value"
 | 
	
		
			
				|  |  | -            :value="item.id"
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | -          </el-option>
 | 
	
		
			
				|  |  | -        </el-select>
 | 
	
		
			
				|  |  | -      </div>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
	
		
			
				|  | @@ -288,126 +233,65 @@ export default {
 | 
	
		
			
				|  |  |            },
 | 
	
		
			
				|  |  |          ],
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |        data_structure2: {
 | 
	
		
			
				|  |  |          type: "newWord_preview_chs",
 | 
	
		
			
				|  |  |          name: "生字展示",
 | 
	
		
			
				|  |  |          title: "",
 | 
	
		
			
				|  |  | +        imgOrText: null,
 | 
	
		
			
				|  |  |          option: [
 | 
	
		
			
				|  |  |            {
 | 
	
		
			
				|  |  |              mp3_list: [],
 | 
	
		
			
				|  |  | +            img_list: [],
 | 
	
		
			
				|  |  |              con: "", //生字
 | 
	
		
			
				|  |  |              pinyin: "", //拼音
 | 
	
		
			
				|  |  |            },
 | 
	
		
			
				|  |  |          ],
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | -      data_structure3: {
 | 
	
		
			
				|  |  | -        type: "listen_record_single_syllable_chs",
 | 
	
		
			
				|  |  | -        name: "听录音选择音节",
 | 
	
		
			
				|  |  | -        title: "",
 | 
	
		
			
				|  |  | -        mp3_list: [],
 | 
	
		
			
				|  |  | -        number: "",
 | 
	
		
			
				|  |  | -        option: [
 | 
	
		
			
				|  |  | -          {
 | 
	
		
			
				|  |  | -            pinyin: "", //拼音
 | 
	
		
			
				|  |  | -          },
 | 
	
		
			
				|  |  | -        ],
 | 
	
		
			
				|  |  | -      },
 | 
	
		
			
				|  |  | -      data_structure4: {
 | 
	
		
			
				|  |  | -        type: "zi_transverse_line_chs",
 | 
	
		
			
				|  |  | -        name: "字+横线",
 | 
	
		
			
				|  |  | -        title: "",
 | 
	
		
			
				|  |  | -        mp3_list: [],
 | 
	
		
			
				|  |  | -        option: [
 | 
	
		
			
				|  |  | -          {
 | 
	
		
			
				|  |  | -            number: "", //序号
 | 
	
		
			
				|  |  | -            con: "", //内容
 | 
	
		
			
				|  |  | -            Ispinyin: null, //是否有拼音
 | 
	
		
			
				|  |  | -            pinyinSite: null, //拼音位置
 | 
	
		
			
				|  |  | -            pinyinList: [{ con: "" }],
 | 
	
		
			
				|  |  | -            answer: [
 | 
	
		
			
				|  |  | -              {
 | 
	
		
			
				|  |  | -                con: "",
 | 
	
		
			
				|  |  | -              },
 | 
	
		
			
				|  |  | -            ],
 | 
	
		
			
				|  |  | -          },
 | 
	
		
			
				|  |  | -        ],
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        numberList: {
 | 
	
		
			
				|  |  | -          type: "number",
 | 
	
		
			
				|  |  | -          name: "每行几个",
 | 
	
		
			
				|  |  | -          con: "2",
 | 
	
		
			
				|  |  | -          arr: [
 | 
	
		
			
				|  |  | -            {
 | 
	
		
			
				|  |  | -              id: 1,
 | 
	
		
			
				|  |  | -              value: 1,
 | 
	
		
			
				|  |  | -            },
 | 
	
		
			
				|  |  | +      data_structure3: [
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +          type: "listen_record_single_syllable_chs",
 | 
	
		
			
				|  |  | +          name: "听录音选择音节",
 | 
	
		
			
				|  |  | +          title: "",
 | 
	
		
			
				|  |  | +          mp3_list: [],
 | 
	
		
			
				|  |  | +          number: "",
 | 
	
		
			
				|  |  | +          option: [
 | 
	
		
			
				|  |  |              {
 | 
	
		
			
				|  |  | -              id: 2,
 | 
	
		
			
				|  |  | -              value: 2,
 | 
	
		
			
				|  |  | -            },
 | 
	
		
			
				|  |  | -            {
 | 
	
		
			
				|  |  | -              id: 3,
 | 
	
		
			
				|  |  | -              value: 3,
 | 
	
		
			
				|  |  | -            },
 | 
	
		
			
				|  |  | -            {
 | 
	
		
			
				|  |  | -              id: 4,
 | 
	
		
			
				|  |  | -              value: 4,
 | 
	
		
			
				|  |  | +              number: "",
 | 
	
		
			
				|  |  | +              pinyin: "", //拼音
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  |            ],
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  | -      },
 | 
	
		
			
				|  |  | +      ],
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    computed: {},
 | 
	
		
			
				|  |  |    watch: {},
 | 
	
		
			
				|  |  |    //方法集合
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  | -    onBlur(item, field) {
 | 
	
		
			
				|  |  | -      item[field] = item[field] ? item[field].trim() : "";
 | 
	
		
			
				|  |  | +    // 添加音节
 | 
	
		
			
				|  |  | +    addyinjie(index) {
 | 
	
		
			
				|  |  | +      let obj = JSON.parse(JSON.stringify(this.data_structure3[0].option[0]));
 | 
	
		
			
				|  |  | +      this.curQue[index].option.push(obj);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    // 增加拼音
 | 
	
		
			
				|  |  | -    addpinyin(index) {
 | 
	
		
			
				|  |  | -      let obj;
 | 
	
		
			
				|  |  | -      if (this.type == "zi_transverse_line_chs") {
 | 
	
		
			
				|  |  | -        obj = JSON.parse(
 | 
	
		
			
				|  |  | -          JSON.stringify(this.data_structure4.option[0].pinyinList[0])
 | 
	
		
			
				|  |  | -        );
 | 
	
		
			
				|  |  | -        this.curQue.option[index].pinyinList.push(obj);
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -    },
 | 
	
		
			
				|  |  | -    // 删除拼音
 | 
	
		
			
				|  |  | -    deletepinyin(aindex, index) {
 | 
	
		
			
				|  |  | -      if (this.type == "zi_transverse_line_chs") {
 | 
	
		
			
				|  |  | -        if (this.curQue.option[index].pinyinList.length <= 1) {
 | 
	
		
			
				|  |  | -          this.$message.warning("至少要保留1个拼音");
 | 
	
		
			
				|  |  | -          return;
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        this.curQue.option[index].pinyinList.splice(aindex, 1);
 | 
	
		
			
				|  |  | +    // 删除音节
 | 
	
		
			
				|  |  | +    deleteyinjie(index, yjIndex) {
 | 
	
		
			
				|  |  | +      if (this.curQue[index].option.length <= 1) {
 | 
	
		
			
				|  |  | +        this.$message.warning("至少要保留1个音节");
 | 
	
		
			
				|  |  | +        return;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | +      this.curQue[index].option.splice(yjIndex, 1);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    // 增加答案
 | 
	
		
			
				|  |  | -    addanswer(index) {
 | 
	
		
			
				|  |  | -      let obj;
 | 
	
		
			
				|  |  | -      if (this.type == "zi_transverse_line_chs") {
 | 
	
		
			
				|  |  | -        obj = JSON.parse(
 | 
	
		
			
				|  |  | -          JSON.stringify(this.data_structure4.option[0].answer[0])
 | 
	
		
			
				|  |  | -        );
 | 
	
		
			
				|  |  | -        this.curQue.option[index].answer.push(obj);
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | +    onBlur(item, field) {
 | 
	
		
			
				|  |  | +      item[field] = item[field] ? item[field].trim() : "";
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    // 删除答案
 | 
	
		
			
				|  |  | -    deleteanswer(aindex, index) {
 | 
	
		
			
				|  |  | -      if (this.type == "zi_transverse_line_chs") {
 | 
	
		
			
				|  |  | -        if (this.curQue.option[index].answer.length <= 1) {
 | 
	
		
			
				|  |  | -          this.$message.warning("至少要保留1个答案");
 | 
	
		
			
				|  |  | +    // 删除其中一个选项
 | 
	
		
			
				|  |  | +    deleteOptionOne(index) {
 | 
	
		
			
				|  |  | +      if (this.type == "listen_record_single_syllable_chs") {
 | 
	
		
			
				|  |  | +        if (this.curQue[index].option.length <= 1) {
 | 
	
		
			
				|  |  | +          this.$message.warning("至少要保留1个选项");
 | 
	
		
			
				|  |  |            return;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        this.curQue.option[index].answer.splice(aindex, 1);
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -    },
 | 
	
		
			
				|  |  | -    // 删除其中一个选项
 | 
	
		
			
				|  |  | -    deleteOptionOne(index) {
 | 
	
		
			
				|  |  |        if (this.curQue.option.length <= 1) {
 | 
	
		
			
				|  |  |          this.$message.warning("至少要保留1个选项");
 | 
	
		
			
				|  |  |          return;
 | 
	
	
		
			
				|  | @@ -419,14 +303,14 @@ export default {
 | 
	
		
			
				|  |  |        let obj;
 | 
	
		
			
				|  |  |        if (this.type == "newWord_preview_chs") {
 | 
	
		
			
				|  |  |          obj = JSON.parse(JSON.stringify(this.data_structure2.option[0]));
 | 
	
		
			
				|  |  | +        this.curQue.option.push(obj);
 | 
	
		
			
				|  |  |        } else if (this.type == "text_problem_chs") {
 | 
	
		
			
				|  |  |          obj = JSON.parse(JSON.stringify(this.data_structure.option[0]));
 | 
	
		
			
				|  |  | +        this.curQue.option.push(obj);
 | 
	
		
			
				|  |  |        } else if (this.type == "listen_record_single_syllable_chs") {
 | 
	
		
			
				|  |  | -        obj = JSON.parse(JSON.stringify(this.data_structure3.option[0]));
 | 
	
		
			
				|  |  | -      } else if (this.type == "zi_transverse_line_chs") {
 | 
	
		
			
				|  |  | -        obj = JSON.parse(JSON.stringify(this.data_structure4.option[0]));
 | 
	
		
			
				|  |  | +        obj = JSON.parse(JSON.stringify(this.data_structure3[0]));
 | 
	
		
			
				|  |  | +        this.curQue.push(obj);
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      this.curQue.option.push(obj);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      initcurQue() {
 | 
	
		
			
				|  |  |        let data;
 | 
	
	
		
			
				|  | @@ -436,8 +320,6 @@ export default {
 | 
	
		
			
				|  |  |          data = JSON.parse(JSON.stringify(this.data_structure));
 | 
	
		
			
				|  |  |        } else if (this.type == "listen_record_single_syllable_chs") {
 | 
	
		
			
				|  |  |          data = JSON.parse(JSON.stringify(this.data_structure3));
 | 
	
		
			
				|  |  | -      } else if (this.type == "zi_transverse_line_chs") {
 | 
	
		
			
				|  |  | -        data = JSON.parse(JSON.stringify(this.data_structure4));
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        this.changeCurQue(data);
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -460,6 +342,24 @@ export default {
 | 
	
		
			
				|  |  |          JSON.stringify(articleImgRes)
 | 
	
		
			
				|  |  |        );
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    changeImage(fileList, item, index) {
 | 
	
		
			
				|  |  | +      const articleImgList = JSON.parse(JSON.stringify(fileList));
 | 
	
		
			
				|  |  | +      const articleImgRes = [];
 | 
	
		
			
				|  |  | +      articleImgList.forEach((item) => {
 | 
	
		
			
				|  |  | +        if (item.response) {
 | 
	
		
			
				|  |  | +          const obj = {
 | 
	
		
			
				|  |  | +            name: item.name,
 | 
	
		
			
				|  |  | +            url: item.response.file_info_list[0].file_url,
 | 
	
		
			
				|  |  | +            id: "[FID##" + item.response.file_info_list[0].file_id + "##FID]",
 | 
	
		
			
				|  |  | +            media_duration: item.response.file_info_list[0].media_duration, //音频时长
 | 
	
		
			
				|  |  | +          };
 | 
	
		
			
				|  |  | +          articleImgRes.push(obj);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  | +      this.curQue.option[index].img_list = JSON.parse(
 | 
	
		
			
				|  |  | +        JSON.stringify(articleImgRes)
 | 
	
		
			
				|  |  | +      );
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      // 题目的音频
 | 
	
		
			
				|  |  |      timuchangeMp3(fileList) {
 | 
	
		
			
				|  |  |        const articleImgList = JSON.parse(JSON.stringify(fileList));
 |