院士、人物视频上传支持第三方iframe

This commit is contained in:
jacky 2024-08-12 21:45:04 +08:00
parent 9bc148ae89
commit c301cca452
1 changed files with 3 additions and 48 deletions

View File

@ -24,11 +24,11 @@
无视频
</div>
<el-dialog v-model="dialogVisible" width="600" height="400" class="overlay" :show-close="false">
<el-dialog v-model="dialogVisible" width="600" :show-close="false">
<template #header>
<div>请输入第三方iframe代码</div>
</template>
<el-input v-model="newVideoCode" type="textarea" :rows="14" />
<el-input v-model="newVideoCode" type="textarea" :rows="12" />
<template #footer>
<span class="dialog-footer">
<el-button type="primary" @click="handleSubmit">确定</el-button>
@ -131,52 +131,7 @@ defineExpose({ uploadSuccess })
</script>
<style lang="scss">
.overlay {
border-radius: 4px;
.el-dialog__header {
padding: 0 !important;
margin-right: 0 !important;
}
.el-dialog__body {
padding: 12px !important;
height: 50vh;
overflow: auto !important;
}
.quick-title {
margin-top: 8px;
font-size: 12px;
font-weight: 600;
color: #666;
}
.quick-input {
color: #666;
border-radius: 4px 4px 0 0;
border: none;
padding: 12px 16px;
box-sizing: border-box;
width: 100%;
font-size: 16px;
border-bottom: 1px solid #ddd;
}
.quick-item {
font-size: 14px;
padding: 8px;
margin: 4px 0;
&:hover {
cursor: pointer;
background: #eee;
border-radius: 4px;
}
}
}
<style lang="scss" scoped>
.video-content {
line-height: 1.2;
}