Commit fa9f41ca by Administrator

添加菜单按钮

1 parent 0adb12b7
......@@ -50,7 +50,7 @@ class Constant {
/// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///
/// app 版本号规则
static const String appVersion = '1.0.2512114';
static const String appVersion = '1.0.2512162';
/// H5的起始终最低版本号规则
static const String h5Version = '1.0.0';
......
......@@ -218,12 +218,12 @@ class WebPage extends StatelessWidget {
children: [
ListTile(
leading: const Icon(Icons.book_outlined, size: 20),
title: const Text('用户协议A', style: TextStyle(fontSize: 14)),
title: const Text('版本记录', style: TextStyle(fontSize: 14)),
onTap: () {
Navigator.pop(ctx);
router.push(
'/link',
extra: {'url': 'https://www.baidu.com/duty/', 'title': '用户协议A'},
extra: {'url': 'https://bxr.banxiaoer.net/apps/index.html', 'title': '版本记录'},
);
},
contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 4),
......@@ -234,12 +234,12 @@ class WebPage extends StatelessWidget {
Divider(height: 1, thickness: 0.5, indent: 16, endIndent: 16),
ListTile(
leading: const Icon(Icons.book_outlined, size: 20),
title: const Text('用户协议B', style: TextStyle(fontSize: 14)),
title: const Text('用户协议', style: TextStyle(fontSize: 14)),
onTap: () {
Navigator.pop(ctx);
router.push(
'/link',
extra: {'url': 'https://www.baidu.com/duty/', 'title': '用户协议B'},
extra: {'url': 'https://www.baidu.com/duty/', 'title': '用户协议'},
);
},
contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 4),
......@@ -255,7 +255,23 @@ class WebPage extends StatelessWidget {
Navigator.pop(ctx);
router.push(
'/link',
extra: {'url': 'https://www.baidu.com/duty/', 'title': '用户协议C'},
extra: {'url': 'https://www.baidu.com/duty/', 'title': '隐私设置'},
);
},
contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 4),
trailing: Icon(Icons.arrow_forward_ios, size: 14),
dense: true,
visualDensity: VisualDensity.compact,
),
Divider(height: 1, thickness: 0.5, indent: 16, endIndent: 16),
ListTile(
leading: const Icon(Icons.book_outlined, size: 20),
title: const Text('关于', style: TextStyle(fontSize: 14)),
onTap: () {
Navigator.pop(ctx);
router.push(
'/link',
extra: {'url': 'https://bxr.banxiaoer.net/apps/produce.html', 'title': '关于'},
);
},
contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 4),
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!