张萌 3 years ago
commit 88ccd424f8

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

@ -19,6 +19,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import '../../ui/home/messages/message.dart';
import 'application_util.dart'; import 'application_util.dart';
import 'home_swiper.dart'; import 'home_swiper.dart';
@ -90,10 +91,21 @@ class _NewHomePageState extends State<NewHomePage> {
), ),
), ),
24.w.widthBox, 24.w.widthBox,
Icon( SizedBox(
CupertinoIcons.bell, height: 40.w,
size: 40.w, width: 40.w,
child: IconButton(
padding:EdgeInsets.zero,
onPressed: () {
Get.to(() => Message());
},
icon: Icon(
CupertinoIcons.bell,
size: 40.w,
),
),
), ),
24.w.widthBox, 24.w.widthBox,
], ],
), ),
@ -346,7 +358,8 @@ class _NewHomePageState extends State<NewHomePage> {
children: _todoModels children: _todoModels
.mapIndexed((currentValue, index) => .mapIndexed((currentValue, index) =>
_todoListCard(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; final String address;
@HiveField(3) @HiveField(3)
final String addressDetails; final String addressDetails;
factory CommunityModel.fromJson(Map<String, dynamic> json) => factory CommunityModel.fromJson(Map<String, dynamic> json) {
_$CommunityModelFromJson(json); return _$CommunityModelFromJson(json);
}
const CommunityModel({ const CommunityModel({
required this.id, required this.id,

@ -18,125 +18,340 @@ class PrivacyPage extends StatelessWidget {
children: [ children: [
Text( Text(
''' '''
便使使 2022420
1. 2.使 3. 4. 5. 6. 7. 8. 使App40-11使使使使访便
1.
1.1  
APP使APP便访 使线使
 
1.2
APPAPP使APP使 APP使使APPAPP使APP 使使  
 
使
使 使 Cookies
/使使
使使
使使使
访使访访访访访访访访访访 使
SDK
使使使  
使
使使使 使
 
/使                             
1 
使 1使
使使使 2使
使使
使 2使
3使
/使  
使
使 1/
便使使
使 使使
/使
使 2
使使
ETC使ETC    使使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
访访访 使
 
访
宿
1.3 使 Cookies
APPAPP 使访 Cookies
Cookies使
1.4 使CookiesCookies使Cookies广
 
()
1.5 Cookies 使便
便使APPID访  
Cookies使
2.使 使Cookies
2.1 1Cookies
2.2 APP使使使APPAPP使 2使Cookies使/
3. 3广Cookies广广
3.1 使CookiesCookies广使广
3.2 退 Cookies CookiesCookiesCookies访使
4.
便
app 1
2
5. 3使
访使APP APP 4便便使使
5
使 6使
线APP  
6.
6.1 APP访 1
6.2 2
7.  
APP18使APPAPP使8
8. 1
kaidalai@163.com ''', 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, style: Theme.of(context).textTheme.subtitle1,
), ),
], ],

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

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

Loading…
Cancel
Save