style:列表
Showing
1 changed file
with
6 additions
and
6 deletions
... | @@ -10,11 +10,11 @@ | ... | @@ -10,11 +10,11 @@ |
10 | 10 | ||
11 | <template> | 11 | <template> |
12 | <div :class="['lb-table', customClass]"> | 12 | <div :class="['lb-table', customClass]"> |
13 | <el-table v-if="!heightNumSetting" class="table-fixed" :row-style="{ height: '50px' }" ref="elTable" :border='border' | 13 | <el-table v-if="!heightNumSetting" class="table-fixed" :row-style="{ height: '50px' }" ref="elTable" |
14 | :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" | 14 | :border='border' :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" |
15 | :header-cell-style="{ background: 'rgb(236, 245, 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 | <el-table-column width="50" align="center" label="选择" v-if="isRadio"> | 17 | <el-table-column width="45" align="center" v-if="isRadio"> |
18 | <template slot-scope="scope"> | 18 | <template slot-scope="scope"> |
19 | <el-radio v-model="selected" :label="scope.$index" class="table-radio"></el-radio> | 19 | <el-radio v-model="selected" :label="scope.$index" class="table-radio"></el-radio> |
20 | </template> | 20 | </template> |
... | @@ -26,10 +26,10 @@ | ... | @@ -26,10 +26,10 @@ |
26 | 26 | ||
27 | <el-table v-else ref="elTable" class="table-fixed" :row-style="{ height: '50px' }" :border='border' | 27 | <el-table v-else ref="elTable" class="table-fixed" :row-style="{ height: '50px' }" :border='border' |
28 | :row-class-name="tableRowClassName" :show-header='showHeader' | 28 | :row-class-name="tableRowClassName" :show-header='showHeader' |
29 | :header-cell-style="{ background: 'rgb(236, 245, 255)' }" v-bind="$attrs" :max-height="maxHeight" v-on="$listeners" | 29 | :header-cell-style="{ background: 'rgb(236, 245, 255)' }" v-bind="$attrs" :max-height="maxHeight" |
30 | :data="data" style="width: 100%" :span-method="this.merge ? this.mergeMethod : this.spanMethod"> | 30 | v-on="$listeners" :data="data" style="width: 100%" :span-method="this.merge ? this.mergeMethod : this.spanMethod"> |
31 | 31 | ||
32 | <el-table-column width="50" align="center" label="选择" v-if="isRadio"> | 32 | <el-table-column width="45" align="center" v-if="isRadio"> |
33 | <template slot-scope="scope"> | 33 | <template slot-scope="scope"> |
34 | <el-radio v-model="selected" :label="scope.$index" class="table-radio"></el-radio> | 34 | <el-radio v-model="selected" :label="scope.$index" class="table-radio"></el-radio> |
35 | </template> | 35 | </template> | ... | ... |
-
Please register or sign in to post a comment