# Conflicts:
#	ios/Runner.xcodeproj/project.pbxproj
main
xufei 2025-09-19 18:02:13 +08:00
commit 2582a547c3
6 changed files with 81 additions and 89 deletions

View File

@ -493,7 +493,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 60;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 8AKCJ9LW7D;
ENABLE_BITCODE = NO;
@ -503,7 +503,6 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.2.1;
PRODUCT_BUNDLE_IDENTIFIER = uni.UNI85F7A17;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
@ -688,7 +687,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 60;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 8AKCJ9LW7D;
ENABLE_BITCODE = NO;
@ -698,7 +697,6 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.2.1;
PRODUCT_BUNDLE_IDENTIFIER = uni.UNI85F7A17;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
@ -720,7 +718,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 60;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 8AKCJ9LW7D;
ENABLE_BITCODE = NO;
@ -730,7 +728,6 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.2.1;
PRODUCT_BUNDLE_IDENTIFIER = uni.UNI85F7A17;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";

View File

@ -20,12 +20,12 @@
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>baidumap</string>
</array>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NFCReaderUsageDescription</key>
@ -77,17 +77,10 @@
<false/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>com.apple.developer.nfc.readersession.formats</key>
<array>

View File

@ -247,7 +247,6 @@ class HomePageState extends State<HomePage> {
// + hiddenList loading
_fetchData();
_fetchHiddenList(showLoading: hiddenList.isEmpty);
fetchAndSaveBd09(context);
///
final data = await ApiService.getListData();
if (data['result'] == 'success') {
@ -258,6 +257,7 @@ class HomePageState extends State<HomePage> {
}
}
}
fetchAndSaveBd09(context);
}
Future<void> _onRefresh() async {

View File

@ -260,28 +260,33 @@ class _LoginPageState extends State<LoginPage> {
Padding(
padding: const EdgeInsets.only(bottom: 10),
child: Center( // Row Center
child: Row(
mainAxisSize: MainAxisSize.min, // Row
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Checkbox(
value: _agreed,
activeColor: Colors.white,
checkColor: Colors.blueAccent,
side: const BorderSide(color: Colors.white),
onChanged:(value) {
onChanged: (value) {
setState(() {
_agreed = value??false;
_agreed = value ?? false;
});
},
// (v) => setState(() => _agreed = v ?? false),
),
Expanded(
// Flexible Expanded RichText
Flexible(
fit: FlexFit.loose,
child: RichText(
textAlign: TextAlign.center, // 使
text: TextSpan(
children: [
TextSpan(
const TextSpan(
text: '我已阅读并同意',
style: const TextStyle(
style: TextStyle(
color: Colors.white,
fontSize: 12,
),
@ -292,22 +297,20 @@ class _LoginPageState extends State<LoginPage> {
color: Color(0xFF0D1D8C),
fontSize: 12,
),
recognizer:
TapGestureRecognizer()
recognizer: TapGestureRecognizer()
..onTap = () {
pushPage(
const WebViewPage(
name: "用户服务协议",
url:
'http://47.92.102.56:7811/file/xieyi/zsyhxy.htm', //
url: 'http://47.92.102.56:7811/file/xieyi/zsyhxy.htm',
),
context,
);
},
),
TextSpan(
const TextSpan(
text: '',
style: const TextStyle(
style: TextStyle(
color: Colors.white,
fontSize: 12,
),
@ -318,14 +321,12 @@ class _LoginPageState extends State<LoginPage> {
color: Color(0xFF0D1D8C),
fontSize: 12,
),
recognizer:
TapGestureRecognizer()
recognizer: TapGestureRecognizer()
..onTap = () {
pushPage(
const WebViewPage(
name: "隐私政策",
url:
'http://47.92.102.56:7811/file/xieyi/zsysq.htm', //
url: 'http://47.92.102.56:7811/file/xieyi/zsysq.htm',
),
context,
);
@ -338,6 +339,8 @@ class _LoginPageState extends State<LoginPage> {
],
),
),
),
],
),
// ),

View File

@ -622,6 +622,7 @@ Future<void> openAppStore() async {
if (await canLaunchUrl(uri)) {
await launchUrl(uri, mode: LaunchMode.externalApplication);
exit(0);
} else {
// 退 https App Store
final Uri webUri = Uri.parse('https://itunes.apple.com/app/id$appId');
@ -630,5 +631,6 @@ Future<void> openAppStore() async {
} else {
throw 'Could not launch App Store for app id $appId';
}
exit(0);
}
}

View File

@ -150,10 +150,7 @@ class _DownloadProgressDialogState extends State<DownloadProgressDialog> {
],
),
actions: [
TextButton(
onPressed: _onCancel,
child: const Text('取消'),
),
],
),
);