Commit 13785f72 by ethanlamzs

Merge branch 'feature-2604' of http://120.24.213.56/ethan/appframe into feature-2604

2 parents a54bf0a8 b744c5d8
...@@ -809,7 +809,7 @@ class WebCubit extends Cubit<WebState> with WidgetsBindingObserver { ...@@ -809,7 +809,7 @@ class WebCubit extends Cubit<WebState> with WidgetsBindingObserver {
); );
emit(state.copyWith(suggestAppUpgrade: false)); emit(state.copyWith(suggestAppUpgrade: false));
if (result != null) { if (result != null) {
final uri = Uri.parse('https://www.banxe.cn/apps/pro.html'); final uri = Uri.parse('https://www.banxe.cn/apps/pro.html?t=${DateTime.now().millisecondsSinceEpoch}');
if (await canLaunchUrl(uri)) { if (await canLaunchUrl(uri)) {
await launchUrl(uri, mode: LaunchMode.externalApplication); await launchUrl(uri, mode: LaunchMode.externalApplication);
} }
......
...@@ -96,7 +96,10 @@ class SettingPage extends StatelessWidget { ...@@ -96,7 +96,10 @@ class SettingPage extends StatelessWidget {
onTap: () { onTap: () {
router.push( router.push(
'/link', '/link',
extra: {'url': 'https://bxr.banxiaoer.net/apps/versions.html', 'title': '版本记录'}, extra: {
'url': 'https://bxr.banxiaoer.net/apps/versions.html?t=${DateTime.now().millisecondsSinceEpoch}',
'title': '版本记录'
},
); );
}, },
contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 4), contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 4),
...@@ -112,7 +115,7 @@ class SettingPage extends StatelessWidget { ...@@ -112,7 +115,7 @@ class SettingPage extends StatelessWidget {
router.push( router.push(
'/link', '/link',
extra: { extra: {
'url': 'https://bxr.banxiaoer.net/apps/useragreement.html', 'url': 'https://bxr.banxiaoer.net/apps/useragreement.html?t=${DateTime.now().millisecondsSinceEpoch}',
'title': '用户协议' 'title': '用户协议'
}, },
); );
...@@ -130,7 +133,7 @@ class SettingPage extends StatelessWidget { ...@@ -130,7 +133,7 @@ class SettingPage extends StatelessWidget {
router.push( router.push(
'/link', '/link',
extra: { extra: {
'url': 'https://bxr.banxiaoer.net/apps/privacysettings.html', 'url': 'https://bxr.banxiaoer.net/apps/privacysettings.html?t=${DateTime.now().millisecondsSinceEpoch}',
'title': '隐私设置' 'title': '隐私设置'
}, },
); );
...@@ -147,7 +150,10 @@ class SettingPage extends StatelessWidget { ...@@ -147,7 +150,10 @@ class SettingPage extends StatelessWidget {
onTap: () { onTap: () {
router.push( router.push(
'/link', '/link',
extra: {'url': 'https://bxr.banxiaoer.net/apps/produce.html', 'title': '关于'}, extra: {
'url': 'https://bxr.banxiaoer.net/apps/produce.html?t=${DateTime.now().millisecondsSinceEpoch}',
'title': '关于'
},
); );
}, },
contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 4), contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 4),
...@@ -170,7 +176,7 @@ class SettingPage extends StatelessWidget { ...@@ -170,7 +176,7 @@ class SettingPage extends StatelessWidget {
leading: const Icon(Icons.download, size: 20), leading: const Icon(Icons.download, size: 20),
title: const Text('下载与更新', style: TextStyle(fontSize: 14)), title: const Text('下载与更新', style: TextStyle(fontSize: 14)),
onTap: () async { onTap: () async {
final uri = Uri.parse('https://www.banxe.cn/apps/pro.html'); final uri = Uri.parse('https://www.banxe.cn/apps/pro.html?t=${DateTime.now().millisecondsSinceEpoch}');
if (await canLaunchUrl(uri)) { if (await canLaunchUrl(uri)) {
await launchUrl(uri, mode: LaunchMode.externalApplication); await launchUrl(uri, mode: LaunchMode.externalApplication);
} }
......
name: appframe name: appframe
description: "app frame project." description: "app frame project."
publish_to: 'none' publish_to: 'none'
version: 1.0.9+5 version: 1.0.10+6
environment: environment:
sdk: ">=3.5.0 <4.0.0" sdk: ">=3.5.0 <4.0.0"
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!