Jelajahi Sumber

录播课移动目录

natasha 1 tahun lalu
induk
melakukan
a4d6443f6e

+ 3 - 0
src/icons/svg/doc.svg

@@ -0,0 +1,3 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M11.334 12.6678H13.334V3.33446H11.334V2.00112H14.0007C14.3689 2.00112 14.6673 2.2996 14.6673 2.66779V13.3344C14.6673 13.7026 14.3689 14.0011 14.0007 14.0011H11.334V12.6678ZM1.90637 1.91935L10.2869 0.722142C10.4691 0.696109 10.6379 0.822742 10.664 1.00498C10.6662 1.0206 10.6673 1.03635 10.6673 1.05212V14.9501C10.6673 15.1342 10.5181 15.2834 10.334 15.2834C10.3182 15.2834 10.3025 15.2823 10.2869 15.2801L1.90637 14.0829C1.57794 14.036 1.33398 13.7547 1.33398 13.4229V2.57932C1.33398 2.24755 1.57794 1.96627 1.90637 1.91935ZM2.66732 3.15752V12.8447L9.33398 13.7971V2.20514L2.66732 3.15752ZM7.33398 5.33446H8.66732V10.6678H7.33398L6.00065 9.33444L4.66732 10.6678H3.33398V5.33446H4.66732L4.67454 8.66778L6.00065 7.33444L7.33398 8.66044V5.33446Z" fill="currentColor"/>
+</svg>

+ 10 - 0
src/icons/svg/jpg.svg

@@ -0,0 +1,10 @@
+<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_4620_122529)">
+<path d="M3.99935 7.40033L5.33268 6.067L8.99935 9.73367L11.3327 7.40033L13.3327 9.40033V3.33333H3.99935V7.40033ZM3.99935 9.28593V12.6667H6.06635L8.05655 10.6765L5.33268 7.9526L3.99935 9.28593ZM7.95195 12.6667H13.3327V11.2859L11.3327 9.28593L7.95195 12.6667ZM3.33268 2H13.9993C14.3675 2 14.666 2.29848 14.666 2.66667V13.3333C14.666 13.7015 14.3675 14 13.9993 14H3.33268C2.9645 14 2.66602 13.7015 2.66602 13.3333V2.66667C2.66602 2.29848 2.9645 2 3.33268 2ZM10.9993 6.66667C10.4471 6.66667 9.99935 6.21895 9.99935 5.66667C9.99935 5.11438 10.4471 4.66667 10.9993 4.66667C11.5516 4.66667 11.9993 5.11438 11.9993 5.66667C11.9993 6.21895 11.5516 6.66667 10.9993 6.66667Z" fill="currentColor"/>
+</g>
+<defs>
+<clipPath id="clip0_4620_122529">
+<rect width="16" height="16" fill="white" transform="translate(0.666016)"/>
+</clipPath>
+</defs>
+</svg>

+ 3 - 0
src/icons/svg/mp3.svg

@@ -0,0 +1,3 @@
+<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M11.0007 5.33594V6.66927H9.00065V9.66927C9.00065 10.5897 8.25445 11.3359 7.33398 11.3359C6.41351 11.3359 5.66732 10.5897 5.66732 9.66927C5.66732 8.7488 6.41351 8.0026 7.33398 8.0026C7.44812 8.0026 7.55958 8.01407 7.66732 8.03594V5.33594H10.334V2.66927H3.66732V13.3359H13.0007V5.33594H11.0007ZM2.33398 1.99714C2.33398 1.63197 2.63231 1.33594 2.99965 1.33594H11.0007L14.3338 4.66927L14.334 13.9976C14.334 14.3685 14.0374 14.6693 13.6717 14.6693H2.99625C2.63049 14.6693 2.33398 14.3657 2.33398 14.0081V1.99714Z" fill="currentColor"/>
+</svg>

+ 10 - 0
src/icons/svg/mp4.svg

