Files
CompanyProject/金壶/appV1/components/common/price.vue
2024-09-27 01:32:49 +08:00

28 lines
412 B
Vue

<template>
<view class="d-flex line-h" :class="priceSize+' '+color">
<text class="a-self-start" :class="unitSize"></text><slot />
</view>
</template>
<script>
export default {
props:{
priceSize:{
type:String,
default:"font-md"
},
unitSize:{
type:String,
default:"font-sm"
},
color:{
type:String,
default:"main-text-color"
}
}
}
</script>
<style>
</style>