update
This commit is contained in:
parent
da76a284d0
commit
5fe393db5c
3 changed files with 11 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
|||
<Cell title="标题二">
|
||||
<Icon type="trash-a" slot="icon"></Icon>
|
||||
</Cell>
|
||||
<Cell title="标题三"></Cell>
|
||||
<Cell title="标题三">六七十</Cell>
|
||||
<Cell title="标题四" selected></Cell>
|
||||
<Cell title="标题五"></Cell>
|
||||
<Cell title="标题六" disabled></Cell>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div :class="classes">
|
||||
<a v-if="to" class="ivu-cell-link" @click="handleClick">
|
||||
<div :class="classes" tabindex="0">
|
||||
<a v-if="to" :href="to" class="ivu-cell-link" @click.prevent="handleClick">
|
||||
<CellItem :title="title" :label="label" :extra="extra">
|
||||
<slot name="icon" slot="icon"></slot>
|
||||
<slot></slot>
|
||||
|
|
|
@ -57,5 +57,13 @@
|
|||
right: 16px;
|
||||
font-size: @font-size-base;
|
||||
}
|
||||
|
||||
&:focus{
|
||||
background: @background-color-select-hover;
|
||||
outline: none;
|
||||
}
|
||||
&-selected:focus{
|
||||
background: shade(@selected-color, 10%);
|
||||
}
|
||||
}
|
||||
.select-item(@cell-prefix-cls, @cell-prefix-cls);
|
Loading…
Add table
Reference in a new issue