notice.vue 342 Bytes
Newer Older
sin's avatar
sin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
<template>
    <NoticeBar
    :text="data.value"
    :background="data.background"
    :color="data.color"
    />
</template>

<script>
import { NoticeBar } from "vant";

export default {
    name:'notice',
    components:{
        NoticeBar
    },
    props:{
        data:Object
    },
    computed:{

    }
}
</script>

<style>

</style>