更新sky环境下的图片
This commit is contained in:
parent
d98f39721d
commit
f07618faa2
Binary file not shown.
|
Before Width: | Height: | Size: 64 KiB |
BIN
images/icon_main_sky_1024.png
Executable file
BIN
images/icon_main_sky_1024.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
@ -77,7 +77,7 @@ class _StarLockLoginPageState extends State<StarLockLoginPage> {
|
|||||||
Container(
|
Container(
|
||||||
padding: EdgeInsets.all(10.w),
|
padding: EdgeInsets.all(10.w),
|
||||||
child: Center(
|
child: Center(
|
||||||
child: Image.asset('images/icon_main_1024.png',
|
child: Image.asset('images/icon_main_sky_1024.png',
|
||||||
width: 110.w, height: 110.w))),
|
width: 110.w, height: 110.w))),
|
||||||
SizedBox(height: 50.w),
|
SizedBox(height: 50.w),
|
||||||
Obx(() => CommonItem(
|
Obx(() => CommonItem(
|
||||||
@ -190,10 +190,11 @@ class _StarLockLoginPageState extends State<StarLockLoginPage> {
|
|||||||
color: AppColors.mainColor,
|
color: AppColors.mainColor,
|
||||||
fontSize: 20.sp)),
|
fontSize: 20.sp)),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Get.toNamed(Routers.webviewShowPage, arguments: <String, String>{
|
Get.toNamed(Routers.webviewShowPage,
|
||||||
'url': XSConstantMacro.userAgreementURL,
|
arguments: <String, String>{
|
||||||
'title': '用户协议'.tr
|
'url': XSConstantMacro.userAgreementURL,
|
||||||
});
|
'title': '用户协议'.tr
|
||||||
|
});
|
||||||
},
|
},
|
||||||
)),
|
)),
|
||||||
WidgetSpan(
|
WidgetSpan(
|
||||||
@ -205,10 +206,11 @@ class _StarLockLoginPageState extends State<StarLockLoginPage> {
|
|||||||
color: AppColors.mainColor,
|
color: AppColors.mainColor,
|
||||||
fontSize: 20.sp)),
|
fontSize: 20.sp)),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Get.toNamed(Routers.webviewShowPage, arguments: <String, String>{
|
Get.toNamed(Routers.webviewShowPage,
|
||||||
'url': XSConstantMacro.privacyPolicyURL,
|
arguments: <String, String>{
|
||||||
'title': '隐私政策'.tr
|
'url': XSConstantMacro.privacyPolicyURL,
|
||||||
});
|
'title': '隐私政策'.tr
|
||||||
|
});
|
||||||
},
|
},
|
||||||
)),
|
)),
|
||||||
],
|
],
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||||
import 'package:get/get.dart';
|
import 'package:get/get.dart';
|
||||||
|
import 'package:package_info_plus/package_info_plus.dart';
|
||||||
import 'package:star_lock/appRouters.dart';
|
import 'package:star_lock/appRouters.dart';
|
||||||
import 'package:star_lock/common/XSConstantMacro/XSConstantMacro.dart';
|
import 'package:star_lock/common/XSConstantMacro/XSConstantMacro.dart';
|
||||||
import 'package:package_info_plus/package_info_plus.dart';
|
|
||||||
import 'package:star_lock/mine/about/about_console.dart';
|
import 'package:star_lock/mine/about/about_console.dart';
|
||||||
|
|
||||||
import '../../app_settings/app_colors.dart';
|
import '../../app_settings/app_colors.dart';
|
||||||
@ -21,10 +21,10 @@ class AboutPage extends StatefulWidget {
|
|||||||
|
|
||||||
class _AboutPageState extends State<AboutPage> {
|
class _AboutPageState extends State<AboutPage> {
|
||||||
late PackageInfo packageInfo;
|
late PackageInfo packageInfo;
|
||||||
String appName = "";
|
String appName = '';
|
||||||
String packageName = "";
|
String packageName = '';
|
||||||
String version = "-----";
|
String version = '-----';
|
||||||
String buildNumber = "---";
|
String buildNumber = '---';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
@ -66,13 +66,9 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
body: Column(
|
body: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
F.sw(
|
F.sw(skyCall: logoView, xhjCall: () => const SizedBox()),
|
||||||
skyCall: () => logoView(),
|
|
||||||
xhjCall: () => const SizedBox()),
|
|
||||||
listView(),
|
listView(),
|
||||||
F.sw(
|
F.sw(skyCall: () => const SizedBox(), xhjCall: logoView),
|
||||||
skyCall: () => const SizedBox(),
|
|
||||||
xhjCall: () => logoView()),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
@ -85,13 +81,13 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
children: [
|
children: [
|
||||||
CommonItem(
|
CommonItem(
|
||||||
leftTitel: TranslationLoader.lanKeys!.introduce!.tr,
|
leftTitel: TranslationLoader.lanKeys!.introduce!.tr,
|
||||||
rightTitle: "",
|
rightTitle: '',
|
||||||
isHaveLine: false,
|
isHaveLine: false,
|
||||||
isHaveDirection: true,
|
isHaveDirection: true,
|
||||||
action: () {
|
action: () {
|
||||||
Navigator.pushNamed(context, Routers.webviewShowPage, arguments: {
|
Navigator.pushNamed(context, Routers.webviewShowPage, arguments: {
|
||||||
"url": XSConstantMacro.introduceURL,
|
'url': XSConstantMacro.introduceURL,
|
||||||
"title": '介绍'.tr
|
'title': '介绍'.tr
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
Divider(
|
Divider(
|
||||||
@ -102,13 +98,13 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
),
|
),
|
||||||
CommonItem(
|
CommonItem(
|
||||||
leftTitel: TranslationLoader.lanKeys!.userAgreement!.tr,
|
leftTitel: TranslationLoader.lanKeys!.userAgreement!.tr,
|
||||||
rightTitle: "",
|
rightTitle: '',
|
||||||
isHaveLine: false,
|
isHaveLine: false,
|
||||||
isHaveDirection: true,
|
isHaveDirection: true,
|
||||||
action: () {
|
action: () {
|
||||||
Get.toNamed(Routers.webviewShowPage, arguments: {
|
Get.toNamed(Routers.webviewShowPage, arguments: {
|
||||||
"url": XSConstantMacro.userAgreementURL,
|
'url': XSConstantMacro.userAgreementURL,
|
||||||
"title": '用户协议'.tr
|
'title': '用户协议'.tr
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
Divider(
|
Divider(
|
||||||
@ -119,13 +115,13 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
),
|
),
|
||||||
CommonItem(
|
CommonItem(
|
||||||
leftTitel: TranslationLoader.lanKeys!.privacyPolicy!.tr,
|
leftTitel: TranslationLoader.lanKeys!.privacyPolicy!.tr,
|
||||||
rightTitle: "",
|
rightTitle: '',
|
||||||
isHaveLine: false,
|
isHaveLine: false,
|
||||||
isHaveDirection: true,
|
isHaveDirection: true,
|
||||||
action: () {
|
action: () {
|
||||||
Navigator.pushNamed(context, Routers.webviewShowPage, arguments: {
|
Navigator.pushNamed(context, Routers.webviewShowPage, arguments: {
|
||||||
"url": XSConstantMacro.privacyPolicyURL,
|
'url': XSConstantMacro.privacyPolicyURL,
|
||||||
"title": '隐私政策'.tr
|
'title': '隐私政策'.tr
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
Divider(
|
Divider(
|
||||||
@ -137,13 +133,13 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
CommonItem(
|
CommonItem(
|
||||||
leftTitel: TranslationLoader
|
leftTitel: TranslationLoader
|
||||||
.lanKeys!.personalInformationCollectionList!.tr,
|
.lanKeys!.personalInformationCollectionList!.tr,
|
||||||
rightTitle: "",
|
rightTitle: '',
|
||||||
isHaveLine: false,
|
isHaveLine: false,
|
||||||
isHaveDirection: true,
|
isHaveDirection: true,
|
||||||
action: () {
|
action: () {
|
||||||
Navigator.pushNamed(context, Routers.webviewShowPage, arguments: {
|
Navigator.pushNamed(context, Routers.webviewShowPage, arguments: {
|
||||||
"url": XSConstantMacro.collectionListURL,
|
'url': XSConstantMacro.collectionListURL,
|
||||||
"title": '个人信息收集清单'.tr
|
'title': '个人信息收集清单'.tr
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
Divider(
|
Divider(
|
||||||
@ -155,13 +151,13 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
CommonItem(
|
CommonItem(
|
||||||
leftTitel:
|
leftTitel:
|
||||||
TranslationLoader.lanKeys!.applicationPermissionDescription!.tr,
|
TranslationLoader.lanKeys!.applicationPermissionDescription!.tr,
|
||||||
rightTitle: "",
|
rightTitle: '',
|
||||||
isHaveLine: false,
|
isHaveLine: false,
|
||||||
isHaveDirection: true,
|
isHaveDirection: true,
|
||||||
action: () {
|
action: () {
|
||||||
Navigator.pushNamed(context, Routers.webviewShowPage, arguments: {
|
Navigator.pushNamed(context, Routers.webviewShowPage, arguments: {
|
||||||
"url": XSConstantMacro.appPermissionDescURL,
|
'url': XSConstantMacro.appPermissionDescURL,
|
||||||
"title": '应用权限说明'.tr
|
'title': '应用权限说明'.tr
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
Divider(
|
Divider(
|
||||||
@ -173,13 +169,13 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
CommonItem(
|
CommonItem(
|
||||||
leftTitel:
|
leftTitel:
|
||||||
TranslationLoader.lanKeys!.thirdPartyInformationSharingList!.tr,
|
TranslationLoader.lanKeys!.thirdPartyInformationSharingList!.tr,
|
||||||
rightTitle: "",
|
rightTitle: '',
|
||||||
isHaveLine: false,
|
isHaveLine: false,
|
||||||
isHaveDirection: true,
|
isHaveDirection: true,
|
||||||
action: () {
|
action: () {
|
||||||
Navigator.pushNamed(context, Routers.webviewShowPage, arguments: {
|
Navigator.pushNamed(context, Routers.webviewShowPage, arguments: {
|
||||||
"url": XSConstantMacro.thirdPartyInfShareListURL,
|
'url': XSConstantMacro.thirdPartyInfShareListURL,
|
||||||
"title": '第三方信息共享清单'.tr
|
'title': '第三方信息共享清单'.tr
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
@ -221,14 +217,14 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
borderRadius: BorderRadius.circular(20.r),
|
borderRadius: BorderRadius.circular(20.r),
|
||||||
child: Image.asset(
|
child: Image.asset(
|
||||||
F.sw(
|
F.sw(
|
||||||
skyCall: () => "images/icon_main_1024.png",
|
skyCall: () => 'images/icon_main_sky_1024.png',
|
||||||
xhjCall: () => "images/icon_main_xhj_1024.png"),
|
xhjCall: () => 'images/icon_main_xhj_1024.png'),
|
||||||
width: 160.w,
|
width: 160.w,
|
||||||
height: 160.w),
|
height: 160.w),
|
||||||
),
|
),
|
||||||
SizedBox(height: 20.h),
|
SizedBox(height: 20.h),
|
||||||
Text(
|
Text(
|
||||||
"${F.title} $version+$buildNumber",
|
'${F.title} $version+$buildNumber',
|
||||||
style: TextStyle(fontSize: 24.sp, color: AppColors.blackColor),
|
style: TextStyle(fontSize: 24.sp, color: AppColors.blackColor),
|
||||||
),
|
),
|
||||||
SizedBox(height: 20.h),
|
SizedBox(height: 20.h),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user