mod: 未开发功能关闭入口
This commit is contained in:
@ -17,7 +17,7 @@ class WhisperController extends GetxController {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'icon': Icons.alternate_email,
|
'icon': Icons.alternate_email,
|
||||||
'title': '@ 我的',
|
'title': '@我的',
|
||||||
'path': '/messageAt',
|
'path': '/messageAt',
|
||||||
'count': 0,
|
'count': 0,
|
||||||
},
|
},
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import 'package:easy_debounce/easy_throttle.dart';
|
import 'package:easy_debounce/easy_throttle.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
||||||
import 'package:get/get.dart';
|
import 'package:get/get.dart';
|
||||||
import 'package:pilipala/common/constants.dart';
|
import 'package:pilipala/common/constants.dart';
|
||||||
import 'package:pilipala/common/skeleton/skeleton.dart';
|
import 'package:pilipala/common/skeleton/skeleton.dart';
|
||||||
@ -70,6 +71,11 @@ class _WhisperPageState extends State<WhisperPage> {
|
|||||||
..._whisperController.noticesList.map((element) {
|
..._whisperController.noticesList.map((element) {
|
||||||
return InkWell(
|
return InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
if (['/messageAt', '/messageSystem']
|
||||||
|
.contains(element['path'])) {
|
||||||
|
SmartDialog.showToast('功能开发中');
|
||||||
|
return;
|
||||||
|
}
|
||||||
Get.toNamed(element['path']);
|
Get.toNamed(element['path']);
|
||||||
|
|
||||||
if (element['count'] > 0) {
|
if (element['count'] > 0) {
|
||||||
|
Reference in New Issue
Block a user