张萌 3 years ago
commit 88ccd424f8

@ -95,15 +95,18 @@ class _SelectCommunityState extends State<SelectCommunity> {
onTap: () async {
var cancel = BotToast.showLoading();
List<CommunityModel> _communities = [];
var base = await NetUtil().get(SAASAPI.login.allCommunity, params: {
'cityId': UserTool
.appProvider.pickedCityAndCommunity!.cityModel.district.id,
});
if (base.success) {
_communities = (base.data as List)
.map((e) => CommunityModel.fromJson(e))
.toList();
}
try {
var base = await NetUtil().get(SAASAPI.login.allCommunity, params: {
'cityId': UserTool
.appProvider.pickedCityAndCommunity!.cityModel.district.id,
});
if (base.success) {
_communities = (base.data as List)
.map((e) => CommunityModel.fromJson(e))
.toList();
}
} catch (e) {}
cancel();
var _community = await BeeCommunityPicker.pick(context, _communities);
print(_community?.name);

@ -19,6 +19,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart';
import '../../ui/home/messages/message.dart';
import 'application_util.dart';
import 'home_swiper.dart';
@ -90,10 +91,21 @@ class _NewHomePageState extends State<NewHomePage> {
),
),
24.w.widthBox,
Icon(
CupertinoIcons.bell,
size: 40.w,
SizedBox(
height: 40.w,
width: 40.w,
child: IconButton(
padding:EdgeInsets.zero,
onPressed: () {
Get.to(() => Message());
},
icon: Icon(
CupertinoIcons.bell,
size: 40.w,
),
),
),
24.w.widthBox,
],
),
@ -346,7 +358,8 @@ class _NewHomePageState extends State<NewHomePage> {
children: _todoModels
.mapIndexed((currentValue, index) =>
_todoListCard(currentValue, index))
.toList().sepWidget(separate: 20.w.widthBox),
.toList()
.sepWidget(separate: 20.w.widthBox),
),
),
],

@ -15,8 +15,11 @@ class CommunityModel extends Equatable {
final String address;
@HiveField(3)
final String addressDetails;
factory CommunityModel.fromJson(Map<String, dynamic> json) =>
_$CommunityModelFromJson(json);
factory CommunityModel.fromJson(Map<String, dynamic> json) {
return _$CommunityModelFromJson(json);
}
const CommunityModel({
required this.id,

@ -18,125 +18,340 @@ class PrivacyPage extends StatelessWidget {
children: [
Text(
'''
便使使
1. 2.使 3. 4. 5. 6. 7. 8.
1.
1.1
APP使APP便访
1.2
APPAPP使APP使 APP使使APPAPP使APP 使使
使
/使使
使使
使使使
访使访访访访访访访访访访
使使使
使使使
/使
使
使使使
使
/使
使
使
使
ETC使ETC
使使
使使
使
使,
访使
访使使访
使访
使访
使访
使访
使访
使访
访
访
访访访
访
1.3
APPAPP 使访
1.4
1.5
便使APPID访
2.使
2.1
2.2 APP使使使APPAPP使
3.
3.1
3.2
4.
便
app
5.
访使APP APP
使
线APP
6.
6.1 APP访
6.2
7.
APP18使APPAPP使8
8.
kaidalai@163.com ''',
2022420
使App40-11使使使使访便
 
使线使
 
 
 
使
使 Cookies
使
SDK
 
使
使
 
                            
1 
1使
2使
使使
2使
3使
 
使
1/
便使使
使使
/使
2
使使
   使使IP使访
   使使MACIMEI/Android ID/IDFA/OpenUDID/GUID/SIM IMSI IP GPSWLAN
使使
3
使使
使
使
4使
使
5
/使使
1访使
2/使使
3//访使///使
访使使
12
 
便使
使使使
 
1
2
3
4
5
6
7
8
9
10
11
使
 
宿
使 Cookies
Cookies
Cookies使
使CookiesCookies使Cookies广
 
()
Cookies 使便
 
Cookies使
使Cookies
1Cookies
2使Cookies使/
3广Cookies广广
使CookiesCookies广使广
退 Cookies CookiesCookiesCookies访使
1
2
3使
4便便使使
5
6使
 
1
2
 
1
2
 
1
2
3
4
5
6
7
8
 
 
 
1
访使
1 SSLSecure Socket Layer
2使
3HTTPSHyper Text Transfer Protocol over Secure Socket Layer
4
5访使
2
1
2使
3访访访
4
5
6
3访
 
1使
2使使
3便
 
访使
 
访
访访
1
3访线使访
 
1访
21
1
2使
3
4
 
使
 
---使
 
 
1
2
3
4
5
6
7
8
1Cookies
2广使
3SDK使SDK
1Push SDK/
2SDK
3SDK便
4SDK
SDK使SDKSDK
使使使
使使使
使使使使
使使使使
使
 
广
kaidalai@163.com40-11
518000
 
 
 
 
 
使
使使访使
 
使
 
使
使使/使
1/1000
2使便
3使
4使使使使
5
宿
 
 
/
() 访
PCApp访
 
() /
PCApp//
使
 
()
/
1使
2使
3
4使
5
 
访
 
kaidalai@163.com40-11518000
/
 
 
SDK
SDKSDK
 
SDK
使
https://dev.mi.com/console/appservice/push.html
 
SDK
使
 https://developer.huawei.com/consumer/cn/service/hms/pushservice.html
 
VIVOSDK
使
https://dev.vivo.com.cn/documentcenter/doc/233
 
OPPOSDK
使
https://open.oppomobile.com/wiki/doctid=10196
 
Glide SDK
使线
https://github.com/ansen666/GlideTest
 
SDK
使
https://open.weixin.qq.com/
  
QQ SDK
使QQQQ
https://open.tencent.com/
 
使使
https://pay.weixin.qq.com/
 
使使
https://docs.open.alipay.com/
 
SDK
使使
https://open.unionpay.com/tjweb/index
    
SDK
使poi
IMEIMACWIFI
https://lbs.amap.com/
https://lbs.amap.com/home/privacy/''',
style: Theme.of(context).textTheme.subtitle1,
),
],

@ -133,9 +133,9 @@ class _SplashPageState extends State<SplashPage> {
);
///
await Permission.locationWhenInUse.request();
final appProvider = Provider.of<AppProvider>(context, listen: false);
appProvider.startLocation();
// await Permission.locationWhenInUse.request();
// final appProvider = Provider.of<AppProvider>(context, listen: false);
// appProvider.startLocation();
///
await UserTool.dataProvider.init();

@ -618,6 +618,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
meta:
dependency: transitive
description:
@ -958,7 +965,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.3"
version: "0.4.8"
time:
dependency: transitive
description:

Loading…
Cancel
Save