补全新增的方法
This commit is contained in:
@@ -309,6 +309,10 @@ class _WebToolsExamplePageState extends State<WebToolsExamplePage> {
|
||||
bridge.sendToFlutter(
|
||||
ToFlutterAppEnum.lovingDayChooseFriend.code, {});
|
||||
}),
|
||||
_buildMethodTile("恩爱节我的邀请页面", "恩爱节我的邀请页面", () {
|
||||
bridge
|
||||
.sendToFlutter(ToFlutterAppEnum.lovingDayMyInvite.code, {});
|
||||
}),
|
||||
ListTile(
|
||||
title: const Text('跳转到网页',
|
||||
style: TextStyle(fontWeight: FontWeight.bold)),
|
||||
@@ -539,7 +543,7 @@ class _WebToolsExamplePageState extends State<WebToolsExamplePage> {
|
||||
_buildMethodTile(
|
||||
'发红包',
|
||||
'触发前往语音房任务 && 发红包',
|
||||
() => bridge.commonInteraction({
|
||||
() => bridge.commonInteraction({
|
||||
"interactionType": "TaskKeySendRedPack",
|
||||
}),
|
||||
),
|
||||
@@ -588,7 +592,7 @@ class _WebToolsExamplePageState extends State<WebToolsExamplePage> {
|
||||
_buildMethodTile(
|
||||
'其他页面',
|
||||
'进入其他h5页面',
|
||||
() => bridge.commonInteraction({
|
||||
() => bridge.commonInteraction({
|
||||
"interactionType": WebInteractionType
|
||||
.taskKeyOtherPage.code, // taskKeyReplayTimeline
|
||||
|
||||
@@ -598,7 +602,7 @@ class _WebToolsExamplePageState extends State<WebToolsExamplePage> {
|
||||
_buildMethodTile(
|
||||
'我的钱包页面',
|
||||
'我的钱包页面',
|
||||
() => bridge.commonInteraction({
|
||||
() => bridge.commonInteraction({
|
||||
"interactionType": WebInteractionType
|
||||
.taskKeyMineWallet.code, // taskKeyReplayTimeline
|
||||
|
||||
@@ -608,7 +612,7 @@ class _WebToolsExamplePageState extends State<WebToolsExamplePage> {
|
||||
_buildMethodTile(
|
||||
'我的背包',
|
||||
'我的装扮背包页面(或者是称号)',
|
||||
() => bridge.commonInteraction({
|
||||
() => bridge.commonInteraction({
|
||||
"interactionType": WebInteractionType
|
||||
.taskKeyMineBackpack.code, // taskKeyReplayTimeline
|
||||
|
||||
@@ -645,6 +649,11 @@ class _WebToolsExamplePageState extends State<WebToolsExamplePage> {
|
||||
"updateType": "1" // 1 刷新整个挂件数据,2刷新观时礼的宝箱列表数据
|
||||
}),
|
||||
),
|
||||
_buildMethodTile(
|
||||
'刷新当前网页',
|
||||
'刷新当前网页',
|
||||
() => bridge.sendToFlutter(ToFlutterAppEnum.reload.code, {}),
|
||||
),
|
||||
_buildMethodTile(
|
||||
'翻译',
|
||||
'多语言翻译',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: web_tools
|
||||
description: "A new Flutter package project."
|
||||
version: 0.0.5
|
||||
version: 0.0.6
|
||||
publish_to: 'none' # 不发布到pub.dev
|
||||
homepage: https://gitea.sdws.shop/xim/web_tools.git
|
||||
|
||||
|
||||
Reference in New Issue
Block a user