ver1.00.00
bindQR fix
This commit is contained in:
@@ -3,6 +3,7 @@ import 'package:unionapp/pages/music/music_page.dart';
|
||||
import '../../service/recommendation_helper.dart';
|
||||
import '../../service/song_service.dart';
|
||||
import '../../tool/gradientText.dart';
|
||||
import '../score/updateScorePage.dart';
|
||||
import '../user/userpage.dart';
|
||||
import '../scorelist.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
@@ -182,7 +183,7 @@ class HomePage extends StatelessWidget {
|
||||
const SizedBox(width: 4),
|
||||
Expanded(
|
||||
flex: 6,
|
||||
child: _buildQuickActionButtons(), // 快捷按钮组件
|
||||
child: _buildQuickActionButtons(context), // 快捷按钮组件
|
||||
),
|
||||
const SizedBox(width: 10), // 左右间距
|
||||
],
|
||||
@@ -195,7 +196,7 @@ class HomePage extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
// 右侧快捷按钮区域(你可以自由修改图标、文字、点击事件)
|
||||
Widget _buildQuickActionButtons() {
|
||||
Widget _buildQuickActionButtons(BuildContext context) {
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
@@ -225,7 +226,12 @@ class HomePage extends StatelessWidget {
|
||||
end: Alignment.bottomRight,
|
||||
),
|
||||
color: Colors.pinkAccent.shade100,
|
||||
onTap: () {},
|
||||
onTap: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(builder: (context) => const BindAccountPage()),
|
||||
);
|
||||
},
|
||||
),
|
||||
_quickActionItem(
|
||||
icon: Icons.stars_outlined,
|
||||
|
||||
Reference in New Issue
Block a user