feat: 修改文本框样式

This commit is contained in:
unanmed 2024-12-23 23:14:39 +08:00
parent 734980eb6a
commit e99320c52d
2 changed files with 5 additions and 3 deletions

View File

@ -617,6 +617,7 @@ export const Textbox = defineComponent<
y={0} y={0}
width={titleWidth.value} width={titleWidth.value}
height={titleHeight.value} height={titleHeight.value}
fillStyle={data.backColor}
></g-rect> ></g-rect>
)} )}
<text <text

View File

@ -64,10 +64,11 @@ Mota.require('var', 'loading').once('coreInit', () => {
height={150} height={150}
y={330} y={330}
zIndex={30} zIndex={30}
fillStyle={'#000'} fillStyle={'#fff'}
titleFill={'#000'} titleFill={'gold'}
font="16px normal" font="16px normal"
titleFont="20px normal" titleFont="700 20px normal"
winskin="winskin2.png"
interval={25} interval={25}
lineHeight={6} lineHeight={6}
></Textbox> ></Textbox>