hyzp_ybqx-Commit067:一套APP适应多个区县,已经吸收上一次设计过程Commit065-Commit073的优化
This commit is contained in:
@@ -1972,7 +1972,7 @@ Future getThePageList(
|
|||||||
print('response = ${response.toString()}');
|
print('response = ${response.toString()}');
|
||||||
// I/flutter (16869): mapHyshlx[theHyshlx][api] = http://125.64.218.67:9909?s=App.Car_Hyc.GetList
|
// I/flutter (16869): mapHyshlx[theHyshlx][api] = http://125.64.218.67:9909?s=App.Car_Hyc.GetList
|
||||||
// I/flutter (16869): map = {page: 1, perpage: 100, sign: ff2b4ea7283c2a2dd86ab665c5fe0f0f, random: 763117, workflow: 1}
|
// I/flutter (16869): map = {page: 1, perpage: 100, sign: ff2b4ea7283c2a2dd86ab665c5fe0f0f, random: 763117, workflow: 1}
|
||||||
// I/flutter (16869): response = {"ret":400,"data":{},"msg":"非法请求:缺少必要参数qx_code"}
|
// I/flutter (16869): response = {"ret":400,"data":{},"msg":"非法请求:缺少必要参数qxdm"}
|
||||||
|
|
||||||
//I/flutter ( 5232): {"ret":200,"data":{"items":[],"total":0,"page":1,"perpage":10},"msg":""}
|
//I/flutter ( 5232): {"ret":200,"data":{"items":[],"total":0,"page":1,"perpage":10},"msg":""}
|
||||||
if (response.statusCode == 200) {
|
if (response.statusCode == 200) {
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ class LoginTabs2State extends State<LoginTabs2> {
|
|||||||
text: TextSpan(children: [
|
text: TextSpan(children: [
|
||||||
TextSpan(
|
TextSpan(
|
||||||
// text: '宜宾市翠屏黑烟车',
|
// text: '宜宾市翠屏黑烟车',
|
||||||
text: qx_name + '黑烟车',
|
text: qx_name_long + '黑烟车',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 26.0, color: Colors.white, fontWeight: FontWeight.bold)),
|
fontSize: 26.0, color: Colors.white, fontWeight: FontWeight.bold)),
|
||||||
TextSpan(
|
TextSpan(
|
||||||
@@ -94,7 +94,10 @@ class LoginTabs2State extends State<LoginTabs2> {
|
|||||||
color: Color.fromRGBO(49, 216, 123, 1),
|
color: Color.fromRGBO(49, 216, 123, 1),
|
||||||
fontWeight: FontWeight.bold)),
|
fontWeight: FontWeight.bold)),
|
||||||
TextSpan(
|
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:
|
style:
|
||||||
TextStyle(fontSize: 11.0, color: Color.fromRGBO(101, 117, 142, 1))),
|
TextStyle(fontSize: 11.0, color: Color.fromRGBO(101, 117, 142, 1))),
|
||||||
]),
|
]),
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ class _LoginPageState extends State<ModifyPassword> {
|
|||||||
newPassword1 = newPassword1.trim();
|
newPassword1 = newPassword1.trim();
|
||||||
newPassword2 = newPassword2.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) {
|
if (g_userInfo.password.isNotEmpty && oldPassword != g_userInfo.password) {
|
||||||
Fluttertoast.showToast(
|
Fluttertoast.showToast(
|
||||||
msg: '输入的旧密码错误!',
|
msg: '输入的旧密码错误!',
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ class _LoginPageState extends State<MyAbout> {
|
|||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
SizedBox(height: 60),
|
SizedBox(height: 60),
|
||||||
// Text('宜宾市翠屏黑烟车电子抓拍系统', style: TextStyle(fontSize: 20)),
|
// 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)),
|
Text('v${widget.ver}(${widget.date})', style: TextStyle(fontSize: 20)),
|
||||||
SizedBox(height: 60),
|
SizedBox(height: 60),
|
||||||
// Text('© 宜宾市翠屏生态环境局 版权所有',
|
// 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/FaceLogin.dart';
|
||||||
import 'package:hyzp_ybqx/pages/Login/FaceReg.dart';
|
import 'package:hyzp_ybqx/pages/Login/FaceReg.dart';
|
||||||
import 'package:hyzp_ybqx/pages/MyMsics/05_updated/MyUpdatedNew.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/pages/tabs/page5_userManager.dart';
|
||||||
import 'package:hyzp_ybqx/widget/JdButton.dart';
|
import 'package:hyzp_ybqx/widget/JdButton.dart';
|
||||||
import 'package:package_info/package_info.dart';
|
import 'package:package_info/package_info.dart';
|
||||||
@@ -373,6 +374,11 @@ class _Page4_MyMsicsNewState extends State<Page4_MyMsicsNew>
|
|||||||
text: "退出登录",
|
text: "退出登录",
|
||||||
color: Color.fromRGBO(80, 159, 245, 1),
|
color: Color.fromRGBO(80, 159, 245, 1),
|
||||||
onTop: () {
|
onTop: () {
|
||||||
|
clear_user_info(); // 清空用户信息
|
||||||
|
//刷新统计数据
|
||||||
|
mapStatisInfo.forEach((key, value) {
|
||||||
|
mapStatisInfo[key] = -1;
|
||||||
|
});
|
||||||
Navigator.pushNamed(context, '/', arguments: 0);
|
Navigator.pushNamed(context, '/', arguments: 0);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user