diff --git a/ui/ConnectPage.slint b/ui/ConnectPage.slint index d08c1f4..1f1f8e1 100644 --- a/ui/ConnectPage.slint +++ b/ui/ConnectPage.slint @@ -5,14 +5,13 @@ import { import { Button, LabeledInput } from "Components.slint"; export component ConnectPage inherits Window { - width: 1920px; - height: 1080px; - title: "UNO!"; - in property is-connecting; callback request-connect(string, string, string); + width: 1920px; + height: 1080px; + // 背景渐变 (从左上角的米色到右下角的淡粉色) Rectangle { background: @linear-gradient(135deg, #fdfbf7 0%, #f3e7e9 100%); diff --git a/ui/StartPage.slint b/ui/StartPage.slint index 7f4a445..a91683e 100644 --- a/ui/StartPage.slint +++ b/ui/StartPage.slint @@ -1,14 +1,13 @@ import {Button} from "Components.slint"; export component StartPage inherits Window { - width: 1920px; - height: 1080px; - title: "UNO!"; - in property is-ready; callback request-start; + width: 1920px; + height: 1080px; + // 背景渐变 (从左上角的米色到右下角的淡粉色) Rectangle { background: @linear-gradient(135deg, #fdfbf7 0%, #f3e7e9 100%);