mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-10-09 02:09: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>
|
||||
<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>
|
||||
|
@ -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">
|
||||
|
@ -1,4 +1,4 @@
|
||||
@import "../mixins/border_retina.css";
|
||||
@import "../mixins/border-retina.css";
|
||||
|
||||
.van-hairline {
|
||||
&,
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user