Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
ec-report-refactor
Project
Project
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
lihuizhen
ec-report-refactor
Commits
f66522b8
Commit
f66522b8
authored
Feb 16, 2022
by
Jenny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: table width
parent
e05a540b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
NormalTable.vue
components/NormalTable/NormalTable.vue
+1
-5
No files found.
components/NormalTable/NormalTable.vue
View file @
f66522b8
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
<scroll-view
scroll-x=
"true"
>
<scroll-view
scroll-x=
"true"
>
<view
class=
"scroll-view_H"
>
<view
class=
"scroll-view_H"
>
<u-table
<u-table
class=
"normal-table"
:border-width=
"elementInfo.table.frameWidth"
:border-width=
"elementInfo.table.frameWidth"
:border-color=
"elementInfo.table.frameColor"
:border-color=
"elementInfo.table.frameColor"
:border-style=
"elementInfo.table.frameStyle"
:border-style=
"elementInfo.table.frameStyle"
...
@@ -18,7 +17,7 @@
...
@@ -18,7 +17,7 @@
<u-th
v-for=
"(item, index) in columns"
:key=
"index"
>
{{
item
.
title
}}
</u-th>
<u-th
v-for=
"(item, index) in columns"
:key=
"index"
>
{{
item
.
title
}}
</u-th>
</u-tr>
</u-tr>
<u-tr
v-for=
"(cell, cellIndex) in chartTables"
:key=
"cellIndex"
@
tap=
"cellClick(cell)"
>
<u-tr
v-for=
"(cell, cellIndex) in chartTables"
:key=
"cellIndex"
@
tap=
"cellClick(cell)"
>
<u-td
v-for=
"(item, index) in columns"
:key=
"index"
>
<u-td
style=
"width: 300rpx;"
v-for=
"(item, index) in columns"
:key=
"index"
>
{{
cell
[
item
.
dataIndex
]
}}
{{
cell
[
item
.
dataIndex
]
}}
</u-td>
</u-td>
</u-tr>
</u-tr>
...
@@ -78,7 +77,4 @@
...
@@ -78,7 +77,4 @@
display
:
flex
;
display
:
flex
;
flex-wrap
:
nowrap
;
flex-wrap
:
nowrap
;
}
}
.normal-table
{
width
:
100%
;
}
</
style
>
</
style
>
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