hyzp_ybqx-Commit190:为了开发测试,暂时恢复支持"x86"模拟器,等发布时再取消。

已经实现不同区县用户登录后,在“推送交警”页面显示对应单位的公章

潘总,请你确认一下以下清单。20250519潘总已经微信确认过了。

在区县App中加入区县生态环境局公章的名单:
	宜宾市珙县生态环境局.png
	宜宾市筠连生态环境局.png
	宜宾三江新区城乡融合发展局.png
	宜宾市兴文生态环境局.png
	宜宾市叙州生态环境局.png
	宜宾市长宁生态环境局.png

没有公章的区县生态环境局的名单:
	宜宾市翠屏生态环境局.png
	宜宾市高县生态环境局.png
	宜宾市江安生态环境局.png
	宜宾市南溪生态环境局.png
This commit is contained in:
WinUser01
2025-05-19 21:49:04 +08:00
parent 1969f3e142
commit 0a5c013060
13 changed files with 19 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+7
View File
@@ -66,6 +66,7 @@ class UserInfo {
qx_name_long = '宜宾市' + trim_county(qx_name);
service_tel = '\n服务热线:187-8467-8300';
copyright_info = '© ' + qx_name_long + '生态环境局 四川省踏石科技 版权所有' + service_tel;
official_seal = qx_name_long + '生态环境局' + '.png'; // 区县单位公章
// 中心地址:宜宾市白塔山
center_latitude = 28.77914; // 区县中心纬度
center_longitude = 104.644079; // 区县中心经度
@@ -109,6 +110,11 @@ class UserInfo {
qx_name_long = '宜宾' + qx_name;
copyright_info = '© ' + qx_name_long + '城乡融合发展局 四川省踏石科技\n版权所有,' + service_tel.substring(1);
copyright_info_PinYin = 'YIBIN SANJIANG NEW AREA BLACK SMOKE CAR CAPTURE SYSTEM';
// 经测试发现,当images目录下面的图片文件名长度达到14个汉字便会报错,将该文件名称改为“宜宾三江新区城乡融合发展局.png”,编译通过
// “r:\FlutterProject\FlutterProject61-hyzp_ybqx_with_ios\hyzp_ybqx\assets\images\宜宾三江新区城乡融合发展局.png”
official_seal = qx_name_long + '城乡融合发展局' + '.png'; // 区县单位公章
// 中心地址:
// 点击底图空白处响应:coordinate = {latitude: 28.822633806922394, longitude: 104.75964294854222}
center_latitude = 28.822633806922394; // 区县中心纬度
@@ -161,6 +167,7 @@ class UserInfo {
default:
break;
}
print('official_seal = $official_seal'); // official_seal = 宜宾市长宁生态环境局.png
}
// 去除末尾的区县
+1
View File
@@ -228,6 +228,7 @@ String copyright_info_PinYin = '';
// 区县中心地址
double center_latitude = -1; // 区县中心纬度
double center_longitude = -1; // 区县中心经度
String official_seal = ''; // 区县单位公章
clear_user_info() {
qx_code = -1;
+11 -2
View File
@@ -13,6 +13,7 @@ import 'package:keyboard_avoider/keyboard_avoider.dart';
//
import '../../../components/commonFun.dart';
//import 'package:hyzp_ybqx/widget/player_pro_new.dart';
import '../../../components/dioFun.dart';
import '../../../components/doJSON.dart';
@@ -75,6 +76,8 @@ class _LoginPageState extends State<TsjjContentNew> with SingleTickerProviderSta
try_setState(); //避免如下异常报错
});
print('official_seal = $official_seal');
_widthLeft = _screenWidth / 2;
getListFlields();
@@ -123,7 +126,8 @@ class _LoginPageState extends State<TsjjContentNew> with SingleTickerProviderSta
print('_mapTsjjGetTsStatus = $_mapTsjjGetTsStatus');
// 获取网络图片尺寸,getMediaUrl(_mapGetTsjjGetData['pic_url'])
await flustars.WidgetUtil.getImageWH(url: getMediaUrl(_mapGetTsjjGetData['pic_url'])).then((rect) {
await flustars.WidgetUtil.getImageWH(url: getMediaUrl(_mapGetTsjjGetData['pic_url']))
.then((rect) {
if (null != rect) {
_radioImage = rect.height / rect.width;
print("rect = $rect,_radioImage = $_radioImage");
@@ -915,8 +919,13 @@ class _LoginPageState extends State<TsjjContentNew> with SingleTickerProviderSta
//color: Colors.black12,
decoration: BoxDecoration(
//color: Colors.white,
// image: DecorationImage(
// image: AssetImage("assets/images/jkzx_stamp.png"), fit: BoxFit.contain),
// image: DecorationImage(
// image: AssetImage("assets/images/宜宾市长宁生态环境局.png"), fit: BoxFit.contain),
image: DecorationImage(
image: AssetImage("assets/images/jkzx_stamp.png"), fit: BoxFit.contain),
image: AssetImage("assets/images/" + official_seal), fit: BoxFit.contain),
),
//child:
),