Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
2
20250310_人保春游
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
20250310_人保春游
Commits
683a89d1
Commit
683a89d1
authored
Mar 13, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
d887b2bf
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
76 additions
and
0 deletions
+76
-0
bg.png
src/assets/CarvePanel/bg.png
+0
-0
btn.png
src/assets/CarvePanel/btn.png
+0
-0
CarvePanel.jsx
src/components/CarvePanel/CarvePanel.jsx
+34
-0
CarvePanel.less
src/components/CarvePanel/CarvePanel.less
+36
-0
modal.jsx
src/modal/modal.jsx
+2
-0
index.js
src/store/index.js
+4
-0
No files found.
src/assets/CarvePanel/bg.png
0 → 100644
View file @
683a89d1
149 KB
src/assets/CarvePanel/btn.png
0 → 100644
View file @
683a89d1
13.3 KB
src/components/CarvePanel/CarvePanel.jsx
0 → 100644
View file @
683a89d1
import
React
from
"react"
;
import
{
observer
}
from
"mobx-react"
;
import
"./CarvePanel.less"
;
import
{
Button
}
from
"@src/components/Button"
;
import
modalStore
from
"@src/store/modal"
;
import
store
from
"@src/store"
;
@
observer
class
CarvePanel
extends
React
.
Component
{
componentDidMount
=
async
()
=>
{
};
/** 关闭 */
clickClose
=
()
=>
{
modalStore
.
closePop
();
};
clickOk
=
()
=>
{
modalStore
.
closePop
();
}
render
()
{
return
<
div
className=
"CarvePanel modal_center"
>
<
div
className=
"bg"
/>
<
div
className=
"txt"
>
一共有
{
store
.
setIndex
.
newAssistUser
}
位好友助力
</
div
>
<
Button
className=
"btn"
onClick=
{
this
.
clickOk
}
/>
<
Button
className=
"close"
onClick=
{
this
.
clickClose
}
/>
</
div
>;
}
}
export
default
CarvePanel
;
src/components/CarvePanel/CarvePanel.less
0 → 100644
View file @
683a89d1
@import "../../res.less";
.CarvePanel {
position: absolute;
left: 0;
top: 0;
width: 750px;
height: 1624px;
.bg {
position: absolute;
left: 99px;
top: 289px;
width: 553px;
height: 730px;
.sparkBg("CarvePanel/bg.png")
}
.btn {
position: absolute;
left: 228px;
top: 845px;
width: 310px;
height: 94px;
.sparkBg("CarvePanel/btn.png")
}
.close {
position: absolute;
left: 345px;
top: 1160px;
width: 60px;
height: 60px;
.sparkBg("common/closeBtn.png")
}
}
src/modal/modal.jsx
View file @
683a89d1
...
@@ -17,6 +17,7 @@ import Selectmodal from "../components/selectmodal/selectmodal";
...
@@ -17,6 +17,7 @@ import Selectmodal from "../components/selectmodal/selectmodal";
import
Yinsirulepop
from
"../components/yinsirulepop/yinsirulepop"
;
import
Yinsirulepop
from
"../components/yinsirulepop/yinsirulepop"
;
import
LongImgPop
from
"@src/components/longImgPop/longImgPop"
;
import
LongImgPop
from
"@src/components/longImgPop/longImgPop"
;
import
AssistCountPanel
from
"@src/components/AssistCountPanel/AssistCountPanel"
;
import
AssistCountPanel
from
"@src/components/AssistCountPanel/AssistCountPanel"
;
import
CarvePanel
from
"@src/components/CarvePanel/CarvePanel"
;
/**
/**
* 弹窗配置
* 弹窗配置
*/
*/
...
@@ -49,6 +50,7 @@ export const cfg = {
...
@@ -49,6 +50,7 @@ export const cfg = {
LongImgPop
,
LongImgPop
,
AssistCountPanel
,
AssistCountPanel
,
CarvePanel
,
};
};
...
...
src/store/index.js
View file @
683a89d1
...
@@ -108,6 +108,10 @@ const store = makeAutoObservable({
...
@@ -108,6 +108,10 @@ const store = makeAutoObservable({
modalStore
.
pushPop
(
"AssistCountPanel"
);
modalStore
.
pushPop
(
"AssistCountPanel"
);
}
}
if
(
data
?.
carvePop
)
{
modalStore
.
pushPop
(
"CarvePanel"
);
}
// 首页接口把绑定逻辑加上
// 首页接口把绑定逻辑加上
/** 绑定业务员code判断 */
/** 绑定业务员code判断 */
if
(
data
?.
boundYkCode
)
{
if
(
data
?.
boundYkCode
)
{
...
...
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