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
b04da0a6
Commit
b04da0a6
authored
Jul 21, 2025
by
yuzhenWang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uat' into 'master'
Uat See merge request
!53
parents
22a128f1
33f6a949
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
3 deletions
+48
-3
pages.json
+1
-1
pages/courselist/courselist.vue
+16
-2
pages/index/index.vue
+31
-0
No files found.
pages.json
View file @
b04da0a6
...
...
@@ -539,7 +539,7 @@
"style"
:
{
"navigationBarTitleText"
:
"协议"
}
}
,
}
]
},{
"root"
:
"officialWebsite"
,
...
...
pages/courselist/courselist.vue
View file @
b04da0a6
<
template
>
<!-- :style="
{paddingTop: showFlag ? '0' : '60rpx'}" -->
<view
class=
"container"
>
<view
class=
"container"
:style=
"
{paddingTop: showFlag ? '0' : '60rpx'}"
>
<view
class=
"homeHeader"
v-if=
"showFlag"
>
<view
class=
"one"
>
<text
style=
"font-size: 80rpx;"
>
01
</text>
...
...
@@ -210,6 +210,9 @@
this
.
$refs
.
partnerTipPopup
.
close
()
},
gotoShare
(
item
){
if
(
uni
.
getStorageSync
(
'cffp_userInfo'
)){
this
.
userInfo
=
JSON
.
parse
(
uni
.
getStorageSync
(
'cffp_userInfo'
))
}
this
.
shareItem
=
JSON
.
parse
(
JSON
.
stringify
(
item
))
// 未登录去登录
if
(
uni
.
getStorageSync
(
'loginType'
)
!==
'codelogin'
){
...
...
@@ -224,7 +227,18 @@
this
.
sharelogin
=
true
return
}
if
(
this
.
runEnv
==
'browser'
){
dataHandling
.
pocessTracking
(
'点击'
,
`用户在产品中心浏览器端点击产品分享按钮`
,
'点击'
,
2
,
'产品中心'
,
'pages/courselist/courselist'
)
this
.
$refs
.
popup
.
open
()
return
}
// 已登录,未成为合伙人
if
(
this
.
userInfo
&&!
this
.
userInfo
[
'partnerType'
])
{
dataHandling
.
pocessTracking
(
...
...
pages/index/index.vue
View file @
b04da0a6
...
...
@@ -280,6 +280,7 @@
},
onShow
()
{
console
.
log
(
'11111'
);
this
.
loginType
=
uni
.
getStorageSync
(
'loginType'
)
this
.
init
();
this
.
showSearch
=
false
;
...
...
@@ -325,6 +326,7 @@
nickName
:
res
[
'data'
][
'nickName'
],
}
uni
.
setStorageSync
(
'cffp_userInfo'
,
JSON
.
stringify
(
cffp_userInfo
));
console
.
log
(
'cffp_userInfo.partnerType'
,
cffp_userInfo
.
partnerType
);
if
(
cffp_userInfo
.
partnerType
){
this
.
featureLists
=
[{
key
:
'00'
,
name
:
'成交订单'
,
icon
:
'icon-dingdan'
,
link
:
'/pages/saleCourseLists/saleCourseLists'
,
isOpen
:
true
,
enName
:
'order'
},
{
key
:
'01'
,
name
:
'佣金'
,
icon
:
'icon-yongjin'
,
link
:
'/pages/pointsExchange/pointsExchange'
,
isOpen
:
true
,
isJoin
:
true
},
...
...
@@ -390,6 +392,34 @@
this
.
querySystemMessage
()
this
.
queryInfo
()
}
else
{
this
.
featureLists
=
[
{
key
:
'02'
,
name
:
'申请加盟'
,
icon
:
'icon-hezuo'
,
link
:
'/myPackageA/applyFranchise/applyFranchise'
,
isOpen
:
true
,
isApply
:
true
},
{
key
:
'07'
,
name
:
'分享产品'
,
icon
:
'icon-zhuanfa'
,
link
:
'/pages/courselist/courselist'
,
isOpen
:
true
,
},
{
key
:
'04'
,
name
:
'邀请加盟'
,
icon
:
'icon-yaoqing'
,
link
:
'/pages/inviteJoin/inviteJoin'
,
isOpen
:
true
,
isJoin
:
true
},
]
console
.
log
(
'this.featureLists'
,
this
.
featureLists
);
uni
.
removeTabBarBadge
({
index
:
3
});
}
if
(
uni
.
getStorageSync
(
'isLogin'
))
{
...
...
@@ -398,6 +428,7 @@
this
.
loginornot
=
false
}
else
{
this
.
loginornot
=
true
;
}
this
.
queryAreaCenterInfo
();
}
else
{
...
...
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