hyzp_ybqx-Commit067:一套APP适应多个区县,已经吸收上一次设计过程Commit065-Commit073的优化
This commit is contained in:
@@ -84,7 +84,7 @@ class LoginTabs2State extends State<LoginTabs2> {
|
||||
text: TextSpan(children: [
|
||||
TextSpan(
|
||||
// text: '宜宾市翠屏黑烟车',
|
||||
text: qx_name + '黑烟车',
|
||||
text: qx_name_long + '黑烟车',
|
||||
style: TextStyle(
|
||||
fontSize: 26.0, color: Colors.white, fontWeight: FontWeight.bold)),
|
||||
TextSpan(
|
||||
@@ -94,7 +94,10 @@ class LoginTabs2State extends State<LoginTabs2> {
|
||||
color: Color.fromRGBO(49, 216, 123, 1),
|
||||
fontWeight: FontWeight.bold)),
|
||||
TextSpan(
|
||||
text: '\n' + copyright_info_PinYin,
|
||||
// text: '\n' + copyright_info_PinYin,
|
||||
text: copyright_info_PinYin.isEmpty
|
||||
? '\nBLACK SMOKE CAR CAPTURE SYSTEM'
|
||||
: ('\n' + copyright_info_PinYin),
|
||||
style:
|
||||
TextStyle(fontSize: 11.0, color: Color.fromRGBO(101, 117, 142, 1))),
|
||||
]),
|
||||
|
||||
@@ -36,7 +36,7 @@ class _LoginPageState extends State<ModifyPassword> {
|
||||
newPassword1 = newPassword1.trim();
|
||||
newPassword2 = newPassword2.trim();
|
||||
|
||||
RegExp regNewPw = RegExp(r"^[a-zA-Z0-9\?_!@#\$\%\^&]+$");
|
||||
RegExp regNewPw = RegExp(r"^[a-zA-Z0-9\?_!@#\$\%\^&]+$");
|
||||
if (g_userInfo.password.isNotEmpty && oldPassword != g_userInfo.password) {
|
||||
Fluttertoast.showToast(
|
||||
msg: '输入的旧密码错误!',
|
||||
|
||||
@@ -113,7 +113,7 @@ class _LoginPageState extends State<MyAbout> {
|
||||
children: <Widget>[
|
||||
SizedBox(height: 60),
|
||||
// Text('宜宾市翠屏黑烟车电子抓拍系统', style: TextStyle(fontSize: 20)),
|
||||
Text(qx_name + '黑烟车电子抓拍系统', style: TextStyle(fontSize: 20)),
|
||||
Text(qx_name_long + '黑烟车电子抓拍系统', style: TextStyle(fontSize: 20)),
|
||||
Text('v${widget.ver}(${widget.date})', style: TextStyle(fontSize: 20)),
|
||||
SizedBox(height: 60),
|
||||
// Text('© 宜宾市翠屏生态环境局 版权所有',
|
||||
|
||||
@@ -9,6 +9,7 @@ import 'package:hyzp_ybqx/components/commonFun.dart';
|
||||
import 'package:hyzp_ybqx/pages/Login/FaceLogin.dart';
|
||||
import 'package:hyzp_ybqx/pages/Login/FaceReg.dart';
|
||||
import 'package:hyzp_ybqx/pages/MyMsics/05_updated/MyUpdatedNew.dart';
|
||||
import 'package:hyzp_ybqx/pages/Works/TJXX/tj_data.dart';
|
||||
import 'package:hyzp_ybqx/pages/tabs/page5_userManager.dart';
|
||||
import 'package:hyzp_ybqx/widget/JdButton.dart';
|
||||
import 'package:package_info/package_info.dart';
|
||||
@@ -373,6 +374,11 @@ class _Page4_MyMsicsNewState extends State<Page4_MyMsicsNew>
|
||||
text: "退出登录",
|
||||
color: Color.fromRGBO(80, 159, 245, 1),
|
||||
onTop: () {
|
||||
clear_user_info(); // 清空用户信息
|
||||
//刷新统计数据
|
||||
mapStatisInfo.forEach((key, value) {
|
||||
mapStatisInfo[key] = -1;
|
||||
});
|
||||
Navigator.pushNamed(context, '/', arguments: 0);
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user