Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
28e3c6cb
Commit
28e3c6cb
authored
Jul 13, 2021
by
linwenqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:充电桩安装列表样式溢出修复
parent
7ad0efff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
document.vue
src/pages/order/document.vue
+8
-5
No files found.
src/pages/order/document.vue
View file @
28e3c6cb
...
...
@@ -14,7 +14,7 @@
<u-icon
name=
"arrow-right"
></u-icon>
</view>
</view>
<scroll-view
scroll-x
class=
"label-content"
:scroll-into-view=
"scrollId[key]"
>
<scroll-view
scroll-x
=
"true"
class=
"label-content"
:scroll-into-view=
"scrollId[key]"
>
<view
v-for=
"(label, ind) in item"
:key=
"ind"
class=
"label-item"
:id=
"idText + label.id"
>
<!-- 选中为蓝底,非选中状态为灰底 -->
<view
:class=
"['label-normal',
{'selected': label.id == selected[key].id}]" @click="handleClick(key, label)">
...
...
@@ -368,9 +368,11 @@
}
.label-content
{
width
:
100%
;
width
:
100%
;
height
:
104rpx
;
white-space
:
nowrap
;
.label-item
{
overflow
:
hidden
;
padding-right
:
20rpx
;
flex-shrink
:
0
;
display
:
inline-block
;
...
...
@@ -381,14 +383,15 @@
color
:
#666666
;
background-color
:
#FFFFFF
;
border-radius
:
8rpx
;
padding-left
:
3
0rpx
;
padding-right
:
3
0rpx
;
padding-left
:
2
0rpx
;
padding-right
:
2
0rpx
;
text-align
:
center
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
.label-text
{
word-break
:break-all
;
word-break
:break-all
;
white-space
:
normal
!
important
;
}
&
.selected
{
color
:
#FFFFFF
;
...
...
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