修改登录验证

修改应用图标
修改闪屏图标
pull/1/head
张萌 3 years ago
parent a3316c9762
commit f4a42fb8c4

@ -4,7 +4,7 @@
In most cases you can leave this as-is, but you if you want to provide In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. --> FlutterApplication and put your custom class here. -->
<application android:name="io.flutter.app.FlutterApplication" android:label="小蜜蜂智慧生活" android:icon="@mipmap/ic_launcher" android:networkSecurityConfig="@xml/network_security_config"> <application android:name="io.flutter.app.FlutterApplication" android:label="小蜜蜂" android:icon="@mipmap/ic_launcher" android:networkSecurityConfig="@xml/network_security_config">
<service android:name="com.amap.api.location.APSService"></service> <service android:name="com.amap.api.location.APSService"></service>
<meta-data android:name="com.amap.api.v2.apikey" <meta-data android:name="com.amap.api.v2.apikey"
android:value="f6361c0537bf2d6ddb898b10618d3726"/> android:value="f6361c0537bf2d6ddb898b10618d3726"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

File diff suppressed because it is too large Load Diff

@ -26,7 +26,7 @@ class OtherLoginPage extends StatefulWidget {
class _OtherLoginPageState extends State<OtherLoginPage> { class _OtherLoginPageState extends State<OtherLoginPage> {
PageController _controller = PageController(); PageController _controller = PageController();
List<String> _tabs = [ '验证码登录','账号登录']; List<String> _tabs = ['验证码登录', '账号登录'];
int _currentIndex = 0; int _currentIndex = 0;
TextEditingController _tel = TextEditingController(); TextEditingController _tel = TextEditingController();
TextEditingController _psd = TextEditingController(); TextEditingController _psd = TextEditingController();
@ -143,7 +143,7 @@ class _OtherLoginPageState extends State<OtherLoginPage> {
BotToast.showText(text: '请先选择小区!'); BotToast.showText(text: '请先选择小区!');
return false; return false;
} }
if (_currentIndex == 0 && _psd.text.isEmpty) { if (_currentIndex == 1 && _psd.text.isEmpty) {
BotToast.showText(text: '密码不能为空'); BotToast.showText(text: '密码不能为空');
return false; return false;
} }

@ -1,5 +1,6 @@
import 'dart:io'; import 'dart:io';
import 'package:aku_new_community/gen/assets.gen.dart';
import 'package:aku_new_community/main_initialize.dart'; import 'package:aku_new_community/main_initialize.dart';
import 'package:aku_new_community/pages/setting_page/agreement_page/agreement_page.dart'; import 'package:aku_new_community/pages/setting_page/agreement_page/agreement_page.dart';
import 'package:aku_new_community/pages/setting_page/agreement_page/privacy_page.dart'; import 'package:aku_new_community/pages/setting_page/agreement_page/privacy_page.dart';
@ -241,13 +242,13 @@ class _SplashPageState extends State<SplashPage> {
mainAxisAlignment: MainAxisAlignment.end, mainAxisAlignment: MainAxisAlignment.end,
children: [ children: [
Image.asset( Image.asset(
R.ASSETS_IMAGES_SPLASH_LOGO_PNG, Assets.images.logo.path,
width: 140.w, width: 140.w,
height: 140.w, height: 140.w,
fit: BoxFit.fill, fit: BoxFit.fill,
), ),
Text( Text(
'小蜜蜂智慧社区', '小蜜蜂',
style: TextStyle( style: TextStyle(
color: Color(0xD9000000), color: Color(0xD9000000),
fontSize: 32.sp, fontSize: 32.sp,

@ -85,7 +85,7 @@ class MyCommunityViewState extends State<MyCommunityView>
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
'${_head?.dynamicNum}' '${_head?.dynamicNum ?? 0}'
.text .text
.size(40.sp) .size(40.sp)
.fontWeight(FontWeight.bold) .fontWeight(FontWeight.bold)
@ -100,7 +100,7 @@ class MyCommunityViewState extends State<MyCommunityView>
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
'${_head?.commentNum}' '${_head?.commentNum ?? 0}'
.text .text
.size(40.sp) .size(40.sp)
.fontWeight(FontWeight.bold) .fontWeight(FontWeight.bold)
@ -115,7 +115,7 @@ class MyCommunityViewState extends State<MyCommunityView>
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
'${_head?.likesNum}' '${_head?.likesNum ?? 0}'
.text .text
.size(40.sp) .size(40.sp)
.fontWeight(FontWeight.bold) .fontWeight(FontWeight.bold)
@ -230,7 +230,7 @@ class MyCommunityViewState extends State<MyCommunityView>
mainAxisSize: MainAxisSize.max, mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
'${item.createDT?.hour ?? ''}.${item.createDT?.second ?? ''}' '${item.createDT?.hour ?? ''}.${item.createDT?.minute ?? ''}'
.text .text
.size(28.sp) .size(28.sp)
.color(Color(0xA6000000)) .color(Color(0xA6000000))

@ -108,7 +108,8 @@ class _MemberViewState extends State<MemberView> {
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(40.w), borderRadius: BorderRadius.circular(40.w),
border: Border.all(color: kPrimaryColor, width: 4.w)), border: Border.all(color: kPrimaryColor, width: 4.w)),
child: Assets.images.splashLogo.image(width: 80.w, height: 80.w), child: Assets.newIcon.avatarPlaceholder
.image(width: 80.w, height: 80.w),
), ),
Positioned( Positioned(
bottom: -20.w, bottom: -20.w,

Loading…
Cancel
Save