[bugfix] Sku button border radius (#378)

This commit is contained in:
neverland
2017-12-05 14:36:22 +08:00
committed by GitHub
parent 32801b453b
commit 056f847824
7 changed files with 22 additions and 60 deletions
+8 -6
View File
@@ -1,18 +1,20 @@
<template>
<div class="van-sku-actions">
<button v-if="showAddCartBtn" class="van-sku__add-cart-btn" @click="onAddCartClicked">
加入购物车
</button>
<button class="van-sku__buy-btn" @click="onBuyClicked">
{{ buyText }}
</button>
<van-button v-if="showAddCartBtn" bottomAction @click="onAddCartClicked">加入购物车</van-button>
<van-button type="primary" bottomAction @click="onBuyClicked">{{ buyText }}</van-button>
</div>
</template>
<script>
import Button from '../../button';
export default {
name: 'van-sku-actions',
components: {
[Button.name]: Button
},
props: {
skuEventBus: Object,
showAddCartBtn: Boolean,