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
8b684925
Commit
8b684925
authored
May 23, 2025
by
徐士卿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge
parent
17fd2ed9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
index.ts
mock/index.ts
+5
-4
HomePage.tsx
src/pages/HomePage/HomePage.tsx
+6
-2
store.ts
src/store/store.ts
+1
-0
No files found.
mock/index.ts
View file @
8b684925
...
...
@@ -26,10 +26,11 @@ export default [
// 规则长图
"ruleImg"
:
'//yun.duiba.com.cn/polaris/bg.18539c61e0103e01a339dd268558b2559ab178ba.png'
,
shareInfo
:
JSON
.
stringify
({
"title"
:
"许愿迎新春"
,
"content"
:
"参与活动生成你的专属烟花吧~"
,
"thumbnail"
:
"https://yun.duiba.com.cn/polaris/%E6%9C%AA%E6%A0%87%E9%A2%98-1.501ac89a8b4c601209edf8b9c3b67fd5228f1ed8.jpg"
,
"imgUrl"
:
"https://yun.duiba.com.cn/polaris/%E6%9C%AA%E6%A0%87%E9%A2%98-1.501ac89a8b4c601209edf8b9c3b67fd5228f1ed8.jpg"
"title"
:
"许愿迎新春"
,
"content"
:
"参与活动生成你的专属烟花吧~"
,
"thumbnail"
:
"https://yun.duiba.com.cn/polaris/%E6%9C%AA%E6%A0%87%E9%A2%98-1.501ac89a8b4c601209edf8b9c3b67fd5228f1ed8.jpg"
,
"imgUrl"
:
"https://yun.duiba.com.cn/polaris/%E6%9C%AA%E6%A0%87%E9%A2%98-1.501ac89a8b4c601209edf8b9c3b67fd5228f1ed8.jpg"
,
"SaleManUrl"
:
"http://activity.m.duibatest.com.cn/projectx/pd2a9a8c1/index.html?appID=19487"
,
}),
shopUrl
:
'https://'
}
...
...
src/pages/HomePage/HomePage.tsx
View file @
8b684925
...
...
@@ -4,7 +4,7 @@ import React from 'react';
import
{
observer
}
from
'mobx-react'
;
import
'./homepage.less'
;
import
{
Button
,
Toast
}
from
'@grace/ui'
;
import
{
_asyncThrottle
}
from
"../../utils/utils"
;
import
{
_asyncThrottle
,
windowJumpUrl
,
getUrlParam
}
from
"../../utils/utils"
;
import
{
PageCtrl
}
from
"@/core/ctrls/PageCtrl"
;
import
{
ModalCtrl
}
from
"@/core/ctrls/ModalCtrl"
;
import
Rulepop
from
"../../components/rulepop/rulepop.jsx"
;
...
...
@@ -124,7 +124,11 @@ class Homepage extends React.Component {
page_name
:
"友客首页"
,
button_name
:
"拜访清单按钮"
,
});
windowJumpUrl
(
store
.
frontVariable
?.
SaleManUrl
+
"&actPlatforms="
+
getUrlParam
(
"actPlatforms"
)
+
"&agentCode="
+
getUrlParam
(
"agentCode"
)
+
"&actId="
+
getUrlParam
(
"actId"
)
+
"&channel="
+
CFG
.
channel
);
break
;
// 7 分享活动
...
...
src/store/store.ts
View file @
8b684925
...
...
@@ -25,6 +25,7 @@ class Store {
frontVariable
:
{
shareInfo
:
any
,
ruleImg
?:
string
,
SaleManUrl
?:
string
,
}
=
{
shareInfo
:
{
title
:
""
,
...
...
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