@@ -0,0 +1,10 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_4620_122538)">
+<path d="M2 2.66227C2 2.29651 2.29663 2 2.66227 2H13.3377C13.7035 2 14 2.29663 14 2.66227V13.3377C14 13.7035 13.7034 14 13.3377 14H2.66227C2.29651 14 2 13.7034 2 13.3377V2.66227ZM3.33333 3.33333V12.6667H12.6667V3.33333H3.33333ZM7.08127 5.60973L10.3339 7.77813C10.4564 7.8598 10.4895 8.0254 10.4078 8.14793C10.3883 8.1772 10.3631 8.20233 10.3339 8.22187L7.08127 10.3903C6.95873 10.472 6.79313 10.4389 6.71147 10.3163C6.68227 10.2725 6.66667 10.2211 6.66667 10.1684V5.83161C6.66667 5.68433 6.78607 5.56494 6.93333 5.56494C6.986 5.56494 7.03747 5.58052 7.08127 5.60973Z" fill="currentColor"/>
+</g>
+<defs>
+<clipPath id="clip0_4620_122538">
+<rect width="16" height="16" fill="white"/>
+</clipPath>
+</defs>
+</svg>

+ 10 - 0
src/icons/svg/pdf.svg

@@ -0,0 +1,10 @@
+<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_4620_122647)">
+<path d="M8.66602 10.6693H5.99935V5.33594H8.66602C10.1387 5.33594 11.3327 6.52984 11.3327 8.0026C11.3327 9.47534 10.1387 10.6693 8.66602 10.6693ZM7.33268 6.66927V9.33594H8.66602C9.40242 9.33594 9.99935 8.739 9.99935 8.0026C9.99935 7.2662 9.40242 6.66927 8.66602 6.66927H7.33268ZM10.666 2.66927H3.99935V13.3359H13.3327V5.33594H10.666V2.66927ZM2.66602 1.99714C2.66602 1.63197 2.96434 1.33594 3.33168 1.33594H11.3327L14.6658 4.66927L14.666 13.9976C14.666 14.3685 14.3694 14.6693 14.0037 14.6693H3.32828C2.96252 14.6693 2.66602 14.3657 2.66602 14.0081V1.99714Z" fill="currentColor"/>
+</g>
+<defs>
+<clipPath id="clip0_4620_122647">
+<rect width="16" height="16" fill="white" transform="translate(0.666016)"/>
+</clipPath>
+</defs>
+</svg>

+ 10 - 0
src/icons/svg/ppt.svg

@@ -0,0 +1,10 @@
+<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_4620_122674)">
+<path d="M2.57239 1.91935L10.9529 0.722142C11.1351 0.696109 11.3039 0.822742 11.33 1.00498C11.3322 1.0206 11.3333 1.03635 11.3333 1.05212V14.9501C11.3333 15.1342 11.1841 15.2834 11 15.2834C10.9842 15.2834 10.9685 15.2823 10.9529 15.2801L2.57239 14.0829C2.24395 14.036 2 13.7547 2 13.4229V2.57932C2 2.24755 2.24395 1.96627 2.57239 1.91935ZM3.33333 3.15752V12.8447L10 13.7971V2.20514L3.33333 3.15752ZM12 12.6678H14V3.33446H12V2.00112H14.6667C15.0349 2.00112 15.3333 2.2996 15.3333 2.66779V13.3344C15.3333 13.7026 15.0349 14.0011 14.6667 14.0011H12V12.6678ZM4 5.33446H9.33333V9.33444H5.33333V10.6678H4V5.33446ZM5.33333 6.66778V8.00111H8V6.66778H5.33333Z" fill="currentColor"/>
+</g>
+<defs>
+<clipPath id="clip0_4620_122674">
+<rect width="16" height="16" fill="white" transform="translate(0.666016)"/>
+</clipPath>
+</defs>
+</svg>

+ 10 - 0
src/icons/svg/txt.svg

