Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit aa0eb17a
authored
2026-06-05 09:35:52 +0800
by
tanghuan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
为方便测试,移除连续点击退出登录的隐形热区
1 parent
2b070705
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
lib/ui/pages/web_page.dart
lib/ui/pages/web_page.dart
View file @
aa0eb17
...
...
@@ -87,22 +87,22 @@ class WebPage extends StatelessWidget {
// 用于 H5 因 JS 异常无响应时的兜底退出机制
// 使用 Listener 而非 GestureDetector:避免 Android 端 WebView 平台视图
// 在手势竞技场中抢占 onTap,导致点击不生效。
Positioned
(
left:
0
,
top:
0
,
width:
80
,
height:
80
,
child:
Listener
(
behavior:
HitTestBehavior
.
opaque
,
onPointerDown:
(
_
)
{
final
triggered
=
ctx
.
read
<
WebCubit
>().
onQuickLogoutTap
();
if
(
triggered
)
{
_showQuickLogoutDialog
(
ctx
);
}
},
child:
const
SizedBox
.
expand
(),
),
),
//
Positioned(
//
left: 0,
//
top: 0,
//
width: 80,
//
height: 80,
//
child: Listener(
//
behavior: HitTestBehavior.opaque,
//
onPointerDown: (_) {
//
final triggered = ctx.read<WebCubit>().onQuickLogoutTap();
//
if (triggered) {
//
_showQuickLogoutDialog(ctx);
//
}
//
},
//
child: const SizedBox.expand(),
//
),
//
),
],
),
bottomNavigationBar:
state
.
showBottomNavBar
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment