Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-outbound
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3d6c98b7
authored
Aug 23, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui改版
1 parent
05bf7292
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
2 deletions
src/assets/css/public.scss
src/views/outbound/index.vue
src/assets/css/public.scss
View file @
3d6c98b
...
...
@@ -63,4 +63,30 @@ html {
}
.line-20
{
line-height
:
20px
;
}
.el-tooltip__popper
{
position
:
absolute
;
background
:
#fff
;
min-width
:
150px
;
border-radius
:
4px
;
border
:
1px
solid
#ebeef5
!
important
;
padding
:
12px
;
z-index
:
2000
;
color
:
#606266
;
line-height
:
1
.4
;
text-align
:
justify
;
font-size
:
14px
;
// box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
word-break
:
break-all
;
}
.base-popper
,
.el-tooltip__popper
{
max-width
:
380px
;
}
.el-tooltip__popper
[
x-placement
^=
"top"
]
.popper__arrow
{
border-top-color
:
#ffffff
!
important
;
}
.el-tooltip__popper
[
x-placement
^=
"top"
]
.popper__arrow
:after
{
border-top-color
:
#ffffff
!
important
;
}
\ No newline at end of file
src/views/outbound/index.vue
View file @
3d6c98b
...
...
@@ -41,8 +41,11 @@
</div>
</
template
>
<
template
slot=
"excelName"
slot-scope=
"scope"
>
<div>
{{
scope
.
scope
.
excelName
}}
<div
class=
"flex"
>
<el-tooltip
v-if=
"scope.scope.excelName.length >= Math.ceil((320 - 36) / 14)"
effect=
"light"
placement=
"top"
popper-class=
"base-popper"
:content=
"scope.scope.excelName"
>
<div
class=
"excelName"
>
{{
scope
.
scope
.
excelName
}}
</div>
</el-tooltip>
<div
v-else
>
{{
scope
.
scope
.
excelName
}}
</div>
<span
class=
"color58 font-14"
style=
"cursor: pointer"
@
click=
"downloadFile(scope.scope.excelUrl, scope.scope.excelName)"
>
下载
</span>
</div>
</
template
>
...
...
@@ -950,6 +953,14 @@ export default {
}
}
}
.excelName
{
max-width
:
240px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
inline-block
;
}
}
}
.marked
{
...
...
@@ -995,4 +1006,5 @@ export default {
visibility
:
hidden
;
}
}
</
style
>
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment