[bugfix] delete unnecessary style in sku (#205)

* [Document] add english document of Checkbox

* [Document] add english document of Field

* [Document] add english document of NumberKeyboard

* [bugfix] NumberKeyboard should not dispaly title when title is empty

* [Document] add english document of PasswordInput

* [Document] add english document of Radio

* [document] add english document of Switch

* [bugfix] remove redundent styles in english document

* [Document] fix details

* fix Switch test cases

* [bugfix] Swipe shouid reinitialize when item changes

* [new feature] ImagePreview reconstruct

* [new feature] add Tabbar component

* [bugfix] delete unnecessary style in sku
This commit is contained in:
neverland 2017-10-12 22:14:40 -05:00 committed by GitHub
parent eeaa36058a
commit 9d8eb14f0a
5 changed files with 3 additions and 13 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="van-sku-header">
<div class="van-sku-header van-hairline--bottom">
<div class="van-sku-header__img-wrap">
<img class="van-sku__goods-img" :src="goodsImg">
</div>

View File

@ -13,7 +13,7 @@
</slot>
<div class="van-sku-body scroller" :style="bodyStyle">
<slot name="sku-group" :selectedSku="selectedSku">
<div v-if="hasSku" class="van-sku-group-container">
<div v-if="hasSku" class="van-sku-group-container van-hairline--bottom">
<div v-for="(skuTreeItem, index) in skuTree"
class="van-sku-row-group"
:key="index">

View File

@ -1,4 +1,4 @@
@import "../mixins/border_retina.css";
@import "../mixins/border-retina.css";
.van-hairline {
&,

View File

@ -20,12 +20,7 @@
&-group-container {
margin-left: 15px;
position: relative;
padding: 12px 0 2px;
&::after {
@mixin border-retina (bottom);
}
}
&-row-group {
@ -38,13 +33,8 @@
/* sku header */
&-header {
position: relative;
margin-left: 15px;
&::after {
@mixin border-retina (bottom);
}
&__img-wrap {
position: relative;
float: left;