Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
b17cdd58
Commit
b17cdd58
authored
Dec 01, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改首页H5下标题超宽显示省略号
parent
aaf0abf6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
_mixin.scss
src/assets/css/_mixin.scss
+4
-5
list.vue
src/views/Home/comps/list.vue
+3
-3
list2.vue
src/views/Home/comps/list2.vue
+1
-1
other-list.vue
src/views/Home/comps/other-list.vue
+1
-1
yyly-list.vue
src/views/Home/comps/yyly-list.vue
+1
-1
index.vue
src/views/Home/index.vue
+0
-0
Branch.vue
src/views/Org/Branch.vue
+1
-0
No files found.
src/assets/css/_mixin.scss
View file @
b17cdd58
...
...
@@ -334,9 +334,7 @@
// 超宽显示省略号
@mixin
ellipsis
{
@media
screen
and
(
min-width
:
992px
){
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
\ No newline at end of file
src/views/Home/comps/list.vue
View file @
b17cdd58
<
template
>
<div
class=
"list"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg"
>
<div
class=
"col-lg-10 list-left"
>
<div
class=
"col-
9 col-
lg-10 list-left"
>
<span></span>
<span>
{{
tmp
.
title
}}
</span>
<span
:title=
"tmp.title"
>
{{
tmp
.
title
}}
</span>
</div>
<div
class=
"col-lg-2 list-right"
>
{{
tmp
.
time
}}
</div>
<div
class=
"col-
3 col-
lg-2 list-right"
>
{{
tmp
.
time
}}
</div>
</div>
<div
class=
"row"
>
<div
class=
"col"
>
...
...
src/views/Home/comps/list2.vue
View file @
b17cdd58
...
...
@@ -3,7 +3,7 @@
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg"
>
<div
class=
"col li"
>
<span></span>
<span>
{{
tmp
.
title
}}
</span>
<span
:title=
"tmp.title"
>
{{
tmp
.
title
}}
</span>
</div>
</div>
</div>
...
...
src/views/Home/comps/other-list.vue
View file @
b17cdd58
...
...
@@ -3,7 +3,7 @@
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg"
>
<div
class=
"col li"
>
<span></span>
<span>
{{
tmp
.
name
}}
</span>
<span
:title=
"tmp.name"
>
{{
tmp
.
name
}}
</span>
</div>
</div>
</div>
...
...
src/views/Home/comps/yyly-list.vue
View file @
b17cdd58
...
...
@@ -3,7 +3,7 @@
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg"
>
<div
class=
"col li"
>
<span></span>
<span>
{{
tmp
.
name
}}
</span>
<span
:title=
"tmp.name"
>
{{
tmp
.
name
}}
</span>
</div>
</div>
</div>
...
...
src/views/Home/index.vue
View file @
b17cdd58
This diff is collapsed.
Click to expand it.
src/views/Org/Branch.vue
View file @
b17cdd58
...
...
@@ -91,6 +91,7 @@ export default {
"吉林分中心"
,
"长春分中心"
,
"黑龙江分中心"
,
"哈尔滨分中心"
,
],
},
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment