Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
435c34bf28
@ -33,6 +33,14 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="素材名称" prop="materialsName">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.materialsName"
|
||||||
|
placeholder="请输入素材名称"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<!-- <el-form-item label="素材来源" prop="materialsName">
|
<!-- <el-form-item label="素材来源" prop="materialsName">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="queryParams.materialsName"
|
v-model="queryParams.materialsName"
|
||||||
@ -117,14 +125,14 @@
|
|||||||
alt=""
|
alt=""
|
||||||
v-if="item.videoCoverFilePath && item.materialsFilePath"
|
v-if="item.videoCoverFilePath && item.materialsFilePath"
|
||||||
/>
|
/>
|
||||||
<div class="texttitle">{{ item.name }}</div>
|
<div class="texttitle">{{ item.materialsName }}</div>
|
||||||
<div class="dataliat">
|
<div class="dataliat">
|
||||||
创建人/创建时间:<span>{{ item.createBy }}</span
|
创建人/创建时间:<span>{{ item.createBy }}</span
|
||||||
>/<span>{{ item.createTime }}</span>
|
>/<span>{{ item.createTime }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="dataliat">素材来源:</div>
|
<div class="dataliat">素材来源:</div>
|
||||||
<!-- <div class="dataliat">标签:暂无</div> -->
|
<!-- <div class="dataliat">标签:暂无</div> -->
|
||||||
<div class="dataliat">
|
<div class="dataliat bq">
|
||||||
标签:
|
标签:
|
||||||
|
|
||||||
<span v-if="item.indications">{{ item.indications }},</span>
|
<span v-if="item.indications">{{ item.indications }},</span>
|
||||||
@ -156,14 +164,17 @@
|
|||||||
<el-dialog
|
<el-dialog
|
||||||
:title="title"
|
:title="title"
|
||||||
:visible.sync="open"
|
:visible.sync="open"
|
||||||
width="500px"
|
width="800px"
|
||||||
append-to-body
|
append-to-body
|
||||||
v-if="open"
|
v-if="open"
|
||||||
>
|
>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px" >
|
<el-form
|
||||||
<el-form-item label="素材名称" prop="materialsName">
|
ref="form"
|
||||||
<el-input v-model="form.materialsName" placeholder="请输入素材名称" />
|
:model="form"
|
||||||
</el-form-item>
|
:rules="rules"
|
||||||
|
label-width="110px"
|
||||||
|
:inline="true"
|
||||||
|
>
|
||||||
<el-form-item label="素材类型" prop="materialsType">
|
<el-form-item label="素材类型" prop="materialsType">
|
||||||
<el-radio
|
<el-radio
|
||||||
v-model="form.materialsType"
|
v-model="form.materialsType"
|
||||||
@ -178,6 +189,12 @@
|
|||||||
>视频</el-radio
|
>视频</el-radio
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<br />
|
||||||
|
<el-form-item label="素材名称" prop="materialsName">
|
||||||
|
<el-input v-model="form.materialsName" placeholder="请输入素材名称" />
|
||||||
|
</el-form-item>
|
||||||
|
<br />
|
||||||
|
|
||||||
<el-form-item
|
<el-form-item
|
||||||
label="素材上传"
|
label="素材上传"
|
||||||
prop="materialsFilePath"
|
prop="materialsFilePath"
|
||||||
@ -215,11 +232,15 @@
|
|||||||
|
|
||||||
<el-form-item label="素材摘要" prop="materialsAbstract">
|
<el-form-item label="素材摘要" prop="materialsAbstract">
|
||||||
<el-input
|
<el-input
|
||||||
|
style="width: 530px"
|
||||||
v-model="form.materialsAbstract"
|
v-model="form.materialsAbstract"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
placeholder="请输入内容"
|
placeholder="请输入内容"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<div style="margin: 20px; font-weight: 700; font-size: 18px">
|
||||||
|
标签管理
|
||||||
|
</div>
|
||||||
|
|
||||||
<el-form-item label="适用症状" prop="indications">
|
<el-form-item label="适用症状" prop="indications">
|
||||||
<el-input v-model="form.indications" placeholder="请输入适用症状" />
|
<el-input v-model="form.indications" placeholder="请输入适用症状" />
|
||||||
@ -249,7 +270,7 @@
|
|||||||
<el-select
|
<el-select
|
||||||
v-model="form.crowName"
|
v-model="form.crowName"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
style="width: 381px"
|
style="width: 206px"
|
||||||
@change="crowNamechange"
|
@change="crowNamechange"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
@ -436,7 +457,7 @@ export default {
|
|||||||
if (e == 'VIDEO') {
|
if (e == 'VIDEO') {
|
||||||
this.form.materialsFilePath = null
|
this.form.materialsFilePath = null
|
||||||
this.form.videoCoverFilePath = null
|
this.form.videoCoverFilePath = null
|
||||||
|
|
||||||
} else if (e == 'IMAGE_TEXT') {
|
} else if (e == 'IMAGE_TEXT') {
|
||||||
this.form.materialsFilePath = null
|
this.form.materialsFilePath = null
|
||||||
this.form.videoCoverFilePath = null
|
this.form.videoCoverFilePath = null
|
||||||
@ -642,6 +663,9 @@ export default {
|
|||||||
// top: -84px;
|
// top: -84px;
|
||||||
left: 8px;
|
left: 8px;
|
||||||
}
|
}
|
||||||
|
::v-deep .el-textarea__inner{
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
video {
|
video {
|
||||||
height: 500px;
|
height: 500px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -652,13 +676,15 @@ video {
|
|||||||
// background: #409eff;
|
// background: #409eff;
|
||||||
display: flex;
|
display: flex;
|
||||||
.left {
|
.left {
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
width: 77%;
|
width: 77%;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
// background: #989992;
|
// background: #989992;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
height: 100%;
|
// height: 100%;
|
||||||
width: 100%;
|
// width: 100%;
|
||||||
}
|
}
|
||||||
.right {
|
.right {
|
||||||
width: 20%;
|
width: 20%;
|
||||||
@ -691,6 +717,9 @@ video {
|
|||||||
// margin-bottom: 10px;
|
// margin-bottom: 10px;
|
||||||
margin: 6px;
|
margin: 6px;
|
||||||
.texttitle {
|
.texttitle {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
margin: 5px 0px 5px 10px;
|
margin: 5px 0px 5px 10px;
|
||||||
}
|
}
|
||||||
@ -703,6 +732,9 @@ video {
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #989992;
|
color: #989992;
|
||||||
}
|
}
|
||||||
|
.bq {
|
||||||
|
width: 155px;
|
||||||
|
}
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user