neverland ffa3fddfae
[bugfix] remove unnecessary props (#323)
* fix: Tabbar icon line-height

* [new feature] progress add showPivot prop

* [new feature] TabItem support vue-router

* [new feature] update document header style

* [Doc] add toast english ducoment

* [bugfix] Search box-sizing wrong

* [Doc] update vant-demo respo

* [Doc] translate theme & demo pages

* [Doc] add Internationalization document

* [bugfix] remove unnecessary props
2017-11-16 03:12:13 -06:00

30 lines
449 B
Vue

<template>
<van-button
tag="a"
:href="url"
class="van-goods-action__big-btn"
:type="primary ? 'primary' : 'default'"
@click="$emit('click', $event)"
bottomAction
>
<slot></slot>
</van-button>
</template>
<script>
import Button from '../button';
export default {
name: 'van-goods-action-big-btn',
components: {
[Button.name]: Button
},
props: {
url: String,
primary: Boolean
}
};
</script>