mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -1,7 +1,6 @@
|
||||
import 'package:PiliPalaX/http/loading_state.dart';
|
||||
import 'package:PiliPalaX/pages/common/common_controller.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:PiliPalaX/http/user.dart';
|
||||
import 'package:PiliPalaX/utils/storage.dart';
|
||||
@@ -9,13 +8,13 @@ import 'package:PiliPalaX/utils/storage.dart';
|
||||
class MediaController extends CommonController {
|
||||
RxBool userLogin = false.obs;
|
||||
List list = [
|
||||
{
|
||||
'icon': Icons.file_download_outlined,
|
||||
'title': '离线缓存',
|
||||
'onTap': () {
|
||||
SmartDialog.showToast('功能开发中');
|
||||
},
|
||||
},
|
||||
// {
|
||||
// 'icon': Icons.file_download_outlined,
|
||||
// 'title': '离线缓存',
|
||||
// 'onTap': () {
|
||||
// SmartDialog.showToast('功能开发中');
|
||||
// },
|
||||
// },
|
||||
{
|
||||
'icon': Icons.history,
|
||||
'title': '观看记录',
|
||||
@@ -33,8 +32,8 @@ class MediaController extends CommonController {
|
||||
},
|
||||
{
|
||||
'icon': Icons.create_outlined,
|
||||
'title': '创作中心(web)',
|
||||
'onTap': () => Get.toNamed('/webviewnew', parameters: {
|
||||
'title': '创作中心',
|
||||
'onTap': () => Get.toNamed('/webview', parameters: {
|
||||
'url': 'https://member.bilibili.com/platform/home',
|
||||
'type': 'url',
|
||||
'pageTitle': "创作中心(建议浏览器打开)",
|
||||
|
||||
@@ -187,7 +187,7 @@ class _MediaPageState extends State<MediaPage>
|
||||
),
|
||||
SizedBox(
|
||||
height: MediaQuery.paddingOf(context).bottom + 100,
|
||||
)
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user