Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RB_StrongestBrain_250520
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
RB_StrongestBrain_250520
Commits
2fb30f60
Commit
2fb30f60
authored
May 29, 2025
by
cc
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab2.dui88.com/sparkprojects/rb_strongestbrain_250520
parents
6f7bd53c
e6e73ddd
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
136 additions
and
116 deletions
+136
-116
index.html
dist/index.html
+116
-116
TipPanel.tsx
src/panels/TipPanel/TipPanel.tsx
+20
-0
No files found.
dist/index.html
View file @
2fb30f60
This diff is collapsed.
Click to expand it.
src/panels/TipPanel/TipPanel.tsx
View file @
2fb30f60
...
...
@@ -3,6 +3,7 @@ import {observer} from "mobx-react";
import
"./TipPanel.less"
;
import
{
Button
}
from
"@grace/ui"
;
import
{
ModalCtrl
}
from
"@/core/ctrls/ModalCtrl.tsx"
;
import
{
LOG_KEY
,
pageView
,
sensorLog
}
from
"@/utils/sensors"
;
export
interface
ITipPanelProps
{
tip
:
string
;
...
...
@@ -13,15 +14,34 @@ export interface ITipPanelProps {
class
TipPanel
extends
React
.
Component
<
ITipPanelProps
>
{
componentDidMount
()
{
pageView
(
"b14273"
,
{
page_name
:
"提示弹窗"
});
sensorLog
(
LOG_KEY
.
exposure
,
"b14273"
,
"d14275"
,
{
page_name
:
"提示弹窗"
,
button_name
:
"关闭按钮"
,
});
sensorLog
(
LOG_KEY
.
exposure
,
"b14273"
,
"d14274"
,
{
page_name
:
"提示弹窗"
,
button_name
:
"我知道了按钮"
,
});
}
clickClose
=
()
=>
{
ModalCtrl
.
closeModal
();
sensorLog
(
LOG_KEY
.
click
,
"b14273"
,
"d14275"
,
{
page_name
:
"提示弹窗"
,
button_name
:
"关闭按钮"
,
});
this
.
props
.
onClose
&&
this
.
props
.
onClose
();
};
clickBtn
=
()
=>
{
ModalCtrl
.
closeModal
();
sensorLog
(
LOG_KEY
.
click
,
"b14273"
,
"d14274"
,
{
page_name
:
"提示弹窗"
,
button_name
:
"我知道了按钮"
,
});
this
.
props
.
onClose
&&
this
.
props
.
onClose
();
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment