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