Browse Source

no message

ios
ZHR007 4 months ago
parent
commit
03fdb2e0c0
1 changed files with 9 additions and 6 deletions
  1. 15
      lib/pages/setting/setting_page.dart

15
lib/pages/setting/setting_page.dart

@ -30,6 +30,7 @@ class SettingPage extends StatelessWidget {
cells: [ cells: [
TDCell( TDCell(
arrow: false, arrow: false,
height: 60.h,
title: '允许中间邀请弹窗', title: '允许中间邀请弹窗',
rightIconWidget: TDSwitch(isOn: false,trackOnColor: const Color.fromRGBO(117, 98, 249, 1),onChanged: (bool e) { rightIconWidget: TDSwitch(isOn: false,trackOnColor: const Color.fromRGBO(117, 98, 249, 1),onChanged: (bool e) {
return false; return false;
@ -37,6 +38,7 @@ class SettingPage extends StatelessWidget {
), ),
TDCell( TDCell(
arrow: false, arrow: false,
height: 60.h,
title: '后台播放', title: '后台播放',
rightIconWidget: TDSwitch( rightIconWidget: TDSwitch(
isOn: true, isOn: true,
@ -48,6 +50,7 @@ class SettingPage extends StatelessWidget {
), ),
TDCell( TDCell(
arrow: false, arrow: false,
height: 60.h,
title: '语音/视频通话提示音', title: '语音/视频通话提示音',
rightIconWidget: TDSwitch(isOn: false,trackOnColor: const Color.fromRGBO(117, 98, 249, 1),onChanged: (bool e) { rightIconWidget: TDSwitch(isOn: false,trackOnColor: const Color.fromRGBO(117, 98, 249, 1),onChanged: (bool e) {
@ -60,10 +63,10 @@ class SettingPage extends StatelessWidget {
TDCellGroup( TDCellGroup(
theme: TDCellGroupTheme.cardTheme, theme: TDCellGroupTheme.cardTheme,
cells: [ cells: [
TDCell(arrow: true, title: '安全中心', onClick: (cell) {
TDCell(arrow: true, height: 60.h, title: '安全中心', onClick: (cell) {
print('安全中心'); print('安全中心');
}), }),
TDCell(arrow: true, title: '黑名单', onClick: (cell) {
TDCell(arrow: true, height: 60.h, title: '黑名单', onClick: (cell) {
Get.to(() => BlacklistPage()); Get.to(() => BlacklistPage());
}), }),
], ],
@ -72,13 +75,13 @@ class SettingPage extends StatelessWidget {
TDCellGroup( TDCellGroup(
theme: TDCellGroupTheme.cardTheme, theme: TDCellGroupTheme.cardTheme,
cells: [ cells: [
TDCell(arrow: true, title: '系统权限管理'),
TDCell(arrow: true, title: '消息通知', onClick: (cell) {
TDCell(arrow: true, height: 60.h, title: '系统权限管理'),
TDCell(arrow: true, height: 60.h, title: '消息通知', onClick: (cell) {
Get.to(() => NoticePage()); Get.to(() => NoticePage());
}), }),
TDCell(arrow: true, title: '检查更新', onClick: (cell) {
TDCell(arrow: true, height: 60.h, title: '检查更新', onClick: (cell) {
// _showUpdateDialog(); // _showUpdateDialog();
controller.checkVersion();
controller.checkVersion();
}, },
noteWidget: Text('当前版本:${controller.version.value}',style: TextStyle(fontSize: 13.w,color: const Color.fromRGBO(117, 98, 249, 1))), noteWidget: Text('当前版本:${controller.version.value}',style: TextStyle(fontSize: 13.w,color: const Color.fromRGBO(117, 98, 249, 1))),
) )

Loading…
Cancel
Save