中国优质的IT技术网站
专业IT技术创作平台
IT职业在线教育平台
@Extend(Button) function initButtonView(click:() => void, radius: number) { .onClick(()=> { click() }) .borderRadius(radius) .type(ButtonType.Normal) .backgroundColor('rgba(48, 48, 48, 0.7)') .fontSize(18) .fontColor(Color.White) .height(60) .borderWidth(2) .borderColor('rgba(1.0, 1.0, 1.0, 0.5)') }
borderColor没有生效,一直是黑色的
微信扫码分享