hyzp_ybqx-Commit015:通过运行下面的批处理,完美实现不同区县App的文件自动删除和拷贝
hyzp_ybqx00_yibin.images_copy.cmd hyzp_ybqx01_cuiping.images_copy.cmd hyzp_ybqx02_xingwen.images_copy.cmd hyzp_ybqx03_junlian.images_copy.cmd hyzp_ybqx04_changning.images_copy.cmd
@@ -35,10 +35,11 @@
|
|||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
|
||||||
<!-- android:label="宜宾黑烟抓拍"-->
|
<!-- android:label="宜宾黑烟抓拍"-->
|
||||||
|
<!-- android:label="宜宾市翠屏黑烟抓拍"-->
|
||||||
<application
|
<application
|
||||||
android:name="com.flutter.hyzp_ybqx.MyApplication"
|
android:name="com.flutter.hyzp_ybqx.MyApplication"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="宜宾市翠屏黑烟抓拍"
|
android:label="宜宾黑烟抓拍"
|
||||||
android:networkSecurityConfig="@xml/network_security_config"
|
android:networkSecurityConfig="@xml/network_security_config"
|
||||||
android:usesCleartextTraffic="true"
|
android:usesCleartextTraffic="true"
|
||||||
tools:replace="android:label">
|
tools:replace="android:label">
|
||||||
|
|||||||
@@ -11,11 +11,12 @@
|
|||||||
<!--启动图片不覆盖顶部状态栏,S10、S7,gravity="center"时可设为30dp,
|
<!--启动图片不覆盖顶部状态栏,S10、S7,gravity="center"时可设为30dp,
|
||||||
gravity="fill"时可设为37.5dp,普通手机为24dp-->
|
gravity="fill"时可设为37.5dp,普通手机为24dp-->
|
||||||
<!-- <bitmap android:gravity="center"-->
|
<!-- <bitmap android:gravity="center"-->
|
||||||
<!-- android:src="@mipmap/hyzp_yibin_launche" />-->
|
<!-- android:src="@mipmap/hyzp_ybqx00_yibin_launche" />-->
|
||||||
|
<!-- android:src="@mipmap/hyzp_ybqx01_cuiping_launche" />-->
|
||||||
<item android:top="37.5dp">
|
<item android:top="37.5dp">
|
||||||
<bitmap
|
<bitmap
|
||||||
android:gravity="fill"
|
android:gravity="fill"
|
||||||
android:src="@mipmap/hyzp_ybqx_cuipingqu_launche" />
|
android:src="@mipmap/hyzp_ybqx00_yibin_launche" />
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
|
After Width: | Height: | Size: 545 KiB |
|
Before Width: | Height: | Size: 547 KiB |
|
Before Width: | Height: | Size: 607 KiB |
|
After Width: | Height: | Size: 253 KiB |
|
Before Width: | Height: | Size: 255 KiB |
|
Before Width: | Height: | Size: 278 KiB |
|
After Width: | Height: | Size: 854 KiB |
|
Before Width: | Height: | Size: 842 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 2.3 MiB |
|
After Width: | Height: | Size: 854 KiB |
|
Before Width: | Height: | Size: 842 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
@@ -24,7 +24,7 @@ import 'UserInfo.dart';
|
|||||||
// android:label="宜宾市翠屏黑烟抓拍"
|
// android:label="宜宾市翠屏黑烟抓拍"
|
||||||
|
|
||||||
// 2、修改App的android启动图片
|
// 2、修改App的android启动图片
|
||||||
// (1)、分别制作并拷贝不同分辨率的图片文件hyzp_ybqx_cuipingqu_launche.png到:下面目录
|
// (1)、分别制作并运行 hyzp_ybqx00_yibin.images_copy.cmd 拷贝不同分辨率的图片文件hyzp_ybqx01_cuiping_launche.png到下面目录
|
||||||
// r:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\android\app\src\main\res\mipmap-hdpi\
|
// r:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\android\app\src\main\res\mipmap-hdpi\
|
||||||
// r:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\android\app\src\main\res\mipmap-mdpi\
|
// r:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\android\app\src\main\res\mipmap-mdpi\
|
||||||
// r:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\android\app\src\main\res\mipmap-xhdpi\
|
// r:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\android\app\src\main\res\mipmap-xhdpi\
|
||||||
@@ -33,28 +33,28 @@ import 'UserInfo.dart';
|
|||||||
// (2)、然后修改文件
|
// (2)、然后修改文件
|
||||||
// R:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\android\app\src\main\res\drawable\launch_background.xml
|
// R:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\android\app\src\main\res\drawable\launch_background.xml
|
||||||
// android:src="@mipmap/hyzp_yibin_launche" />
|
// android:src="@mipmap/hyzp_yibin_launche" />
|
||||||
// android:src="@mipmap/hyzp_ybqx_cuipingqu_launche" />
|
// android:src="@mipmap/hyzp_ybqx_cuiping_launche" />
|
||||||
|
|
||||||
// 3、App的Flutter启动图片
|
// 3、App的Flutter启动图片
|
||||||
// (1)、拷贝 750 * 1334 的图片文件到:
|
// (1)、运行 hyzp_ybqx00_yibin.images_copy.cmd 拷贝 750 * 1334 的图片文件到:
|
||||||
// r:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\assets\images\hyzp_ybqx_cuipingqu_launche.png
|
// r:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\assets\images\hyzp_ybqx01_cuiping_launche.png
|
||||||
// (2)、然后修改文件
|
// (2)、然后修改文件
|
||||||
// R:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\lib\main.dart
|
// R:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\lib\main.dart
|
||||||
// child: new Image.asset('assets/images/hyzp_ybqx_cuipingqu_launche.png'),
|
// child: new Image.asset('assets/images/hyzp_ybqx01_cuiping_launche.png'),
|
||||||
// child: Image.asset('assets/images/hyzp_ybqx_cuipingqu_launche.png', fit: BoxFit.cover),
|
// child: Image.asset('assets/images/hyzp_ybqx01_cuiping_launche.png', fit: BoxFit.cover),
|
||||||
|
|
||||||
// 4、文本信息
|
// 4、文本信息
|
||||||
// (1)、宜宾市
|
// (1)、宜宾市
|
||||||
// String service_tel = '\n服务热线:187-8467-8300';
|
String service_tel = '\n服务热线:187-8467-8300';
|
||||||
// String yibin_QuXian = '宜宾';
|
String yibin_QuXian = '宜宾';
|
||||||
// String copyright_info = '© 宜宾市生态环境局 四川省踏石科技有限公司 版权所有' + service_tel;
|
String copyright_info = '© 宜宾市生态环境局 四川省踏石科技有限公司 版权所有' + service_tel;
|
||||||
// String copyright_info_PinYin = 'YIBIN BLACK SMOKE CAR CAPTURE SYSTEM';
|
String copyright_info_PinYin = 'YIBIN BLACK SMOKE CAR CAPTURE SYSTEM';
|
||||||
|
|
||||||
// (2)、翠屏区
|
// (2)、翠屏区
|
||||||
String service_tel = '';
|
// String service_tel = '';
|
||||||
String yibin_QuXian = '宜宾市翠屏';
|
// String yibin_QuXian = '宜宾市翠屏';
|
||||||
String copyright_info = '© 宜宾市翠屏生态环境局 版权所有' + service_tel;
|
// String copyright_info = '© 宜宾市翠屏生态环境局 版权所有' + service_tel;
|
||||||
String copyright_info_PinYin = 'YIBIN CUIPING BLACK SMOKE CAR CAPTURE SYSTEM';
|
// String copyright_info_PinYin = 'YIBIN CUIPING BLACK SMOKE CAR CAPTURE SYSTEM';
|
||||||
|
|
||||||
// end 统一的全局版权信息
|
// end 统一的全局版权信息
|
||||||
////////////////////////////////////////////
|
////////////////////////////////////////////
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ class _SplashScreenState extends State<SplashScreen> {
|
|||||||
// return new Scaffold(
|
// return new Scaffold(
|
||||||
// body: new Center(
|
// body: new Center(
|
||||||
// child: new Image.asset('assets/images/hyzp_yibin_launche.png', fit: BoxFit.fill),
|
// child: new Image.asset('assets/images/hyzp_yibin_launche.png', fit: BoxFit.fill),
|
||||||
// // child: new Image.asset('assets/images/hyzp_ybqx_cuipingqu_launche.png'),
|
// // child: new Image.asset('assets/images/hyzp_ybqx01_cuiping_launche.png'),
|
||||||
// ),
|
// ),
|
||||||
// );
|
// );
|
||||||
// return Container(
|
// return Container(
|
||||||
@@ -239,8 +239,8 @@ class _SplashScreenState extends State<SplashScreen> {
|
|||||||
Container(
|
Container(
|
||||||
width: MediaQuery.of(context).size.width, // 屏幕宽度
|
width: MediaQuery.of(context).size.width, // 屏幕宽度
|
||||||
height: MediaQuery.of(context).size.height - MediaQuery.of(context).padding.top, // 屏幕高度
|
height: MediaQuery.of(context).size.height - MediaQuery.of(context).padding.top, // 屏幕高度
|
||||||
// child: Image.asset('assets/images/hyzp_yibin_launche.png', fit: BoxFit.cover),
|
child: Image.asset('assets/images/hyzp_ybqx00_yibin_launche.png', fit: BoxFit.cover),
|
||||||
child: Image.asset('assets/images/hyzp_ybqx_cuipingqu_launche.png', fit: BoxFit.cover),
|
// child: Image.asset('assets/images/hyzp_ybqx01_cuiping_launche.png', fit: BoxFit.cover),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||