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
dd2d565c
Commit
dd2d565c
authored
Dec 10, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.跨区域邀请传值错误修改
2.我得团队字段显示不正确 3.修改分享
parent
fc3b85f1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
41 additions
and
25 deletions
+41
-25
components/myteam/lazy-tree.vue
+1
-0
package-lock.json
+0
-0
pages/courseDetail/courseDetail.vue
+1
-2
pages/invitationRegister/invitationRegister.vue
+1
-1
pages/invitationRegister/invitationlogin.vue
+1
-1
pages/inviteJoin/inviteJoin.vue
+13
-2
uni_modules/uni-share-wx/index.vue
+24
-19
No files found.
components/myteam/lazy-tree.vue
View file @
dd2d565c
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
<!-- :class="item.levelCode == 'B1' ? 'content-box-title-a' : item.levelCode == 'C3' ? 'content-box-title-b':'content-box-title'" -->
<!-- :class="item.levelCode == 'B1' ? 'content-box-title-a' : item.levelCode == 'C3' ? 'content-box-title-b':'content-box-title'" -->
<!--
<view
>
-->
<!--
<view
>
-->
<text
style=
"color: #000;"
v-if=
"item.levelCode == 'A1'"
>
{{
item
.
name
||
'张麻花'
}}
</text>
<text
style=
"color: #000;"
v-if=
"item.levelCode == 'A1'"
>
{{
item
.
name
||
'张麻花'
}}
</text>
<text
style=
"color: #FFFFFF;"
v-if=
"item.levelCode == 'B1'"
>
{{
item
.
name
||
'张麻花'
}}
</text>
<text
v-else
>
{{
item
.
areaCenterName
||
'张麻花'
}}
</text>
<text
v-else
>
{{
item
.
areaCenterName
||
'张麻花'
}}
</text>
<!--
</view>
-->
<!--
</view>
-->
...
...
package-lock.json
View file @
dd2d565c
This diff is collapsed.
Click to expand it.
pages/courseDetail/courseDetail.vue
View file @
dd2d565c
...
@@ -168,7 +168,6 @@
...
@@ -168,7 +168,6 @@
},
},
methods
:
{
methods
:
{
close
(
val
)
{
close
(
val
)
{
console
.
log
(
val
,
558
)
if
(
val
)
{
if
(
val
)
{
this
.
sharelogin
=
false
this
.
sharelogin
=
false
this
.
userId
=
val
this
.
userId
=
val
...
@@ -458,7 +457,7 @@
...
@@ -458,7 +457,7 @@
api
.
userRead
(
UserReadRequestVO
).
then
(
res
=>
{
api
.
userRead
(
UserReadRequestVO
).
then
(
res
=>
{
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
this
.
shareReadId
=
res
.
data
.
id
this
.
shareReadId
=
res
.
data
.
id
this
.
jumppurchase
()
//
this.jumppurchase()
}
}
})
})
},
},
...
...
pages/invitationRegister/invitationRegister.vue
View file @
dd2d565c
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.container
{
.container
{
height
:
100
%
;
height
:
100
vh
;
background
:
url('../../static/app-plus/registerBg.png')
100%
100%
;
background
:
url('../../static/app-plus/registerBg.png')
100%
100%
;
background-size
:
contain
;
background-size
:
contain
;
color
:
#fff
;
color
:
#fff
;
...
...
pages/invitationRegister/invitationlogin.vue
View file @
dd2d565c
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.content
{
.content
{
height
:
100
%
;
height
:
100
vh
;
background
:
#20279B
;
background
:
#20279B
;
border-radius
:
0px
0px
0px
0px
;
border-radius
:
0px
0px
0px
0px
;
...
...
pages/inviteJoin/inviteJoin.vue
View file @
dd2d565c
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<view
class=
"ulBox"
>
<view
class=
"ulBox"
>
<view
class=
"liBox"
>
<view
class=
"liBox"
>
<text>
姓名:
</text>
<text>
姓名:
</text>
<text><input
v-model=
"dataForm.name"
class=
"uni-input"
maxlength=
"15"
placeholder=
"姓名"
/></text>
<text><input
v-model=
"dataForm.name"
class=
"uni-input"
maxlength=
"15"
placeholder=
"姓名"
@
blur=
"blueInput(dataForm.name)"
/></text>
</view>
</view>
<view
class=
"liBox"
>
<view
class=
"liBox"
>
<text>
手机号:
</text>
<text>
手机号:
</text>
...
@@ -171,6 +171,17 @@
...
@@ -171,6 +171,17 @@
console
.
log
(
dataForm
,
1125
)
console
.
log
(
dataForm
,
1125
)
},
},
methods
:
{
methods
:
{
blueInput
(
name
)
{
console
.
log
(
name
,
1251515
)
if
(
!
common
.
nameValid
(
name
))
{
uni
.
showToast
({
title
:
'请输入真实的姓名!'
,
duration
:
2000
,
icon
:
'none'
})
return
;
}
},
queryorgchange
(
e
)
{
queryorgchange
(
e
)
{
this
.
orgindex
=
e
.
detail
.
value
this
.
orgindex
=
e
.
detail
.
value
},
},
...
@@ -229,7 +240,7 @@
...
@@ -229,7 +240,7 @@
shareToggle
()
{
shareToggle
()
{
this
.
dataForm
.
partnerLevel
=
this
.
applyIdentity
==
0
?
'B1'
:
'A1'
this
.
dataForm
.
partnerLevel
=
this
.
applyIdentity
==
0
?
'B1'
:
'A1'
this
.
dataForm
.
hasCrossDistrict
=
this
.
isCross
==
true
?
'1'
:
'0'
this
.
dataForm
.
hasCrossDistrict
=
this
.
isCross
==
true
?
'1'
:
'0'
this
.
dataForm
.
areaId
=
this
.
queryorgList
[
this
.
index
].
areaId
this
.
dataForm
.
areaId
=
this
.
isCross
==
true
?
null
:
this
.
queryorgList
[
this
.
index
].
areaId
this
.
dataForm
.
userId
=
this
.
userId
this
.
dataForm
.
userId
=
this
.
userId
this
.
dataForm
.
areaName
=
this
.
isCross
==
false
?
this
.
queryorgList
[
this
.
index
].
areaName
:
this
.
dataForm
this
.
dataForm
.
areaName
=
this
.
isCross
==
false
?
this
.
queryorgList
[
this
.
index
].
areaName
:
this
.
dataForm
.
areaName
.
areaName
...
...
uni_modules/uni-share-wx/index.vue
View file @
dd2d565c
...
@@ -56,6 +56,7 @@
...
@@ -56,6 +56,7 @@
uniShare
(
type
)
{
uniShare
(
type
)
{
let
that
=
this
let
that
=
this
this
.
closeShare
()
this
.
closeShare
()
this
.
submitsuessc
(
type
)
uni
.
share
({
uni
.
share
({
provider
:
"weixin"
,
provider
:
"weixin"
,
scene
:
type
===
1
?
"WXSceneSession"
:
"WXSceneTimeline"
,
scene
:
type
===
1
?
"WXSceneSession"
:
"WXSceneTimeline"
,
...
@@ -66,25 +67,7 @@
...
@@ -66,25 +67,7 @@
imageUrl
:
that
.
WXdata
.
imageUrl
,
imageUrl
:
that
.
WXdata
.
imageUrl
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
res
,
155
)
console
.
log
(
res
,
155
)
let
UserShareRequestVO
=
{
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
businessType
:
'1'
,
// 分享类型
businessId
:
that
.
WXdata
.
fileId
,
// 课程Id
shareUrl
:
that
.
WXdata
.
href
,
// 分享链接
shareType
:
'2'
,
// 分享类型(1:图片分享; 2:链接分享)
shareToWhere
:
type
,
//分享到哪儿(1好友 2朋友圈)
shareCode
:
that
.
WXdata
.
shareCode
}
api
.
userShare
(
UserShareRequestVO
).
then
(
res
=>
{
console
.
log
(
res
,
1251
)
// console.log('分享成功了吗')
if
(
res
[
'success'
])
{
// uni.showToast({
// title: '分享成功',
// duration: 2000
// });
}
})
},
},
fail
:
function
(
err
)
{
fail
:
function
(
err
)
{
console
.
log
(
"fail:"
+
JSON
.
stringify
(
err
));
console
.
log
(
"fail:"
+
JSON
.
stringify
(
err
));
...
@@ -115,6 +98,28 @@
...
@@ -115,6 +98,28 @@
// })
// })
// }
// }
},
},
submitsuessc
(
type
){
let
that
=
this
let
UserShareRequestVO
=
{
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
businessType
:
'1'
,
// 分享类型
businessId
:
that
.
WXdata
.
fileId
,
// 课程Id
shareUrl
:
that
.
WXdata
.
href
,
// 分享链接
shareType
:
'2'
,
// 分享类型(1:图片分享; 2:链接分享)
shareToWhere
:
type
,
//分享到哪儿(1好友 2朋友圈)
shareCode
:
that
.
WXdata
.
shareCode
}
api
.
userShare
(
UserShareRequestVO
).
then
(
res
=>
{
console
.
log
(
res
,
1251
)
// console.log('分享成功了吗')
if
(
res
[
'success'
])
{
// uni.showToast({
// title: '分享成功',
// duration: 2000
// });
}
})
},
}
}
}
}
</
script
>
</
script
>
...
...
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