|
@@ -1,11 +1,11 @@
|
|
|
<!-- -->
|
|
|
<template>
|
|
|
<div class="Big-Book-SentenceModule" v-if="curQueItem">
|
|
|
- <div class="Big-Book-top">
|
|
|
- <span class="NPC-lable-80">序号</span>
|
|
|
+ <div class="adult-book-input-item">
|
|
|
+ <span class="adult-book-lable">序号:</span>
|
|
|
<el-input
|
|
|
- type="textarea"
|
|
|
- autosize
|
|
|
+ size="small"
|
|
|
+ class="adult-book-input"
|
|
|
placeholder="请输入序号"
|
|
|
v-model="curQueItem.number"
|
|
|
@blur="onBlur(curQueItem, 'number')"
|
|
@@ -22,51 +22,53 @@
|
|
|
<div class="NPC-sentence-Segword">
|
|
|
<SentenceSegwordChs :curQue="curQueItem.detail" />
|
|
|
</div>
|
|
|
- <div class="Big-Book-top" v-if="type == 'sentence_input'">
|
|
|
- <span class="NPC-lable-80">答案</span>
|
|
|
+ <div class="adult-book-input-item" v-if="type == 'sentence_input'">
|
|
|
+ <span class="adult-book-lable">答案:</span>
|
|
|
<div
|
|
|
class="NPC-sentence-input-box"
|
|
|
v-for="(ansItem, ansIndex) in curQueItem.answer"
|
|
|
:key="'answer' + ansIndex"
|
|
|
>
|
|
|
<el-input
|
|
|
- class="NPC-sentence-input"
|
|
|
+ class="adult-book-input"
|
|
|
type="textarea"
|
|
|
autosize
|
|
|
placeholder="请输入答案"
|
|
|
v-model="curQueItem.answer[ansIndex]"
|
|
|
@blur="onBlurIndex(ansIndex, 'answer')"
|
|
|
></el-input>
|
|
|
- <i class="el-icon-circle-close"></i>
|
|
|
+ <div class="adult-book-del-icon">
|
|
|
+ <i class="el-icon-circle-close"></i>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="Big-Book-top" style="padding-left: 100px">
|
|
|
+ <div class="adult-book-input-item" style="padding-left: 80px">
|
|
|
<el-button size="mini" type="primary" icon="el-icon-plus"
|
|
|
>添加答案</el-button
|
|
|
>
|
|
|
</div>
|
|
|
- <div class="Big-Book-top" v-if="type == 'sentence_judge'">
|
|
|
- <span class="NPC-lable-80">判断:</span>
|
|
|
+ <div class="adult-book-input-item" v-if="type == 'sentence_judge'">
|
|
|
+ <span class="adult-book-lable">判断:</span>
|
|
|
<el-radio v-model="curQueItem.judge" :label="true">正确</el-radio>
|
|
|
<el-radio v-model="curQueItem.judge" :label="false">错误</el-radio>
|
|
|
</div>
|
|
|
- <div class="Big-Book-top" v-if="type == 'sentence_record'">
|
|
|
- <span class="NPC-lable-80">录音组件:</span>
|
|
|
+ <div class="adult-book-input-item" v-if="type == 'sentence_record'">
|
|
|
+ <span class="adult-book-lable">录音组件:</span>
|
|
|
<img src="../../../assets/adult/mini.png" alt="" />
|
|
|
</div>
|
|
|
- <div class="Big-Book-top" v-if="type == 'recordHZ_inputPY_chs'">
|
|
|
+ <div class="adult-book-input-item" v-if="type == 'recordHZ_inputPY_chs'">
|
|
|
<span>录音</span>
|
|
|
<el-radio v-model="curQueItem.IsRecord" :label="true">需要</el-radio>
|
|
|
<el-radio v-model="curQueItem.IsRecord" :label="false">不需要</el-radio>
|
|
|
</div>
|
|
|
<div
|
|
|
- class="Big-Book-top"
|
|
|
+ class="adult-book-input-item"
|
|
|
v-if="type == 'recordHZ_inputPY_chs' && curQueItem.IsRecord"
|
|
|
>
|
|
|
<img src="../../../assets/adult/pro-plus.png" alt="" />
|
|
|
</div>
|
|
|
- <div class="Big-Book-top" v-if="type == 'inputItem_chs'">
|
|
|
- <span class="NPC-lable-80">音频</span>
|
|
|
+ <div class="adult-book-input-item" v-if="type == 'inputItem_chs'">
|
|
|
+ <span class="adult-book-lable">音频</span>
|
|
|
<Upload
|
|
|
:changeFillId="changeMp3"
|
|
|
:datafileList="fileCon.mp3_list"
|
|
@@ -240,9 +242,6 @@ export default {
|
|
|
justify-content: flex-start;
|
|
|
align-items: center;
|
|
|
margin-top: 10px;
|
|
|
- > span {
|
|
|
- width: 50px;
|
|
|
- }
|
|
|
.deleteOptionBox {
|
|
|
width: 40px;
|
|
|
height: 33px;
|
|
@@ -254,22 +253,13 @@ export default {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
}
|
|
|
- .Big-Book-input {
|
|
|
- display: flex;
|
|
|
- justify-content: flex-start;
|
|
|
- align-items: center;
|
|
|
- > span {
|
|
|
- line-height: 32px;
|
|
|
- margin-right: 6px;
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
&-SentenceModule {
|
|
|
// display: flex;
|
|
|
// justify-content: flex-start;
|
|
|
// align-items: center;
|
|
|
- > .Big-Book-top {
|
|
|
+ > .adult-book-input-item {
|
|
|
display: flex;
|
|
|
justify-content: flex-start;
|
|
|
align-items: center;
|
|
@@ -303,18 +293,6 @@ export default {
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="scss">
|
|
|
-.Big-Book-SentenceModule {
|
|
|
- .el-textarea {
|
|
|
- width: 400px;
|
|
|
- // margin-right: 15px;
|
|
|
- }
|
|
|
-}
|
|
|
-.Big-Book-input {
|
|
|
- .el-textarea {
|
|
|
- width: 160px;
|
|
|
- // margin-right: 15px;
|
|
|
- }
|
|
|
-}
|
|
|
.NPC-sentence-input-box {
|
|
|
.NPC-sentence-input {
|
|
|
margin-right: 10px;
|