mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-10-10 02:39:57 +08:00
[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:
parent
eeaa36058a
commit
9d8eb14f0a
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="van-sku-header">
|
<div class="van-sku-header van-hairline--bottom">
|
||||||
<div class="van-sku-header__img-wrap">
|
<div class="van-sku-header__img-wrap">
|
||||||
<img class="van-sku__goods-img" :src="goodsImg">
|
<img class="van-sku__goods-img" :src="goodsImg">
|
||||||
</div>
|
</div>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
</slot>
|
</slot>
|
||||||
<div class="van-sku-body scroller" :style="bodyStyle">
|
<div class="van-sku-body scroller" :style="bodyStyle">
|
||||||
<slot name="sku-group" :selectedSku="selectedSku">
|
<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"
|
<div v-for="(skuTreeItem, index) in skuTree"
|
||||||
class="van-sku-row-group"
|
class="van-sku-row-group"
|
||||||
:key="index">
|
:key="index">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "../mixins/border_retina.css";
|
@import "../mixins/border-retina.css";
|
||||||
|
|
||||||
.van-hairline {
|
.van-hairline {
|
||||||
&,
|
&,
|
||||||
|
@ -20,12 +20,7 @@
|
|||||||
|
|
||||||
&-group-container {
|
&-group-container {
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
position: relative;
|
|
||||||
padding: 12px 0 2px;
|
padding: 12px 0 2px;
|
||||||
|
|
||||||
&::after {
|
|
||||||
@mixin border-retina (bottom);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&-row-group {
|
&-row-group {
|
||||||
@ -38,13 +33,8 @@
|
|||||||
|
|
||||||
/* sku header */
|
/* sku header */
|
||||||
&-header {
|
&-header {
|
||||||
position: relative;
|
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
|
|
||||||
&::after {
|
|
||||||
@mixin border-retina (bottom);
|
|
||||||
}
|
|
||||||
|
|
||||||
&__img-wrap {
|
&__img-wrap {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user