mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 10:03:43 +08:00
交互暗示 优化
This commit is contained in:
parent
4f3dc05667
commit
440c8af73c
@ -88,7 +88,7 @@ class HomeUI extends BaseUI<HomeUIModel> {
|
|||||||
height: 260,
|
height: 260,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
makeGameStatusCard(context, model, 320)
|
makeGameStatusCard(context, model, 340)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -386,6 +386,12 @@ class HomeUI extends BaseUI<HomeUIModel> {
|
|||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
style: const TextStyle(fontSize: 12.2),
|
style: const TextStyle(fontSize: 12.2),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(width: 12),
|
||||||
|
Icon(
|
||||||
|
FluentIcons.chevron_right,
|
||||||
|
size: 12,
|
||||||
|
color: Colors.white.withOpacity(.4),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@ -616,13 +622,18 @@ class HomeUI extends BaseUI<HomeUIModel> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 3),
|
const SizedBox(width: 5),
|
||||||
Text(
|
Text(
|
||||||
"${model.statusCnName[item["name"]] ?? item["name"]}",
|
"${model.statusCnName[item["name"]] ?? item["name"]}",
|
||||||
style: const TextStyle(fontSize: 13),
|
style: const TextStyle(fontSize: 13),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
),
|
||||||
|
Icon(
|
||||||
|
FluentIcons.chevron_right,
|
||||||
|
size: 12,
|
||||||
|
color: Colors.white.withOpacity(.4),
|
||||||
|
)
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
|
@ -67,7 +67,7 @@ class WebViewModel {
|
|||||||
webview.isNavigating.addListener(() async {
|
webview.isNavigating.addListener(() async {
|
||||||
if (!webview.isNavigating.value && localizationResource.isNotEmpty) {
|
if (!webview.isNavigating.value && localizationResource.isNotEmpty) {
|
||||||
dPrint("webview Navigating url === $url");
|
dPrint("webview Navigating url === $url");
|
||||||
if (url.startsWith("https://robertsspaceindustries.com")) {
|
if (url.contains("robertsspaceindustries.com")) {
|
||||||
// SC 官网
|
// SC 官网
|
||||||
dPrint("load script");
|
dPrint("load script");
|
||||||
await Future.delayed(const Duration(milliseconds: 100));
|
await Future.delayed(const Duration(milliseconds: 100));
|
||||||
|
Loading…
Reference in New Issue
Block a user