[improvement] avoid use cell selector (#2714)

This commit is contained in:
neverland
2019-02-11 19:03:36 +08:00
committed by GitHub
parent 9c4ad97731
commit 9947ab00e8
17 changed files with 58 additions and 60 deletions
+2
View File
@@ -23,6 +23,8 @@ export default sfc({
<Cell
key={item.id}
isLink
class={bem('item')}
value-class={bem('item-value')}
scopedSlots={{
default: () => (
<Radio name={item.id}>
+2 -2
View File
@@ -5,11 +5,11 @@
padding-bottom: 50px;
box-sizing: border-box;
.van-cell {
&__item {
padding: 15px;
}
.van-cell__value {
&__item-value {
color: @text-color;
padding-right: 34px;
position: relative;