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
This commit is contained in:
WinUser01
2021-12-14 22:58:52 +08:00
parent c8533353b5
commit 1398240ce7
23 changed files with 22 additions and 20 deletions
+2 -1
View File
@@ -35,10 +35,11 @@
<uses-permission android:name="android.permission.INTERNET" />
<!-- android:label="宜宾黑烟抓拍"-->
<!-- android:label="宜宾市翠屏黑烟抓拍"-->
<application
android:name="com.flutter.hyzp_ybqx.MyApplication"
android:icon="@mipmap/ic_launcher"
android:label="宜宾市翠屏黑烟抓拍"
android:label="宜宾黑烟抓拍"
android:networkSecurityConfig="@xml/network_security_config"
android:usesCleartextTraffic="true"
tools:replace="android:label">
@@ -11,11 +11,12 @@
<!--启动图片不覆盖顶部状态栏,S10、S7,gravity="center"时可设为30dp,
gravity="fill"时可设为37.5dp,普通手机为24dp-->
<!-- <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">
<bitmap
android:gravity="fill"
android:src="@mipmap/hyzp_ybqx_cuipingqu_launche" />
android:src="@mipmap/hyzp_ybqx00_yibin_launche" />
</item>
</layer-list>
Binary file not shown.

After

Width:  |  Height:  |  Size: 545 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 547 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 607 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 842 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 842 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

+14 -14
View File
@@ -24,7 +24,7 @@ import 'UserInfo.dart';
// android:label="宜宾市翠屏黑烟抓拍"
// 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-mdpi\
// r:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\android\app\src\main\res\mipmap-xhdpi\
@@ -33,28 +33,28 @@ import 'UserInfo.dart';
// (2)、然后修改文件
// 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_ybqx_cuipingqu_launche" />
// android:src="@mipmap/hyzp_ybqx_cuiping_launche" />
// 3、App的Flutter启动图片
// (1)、拷贝 750 * 1334 的图片文件到:
// r:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\assets\images\hyzp_ybqx_cuipingqu_launche.png
// (1)、运行 hyzp_ybqx00_yibin.images_copy.cmd 拷贝 750 * 1334 的图片文件到:
// r:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\assets\images\hyzp_ybqx01_cuiping_launche.png
// (2)、然后修改文件
// R:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\lib\main.dart
// child: new Image.asset('assets/images/hyzp_ybqx_cuipingqu_launche.png'),
// child: Image.asset('assets/images/hyzp_ybqx_cuipingqu_launche.png', fit: BoxFit.cover),
// child: new Image.asset('assets/images/hyzp_ybqx01_cuiping_launche.png'),
// child: Image.asset('assets/images/hyzp_ybqx01_cuiping_launche.png', fit: BoxFit.cover),
// 4、文本信息
// (1)、宜宾市
// String service_tel = '\n服务热线:187-8467-8300';
// String yibin_QuXian = '宜宾';
// String copyright_info = '© 宜宾市生态环境局 四川省踏石科技有限公司 版权所有' + service_tel;
// String copyright_info_PinYin = 'YIBIN BLACK SMOKE CAR CAPTURE SYSTEM';
String service_tel = '\n服务热线:187-8467-8300';
String yibin_QuXian = '宜宾';
String copyright_info = '© 宜宾市生态环境局 四川省踏石科技有限公司 版权所有' + service_tel;
String copyright_info_PinYin = 'YIBIN BLACK SMOKE CAR CAPTURE SYSTEM';
// (2)、翠屏区
String service_tel = '';
String yibin_QuXian = '宜宾市翠屏';
String copyright_info = '© 宜宾市翠屏生态环境局 版权所有' + service_tel;
String copyright_info_PinYin = 'YIBIN CUIPING BLACK SMOKE CAR CAPTURE SYSTEM';
// String service_tel = '';
// String yibin_QuXian = '宜宾市翠屏';
// String copyright_info = '© 宜宾市翠屏生态环境局 版权所有' + service_tel;
// String copyright_info_PinYin = 'YIBIN CUIPING BLACK SMOKE CAR CAPTURE SYSTEM';
// end 统一的全局版权信息
////////////////////////////////////////////
+3 -3
View File
@@ -223,7 +223,7 @@ class _SplashScreenState extends State<SplashScreen> {
// return new Scaffold(
// body: new Center(
// 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(
@@ -239,8 +239,8 @@ class _SplashScreenState extends State<SplashScreen> {
Container(
width: MediaQuery.of(context).size.width, // 屏幕宽度
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_ybqx_cuipingqu_launche.png', fit: BoxFit.cover),
child: Image.asset('assets/images/hyzp_ybqx00_yibin_launche.png', fit: BoxFit.cover),
// child: Image.asset('assets/images/hyzp_ybqx01_cuiping_launche.png', fit: BoxFit.cover),
),
],
),