|
|
@@ -6,8 +6,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="ti_title">
|
|
|
- <div class="ti_t_input" contenteditable="true" v-text="jsonData.answerQ"
|
|
|
- @input="setTestTitle($event.target.innerText)"></div>
|
|
|
+ <el-input class="ti_t_input" type="textarea" v-model="jsonData.answerQ" @input="setTestTitle"></el-input>
|
|
|
<div class="uploadImage" @click="uploadImage()">
|
|
|
<svg viewBox="0 0 1024 1024" version="1.1" p-id="15953" width="200" height="200">
|
|
|
<path
|
|
|
@@ -265,13 +264,27 @@ export default {
|
|
|
border: none;
|
|
|
outline: none;
|
|
|
background: none;
|
|
|
- font-size: .8rem;
|
|
|
+ font-size: 1.2rem;
|
|
|
resize: none;
|
|
|
- max-height:10rem;
|
|
|
- overflow:auto;
|
|
|
+ /* max-height: 10rem; */
|
|
|
+ overflow: auto;
|
|
|
/* padding-right: 2rem; */
|
|
|
}
|
|
|
|
|
|
+.ti_t_input /deep/ .el-textarea__inner {
|
|
|
+ padding: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ box-sizing: border-box;
|
|
|
+ border: none;
|
|
|
+ outline: none;
|
|
|
+ background: none;
|
|
|
+ font-size: 1.2rem;
|
|
|
+ resize: none;
|
|
|
+ /* max-height: 10rem; */
|
|
|
+ overflow: auto;
|
|
|
+}
|
|
|
+
|
|
|
.uploadImage {
|
|
|
position: absolute;
|
|
|
bottom: 0.5rem;
|