修改 产品列表显示

This commit is contained in:
lVAL 2021-01-25 11:18:28 +08:00
parent 306330dd3d
commit 46b7a65977
2 changed files with 32 additions and 23 deletions

View File

@ -20,9 +20,9 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.footer { .footer {
width: 100%;
background-color: #f1f1f1; background-color: #f1f1f1;
position: relative; position: relative;
bottom: 0;
.container { .container {
overflow: hidden; overflow: hidden;
text-align: left; text-align: left;

View File

@ -1,6 +1,7 @@
<template> <template>
<div class="main"> <div class="main">
<div class="container"> <div class="container">
<b-card title="产品列表" tag="article">
<b-table <b-table
sticky-header sticky-header
striped striped
@ -8,7 +9,7 @@
hover hover
:items="items" :items="items"
:fields="fields" :fields="fields"
style="min-height:100vh;" style="min-height:calc(100vh - 510px);"
outlined outlined
> >
<template #cell(href)="data"> <template #cell(href)="data">
@ -23,6 +24,7 @@
</a> </a>
</template> </template>
</b-table> </b-table>
</b-card>
</div> </div>
</div> </div>
</template> </template>
@ -98,4 +100,11 @@ export default {
margin: auto; margin: auto;
} }
} }
/deep/ {
th,
td {
font-size: 1.6em !important;
}
}
</style> </style>