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