update
This commit is contained in:
parent
da76a284d0
commit
5fe393db5c
3 changed files with 11 additions and 3 deletions
|
@ -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
Add a link
Reference in a new issue