|
@@ -14,6 +14,10 @@
|
|
|
<pre class="text-pre" @click="ImmediateAddition" v-html="value" />
|
|
|
</div>
|
|
|
<div :id="'inputUpload_'+id" style="display: none" @click.stop="blur_textarea" />
|
|
|
+ <div v-show="edit" class="control">
|
|
|
+ <el-button size="small" @click="edit=false">取消</el-button>
|
|
|
+ <el-button type="primary" size="small" @click.stop="blur_textarea">确定</el-button>
|
|
|
+ </div>
|
|
|
</article>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -121,6 +125,9 @@ export default {
|
|
|
}
|
|
|
</script>
|
|
|
<style scoped lang="scss">
|
|
|
+article {
|
|
|
+ padding: 20px 30px;
|
|
|
+}
|
|
|
.text-edit {
|
|
|
height: 30vh;
|
|
|
color: #666666;
|
|
@@ -141,4 +148,9 @@ export default {
|
|
|
width: calc(100% - 40px);
|
|
|
margin: auto;
|
|
|
}
|
|
|
+.control {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-end;
|
|
|
+ margin-top: 10px;
|
|
|
+}
|
|
|
</style>
|