@@ -0,0 +1,10 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_4620_122511)">
+<path d="M14 5.33594V13.9981C14 14.3693 13.7035 14.6693 13.3377 14.6693H2.66227C2.29663 14.6693 2 14.3733 2 14.0081V1.99714C2 1.63948 2.29913 1.33594 2.66814 1.33594H9.99787L14 5.33594ZM12.6667 6.0026H9.33333V2.66927H3.33333V13.3359H12.6667V6.0026ZM5.33333 4.66927H7.33333V6.0026H5.33333V4.66927ZM5.33333 7.33594H10.6667V8.66927H5.33333V7.33594ZM5.33333 10.0026H10.6667V11.3359H5.33333V10.0026Z" fill="currentColor"/>
+</g>
+<defs>
+<clipPath id="clip0_4620_122511">
+<rect width="16" height="16" fill="white"/>
+</clipPath>
+</defs>
+</svg>

+ 10 - 0
src/icons/svg/xlsx.svg

@@ -0,0 +1,10 @@
+<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_4620_122665)">
+<path d="M2.24036 1.91935L10.6208 0.722142C10.8031 0.696109 10.9719 0.822742 10.998 1.00498C11.0002 1.0206 11.0013 1.03635 11.0013 1.05212V14.9501C11.0013 15.1342 10.852 15.2834 10.668 15.2834C10.6522 15.2834 10.6364 15.2823 10.6208 15.2801L2.24036 14.0829C1.91192 14.036 1.66797 13.7547 1.66797 13.4229V2.57932C1.66797 2.24755 1.91192 1.96627 2.24036 1.91935ZM3.0013 3.15752V12.8447L9.66797 13.7971V2.20514L3.0013 3.15752ZM11.668 12.6678H13.668V3.33446H11.668V2.00112H14.3346C14.7028 2.00112 15.0013 2.2996 15.0013 2.66779V13.3344C15.0013 13.7026 14.7028 14.0011 14.3346 14.0011H11.668V12.6678ZM7.13464 8.00111L9.0013 10.6678H7.4013L6.33464 9.14398L5.26796 10.6678H3.66797L5.53464 8.00111L3.66797 5.33446H5.26796L6.33464 6.85824L7.4013 5.33446H9.0013L7.13464 8.00111Z" fill="currentColor"/>
+</g>
+<defs>
+<clipPath id="clip0_4620_122665">
+<rect width="16" height="16" fill="white" transform="translate(0.333984)"/>
+</clipPath>
+</defs>
+</svg>

+ 10 - 0
src/icons/svg/zip.svg

@@ -0,0 +1,10 @@
+<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_4620_122547)">
+<path d="M13.6673 14.6693H3.00065C2.63246 14.6693 2.33398 14.3708 2.33398 14.0026V2.0026C2.33398 1.63442 2.63246 1.33594 3.00065 1.33594H13.6673C14.0355 1.33594 14.334 1.63442 14.334 2.0026V14.0026C14.334 14.3708 14.0355 14.6693 13.6673 14.6693ZM13.0007 13.3359V2.66927H3.66732V13.3359H13.0007ZM9.66732 8.0026V11.3359H7.00065V9.33594H8.33398V8.0026H9.66732ZM8.33398 2.66927H9.66732V4.0026H8.33398V2.66927ZM7.00065 4.0026H8.33398V5.33594H7.00065V4.0026ZM8.33398 5.33594H9.66732V6.66927H8.33398V5.33594ZM7.00065 6.66927H8.33398V8.0026H7.00065V6.66927Z" fill="currentColor"/>
+</g>
+<defs>
+<clipPath id="clip0_4620_122547">
+<rect width="16" height="16" fill="white" transform="translate(0.333984)"/>
+</clipPath>
+</defs>
+</svg>

+ 64 - 3
src/views/content_manage/course_manage/CourseListNav.vue

