clone 开源的 Shopping
This commit is contained in:
29
mobile-web/src/components/page/notice.vue
Normal file
29
mobile-web/src/components/page/notice.vue
Normal file
@@ -0,0 +1,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>
|
||||
|
||||
Reference in New Issue
Block a user