|
@@ -16,15 +16,19 @@
|
|
|
<!-- 选项细分 -->
|
|
|
<div v-if="isEnable(data.property.is_option_subdivision)" class="option-subdivision">
|
|
|
<ul v-for="(item, i) in data.option_list" :key="item.mark" class="option-subdivision-list">
|
|
|
- <span class="serial-number" :style="{ fontSize: data.property.option_question_number_font_size }">
|
|
|
- {{
|
|
|
- isEnable(isEnableManualModify)
|
|
|
- ? item.custom_number
|
|
|
- ? `${item.custom_number}.`
|
|
|
- : ''
|
|
|
- : computeOptionMethods[data.option_number_show_mode](i)
|
|
|
- }}
|
|
|
- </span>
|
|
|
+ <div class="option-subdivision-top">
|
|
|
+ <span class="serial-number" :style="{ fontSize: data.property.option_question_number_font_size }">
|
|
|
+ {{
|
|
|
+ isEnable(isEnableManualModify)
|
|
|
+ ? item.custom_number
|
|
|
+ ? `${item.custom_number}.`
|
|
|
+ : ''
|
|
|
+ : computeOptionMethods[data.option_number_show_mode](i)
|
|
|
+ }}
|
|
|
+ </span>
|
|
|
+
|
|
|
+ <span class="rich-text" v-html="sanitizeHTML(item.stem)"></span>
|
|
|
+ </div>
|
|
|
<li
|
|
|
v-for="{ content, mark } in item.data_list"
|
|
|
:key="mark"
|
|
@@ -299,17 +303,29 @@ export default {
|
|
|
flex-direction: column;
|
|
|
row-gap: 24px;
|
|
|
|
|
|
- &-list {
|
|
|
- @extend %option-list;
|
|
|
+ .option-subdivision-top {
|
|
|
+ display: flex;
|
|
|
+ column-gap: 24px;
|
|
|
+ align-items: center;
|
|
|
+ width: 100%;
|
|
|
|
|
|
- .serial-number {
|
|
|
- font-size: 16pt;
|
|
|
+ .rich-text {
|
|
|
+ flex: 1;
|
|
|
}
|
|
|
+ }
|
|
|
+
|
|
|
+ &-list {
|
|
|
+ @extend %option-list;
|
|
|
|
|
|
flex-direction: row;
|
|
|
+ flex-flow: wrap;
|
|
|
column-gap: 24px;
|
|
|
align-items: center;
|
|
|
|
|
|
+ .serial-number {
|
|
|
+ font-size: 16pt;
|
|
|
+ }
|
|
|
+
|
|
|
.option-item {
|
|
|
flex: 1;
|
|
|
}
|