mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 临时添加创作中心与编辑资料的网页版链接
This commit is contained in:
@@ -33,6 +33,15 @@ class MediaController extends GetxController {
|
||||
'title': '稍后再看',
|
||||
'onTap': () => Get.toNamed('/later'),
|
||||
},
|
||||
{
|
||||
'icon': Icons.create_outlined,
|
||||
'title': '创作中心(web)',
|
||||
'onTap': () => Get.toNamed('/webview', parameters: {
|
||||
'url': 'https://member.bilibili.com/platform/home',
|
||||
'type': 'url',
|
||||
'pageTitle': "创作中心(建议浏览器打开)",
|
||||
}),
|
||||
},
|
||||
];
|
||||
var userInfo;
|
||||
int? mid;
|
||||
|
||||
@@ -221,7 +221,12 @@ class ProfilePanel extends StatelessWidget {
|
||||
if (ctr.ownerMid == ctr.mid && ctr.ownerMid != -1) ...[
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
SmartDialog.showToast('功能开发中 💪');
|
||||
Get.toNamed('/webview', parameters: {
|
||||
'url':
|
||||
'https://account.bilibili.com/account/home',
|
||||
'pageTitle': '编辑资料(建议浏览器打开)',
|
||||
'type': 'url'
|
||||
});
|
||||
},
|
||||
style: TextButton.styleFrom(
|
||||
padding: const EdgeInsets.only(left: 80, right: 80),
|
||||
|
||||
Reference in New Issue
Block a user