From e1aa0ecffbabd618c71e4ad94370fb8dffe6ee1c Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期日, 21 一月 2024 20:54:49 +0800 Subject: [PATCH] 优化 --- src/views/operate/video/updateInterface/index.vue | 36 +++++++++--------------------------- 1 files changed, 9 insertions(+), 27 deletions(-) diff --git a/src/views/operate/video/updateInterface/index.vue b/src/views/operate/video/updateInterface/index.vue index d6f3380..f10f017 100644 --- a/src/views/operate/video/updateInterface/index.vue +++ b/src/views/operate/video/updateInterface/index.vue @@ -1,26 +1,6 @@ <template> <div class="updateUser"> <el-form label-position="right" label-width="150px" :model="videoData" :rules="rules" :disabled="isDisabled" ref="user"> - <el-form-item prop="belongToId" label="鎵�灞炰簨浠剁紪鍙�"> - <el-input v-model="videoData.belongToId"></el-input> - </el-form-item> - <el-form-item prop="eventSource" label="浜嬩欢鏉ユ簮"> - <el-input v-model="videoData.eventSource"></el-input> - </el-form-item> - <el-form-item prop="category" label="闂绫诲埆"> - <el-input v-model="videoData.category"></el-input> - </el-form-item> - <el-form-item prop="type" label="绫诲瀷"> - <el-select v-model="videoData.type"> - <el-option v-for="item in getResourceType()" :key="item.value" :label="item.label" :value="item.value" /> - </el-select> - </el-form-item> - <el-form-item prop="regionName" label="绀惧尯鍚嶇О"> - <el-input v-model="videoData.regionName"></el-input> - </el-form-item> - <el-form-item prop="id" label="瑙嗛Id"> - <el-input v-model="videoData.id"></el-input> - </el-form-item> <el-form-item prop="url" label="瑙嗛" min-width="8"> <template v-if="videoList" > <div class="video-cover" v-for="video in videoList" :key="video"> @@ -33,7 +13,7 @@ class="avatar-uploader" action="" ref="image" - limit="4" + :limit="4" :show-file-list="false" :auto-upload="true" :http-request="videoUpload"> @@ -100,6 +80,7 @@ delete params.eventSource; delete params.id; params.belongToId = +params.belongToId; + params.type="03" if (this.isUpdate && !this.dialogData) { videoManagement.addVideoResource(params) .then(() => { @@ -161,7 +142,7 @@ <style lang="scss" scoped> .updateUser { border-radius: 1px; - background-color: #09152f; + // background-color: #09152f; display: flex; justify-content: center; align-items: center; @@ -175,18 +156,19 @@ background-color: #ffffff; opacity: .6; .video-delete-icon { - display: inline; + display: block; opacity: 1; } } .video-delete-icon { - position: relative; + position: absolute; color: red; - left: calc(100% - 150px); - top: calc(100% - 95px); + left: calc(100% - 160px); + top: calc(100% - 150px); z-index: 2; height: 14px; + font-size: 24px; display: none; } @@ -200,7 +182,7 @@ } .updateUser::v-deep .el-input__inner { - background-color: #09152f; + // background-color: #09152f; border: 1px solid #17324c; } -- Gitblit v1.8.0