|
|
@@ -24,7 +24,7 @@
|
|
|
: '',
|
|
|
]"
|
|
|
:style="{
|
|
|
- fontSize: data.unified_attrib && data.unified_attrib.font_size ? data.unified_attrib.font_size : '',
|
|
|
+ fontSize: data.unified_attrib && data.unified_attrib.pinyin_size ? data.unified_attrib.pinyin_size : '',
|
|
|
}"
|
|
|
>
|
|
|
<span v-if="data.content_hz" class="items-hz">{{ convertText(data.content_hz) }}</span>
|
|
|
@@ -39,7 +39,21 @@
|
|
|
v-if="itemc.type === 'input'"
|
|
|
v-model="itemc.con"
|
|
|
:disabled="disabled"
|
|
|
- :style="[{ width: Math.max(20, itemc.con.length * 10) + 'px' }]"
|
|
|
+ :style="[
|
|
|
+ {
|
|
|
+ width: Math.max(20, itemc.con.length * 10) + 'px',
|
|
|
+ fontSize:
|
|
|
+ data.unified_attrib && data.unified_attrib.pinyin_size ? data.unified_attrib.pinyin_size : '',
|
|
|
+ '--input-color':
|
|
|
+ data.unified_attrib && data.unified_attrib.text_color
|
|
|
+ ? data.unified_attrib.text_color
|
|
|
+ : '#1d2129',
|
|
|
+ color:
|
|
|
+ data.unified_attrib && data.unified_attrib.text_color
|
|
|
+ ? data.unified_attrib.text_color
|
|
|
+ : '#1d2129',
|
|
|
+ },
|
|
|
+ ]"
|
|
|
class="item-input"
|
|
|
@blur="onInputChange(itemc)"
|
|
|
/>
|
|
|
@@ -181,7 +195,8 @@
|
|
|
<div
|
|
|
class="option-content"
|
|
|
:style="{
|
|
|
- fontSize: data.unified_attrib && data.unified_attrib.font_size ? data.unified_attrib.font_size : '',
|
|
|
+ fontSize:
|
|
|
+ data.unified_attrib && data.unified_attrib.pinyin_size ? data.unified_attrib.pinyin_size : '',
|
|
|
}"
|
|
|
>
|
|
|
<span v-if="data.content_hz" class="items-hz">{{ convertText(data.content_hz) }}</span>
|
|
|
@@ -196,7 +211,23 @@
|
|
|
v-if="itemc.type === 'input'"
|
|
|
v-model="itemc.answer"
|
|
|
:disabled="true"
|
|
|
- :style="[{ width: Math.max(20, itemc.answer.length * 10) + 'px' }]"
|
|
|
+ :style="[
|
|
|
+ {
|
|
|
+ width: Math.max(20, itemc.answer.length * 10) + 'px',
|
|
|
+ fontSize:
|
|
|
+ data.unified_attrib && data.unified_attrib.pinyin_size
|
|
|
+ ? data.unified_attrib.pinyin_size
|
|
|
+ : '',
|
|
|
+ '--input-color':
|
|
|
+ data.unified_attrib && data.unified_attrib.text_color
|
|
|
+ ? data.unified_attrib.text_color
|
|
|
+ : '#1d2129',
|
|
|
+ color:
|
|
|
+ data.unified_attrib && data.unified_attrib.text_color
|
|
|
+ ? data.unified_attrib.text_color
|
|
|
+ : '#1d2129',
|
|
|
+ },
|
|
|
+ ]"
|
|
|
class="item-input"
|
|
|
/>
|
|
|
<span v-else>{{ itemc.con }}</span>
|
|
|
@@ -934,12 +965,13 @@ export default {
|
|
|
:deep .el-input__inner {
|
|
|
padding: 0;
|
|
|
font-family: 'League';
|
|
|
- font-size: 16px;
|
|
|
- color: #1d2129;
|
|
|
+ color: '#000';
|
|
|
+
|
|
|
+ // font-size: 16px;
|
|
|
text-align: center;
|
|
|
background-color: transparent;
|
|
|
border-width: 0;
|
|
|
- border-bottom: 1px solid #1d2129;
|
|
|
+ border-bottom: 1px solid #000;
|
|
|
border-radius: 0;
|
|
|
}
|
|
|
}
|