添加部分功能入口(未实现

hmxc
张萌 3 years ago
parent a01e968867
commit fcf846ffef

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

@ -1,6 +1,7 @@
// import 'package:aku_new_community/widget/bee_scaffold.dart';
import 'package:aku_new_community/const/resource.dart';
import 'package:aku_new_community/gen/assets.gen.dart';
import 'package:aku_new_community/pages/community_introduce/community_introduce_page.dart';
import 'package:aku_new_community/pages/convenient_phone/convenient_phone_page.dart';
import 'package:aku_new_community/pages/electronic_commerc/electronic_commerc_page.dart';
@ -96,6 +97,13 @@ List<AO> appObjects = [
AO('地理信息', R.ASSETS_ICONS_FUNC_DLXX_PNG, () => GeographicInformationPage()),
AO('周边企业', R.ASSETS_ICONS_FUNC_ZBQY_PNG, () => SurroundingEnterprisesPage()),
AO('住房说明', R.ASSETS_ICONS_FUNC_ZFSM_PNG, () => HouseIntroducePage()),
AO('智慧养老', Assets.icons.provideAged.path, null),
AO('周边服务', Assets.icons.nearbyService.path, null),
AO('小蜜蜂任务', Assets.icons.beeTask.path, null),
AO('自营商城', Assets.icons.shoppingMall.path, null),
AO('邻家宠物', Assets.icons.nearbyPet.path, null),
AO('共享停车', Assets.icons.sharePark.path, null),
AO('二手市场', Assets.icons.secondHandMarket.path, null),
// AO(
// '小区教育',
@ -250,6 +258,15 @@ List<String> _aboutCommunityApp = [
'电子商务',
];
///
///
List<AO> get aboutCommunityApp =>
_aboutCommunityApp.map((e) => AO.fromRaw(e)).toList();
List<String> _wisdomServiceApp = ['智慧养老', '周边服务', '小蜜蜂任务'];
List<AO> get wisdomServiceApp =>
_wisdomServiceApp.map((e) => AO.fromRaw(e)).toList();
List<String> _nearbyShoppingApp = ['自营商城', '邻家宠物', '共享停车', '二手市场'];
List<AO> get nearbyShoppingApp =>
_wisdomServiceApp.map((e) => AO.fromRaw(e)).toList();

@ -154,6 +154,9 @@ class $AssetsIconsGen {
AssetGenImage get articleName =>
const AssetGenImage('assets/icons/article_name.png');
/// File path: assets/icons/bee_task.png
AssetGenImage get beeTask => const AssetGenImage('assets/icons/bee_task.png');
/// File path: assets/icons/borrow_failure.png
AssetGenImage get borrowFailure =>
const AssetGenImage('assets/icons/borrow_failure.png');
@ -602,6 +605,14 @@ class $AssetsIconsGen {
AssetGenImage get marketTabUnselected =>
const AssetGenImage('assets/icons/market_tab_unselected.png');
/// File path: assets/icons/nearby_pet.png
AssetGenImage get nearbyPet =>
const AssetGenImage('assets/icons/nearby_pet.png');
/// File path: assets/icons/nearby_service.png
AssetGenImage get nearbyService =>
const AssetGenImage('assets/icons/nearby_service.png');
/// File path: assets/icons/pay.png
AssetGenImage get pay => const AssetGenImage('assets/icons/pay.png');
@ -616,6 +627,10 @@ class $AssetsIconsGen {
AssetGenImage get proposal =>
const AssetGenImage('assets/icons/proposal.png');
/// File path: assets/icons/provide_aged.png
AssetGenImage get provideAged =>
const AssetGenImage('assets/icons/provide_aged.png');
/// File path: assets/icons/report.png
AssetGenImage get report => const AssetGenImage('assets/icons/report.png');
@ -623,9 +638,17 @@ class $AssetsIconsGen {
AssetGenImage get secondHand =>
const AssetGenImage('assets/icons/second_hand.png');
/// File path: assets/icons/second_hand_market.png
AssetGenImage get secondHandMarket =>
const AssetGenImage('assets/icons/second_hand_market.png');
/// File path: assets/icons/service.png
AssetGenImage get service => const AssetGenImage('assets/icons/service.png');
/// File path: assets/icons/share_park.png
AssetGenImage get sharePark =>
const AssetGenImage('assets/icons/share_park.png');
/// File path: assets/icons/shield_content.png
AssetGenImage get shieldContent =>
const AssetGenImage('assets/icons/shield_content.png');
@ -669,6 +692,10 @@ class $AssetsIconsGen {
AssetGenImage get shopTorb =>
const AssetGenImage('assets/icons/shop_torb.png');
/// File path: assets/icons/shopping_mall.png
AssetGenImage get shoppingMall =>
const AssetGenImage('assets/icons/shopping_mall.png');
/// File path: assets/icons/system_notice.png
AssetGenImage get systemNotice =>
const AssetGenImage('assets/icons/system_notice.png');

@ -442,13 +442,24 @@ class _PropertyPageState extends State<PropertyPage>
child: _getFunctionView(
aboutCommunityApp, '关于社区', Color(0xFFFA5858)),
),
SliverToBoxAdapter(
child: _getFunctionView(
wisdomServiceApp, '智慧服务', Color(0xFFFA5858),
unComplete: true),
),
SliverToBoxAdapter(
child: _getFunctionView(
nearbyShoppingApp, '附近市场', Color(0xFFFA5858),
unComplete: true),
)
],
),
),
);
}
_getFunctionView(List<AO> item, String title, Color color) {
_getFunctionView(List<AO> item, String title, Color color,
{bool unComplete = false}) {
return Container(
margin: EdgeInsets.only(left: 32.w, right: 32.w, top: 32.w),
decoration: BoxDecoration(
@ -486,6 +497,7 @@ class _PropertyPageState extends State<PropertyPage>
ApplicationView.custom(
items: item,
needAllApp: false,
unComplete: unComplete,
),
],
),

@ -6,13 +6,12 @@ import 'package:aku_new_community/utils/network/base_model.dart';
import 'package:aku_new_community/utils/network/net_util.dart';
import 'package:aku_new_community/widget/bee_scaffold.dart';
import 'package:aku_new_community/widget/picker/bee_image_preview.dart';
import 'package:aku_new_community/widget/views/%20bee_download_view.dart';
import 'package:aku_new_community/widget/views/bee_download_view.dart';
import 'package:aku_new_community/widget/views/doc_view.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart';
import 'package:open_file/open_file.dart';
import 'package:velocity_x/velocity_x.dart';
class NoticeDetailPage extends StatefulWidget {
final int? id;

@ -2,7 +2,7 @@ import 'package:aku_new_community/base/base_style.dart';
import 'package:aku_new_community/ui/profile/house/lease_relevation/upload_contracts_page.dart';
import 'package:aku_new_community/widget/bee_scaffold.dart';
import 'package:aku_new_community/widget/others/finish_result_image.dart';
import 'package:aku_new_community/widget/views/%20bee_download_view.dart';
import 'package:aku_new_community/widget/views/bee_download_view.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';

@ -2,6 +2,7 @@ import 'package:aku_new_community/constants/application_objects.dart';
import 'package:aku_new_community/provider/app_provider.dart';
import 'package:aku_new_community/utils/headers.dart';
import 'package:aku_new_community/utils/login_util.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
@ -10,13 +11,17 @@ import 'package:velocity_x/velocity_x.dart';
class ApplicationView extends StatefulWidget {
final List<AO>? items;
final bool needAllApp;
final bool unComplete;
ApplicationView({Key? key, this.needAllApp = true})
ApplicationView({Key? key, this.needAllApp = true, this.unComplete = false})
: items = null,
super(key: key);
ApplicationView.custom(
{Key? key, required List<AO> this.items, this.needAllApp = true})
{Key? key,
required List<AO> this.items,
this.needAllApp = true,
this.unComplete = false})
: super(key: key);
@override
@ -31,7 +36,11 @@ class _ApplicationViewState extends State<ApplicationView> {
onPressed: () {
if (LoginUtil.isNotLogin) return;
if (!LoginUtil.haveRoom(object.title)) return;
Get.to(object.page);
if (widget.unComplete) {
BotToast.showText(text: '该功能正在准备上线中,敬请期待');
} else {
Get.to(object.page);
}
},
child: Column(
mainAxisAlignment: MainAxisAlignment.center,

@ -673,7 +673,7 @@ packages:
name: jpush_flutter
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.5"
version: "2.2.1"
js:
dependency: transitive
description:

@ -75,7 +75,7 @@ dependencies:
#评分组件
flutter_rating_bar: ^4.0.0
#极光推送
jpush_flutter: ^2.1.5
jpush_flutter: ^2.2.1
#打开文件
open_file: ^3.2.1
#角标

Loading…
Cancel
Save