You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
high-mini/components/no-more/no-more.vue

37 lines
554 B

2 years ago
<template>
2 years ago
<view class="nomore " :style="'font-size:'+fontSize+'px;background:'+bgColor">
2 years ago
{{msg}}
</view>
</template>
<script>
export default {
props:{
fontSize:{
type:Number,
default:13
},
msg:{
type:String,
default:"我是有底线的"
2 years ago
},
bgColor:{
type:String,
default:"#f6f6f6"
2 years ago
}
},
}
</script>
<style scoped>
.nomore{
height: 40rpx;
line-height: 40rpx;
color:#ccc !important;
padding: 40rpx;
text-align: center;
2 years ago
/* background-color: #f6f6f6; */
2 years ago
}
</style>