修改部分组件样式

This commit is contained in:
2024-10-16 14:15:08 +08:00
parent a5c0ab54cc
commit ce6f0ef230
3 changed files with 17 additions and 6 deletions

View File

@@ -57,6 +57,10 @@ import { computed } from 'vue';
type:[String,Number],
default:'28'
},
fontWeight:{
type:[String,Number],
default:'500'
},
showShadow:{
type:Boolean,
default:false
@@ -92,6 +96,7 @@ import { computed } from 'vue';
${props.width>=0?('width:'+props.width+'rpx;'):''}
${props.plain?('background-color:transparent;'):''}
font-size:${props.fontSize}rpx;
font-weight:${props.fontWeight};
${props.color?('color:'+props.color+';'):''}
${props.bgColor?('background-color:'+props.bgColor+';'):''}
${props.bgColor?('border-color:'+props.bgColor+';'):''}