hyzp_ybqx-Commit002:已经为“宜宾市翠屏区黑烟车抓拍系统”替换好图片和代码信息,编译通过
This commit is contained in:
@@ -74,7 +74,7 @@ class _MyHomePageState extends State<LoginTabs> {
|
||||
//backgroundColor: Colors.transparent,
|
||||
appBar: AppBar(
|
||||
//backgroundColor: Colors.transparent,
|
||||
title: Text("宜宾市黑烟车电子抓拍系统"),
|
||||
title: Text("宜宾市翠屏黑烟车电子抓拍系统"),
|
||||
leading: IconButton(
|
||||
icon: Icon(Icons.close),
|
||||
onPressed: () {
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import '../../components/commonFun.dart';
|
||||
import 'LoginByName2.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
|
||||
import 'LoginTabsWidget.dart';
|
||||
@@ -84,7 +82,7 @@ class LoginTabs2State extends State<LoginTabs2> {
|
||||
textAlign: TextAlign.center,
|
||||
text: TextSpan(children: [
|
||||
TextSpan(
|
||||
text: '宜宾黑烟车',
|
||||
text: '宜宾市翠屏黑烟车',
|
||||
style: TextStyle(
|
||||
fontSize: 26.0, color: Colors.white, fontWeight: FontWeight.bold)),
|
||||
TextSpan(
|
||||
@@ -110,9 +108,10 @@ class LoginTabs2State extends State<LoginTabs2> {
|
||||
color: Colors.transparent,
|
||||
height: ScreenUtil().setHeight(130), //不能超过133,否则有些手机会越界
|
||||
child: Text(
|
||||
//'© 宜宾市生态环境局\n© 四川省踏石科技有限公司 版权所有 \n服务热线:187-8467-8300',
|
||||
//'© 宜宾市生态环境局\n© 四川省踏石科技有限公司',
|
||||
'© 宜宾市生态环境局 四川省踏石科技 版权所有\n服务热线:187-8467-8300',
|
||||
//'© 宜宾市翠屏生态环境局\n© 四川省踏石科技有限公司 版权所有 \n服务热线:187-8467-8300',
|
||||
//'© 宜宾市翠屏生态环境局\n© 四川省踏石科技有限公司',
|
||||
// '© 宜宾市翠屏生态环境局 四川省踏石科技 版权所有\n服务热线:187-8467-8300',
|
||||
'© 宜宾市翠屏生态环境局 四川省踏石科技 版权所有',
|
||||
maxLines: 2,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
|
||||
@@ -10,7 +10,6 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_downloader/flutter_downloader.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:hyzp_ybqx/components/dioFun.dart';
|
||||
import 'package:hyzp_ybqx/components/doJSON.dart';
|
||||
import 'package:open_file/open_file.dart';
|
||||
import 'package:package_info/package_info.dart';
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
@@ -228,11 +227,12 @@ class _MyUpdatedState extends State<MyUpdated> {
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
SizedBox(height: 60),
|
||||
Text('宜宾市黑烟车电子抓拍系统', style: TextStyle(fontSize: 20)),
|
||||
Text('宜宾市翠屏黑烟车电子抓拍系统', style: TextStyle(fontSize: 20)),
|
||||
Text('v${widget.ver}(${widget.date})', style: TextStyle(fontSize: 20)),
|
||||
SizedBox(height: 60),
|
||||
Text('© 宜宾市生态环境局 四川省踏石科技 版权所有\n服务热线:187-8467-8300',
|
||||
Text('© 宜宾市翠屏生态环境局 四川省踏石科技 版权所有',
|
||||
maxLines: 2, style: TextStyle(fontSize: 16), textAlign: TextAlign.center),
|
||||
// Text('© 宜宾市翠屏生态环境局 四川省踏石科技 版权所有\n服务热线:187-8467-8300',
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../../../components/commonFun.dart';
|
||||
|
||||
import '../../../widget/JdButton.dart';
|
||||
import '../../../components/commonFun.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
|
||||
import '../../../components/commonFun.dart';
|
||||
import '../../../widget/JdButton.dart';
|
||||
|
||||
class MyAbout extends StatefulWidget {
|
||||
MyAbout({Key key, this.ver, this.date}) : super(key: key);
|
||||
String ver = '1.0.0';
|
||||
@@ -113,12 +112,13 @@ class _LoginPageState extends State<MyAbout> {
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
SizedBox(height: 60),
|
||||
Text('宜宾市黑烟车电子抓拍系统', style: TextStyle(fontSize: 20)),
|
||||
Text('宜宾市翠屏黑烟车电子抓拍系统', style: TextStyle(fontSize: 20)),
|
||||
Text('v${widget.ver}(${widget.date})', style: TextStyle(fontSize: 20)),
|
||||
SizedBox(height: 60),
|
||||
Text('© 宜宾市生态环境局 四川省踏石科技 版权所有\n服务热线:187-8467-8300',
|
||||
Text('© 宜宾市翠屏生态环境局 四川省踏石科技 版权所有',
|
||||
maxLines: 2, style: TextStyle(fontSize: 16), textAlign: TextAlign.center),
|
||||
],
|
||||
// Text('© 宜宾市翠屏生态环境局 四川省踏石科技 版权所有\n服务热线:187-8467-8300',
|
||||
),
|
||||
),
|
||||
SizedBox(height: 100),
|
||||
|
||||
@@ -40,20 +40,20 @@ class _BasicMapState extends State<BasicMap> {
|
||||
//30 116.395645038,39.9299857781 北京-北京市
|
||||
//center: BMFCoordinate(34.263161, 108.948024), //西安市
|
||||
/// 设置地图显示中心点坐标,必须是百度官方发布的百度地图-城市中心点坐标
|
||||
/// 为宜宾市白塔山: BMFCoordinate(104.644079, 28.77914)
|
||||
//center: BMFCoordinate(104.644079, 28.77914), //宜宾市白塔山,无效,经纬度搞反了
|
||||
//52 104.633019062,28.7696747963 四川省-宜宾市
|
||||
/// 为宜宾市翠屏白塔山: BMFCoordinate(104.644079, 28.77914)
|
||||
//center: BMFCoordinate(104.644079, 28.77914), //宜宾市翠屏白塔山,无效,经纬度搞反了
|
||||
//52 104.633019062,28.7696747963 四川省-宜宾市翠屏
|
||||
|
||||
///Flutter百度地图采坑注意:
|
||||
// BMFCoordinate(this.latitude, this.longitude);
|
||||
// BMFCoordinate 构造方法参数是纬度在前、经度在后,latitude 纬度,longitude 经度
|
||||
// 百度官方发布的城市中心点坐标是经度在前、纬度在后,必须对调才行,否则无法正确显示指定城市的地图
|
||||
// 比如://52 104.633019062,28.7696747963 四川省-宜宾市
|
||||
// 必须将经纬度对调才行:center: BMFCoordinate(28.7696747963, 104.633019062), //四川省-宜宾市
|
||||
//center: BMFCoordinate(28.7696747963, 104.633019062), //四川省-宜宾市
|
||||
// 比如://52 104.633019062,28.7696747963 四川省-宜宾市翠屏
|
||||
// 必须将经纬度对调才行:center: BMFCoordinate(28.7696747963, 104.633019062), //四川省-宜宾市翠屏
|
||||
//center: BMFCoordinate(28.7696747963, 104.633019062), //四川省-宜宾市翠屏
|
||||
center: BMFCoordinate(28.77914, 104.644079),
|
||||
//宜宾市白塔山
|
||||
//宜宾市白塔山
|
||||
//宜宾市翠屏白塔山
|
||||
//宜宾市翠屏白塔山
|
||||
showMapPoi: _showMapPoi,
|
||||
//设定地图是否显示底图poi标注(不包含室内图标注),默认true
|
||||
zoomLevel: g_zoomLevel,
|
||||
|
||||
@@ -1012,11 +1012,11 @@ class _HyshPageState extends State<HyshGetListFliter> {
|
||||
// '全部',
|
||||
// '1、江北振兴大道',
|
||||
// '2、宜飞路',
|
||||
// '3、宜宾南收费站',
|
||||
// '3、宜宾市翠屏南收费站',
|
||||
// '4、一曼路',
|
||||
// '5、柏溪收费站',
|
||||
// '6、七星路万达广场',
|
||||
// '7、宜宾财政局',
|
||||
// '7、宜宾市翠屏财政局',
|
||||
// '8、宜威路南广镇',
|
||||
// '9、宜长路',
|
||||
// '10、宜南快速通道',
|
||||
|
||||
@@ -90,9 +90,9 @@ class _LedXsxxPageState extends State<LedXsxxContent> {
|
||||
// "dwip": "172.16.3.2",
|
||||
// "dwmc": "宜飞路",
|
||||
// "dwbh": 2,
|
||||
// "dwinfo": "宜宾南收费站宜飞路入城方向",
|
||||
// "dwinfo": "宜宾市翠屏南收费站宜飞路入城方向",
|
||||
// "dwzb": "104.589904|28.787078",
|
||||
// "dwms": "宜宾南收费站宜飞路入城方向,识别屏山、菜坝入城排放黑烟车辆"
|
||||
// "dwms": "宜宾市翠屏南收费站宜飞路入城方向,识别屏山、菜坝入城排放黑烟车辆"
|
||||
//},];
|
||||
|
||||
_widthLeft = _screenWidth / 2.6;
|
||||
@@ -144,7 +144,7 @@ class _LedXsxxPageState extends State<LedXsxxContent> {
|
||||
Map _mapGetLedXsxxGetData = {
|
||||
"id": 2,
|
||||
"dwip": "172.16.3.2",
|
||||
"xsnr": "绿水青山就是金山银山 宜宾市生态环境局宣。",
|
||||
"xsnr": "绿水青山就是金山银山 宜宾市翠屏生态环境局宣。",
|
||||
"xsts": 0, //显示抓拍到的多少条违章记录
|
||||
"stime": "07:00",
|
||||
"etime": "23:00",
|
||||
@@ -156,11 +156,11 @@ class _LedXsxxPageState extends State<LedXsxxContent> {
|
||||
// 全部
|
||||
// 1 '江北振兴大道',
|
||||
// 2 '宜飞路',
|
||||
// 3 '宜宾南收费站',
|
||||
// 3 '宜宾市翠屏南收费站',
|
||||
// 4 '一曼路',
|
||||
// 5 '柏溪收费站',
|
||||
// 6 '七星路万达广场',
|
||||
// 7 '宜宾财政局',
|
||||
// 7 '宜宾市翠屏财政局',
|
||||
// 8 '宜威路南广镇',
|
||||
// 9 '宜长路',
|
||||
// 10 '宜南快速通道',
|
||||
@@ -173,11 +173,11 @@ class _LedXsxxPageState extends State<LedXsxxContent> {
|
||||
// '全部',
|
||||
// '1、江北振兴大道',
|
||||
// '2、宜飞路',
|
||||
// '3、宜宾南收费站',
|
||||
// '3、宜宾市翠屏南收费站',
|
||||
// '4、一曼路',
|
||||
// '5、柏溪收费站',
|
||||
// '6、七星路万达广场',
|
||||
// '7、宜宾财政局',
|
||||
// '7、宜宾市翠屏财政局',
|
||||
// '8、宜威路南广镇',
|
||||
// '9、宜长路',
|
||||
// '10、宜南快速通道',
|
||||
@@ -190,13 +190,13 @@ class _LedXsxxPageState extends State<LedXsxxContent> {
|
||||
int _xsts = 0;
|
||||
String _startTime = '07:00';
|
||||
String _endTime = '23:00';
|
||||
String _ledMessage = '绿水青山就是金山银山 宜宾市生态环境局宣。';
|
||||
String _ledMessage = '绿水青山就是金山银山 宜宾市翠屏生态环境局宣。';
|
||||
|
||||
//App.Car_Led.Get接口获取的记录数据结构(比App.Car_Led.GetList接口获取的丰富)
|
||||
// Map _mapGetLedXsxxGetData = {
|
||||
// "id": 2,
|
||||
// "dwip": "172.16.3.2",
|
||||
// "xsnr": "绿水青山就是金山银山 宜宾市生态环境局宣。",
|
||||
// "xsnr": "绿水青山就是金山银山 宜宾市翠屏生态环境局宣。",
|
||||
// "xsts": 0, //显示抓拍到的多少条违章记录
|
||||
// "stime": "07:00",
|
||||
// "etime": "23:00",
|
||||
@@ -219,7 +219,7 @@ class _LedXsxxPageState extends State<LedXsxxContent> {
|
||||
//_mapGetLedXsxxGetData = {
|
||||
// "id": 1,
|
||||
// "dwip": "172.16.3.1",
|
||||
// "xsnr": "绿水青山就是金山银山 宜宾市生态环境局宣。",
|
||||
// "xsnr": "绿水青山就是金山银山 宜宾市翠屏生态环境局宣。",
|
||||
// "xsts": 0,
|
||||
// "stime": "07:00",
|
||||
// "etime": "23:00",
|
||||
|
||||
@@ -1,17 +1,16 @@
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_easyrefresh/easy_refresh.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:fluttertoast/fluttertoast.dart';
|
||||
|
||||
import 'led_xsxx_content.dart';
|
||||
import '../../../components/dioFun.dart';
|
||||
import '../../../components/hyxx_data_handle.dart';
|
||||
import '../../../components/commonFun.dart';
|
||||
import '../../../services/EventBus.dart';
|
||||
import 'package:flutter_easyrefresh/easy_refresh.dart';
|
||||
import '../../../components/dioFun.dart';
|
||||
import '../../../components/doJSON.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
|
||||
import '../../../components/hyxx_data_handle.dart';
|
||||
import '../../../services/EventBus.dart';
|
||||
import 'led_xsxx_content.dart';
|
||||
|
||||
//LedXsxx是本项目中“LED显示信息”的统一缩写
|
||||
class LedXsxxGetList extends StatefulWidget {
|
||||
@@ -89,7 +88,7 @@ class _LedXsxxPageState extends State<LedXsxxGetList> {
|
||||
//Led数据变量
|
||||
// Map mapGetLedXsxxGetData = {
|
||||
// "id": 2,
|
||||
// "xsnr": "绿水青山就是金山银山 宜宾市生态环境局宣。",
|
||||
// "xsnr": "绿水青山就是金山银山 宜宾市翠屏生态环境局宣。",
|
||||
// "addtime": "2021-01-20 10:16:07",
|
||||
// "updatetime": "2021-02-13 11:48:51"
|
||||
// };
|
||||
|
||||
@@ -250,12 +250,13 @@ class _Page1_WorksState extends State<Page1_Works>
|
||||
children: [
|
||||
Padding(
|
||||
padding: EdgeInsets.only(top: ScreenUtil().setHeight(10)),
|
||||
child: Image.asset(
|
||||
'assets/images/形状 2.png',
|
||||
height: ScreenUtil().setHeight(45),
|
||||
),
|
||||
child: Text(""),
|
||||
// child: Image.asset(
|
||||
// 'assets/images/形状 2.png',
|
||||
// height: ScreenUtil().setHeight(45),
|
||||
// ),
|
||||
),
|
||||
Text(" 客服热线",
|
||||
Text(" ", // " 客服热线",
|
||||
style: TextStyle(fontSize: 16, color: Colors.white)),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -1,30 +1,19 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:badges/badges.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:fluttertoast/fluttertoast.dart';
|
||||
import 'package:fluttertoast/fluttertoast.dart';
|
||||
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/services/EventBus.dart';
|
||||
import 'package:hyzp_ybqx/services/EventBus.dart';
|
||||
import 'package:hyzp_ybqx/widget/JdButton.dart';
|
||||
import 'package:package_info/package_info.dart';
|
||||
import 'package:package_info/package_info.dart';
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
//import 'package:hyzp_ybqx/widget/player_pro.dart';
|
||||
import 'package:scroll_to_index/util.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
import '../../components/commonFun.dart';
|
||||
import '../../components/commonFun.dart';
|
||||
import '../../components/customDialogF.dart';
|
||||
import '../../services/Storage.dart';
|
||||
@@ -32,7 +21,6 @@ import '../../services/Storage.dart';
|
||||
import '../Login/ModifyPassword.dart';
|
||||
import '../MyMsics/03_personal/PersonalData.dart';
|
||||
import '../MyMsics/04_MyFeedback/MyFeedback.dart';
|
||||
import '../MyMsics/05_updated/MyUpdated.dart';
|
||||
import '../MyMsics/07_myAbout/MyAbout.dart';
|
||||
|
||||
///flutter中如何获取子类Widget并调用它的方法 萤火虫离别的礼物 2019.08.07 15:46:08 https://www.jianshu.com/p/b16f70dd692c
|
||||
@@ -296,23 +284,25 @@ class _Page4_MyMsicsNewState extends State<Page4_MyMsicsNew>
|
||||
//crossAxisAlignment: CrossAxisAlignment.start, //用的比较少
|
||||
children: <Widget>[
|
||||
FlatButton(
|
||||
child: Container(
|
||||
child: Row(
|
||||
children: [
|
||||
Padding(
|
||||
padding: EdgeInsets.only(top: ScreenUtil().setHeight(10)),
|
||||
child: Image.asset(
|
||||
'assets/images/形状 2.png',
|
||||
height: ScreenUtil().setHeight(45),
|
||||
child: Container(
|
||||
child: Row(
|
||||
children: [
|
||||
Padding(
|
||||
padding: EdgeInsets.only(top: ScreenUtil().setHeight(10)),
|
||||
child: Text(""),
|
||||
// child: Image.asset(
|
||||
// 'assets/images/形状 2.png',
|
||||
// height: ScreenUtil().setHeight(45),
|
||||
// ),
|
||||
),
|
||||
),
|
||||
Text(" 客服热线",
|
||||
style: TextStyle(fontSize: 16, color: Colors.white)),
|
||||
],
|
||||
Text(" ", //" 客服热线",
|
||||
style: TextStyle(fontSize: 16, color: Colors.white)),
|
||||
],
|
||||
),
|
||||
),
|
||||
onPressed: () {}
|
||||
// onPressed: () => launch("tel://18784678300"),
|
||||
),
|
||||
),
|
||||
onPressed: () => launch("tel://18784678300"),
|
||||
),
|
||||
SizedBox(
|
||||
width: ScreenUtil().setWidth(45),
|
||||
),
|
||||
@@ -451,7 +441,7 @@ class _Page4_MyMsicsNewState extends State<Page4_MyMsicsNew>
|
||||
print('version = $version');
|
||||
print('buildNumber = $buildNumber');
|
||||
print('buildDate = $buildDate');
|
||||
// I/flutter (30820): appName = 宜宾黑烟抓拍
|
||||
// I/flutter (30820): appName = 宜宾市翠屏黑烟抓拍
|
||||
// I/flutter (30820): packageName = com.flutter.hyzp_ybqx
|
||||
// I/flutter (30820): version = 1.3.1
|
||||
// I/flutter (30820): buildNumber = 20210508
|
||||
|
||||
Reference in New Issue
Block a user