feat:修改关于页面 icon

This commit is contained in:
anfe 2024-04-26 11:50:09 +08:00
parent fb844d9cb6
commit c436250b09
2 changed files with 10 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -55,8 +55,12 @@ class _AboutPageState extends State<AboutPage> {
children: [ children: [
SizedBox(height: 150.h), SizedBox(height: 150.h),
Row(mainAxisAlignment: MainAxisAlignment.center, children: [ Row(mainAxisAlignment: MainAxisAlignment.center, children: [
Image.asset("images/icon_main_1024.png", Image.asset(
width: 160.w, height: 160.w), F.sw(
defaultCall: () => "images/icon_main_1024.png",
xhjCall: () => "images/icon_main_xhj_1024.png"),
width: 160.w,
height: 160.w),
]), ]),
SizedBox(height: 20.h), SizedBox(height: 20.h),
Text( Text(
@ -95,11 +99,10 @@ class _AboutPageState extends State<AboutPage> {
isHaveLine: false, isHaveLine: false,
isHaveDirection: true, isHaveDirection: true,
action: () { action: () {
Get.toNamed(Routers.webviewShowPage, Get.toNamed(Routers.webviewShowPage, arguments: {
arguments: { "url": XSConstantMacro.userAgreementURL,
"url": XSConstantMacro.userAgreementURL, "title": '用户协议'.tr
"title": '用户协议'.tr });
});
}), }),
Divider( Divider(
height: 1, height: 1,