Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform-ui
Commits
e4bea2f4
Commit
e4bea2f4
authored
May 07, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公司名称超长显示处理
parent
4a469f75
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
App.vue
src/App.vue
+8
-0
stockCrowd.vue
src/views/baseInfo/stockCrowd/stockCrowd.vue
+2
-2
No files found.
src/App.vue
View file @
e4bea2f4
...
@@ -36,6 +36,14 @@
...
@@ -36,6 +36,14 @@
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.ellipsis2
{
width
:
200px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-
webkit-box
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
}
.item-right-p
p
{
.item-right-p
p
{
padding
:
3px
;
padding
:
3px
;
margin
:
3px
;
margin
:
3px
;
...
...
src/views/baseInfo/stockCrowd/stockCrowd.vue
View file @
e4bea2f4
...
@@ -42,8 +42,8 @@
...
@@ -42,8 +42,8 @@
>
>
<div
class=
"item-right-p flex-jcc-aic"
>
<div
class=
"item-right-p flex-jcc-aic"
>
<img
:src=
"item.companyPic"
style=
"width: 130px;height:100px;border-radius: 10px;"
/>
<img
:src=
"item.companyPic"
style=
"width: 130px;height:100px;border-radius: 10px;"
/>
<div
style=
"height:
9
0px;padding-left: 10px;width: 100%;"
>
<div
style=
"height:
10
0px;padding-left: 10px;width: 100%;"
>
<div
style=
"line-height: 20px;"
>
{{
item
.
companyName
}}
</div>
<div
style=
"line-height: 20px;"
class=
"ellipsis2"
>
{{
item
.
companyName
}}
</div>
<div
class=
"flex-jcb-aic"
>
<div
class=
"flex-jcb-aic"
>
<div
<div
style=
"position: relative;background: #ccc;border-radius: 10px;height: 10px;width: 100px;margin-right: 20px;"
>
style=
"position: relative;background: #ccc;border-radius: 10px;height: 10px;width: 100px;margin-right: 20px;"
>
...
...
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