智慧社区=>智慧小区

hmxc
张萌 3 years ago
parent c96ee3f1ff
commit d7d6fdebae

@ -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="717cf8c606307809bcbd6661123b9837"/> android:value="717cf8c606307809bcbd6661123b9837"/>

@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>小蜜蜂智慧区</string> <string>小蜜蜂智慧区</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>

@ -1,5 +1,5 @@
{ {
"appName": "智慧区", "appName": "智慧区",
"@appName":{ "@appName":{
"description": "应用名称" "description": "应用名称"
}, },

@ -1,19 +1,17 @@
import 'dart:async'; import 'dart:async';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flustars/flustars.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_icons/flutter_icons.dart';
import 'package:qr_flutter/qr_flutter.dart';
import 'package:aku_community/constants/api.dart'; import 'package:aku_community/constants/api.dart';
import 'package:aku_community/utils/headers.dart'; import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/utils/network/base_model.dart'; import 'package:aku_community/utils/network/base_model.dart';
import 'package:aku_community/utils/network/net_util.dart'; import 'package:aku_community/utils/network/net_util.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flustars/flustars.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_icons/flutter_icons.dart';
import 'package:qr_flutter/qr_flutter.dart';
class OpeningCodePage extends StatefulWidget { class OpeningCodePage extends StatefulWidget {
OpeningCodePage({Key? key}) : super(key: key); OpeningCodePage({Key? key}) : super(key: key);
@ -136,7 +134,7 @@ class _OpeningCodePageState extends State<OpeningCodePage> {
width: 646.w, width: 646.w,
height: 146.w, height: 146.w,
child: Text( child: Text(
'扫一扫,你的专属二维码,人人文明出行,路路畅通安宁,智慧区祝您一路顺风', '扫一扫,你的专属二维码,人人文明出行,路路畅通安宁,智慧区祝您一路顺风',
maxLines: 2, maxLines: 2,
style: TextStyle( style: TextStyle(
fontSize: 28.sp, fontSize: 28.sp,

@ -1,8 +1,7 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:aku_community/utils/headers.dart'; import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class AboutPage extends StatelessWidget { class AboutPage extends StatelessWidget {
const AboutPage({Key? key}) : super(key: key); const AboutPage({Key? key}) : super(key: key);
@ -18,7 +17,7 @@ class AboutPage extends StatelessWidget {
); );
return BeeScaffold( return BeeScaffold(
title: '关于小蜜蜂智慧', title: '关于小蜜蜂智慧',
body: ListView( body: ListView(
padding: EdgeInsets.all(32.w), padding: EdgeInsets.all(32.w),
children: [ children: [
@ -28,7 +27,7 @@ class AboutPage extends StatelessWidget {
), ),
SizedBox(height: 100.w), SizedBox(height: 100.w),
Text( Text(
'“小蜜蜂智慧区”APP——幸福生活简单到达', '“小蜜蜂智慧区”APP——幸福生活简单到达',
style: _style, style: _style,
), ),
], ],

@ -1,7 +1,6 @@
import 'package:flutter/material.dart';
import 'package:aku_community/utils/headers.dart'; import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
class AgreementPage extends StatefulWidget { class AgreementPage extends StatefulWidget {
@override @override
@ -17,8 +16,8 @@ class _AgreementPageState extends State<AgreementPage> {
padding: EdgeInsets.all(16.w), padding: EdgeInsets.all(16.w),
child: Text( child: Text(
''' '''
使APP 使APP
使APP使 使APP使
使使 使使
@ -31,12 +30,12 @@ class _AgreementPageState extends State<AgreementPage> {
2.1 2.1
APP线 APP线
2.2 2.2
2.2.1 使 2.2.1 使
2.2.2 iOSandroid 2.2.2 iOSandroid
2.3 2.3
2.3.1 使使 2.3.1 使使
@ -77,9 +76,9 @@ class _AgreementPageState extends State<AgreementPage> {
7.1 使 7.1 使
7.1.1 使使 7.1.1 使使
7.1.2 使使使使 7.1.2 使使使使
7.1.3 怀使 7.1.3 怀使
@ -104,7 +103,7 @@ class _AgreementPageState extends State<AgreementPage> {
7.2.3.4 7.2.3.4
7.2.3.5 线线 7.2.3.5 线线
7.2.4 14 7.2.4 14
@ -115,7 +114,7 @@ class _AgreementPageState extends State<AgreementPage> {
8.1 8.1
8.1.1 8.1.1
8.1.1.1 8.1.1.1
@ -140,7 +139,7 @@ class _AgreementPageState extends State<AgreementPage> {
8.2.5 8.2.5
8.2.6 使 8.2.6 使
8.2.7 8.2.7
@ -157,9 +156,9 @@ class _AgreementPageState extends State<AgreementPage> {
8.3.4 8.3.4
8.3.5 广广 8.3.5 广广
8.3.6 8.3.6
8.3.7 8.3.7
@ -183,7 +182,7 @@ class _AgreementPageState extends State<AgreementPage> {
10.1 访使 10.1 访使
10.2 使 10.2 使
10.3 使 10.3 使
@ -201,9 +200,9 @@ class _AgreementPageState extends State<AgreementPage> {
12.1 12.1
APP---APP APP---APP
1APP 1APP
2/ 2/

@ -1,7 +1,6 @@
import 'package:flutter/material.dart';
import 'package:aku_community/utils/headers.dart'; import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
class PrivacyPage extends StatefulWidget { class PrivacyPage extends StatefulWidget {
PrivacyPage({Key? key}) : super(key: key); PrivacyPage({Key? key}) : super(key: key);
@ -18,7 +17,7 @@ class _PrivacyPageState extends State<PrivacyPage> {
padding: EdgeInsets.all(16.sp), padding: EdgeInsets.all(16.sp),
child: Text( child: Text(
''' '''
APP广APP便使使 APP广APP便使使
1. 1.
2.使 2.使
@ -30,10 +29,10 @@ class _PrivacyPageState extends State<PrivacyPage> {
8. 8.
1. 1.
1.1 1.1
APP使APP便访 APP使APP便访
1.2 1.2
APPAPP使APP使 APPAPP使APP使
APP使使APPAPP使APP APP使使APPAPP使APP
使使 使使
使 使
@ -82,15 +81,15 @@ class _PrivacyPageState extends State<PrivacyPage> {
(iOS) 访 (iOS) 访
/ 使访 / 使访
1.3 1.3
APPAPP APPAPP
使访 使访
1.4 1.4
1.5 1.5
便使APPID访 便使APPID访
2.使 2.使
2.1  2.1 
2.2 APP使使使APPAPP使 2.2 APP使使使APPAPP使
3. 3.
3.1  3.1 
3.2  3.2 
@ -102,17 +101,17 @@ class _PrivacyPageState extends State<PrivacyPage> {
广 app 广 app
5. 5.
访使APP 访使APP
APP APP
使 使
线APP 线APP
6. 6.
6.1 APP访 6.1 APP访
6.2  6.2 
7. 7.
APP18使APPAPP使8 APP18使APPAPP使8
8. 8.
johnson.yang@akuhome.com johnson.yang@akuhome.com
广 广

@ -1,11 +1,9 @@
import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:qr_flutter/qr_flutter.dart'; import 'package:qr_flutter/qr_flutter.dart';
import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/widget/bee_scaffold.dart';
class InvitePage extends StatelessWidget { class InvitePage extends StatelessWidget {
const InvitePage({Key? key}) : super(key: key); const InvitePage({Key? key}) : super(key: key);
@ -16,7 +14,7 @@ class InvitePage extends StatelessWidget {
alignment: Alignment.center, alignment: Alignment.center,
child: QrImage( child: QrImage(
padding: EdgeInsets.zero, padding: EdgeInsets.zero,
data: '智慧区开门码', data: '智慧区开门码',
size: 460.w, size: 460.w,
), ),
); );
@ -34,7 +32,7 @@ class InvitePage extends StatelessWidget {
Container( Container(
alignment: Alignment.center, alignment: Alignment.center,
child: Text( child: Text(
'扫一扫,二维码直接下载小蜜蜂智慧', '扫一扫,二维码直接下载小蜜蜂智慧',
style: TextStyle( style: TextStyle(
fontSize: 28.sp, fontSize: 28.sp,
color: Color(0xff666666), color: Color(0xff666666),
@ -48,7 +46,7 @@ class InvitePage extends StatelessWidget {
padding: EdgeInsets.symmetric(vertical: 30.w), padding: EdgeInsets.symmetric(vertical: 30.w),
alignment: Alignment.center, alignment: Alignment.center,
child: Text( child: Text(
'分享小蜜蜂智慧区APP', '分享小蜜蜂智慧区APP',
style: TextStyle( style: TextStyle(
fontSize: 32.sp, fontSize: 32.sp,
color: Color(0xff333333), color: Color(0xff333333),

@ -1,11 +1,3 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart'; import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/extensions/num_ext.dart'; import 'package:aku_community/extensions/num_ext.dart';
import 'package:aku_community/extensions/widget_list_ext.dart'; import 'package:aku_community/extensions/widget_list_ext.dart';
@ -20,6 +12,12 @@ import 'package:aku_community/utils/developer_util.dart';
import 'package:aku_community/utils/websocket/web_socket_util.dart'; import 'package:aku_community/utils/websocket/web_socket_util.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/others/user_tool.dart'; import 'package:aku_community/widget/others/user_tool.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
import 'package:velocity_x/velocity_x.dart';
class SettingsPage extends StatefulWidget { class SettingsPage extends StatefulWidget {
SettingsPage({Key? key}) : super(key: key); SettingsPage({Key? key}) : super(key: key);
@ -117,7 +115,7 @@ class _SettingsPageState extends State<SettingsPage> {
// ), // ),
// ), // ),
_buildTile( _buildTile(
title: '关于小蜜蜂智慧', title: '关于小蜜蜂智慧',
onTap: () => Get.to(() => AboutPage()), onTap: () => Get.to(() => AboutPage()),
), ),
//TODO //TODO

Loading…
Cancel
Save