@@ -28,6 +28,7 @@
                             ]"
                             @click="handleNodeClick(node, path)"
                         >
+                            {{node.id.substring(20)}}
                             {{ node.name }}
                         </span>
                         <div class="btn_box">
@@ -60,6 +61,7 @@ export default {
       activeIndex: "", // 高亮节点
       oldId: "", // 移动节点的id
       destId: "", // 目标节点id
+      destPosition: 0, // 目标位置0移动节点在前1后
       loading: false,
       oldList: []
     };
@@ -94,10 +96,12 @@ export default {
       this.onTreeDataChange();
     },
     onTreeDataChange() {
-        const MethodName = "/CourseServer/Manager/LBCourseManager/SwapLBCourseCSItemSort";
+        this.handleFindId(this.treeData)
+        const MethodName = "/CourseServer/Manager/LBCourseManager/MoveLBCourseCSItem";
         const data = {
-          id_swap1: this.oldId,
-          id_swap2: this.destId,
+          id: this.oldId,
+          dest_position: this.destPosition,
+          dest_id: this.destId,
         };
         this.loading = true;
         getLogin(MethodName, data)
@@ -110,6 +114,63 @@ export default {
             this.loading = false;
           });
     },
+    // 找目标id
+    handleFindId(list) {
+      list.forEach((item, index) => {
+        if (item.id == this.oldId) {
+          if (list.length === 1) {
+            this.isDragFlag = false;
+            // 移动后只有这一个节点 不对
+            this.treeData = this.oldList;
+            this.changeTreeData(this.oldList);
+            this.$message({
+              type: "warning",
+              message: "不能跨级移动!",
+            });
+            return false;
+          } else {
+            // 匹配和兄弟节点pid是否相同
+            if (list[index - 1]) {
+              if (item.pid === list[index - 1].pid) {
+                // 父级相同 同级移动 可向下移动
+                this.destId = list[index - 1].id;
+                this.destPosition = 1;
+                this.isDragFlag = true;
+              } else {
+                // if (item.pid === 'undefined')
+                this.treeData = this.oldList;
+                this.changeTreeData(this.oldList);
+
+                this.isDragFlag = false;
+                this.$message({
+                  type: "warning",
+                  message: "不能跨级移动!",
+                });
+                return false;
+              }
+            } else if (list[index + 1]) {
+              if (item.pid === list[index + 1].pid) {
+                // 父级相同 同级移动 可向上移动
+                this.destId = list[index + 1].id;
+                this.destPosition = 0;
+                this.isDragFlag = true;
+                // this.treeData.lists = list;
+              } else {
+                this.treeData = this.oldList;
+                this.changeTreeData(this.oldList);
+
+                this.isDragFlag = false;
+                this.$message({
+                  type: "warning",
+                  message: "不能跨级移动!",
+                });
+                return false;
+              }
+            }
+          }
+        } 
+      });
+    },
     handleNodeClick(data) {
       this.activeIndex = data.id;
       this.getItemInfo(data.id)

+ 142 - 9
src/views/content_manage/course_manage/CreateRecorded.vue

@@ -140,10 +140,16 @@
                             />
                         </el-form-item>
                         <el-form-item label="课节资源" prop="resource">
-                            <upload :datafileList="createCourseForm.resource" :changeFillId="handleAvatarSuccess" :fileName="'courseResource'" :filleNumber="99" tips="支持上传图片、文档、音频、视频等资料,单个最大200MB,总共不超1GB,支持预览功能" />
+                            <upload :datafileList="createCourseForm.resource" :changeFillId="handleAvatarSuccess" :fileName="'courseResource'" :filleNumber="99" tips="支持上传图片、文档、音频、视频等资料,单个最大200MB,总共不超1GB,支持预览功能" :showList="true" />
+                            <ul v-if="createCourseForm.resource.length>0" class="resource-list">
+                                <li v-for="(itemR,indexR) in createCourseForm.resource" :key="indexR">
+                                    <a @click="handlePreview(itemR)"><svg-icon :icon-class="itemR.type" class="icon-logo"></svg-icon><span>{{itemR.name}}</span></a>
+                                    <i class="el-icon-delete" @click="handleDelResource(indexR)"></i>
+                                </li>
+                            </ul>
                         </el-form-item>
                         <el-form-item>
-                            <!-- <el-button size="small" @click="onCancel('createCourseForm')">取消</el-button> -->
+                            <el-button size="small" @click="onCancel('createCourseForm')">取消</el-button>
                             <el-button type="primary" size="small" @click="handleSaveCourse('createCourseForm')"><svg-icon icon-class="save-line"></svg-icon> 保存</el-button>
                         </el-form-item>
                     </el-form>
@@ -159,6 +165,20 @@
             </div>
         </div>
     </div>
+    <el-dialog
+        :visible.sync="resourceFlag"
+        :show-close="true"
+        :close-on-click-modal="false"
+        :modal-append-to-body="false"
+        width="1000px"
+        class="login-dialog"
+        v-if="resourceFlag">
+        <iframe
+          :src="resourceUrl"
+          width="100%"
+          height="600px"
+        ></iframe>
+    </el-dialog>
   </div>
 </template>
 
@@ -194,6 +214,7 @@ import "tinymce/plugins/contextmenu";
 import "tinymce/plugins/textcolor";
 import "tinymce/plugins/colorpicker";
 import { getLogin } from "@/api/ajax";
+const Base64 = require("js-base64").Base64;
 
 export default {
   //import引入的组件需要注入到对象中才能使用
@@ -333,6 +354,9 @@ export default {
         tabsList:['中英双语','少儿必读'],
         recordedId: null, // 录播课id
         itemsId: null, // 课节id
+        resourceUrl: '', // 课节资源预览地址
+        resourceFlag: false,
+        file_preview_url: 'https://docpreview.utschool.cn'
     }
   },
   //计算属性 类似于data概念
@@ -390,20 +414,51 @@ export default {
     handleAvatarSuccess(fileList,name) {
         if(name==='cover'){
             this.organizeForm.cover_image_list = fileList
-            this.organizeForm.cover_image_id = fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_id:''
-            this.organizeForm.cover_image_url = fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_url:''
+            this.organizeForm.cover_image_id = fileList[0]&&fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_id:''
+            this.organizeForm.cover_image_url = fileList[0]&&fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_url:''
         }else if(name==='courseVideo'){
             this.createCourseForm.videoResource = fileList
-            this.createCourseForm.file_id = fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_id:''
-            this.createCourseForm.file_url = fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_url:''
+            this.createCourseForm.file_id = fileList[0]&&fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_id:''
+            this.createCourseForm.file_url = fileList[0]&&fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_url:''
         }else if(name==='courseAudio'){
             this.createCourseForm.audioResource = fileList
-            this.createCourseForm.file_id = fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_id:''
-            this.createCourseForm.file_url = fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_url:''
+            this.createCourseForm.file_id = fileList[0]&&fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_id:''
+            this.createCourseForm.file_url = fileList[0]&&fileList[0].response&&fileList[0].response.file_info_list&&fileList[0].response.file_info_list[0]?fileList[0].response.file_info_list[0].file_url:''
         }else if(name==='courseResource'){
+            fileList.forEach(item=>{
+                if(item.response&&item.response.file_info_list&&item.response.file_info_list[0]){
+                    let index = item.response.file_info_list[0].file_name.lastIndexOf('.');
+                    item.name = item.response.file_info_list[0].file_name
+                    let type = item.response.file_info_list[0].file_name.substring(index + 1).toLowerCase()
+                    item.type = this.handleJudgeType(type)
+                    item.file_id = item.response.file_info_list[0].file_id
+                }
+            })
             this.createCourseForm.resource = fileList
         }
     },
+    // 判断文件类型
+    handleJudgeType(type){
+        let finalType = ''
+        if(type==='wav'){
+            finalType = 'mp3'
+        }else if(type==='png'||type==='jpg'||type==='jpeg'){
+            finalType = 'jpg'
+        }else if(type==='avi'||type==='wmv'||type==='mpeg'){
+            finalType = 'mp4'
+        }else if(type==='rar'||type==='jar'||type==='arj'||type==='z'||type==='jar'){
+            finalType = 'zip'
+        }else if(type==='docx'){
+            finalType = 'doc'
+        }else if(type==='xls'){
+            finalType = 'xlsx'
+        }else if(type==='pptx'){
+            finalType = 'ppt'
+        }else{
+            finalType = type
+        }
+        return finalType
+    },
     // 取消 恢复到修改前状态
     onCancel(formName){
         this.$refs[formName].resetFields();
@@ -420,7 +475,9 @@ export default {
             let form = this.createCourseForm
             let resource_file_id_list = []
             form.resource.forEach(item => {
-                if(item.response&&item.response.file_info_list&&item.response.file_info_list[0]){
+                if(item.file_id){
+                    resource_file_id_list.push(item.file_id)
+                }else if(item.response&&item.response.file_info_list&&item.response.file_info_list[0]){
                     resource_file_id_list.push(item.response.file_info_list[0].file_id)
                 }
                 
@@ -475,6 +532,34 @@ export default {
         }
       });
     },
+    // 删除资源文件
+    handleDelResource(i){
+        this.$confirm("确定删除吗?", "提示", {
+            confirmButtonText: "确定",
+            cancelButtonText: "取消",
+            type: "warning",
+        }).then(() => {
+            this.createCourseForm.resource.splice(i, 1);
+        });
+    },
+    // 预览文件
+    handlePreview(item){
+        let MethodName = '/FileServer/GetFileInfo'
+        let data = {
+            file_id: item.file_id
+        }
+        getLogin(MethodName, data)
+        .then((res) => {
+            if(res.status===1){
+                let path =
+                `${this.file_preview_url}/onlinePreview?url=` +
+                Base64.encode(res.file_url);
+                this.resourceUrl = path;
+                this.resourceFlag = true
+            }
+        })
+        
+    },
     // 查询机构列表
     getOrgList(){
         let MethodName = "/OrgServer/Manager/PageQuery/PageQueryOrgList";
@@ -585,6 +670,12 @@ export default {
                     name:'123'
                 }]
                 form.intro = res.lb_course_cs_item.intro
+                res.resource_file_list.forEach(item=>{
+                    item.name = item.file_name
+                    let index = item.file_name.lastIndexOf('.');
+                    let type = item.file_name.substring(index + 1).toLowerCase()
+                    item.type = this.handleJudgeType(type)
+                })
                 form.resource = res.resource_file_list
             }
         })
@@ -695,6 +786,48 @@ export default {
         margin: 0;
     }
 }
+.resource-list{
+    list-style: none;
+    margin: 12px 0;
+    padding: 0;
+    li{
+        display: flex;
+        align-items: center;
+        margin-bottom: 16px;
+        a{
+            width: 360px;
+            padding: 7px 12px;
+            background: #F7F8FA;
+            border-radius: 2px;
+            color: #1D2129;
+            display: flex;
+            align-items: center;
+            span{
+                overflow:hidden;
+                text-overflow:ellipsis;
+                white-space: nowrap;
+                flex: 1;
+                display: block;
+                font-size: 14px;
+                line-height: 22px;
+            }
+            .svg-icon{
+                width: 16px;
+                height: 16px;
+                margin-right: 8px;
+                color: #4E5969;
+            }
+        }
+        .el-icon-delete{
+            color: #4E5969;
+            cursor: pointer;
+            margin-left: 12px;
+            &:hover{
+                color: #165DFF;
+            }
+        }
+    }
+}
 </style>
 
 <style lang="scss">