|
@@ -31,7 +31,10 @@
|
|
|
</div>
|
|
|
<div v-if="item.type == 'SAQ'">
|
|
|
<div class="itemTitle">{{ index + 1 }}. {{ item.description }}<el-tag class="elTag" size="small" type="danger">问答</el-tag></div>
|
|
|
- <el-input type="textarea" :rows="6" maxlength="200" show-word-limit placeholder="请输入内容" v-model="item.comment"></el-input>
|
|
|
+ <div v-if="data.interactUserStatus != 0" class="myText">
|
|
|
+ {{ item.comment }}
|
|
|
+ </div>
|
|
|
+ <el-input v-else type="textarea" :rows="6" maxlength="200" show-word-limit placeholder="请输入内容" v-model="item.comment"></el-input>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="data.interactUserStatus == 0" class="footBut">
|
|
@@ -139,6 +142,21 @@ export default {
|
|
|
}
|
|
|
</script>
|
|
|
<style scoped>
|
|
|
+.myText {
|
|
|
+ display: block;
|
|
|
+ resize: vertical;
|
|
|
+ padding: 5px 15px;
|
|
|
+ line-height: 1.5;
|
|
|
+ box-sizing: border-box;
|
|
|
+ width: 100%;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #606266;
|
|
|
+ background-color: #FFF;
|
|
|
+ background-image: none;
|
|
|
+ border: 1px solid #DCDFE6;
|
|
|
+ border-radius: 4px;
|
|
|
+ transition: border-color .2s cubic-bezier(.645,.045,.355,1);
|
|
|
+}
|
|
|
.myRadio{
|
|
|
display: flex;
|
|
|
justify-content: center;
|