Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
9c9e8b26
Commit
9c9e8b26
authored
Mar 02, 2023
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邀请加盟分享
parent
9d159137
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
pages/index/index.vue
+3
-2
pages/inviteJoin/inviteJoin.vue
+5
-4
uni_modules/uni-share-wx/index.vue
+0
-1
No files found.
pages/index/index.vue
View file @
9c9e8b26
...
...
@@ -171,6 +171,9 @@
courseItem
},
onLoad
()
{
},
onShow
()
{
if
(
uni
.
getStorageSync
(
'isLogin'
))
{
this
.
queryAreaCenterInfo
();
this
.
announcementQuery
();
...
...
@@ -180,8 +183,6 @@
url
:
'/components/login/login'
})
}
},
onShow
()
{
let
loginType
=
uni
.
getStorageSync
(
'loginType'
)
if
(
loginType
==
"visitor"
){
this
.
loginornot
=
false
...
...
pages/inviteJoin/inviteJoin.vue
View file @
9c9e8b26
...
...
@@ -314,6 +314,7 @@
this
.
$refs
.
share
.
close
()
},
reinvite
(
id
)
{
debugger
;
this
.
shareId
=
id
// #ifdef APP-PLUS
this
.
$refs
.
share
.
open
()
...
...
@@ -324,20 +325,20 @@
// #endif
},
uniShare
(
type
)
{
console
.
log
(
`
${
baseURL
}
/cffp/static/cffp_logo.jpg`
)
uni
.
share
({
provider
:
"weixin"
,
scene
:
type
===
1
?
"WXSceneSession"
:
"WXSceneTimeline"
,
type
:
0
,
href
:
"https://"
+
window
.
location
.
host
+
"/cffp/pages/invitationRegister/invitationRegister?shareId="
+
this
.
shareId
+
'&invitationCode='
+
this
.
invitationCode
,
href
:
`
${
baseURL
}
/cffp/pages/invitationRegister/invitationRegister?shareId=
${
this
.
shareId
}
&invitationCode=
${
this
.
invitationCode
}
`
,
title
:
"CFFP家庭财务策划师联盟邀您加入"
,
summary
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击下载即刻加入!`
,
imageUrl
:
`
${
baseURL
}
/cffp/static/cffp_logo.jpg`
,
success
:
function
(
res
)
{
//
console.log("success:" + JSON.stringify(res));
console
.
log
(
"success:"
+
JSON
.
stringify
(
res
));
},
fail
:
function
(
err
)
{
//
console.log("fail:" + JSON.stringify(err));
console
.
log
(
"fail:"
+
JSON
.
stringify
(
err
));
}
});
// else if (type === 2) {
...
...
uni_modules/uni-share-wx/index.vue
View file @
9c9e8b26
...
...
@@ -88,7 +88,6 @@
imageUrl
:
that
.
WXdata
.
imageUrl
,
success
:
function
(
res
)
{
console
.
log
(
res
,
155
)
},
fail
:
function
(
err
)
{
alert
(
err
)
...
...
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