style:样式
Showing
2 changed files
with
3 additions
and
3 deletions
| ... | @@ -12,14 +12,14 @@ | ... | @@ -12,14 +12,14 @@ |
| 12 | <div :class="['lb-table', customClass]"> | 12 | <div :class="['lb-table', customClass]"> |
| 13 | <el-table v-if="!heightNumSetting" class="table-fixed" ref="elTable" :border='border' | 13 | <el-table v-if="!heightNumSetting" class="table-fixed" ref="elTable" :border='border' |
| 14 | :row-class-name="tableRowClassName" :show-header='showHeader' | 14 | :row-class-name="tableRowClassName" :show-header='showHeader' |
| 15 | :header-cell-style="{ background: 'rgb(217, 236, 255)' }" v-bind="$attrs" :height="tableHeight" v-on="$listeners" | 15 | :header-cell-style="{ background: 'rgb(236, 245, 255)' }" v-bind="$attrs" :height="tableHeight" v-on="$listeners" |
| 16 | :data="data" style="width: 100%" :span-method="this.merge ? this.mergeMethod : this.spanMethod"> | 16 | :data="data" style="width: 100%" :span-method="this.merge ? this.mergeMethod : this.spanMethod"> |
| 17 | <lb-column v-bind="$attrs" v-for="(item, index) in column" :key="index" :column="item"> | 17 | <lb-column v-bind="$attrs" v-for="(item, index) in column" :key="index" :column="item"> |
| 18 | </lb-column> | 18 | </lb-column> |
| 19 | </el-table> | 19 | </el-table> |
| 20 | 20 | ||
| 21 | <el-table v-else ref="elTable" class="table-fixed" :border='border' :row-class-name="tableRowClassName" | 21 | <el-table v-else ref="elTable" class="table-fixed" :border='border' :row-class-name="tableRowClassName" |
| 22 | :show-header='showHeader' :header-cell-style="{ background: 'rgb(217, 236, 255)' }" v-bind="$attrs" | 22 | :show-header='showHeader' :header-cell-style="{ background: 'rgb(236, 245, 255)' }" v-bind="$attrs" |
| 23 | :max-height="maxHeight" v-on="$listeners" :data="data" style="width: 100%" | 23 | :max-height="maxHeight" v-on="$listeners" :data="data" style="width: 100%" |
| 24 | :span-method="this.merge ? this.mergeMethod : this.spanMethod"> | 24 | :span-method="this.merge ? this.mergeMethod : this.spanMethod"> |
| 25 | <lb-column v-bind="$attrs" v-for="(item, index) in column" :key="index" :column="item"> | 25 | <lb-column v-bind="$attrs" v-for="(item, index) in column" :key="index" :column="item"> | ... | ... |
| ... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
| 47 | <!-- 表格 --> | 47 | <!-- 表格 --> |
| 48 | <!-- 表格 --> | 48 | <!-- 表格 --> |
| 49 | <div class="from-clues-content"> | 49 | <div class="from-clues-content"> |
| 50 | <lb-table :page-size="pageData.size" :current-page.sync="pageData.currentPage" :total="tableData.total" | 50 | <lb-table :page-size="pageData.size" border :current-page.sync="pageData.currentPage" :total="tableData.total" |
| 51 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 51 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
| 52 | :data="tableData.data"> | 52 | :data="tableData.data"> |
| 53 | </lb-table> | 53 | </lb-table> | ... | ... |
-
Please register or sign in to post a comment