Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cof_vip
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
houdong
cof_vip
Commits
28e2cbe7
Commit
28e2cbe7
authored
Mar 22, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页加分享
parent
517ad449
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
1 deletion
+16
-1
vipDs.jpg
Public/Home/images/2023ewm/vipDs.jpg
+0
-0
zhongjinDs.jpg
Public/Home/images/g2020/2023ewm/zhongjinDs.jpg
+0
-0
header-shareG.png
Public/Home/images/group/header-shareG.png
+0
-0
cofool-kf202107.gif
Public/images/2023ewm/cofool-kf202107.gif
+0
-0
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+8
-1
index.html
app/Tpl/Vip/PkTop/index.html
+8
-0
No files found.
Public/Home/images/2023ewm/vipDs.jpg
0 → 100644
View file @
28e2cbe7
63.8 KB
Public/Home/images/g2020/2023ewm/zhongjinDs.jpg
0 → 100644
View file @
28e2cbe7
63.8 KB
Public/Home/images/group/header-shareG.png
0 → 100644
View file @
28e2cbe7
453 Bytes
Public/images/2023ewm/cofool-kf202107.gif
0 → 100644
View file @
28e2cbe7
39.8 KB
app/Lib/Action/Vip/PkTopAction.class.php
View file @
28e2cbe7
...
...
@@ -939,7 +939,7 @@ class PkTopAction extends IdentityAction{
public
function
setShare
(
$userId
,
$cfrom
=
0
)
{
//app内的分享,参数名不能改
$shareTitle
=
'您的好友邀请您参加「全民炼股」争霸赛'
;
$shareDesc
=
'红包周周有,万元大奖月月送
,精英还可赢PK奖
'
;
$shareDesc
=
'红包周周有,万元大奖月月送'
;
$shareUrl
=
M_URL
.
"/PkTop?inviterId="
.
$userId
.
'&cfrom='
.
$cfrom
;
$appShareInfo
[
'shareTitle'
]
=
$shareTitle
;
$appShareInfo
[
'shareContent'
]
=
$shareDesc
;
...
...
@@ -954,6 +954,13 @@ class PkTopAction extends IdentityAction{
//定义在微信分享的显示
$signPackage
=
D
(
'Share'
)
->
getSignPackage
();
$this
->
assign
(
'signPackage'
,
$signPackage
);
$appParam
[
'url'
]
=
$shareUrl
;
$appParam
[
'name'
]
=
$shareTitle
;
$appParam
[
'introduction'
]
=
$shareDesc
;
;
$this
->
assign
(
'appParam'
,
json_encode
(
$appParam
));
return
$appShareInfo
;
}
//提现页面
...
...
app/Tpl/Vip/PkTop/index.html
View file @
28e2cbe7
...
...
@@ -28,6 +28,14 @@
.layui-m-layerbtn
span
[
yes
]
{
color
:
#b40000
;}
.layui-m-layerbtn
span
[
no
]
{
color
:
#b40000
;}
.layui-m-layerbtn
span
:first-child
{
color
:
#b40000
;}
.header-share
{
width
:
40px
;
height
:
48px
;
display
:
block
;
background
:
url('__PUBLIC__/Home/images/group/header-shareG.png')
no-repeat
;
background-size
:
20px
20px
;
background-position
:
0px
14px
;
line-height
:
100%
;
position
:
absolute
;
right
:
0px
;
top
:
0px
;
margin-right
:
-8px
;
}
</style>
<script
type=
"text/javascript"
>
AppBridge
.
init
();
...
...
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