Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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
胡宝山
template_vue
Commits
7c50d3fc
Commit
7c50d3fc
authored
Jul 31, 2023
by
CenXinYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化Table组件样式
Signed-off-by:
CenXinYi
<
2810162984@qq.com
>
parent
aa4027d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
62 deletions
+62
-62
index.vue
src/components/Table/BaseTable/index.vue
+62
-62
No files found.
src/components/Table/BaseTable/index.vue
View file @
7c50d3fc
<
template
>
<div
style=
"padding:5px 10px"
>
<div
class=
"mb12 font-small-bold"
>
{{
allTableArguments
.
listName
}}
</div>
<
div
class=
"tableList"
>
<el-scrollbar
>
<
!-- TODO:如果需要定长度的话可以使用这个在组件外部
<div
class=
"tableList"
style=
" height: 600px;"
>
--
>
<el-scrollbar
style=
"height: 100%;"
>
<el-table
v-loading=
"allTableArguments.loading"
class=
"processList"
border
:data=
"allTableArguments.List"
style=
"width: 100%
"
style=
"width: 100%;
"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
/>
<!-- TODO: 选择框是否开启,selectable控制是否单行禁用 -->
<el-table-column
v-if=
"allTableArguments.columObj.selection"
type=
"selection"
:selectable=
"allTableArguments.columObj.selectable"
width=
"50px"
/>
...
...
@@ -70,7 +70,7 @@
</el-table>
</el-scrollbar>
<div
/>
<
/div
>
<
!-- </div>--
>
</div>
</template>
...
...
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