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
2ef3f594
Commit
2ef3f594
authored
Dec 05, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改了一些Bug
parent
44ae8364
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
13 deletions
+64
-13
pages/courseDetail/courseDetail.vue
+43
-1
pages/invitationRegister/invitationRegister.vue
+11
-7
pages/invitationRegister/invitationlogin.vue
+5
-2
pages/inviteJoin/inviteJoin.vue
+5
-3
No files found.
pages/courseDetail/courseDetail.vue
View file @
2ef3f594
...
...
@@ -163,9 +163,14 @@
loginType
:
''
,
sliceshare
:
false
,
nonRequiredCount
:
0
,
requiredCount
:
0
requiredCount
:
0
,
realName
:
''
};
},
onLoad
(){
let
dataForm
=
uni
.
getStorageSync
(
'userinfodataForm'
)
this
.
realName
=
dataForm
.
realName
},
methods
:
{
goBack
()
{
console
.
log
(
12121232
)
...
...
@@ -193,6 +198,43 @@
url
:
val
.
item
.
link
})
},
uniShare
(
type
)
{
if
(
type
===
1
)
{
uni
.
share
({
provider
:
"weixin"
,
scene
:
"WXSceneSession"
,
type
:
0
,
href
:
"https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId="
+
this
.
shareId
,
title
:
"CFFP家庭财务策划师联盟邀您加入"
,
summary
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击下载即刻加入!`
,
imageUrl
:
"https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg"
,
success
:
function
(
res
)
{
console
.
log
(
"success:"
+
JSON
.
stringify
(
res
));
},
fail
:
function
(
err
)
{
console
.
log
(
"fail:"
+
JSON
.
stringify
(
err
));
}
});
}
else
if
(
type
===
2
)
{
uni
.
share
({
provider
:
"weixin"
,
scene
:
"WXSceneTimeline"
,
type
:
0
,
href
:
"https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId="
+
this
.
shareId
,
title
:
"CFFP家庭财务策划师联盟邀您加入"
,
summary
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击下载即刻加入!`
,
imageUrl
:
"https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg"
,
success
:
function
(
res
)
{
console
.
log
(
"success:"
+
JSON
.
stringify
(
res
));
},
fail
:
function
(
err
)
{
console
.
log
(
"fail:"
+
JSON
.
stringify
(
err
));
}
});
}
},
// 订单保存
saveOrder
()
{
if
(
this
.
loginType
===
'visitor'
)
{
...
...
pages/invitationRegister/invitationRegister.vue
View file @
2ef3f594
...
...
@@ -23,7 +23,9 @@
areaName
:
''
,
invitationName
:
''
,
shareId
:
''
,
levelaName
:
''
levelaName
:
''
,
mobileNumber
:
''
,
name
:
''
}
},
onLoad
(
options
)
{
...
...
@@ -41,13 +43,15 @@
})
},
ckregister
(){
let
dataForm
=
{
name
:
this
.
name
,
mobile
:
this
.
mobileNumber
,
id
:
this
.
shareId
};
// '
let dataForm = {
//
name: this.name,
//
mobile: this.mobileNumber,
//
id:this.shareId
// };'
uni
.
navigateTo
({
url
:
'/pages/invitationRegister/invitationlogin?form='
+
JSON
.
stringify
(
dataForm
)
// url:'/pages/invitationRegister/invitationlogin?name=' + this.name+'&mobile=' +this.mobileNumber + '&id=' + this.shareId
url
:
`/pages/invitationRegister/invitationlogin?name=
${
this
.
name
}
&mobile=
${
this
.
mobileNumber
}
`
})
}
}
...
...
pages/invitationRegister/invitationlogin.vue
View file @
2ef3f594
...
...
@@ -55,7 +55,11 @@
}
},
onLoad
(
options
)
{
this
.
form
=
JSON
.
parse
(
options
.
form
)
console
.
log
(
options
,
2225
)
this
.
form
.
name
=
options
.
name
?
options
.
name
:
''
this
.
form
.
mobile
=
options
.
mobile
?
options
.
mobile
:
''
this
.
form
.
id
=
options
.
id
?
options
.
id
:
''
// this.form =JSON.parse( options.form)
},
methods
:{
sendMessage
(){
...
...
@@ -112,7 +116,6 @@
...
this
.
form
}
api
.
loginVerification
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
,
5524
)
if
(
res
[
'success'
]){
this
.
userId
=
String
(
res
[
'data'
][
'userId'
]);
uni
.
navigateTo
({
...
...
pages/inviteJoin/inviteJoin.vue
View file @
2ef3f594
...
...
@@ -158,13 +158,15 @@
orgList
:
[],
orgdataList
:
[],
queryorgList
:
[],
shareId
:
''
shareId
:
''
,
realName
:
''
};
},
onLoad
()
{
this
.
getqueryOrgList
()
console
.
log
(
uni
.
getStorageSync
(
'userinfodataForm'
),
74174
)
let
dataForm
=
uni
.
getStorageSync
(
'userinfodataForm'
)
this
.
realName
=
dataForm
.
realName
},
methods
:
{
queryorgchange
(
e
)
{
...
...
@@ -279,7 +281,7 @@
href
:
"https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId="
+
this
.
shareId
,
title
:
"CFFP家庭财务策划师联盟邀您加入"
,
summary
:
`我是家庭财务策划师
${
uni
.
getStorageSync
(
'cffp_userId'
)
}
正在使用CFFP财富中心,点击下载即刻加入!`
,
summary
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击下载即刻加入!`
,
imageUrl
:
"https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg"
,
success
:
function
(
res
)
{
console
.
log
(
"success:"
+
JSON
.
stringify
(
res
));
...
...
@@ -296,7 +298,7 @@
href
:
"https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId="
+
this
.
shareId
,
title
:
"CFFP家庭财务策划师联盟邀您加入"
,
summary
:
"我是家庭财务策划师***正在使用CFFP财富中心,点击下载即刻加入!"
,
summary
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击下载即刻加入!`
,
imageUrl
:
"https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg"
,
success
:
function
(
res
)
{
console
.
log
(
"success:"
+
JSON
.
stringify
(
res
));
...
...
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