游戏模式-添加网址导航-自定义网址导航-确定按钮有个黑边(样式优化)

This commit is contained in:
expdsn 2024-11-15 18:51:12 +08:00
parent dffe6bb85c
commit 0c188cc40b
1 changed files with 9 additions and 5 deletions

View File

@ -252,10 +252,14 @@ export default defineComponent(() => {
</> </>
)} )}
<Form.Item label=" " colon={false}> <Form.Item label=" " colon={false}>
<Button <button
type="primary" class={'outline-none ml-[23px] mt-2 flex items-center hover:opacity-90 text-[16px] justify-center gap-x-2 text-white w-[94px] h-[40px] rounded-lg'}
size="large" style={
icon={<CheckOutlined />}
{
background: 'linear-gradient(180deg,#ffaa4e 0%,#ff6227 100%)'
}}
onClick={() => { onClick={() => {
if (form.type === 1 && !form.text && !form.name) { if (form.type === 1 && !form.text && !form.name) {
globalToast.error('文字图标请至少填写文字或者名称') globalToast.error('文字图标请至少填写文字或者名称')
@ -296,7 +300,7 @@ export default defineComponent(() => {
}} }}
> >
</Button> </button>
</Form.Item> </Form.Item>
</Form> </Form>
</div> </div>