|  | @@ -7,37 +7,25 @@
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |      <div v-if="isEnable(data.property.is_enable_description)" class="description">{{ data.description }}</div>
 | 
	
		
			
				|  |  |      <div class="content">
 | 
	
		
			
				|  |  | -      <div class="content-left">
 | 
	
		
			
				|  |  | -        <el-carousel
 | 
	
		
			
				|  |  | -          type="card"
 | 
	
		
			
				|  |  | -          height="276px"
 | 
	
		
			
				|  |  | -          :autoplay="false"
 | 
	
		
			
				|  |  | -          indicator-position="none"
 | 
	
		
			
				|  |  | -          arrow="always"
 | 
	
		
			
				|  |  | -          @change="changeImg"
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | -          <el-carousel-item v-for="(item, index) in data.option_list" :key="index">
 | 
	
		
			
				|  |  | -            <el-image
 | 
	
		
			
				|  |  | -              v-if="pic_list[item.picture_file_id]"
 | 
	
		
			
				|  |  | -              style="width: 370px; height: 276px"
 | 
	
		
			
				|  |  | -              :src="pic_list[item.picture_file_id]"
 | 
	
		
			
				|  |  | -              fit="contain"
 | 
	
		
			
				|  |  | -            />
 | 
	
		
			
				|  |  | -          </el-carousel-item>
 | 
	
		
			
				|  |  | -        </el-carousel>
 | 
	
		
			
				|  |  | -        <h3 class="pic-title" v-html="sanitizeHTML(data.option_list[active_index].picture_title)"></h3>
 | 
	
		
			
				|  |  | -        <p class="pic-info" v-html="sanitizeHTML(data.option_list[active_index].picture_info)"></p>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        <template v-if="isEnable(data.property.is_enable_voice_answer)">
 | 
	
		
			
				|  |  | -          <!-- 语音作答 -->
 | 
	
		
			
				|  |  | -          <SoundRecordPreview :wav-blob.sync="answer_list[active_index].audio_file_id" />
 | 
	
		
			
				|  |  | -        </template>
 | 
	
		
			
				|  |  | +      <div class="content-item" v-for="(item, index) in data.option_list" :key="index">
 | 
	
		
			
				|  |  | +        <el-image
 | 
	
		
			
				|  |  | +          v-if="pic_list[item.picture_file_id]"
 | 
	
		
			
				|  |  | +          style="width: 370px; height: 238px"
 | 
	
		
			
				|  |  | +          :src="pic_list[item.picture_file_id]"
 | 
	
		
			
				|  |  | +          fit="contain"
 | 
	
		
			
				|  |  | +        />
 | 
	
		
			
				|  |  | +        <h3 class="pic-title" v-html="sanitizeHTML(item.picture_title)"></h3>
 | 
	
		
			
				|  |  | +        <p class="pic-info" v-html="sanitizeHTML(item.picture_info)"></p>
 | 
	
		
			
				|  |  | +        <!-- 语音作答 -->
 | 
	
		
			
				|  |  | +        <div class="sound-box" v-if="isEnable(data.property.is_enable_voice_answer)">
 | 
	
		
			
				|  |  | +          <SoundRecordPreview :wav-blob.sync="answer_list[index].audio_file_id" type="small" />
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        <div v-if="isEnable(data.property.is_enable_reference_answer)" class="reference-box">
 | 
	
		
			
				|  |  | +          <h5 class="reference-title">参考答案</h5>
 | 
	
		
			
				|  |  | +          <span class="reference-answer" v-html="sanitizeHTML(item.reference_answer)"></span>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  | -      <div class="content-right"></div>
 | 
	
		
			
				|  |  | -    </div>
 | 
	
		
			
				|  |  | -    <div v-if="isEnable(data.property.is_enable_reference_answer) && 1 === 2" class="reference-box">
 | 
	
		
			
				|  |  | -      <h5 class="reference-title">参考答案</h5>
 | 
	
		
			
				|  |  | -      <span class="reference-answer" v-html="sanitizeHTML(data.option_list[active_index].reference_answer)"></span>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
	
		
			
				|  | @@ -102,52 +90,31 @@ export default {
 | 
	
		
			
				|  |  |    .content {
 | 
	
		
			
				|  |  |      display: flex;
 | 
	
		
			
				|  |  |      column-gap: 24px;
 | 
	
		
			
				|  |  | +    width: 100%;
 | 
	
		
			
				|  |  | +    overflow: auto;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    .pic-title {
 | 
	
		
			
				|  |  | +      margin: 8px 0 4px;
 | 
	
		
			
				|  |  | +      font-size: 12px;
 | 
	
		
			
				|  |  | +      font-weight: 600;
 | 
	
		
			
				|  |  | +      line-height: 20px;
 | 
	
		
			
				|  |  | +      color: #000;
 | 
	
		
			
				|  |  | +      word-break: break-word;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    &-left {
 | 
	
		
			
				|  |  | -      flex-shrink: 0;
 | 
	
		
			
				|  |  | -      width: 478px;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -      :deep .el-carousel__item--card {
 | 
	
		
			
				|  |  | -        width: 77%;
 | 
	
		
			
				|  |  | -        margin-left: -13.5%;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -      .el-image {
 | 
	
		
			
				|  |  | -        opacity: 0.2;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -      :deep .el-carousel__arrow:focus {
 | 
	
		
			
				|  |  | -        outline: none;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -      .el-carousel__item--card.is-active {
 | 
	
		
			
				|  |  | -        .el-image {
 | 
	
		
			
				|  |  | -          background: #fff;
 | 
	
		
			
				|  |  | -          opacity: 1;
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -      .pic-title {
 | 
	
		
			
				|  |  | -        margin: 8px 0 4px;
 | 
	
		
			
				|  |  | -        font-size: 12px;
 | 
	
		
			
				|  |  | -        font-weight: 600;
 | 
	
		
			
				|  |  | -        line-height: 20px;
 | 
	
		
			
				|  |  | -        color: #000;
 | 
	
		
			
				|  |  | -        word-break: break-word;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -      .pic-info {
 | 
	
		
			
				|  |  | -        margin: 0;
 | 
	
		
			
				|  |  | -        font-size: 12px;
 | 
	
		
			
				|  |  | -        font-weight: 400;
 | 
	
		
			
				|  |  | -        line-height: 20px;
 | 
	
		
			
				|  |  | -        color: #000;
 | 
	
		
			
				|  |  | -        word-break: break-word;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | +    .pic-info {
 | 
	
		
			
				|  |  | +      margin: 0;
 | 
	
		
			
				|  |  | +      font-size: 12px;
 | 
	
		
			
				|  |  | +      font-weight: 400;
 | 
	
		
			
				|  |  | +      line-height: 20px;
 | 
	
		
			
				|  |  | +      color: #000;
 | 
	
		
			
				|  |  | +      word-break: break-word;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      .sound-record-wrapper {
 | 
	
		
			
				|  |  | -      margin-top: 8px;
 | 
	
		
			
				|  |  | +      :deep .sound-item-btn {
 | 
	
		
			
				|  |  | +        background-color: #fff;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      &-right {
 | 
	
	
		
			
				|  | @@ -162,6 +129,7 @@ export default {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    .reference-box {
 | 
	
		
			
				|  |  |      padding: 12px;
 | 
	
		
			
				|  |  | +    margin-top: 8px;
 | 
	
		
			
				|  |  |      background: #f9f8f9;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      .reference-title {
 | 
	
	
		
			
				|  | @@ -172,5 +140,13 @@ export default {
 | 
	
		
			
				|  |  |        color: #4e5969;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  .sound-box {
 | 
	
		
			
				|  |  | +    width: max-content;
 | 
	
		
			
				|  |  | +    padding: 4px;
 | 
	
		
			
				|  |  | +    margin-top: 8px;
 | 
	
		
			
				|  |  | +    background: $content-color;
 | 
	
		
			
				|  |  | +    border-radius: 40px;
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  </style>
 |