Commit ab5b21a4 authored by 耿迪迪's avatar 耿迪迪

视频标题超长问题解决

parent 4ed87df2
<template> <template>
<div :class="isChoice ? 'showVideo' : 'closeVideo'"> <div :class="isChoice ? 'showVideo' : 'closeVideo'">
<div class="videoTitle"> <div class="videoTitle">
<span style="margin-left: 15px; color: #334d6e"> <span
style="
margin-left: 15px;
color: #334d6e;
display: inline-flex;
align-items: center;
max-width: calc(100% - 120px);
min-width: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis
"
:title="videoName"
>
<img <img
src="@/assets/images/camera.png" src="@/assets/images/camera.png"
alt="fold" alt="fold"
style="width: 18px; height: 18px" style="width: 18px; height: 18px;margin-right: 4px"
/> />
{{ videoName }} {{ videoName }}
</span> </span>
...@@ -13,10 +26,9 @@ ...@@ -13,10 +26,9 @@
v-if="videoName != ''" v-if="videoName != ''"
type="text" type="text"
size="medium" size="medium"
style="margin-left: 8px" style="margin-left: 8px;position: absolute"
@click="closeVideo" @click="closeVideo"
>关闭</el-button >关闭</el-button>
>
<el-dropdown <el-dropdown
@command="videoSetting" @command="videoSetting"
trigger="click" trigger="click"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment