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
4d3c1e29
Commit
4d3c1e29
authored
Jul 11, 2025
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页顶部菜单根据加盟状态判断,申请加盟成功增加暂不购买按钮
parent
5d2d57c0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
69 additions
and
36 deletions
+69
-36
components/commonPopup/PartnerTipPopup.vue
+6
-6
components/commonPopup/everyJoinPopup.vue
+18
-5
myPackageA/applyFranchise/applyFranchise.vue
+4
-2
myPackageA/login/login.vue
+1
-1
pages/index/index.vue
+40
-22
No files found.
components/commonPopup/PartnerTipPopup.vue
View file @
4d3c1e29
...
...
@@ -53,12 +53,12 @@ export default {
// 加盟按钮文字
joinText
:
{
type
:
String
,
default
:
'
去加盟为合伙人
'
default
:
'
我已知晓,继续分享
'
},
// 继续按钮文字
continueText
:
{
type
:
String
,
default
:
'
我已知晓,继续分享
'
default
:
'
去加盟为合伙人
'
},
// 是否展示icon
tipIcon
:
{
...
...
@@ -75,14 +75,14 @@ export default {
close
()
{
this
.
$refs
.
popup
.
close
()
},
// 点击
加盟
// 点击
继续
handleJoin
()
{
this
.
$emit
(
'
join
'
)
this
.
$emit
(
'
continue
'
)
this
.
close
()
},
// 点击
继续
// 点击
加盟
handleContinue
()
{
this
.
$emit
(
'
continue
'
)
this
.
$emit
(
'
join
'
)
this
.
close
()
}
}
...
...
components/commonPopup/everyJoinPopup.vue
View file @
4d3c1e29
...
...
@@ -27,9 +27,12 @@
</view>
</view>
<view
class=
"joinFotter"
>
<view
@
click=
"handleContinue"
>
{{
continueText
}}
</view>
<view
@
click=
"handleCancel"
style=
"background-color: #FAFAFA;color: #333333;"
>
{{
cancelText
}}
</view>
<view
@
click=
"handleContinue"
>
{{
continueText
}}
</view>
</view>
</view>
</uni-popup>
...
...
@@ -60,6 +63,11 @@ export default {
type
:
String
,
default
:
'前往首页'
},
// 暂不操作按钮文字
cancelText
:
{
type
:
String
,
default
:
'暂不操作,继续浏览'
},
// 文字颜色
fontColor
:
{
type
:
String
,
...
...
@@ -86,9 +94,14 @@ export default {
},
// 点击继续
handleContinue
()
{
this
.
$emit
(
'continue'
)
this
.
$emit
(
'continue'
,
1
)
this
.
close
()
}
},
// 继续浏览
handleCancel
(){
this
.
$emit
(
'continue'
,
2
)
this
.
close
()
}
}
}
</
script
>
...
...
myPackageA/applyFranchise/applyFranchise.vue
View file @
4d3c1e29
...
...
@@ -96,10 +96,11 @@
<!-- 成功加盟为合伙人提示弹窗组件 -->
<everyJoinPopup
ref=
"successJoinPopup"
@
continue=
"jumpPage()"
@
continue=
"jumpPage(
e
)"
content=
"您已加盟为银盾家办合伙人"
twoContent=
'购买一单"YD家庭财务法律卡"即可升级为新锐合伙人,享受组织利益'
continueText=
"前往购买"
cancelText=
"暂不购买,继续浏览"
fontColor=
"#20279B"
:maskClick=
"false"
icon=
"icon-dianzan"
...
...
@@ -197,7 +198,8 @@
})
},
jumpPage
(){
jumpPage
(
e
){
// e===1时,前往购买;e===2暂不购买;目前全部跳转到首页,不进行判断
uni
.
switchTab
({
url
:
'/pages/index/index'
})
...
...
myPackageA/login/login.vue
View file @
4d3c1e29
...
...
@@ -390,7 +390,7 @@
}
.iconBox
{
border-radius
:
15
rpx
;
width
:
20%
!important
;
width
:
400
rpx
!important
;
}
}
.content
{
...
...
pages/index/index.vue
View file @
4d3c1e29
...
...
@@ -19,6 +19,7 @@
<view
class=
"bottom"
>
<view
class=
"content"
>
<view
class=
"featureContent"
>
<!-- 顶部快捷菜单 -->
<view
class=
"nav_wrapper"
>
<view
class=
"nav_content"
v-for=
"featureItem in featureLists"
:key=
"featureItem.key"
@
click=
"featureSelect(featureItem)"
>
...
...
@@ -66,6 +67,10 @@
<view
class=
"productListBox"
>
<view
class=
"productListItem"
v-for=
"item in cffpCourseInfos"
:key=
"item.fileId"
@
click=
"goDetail(item)"
>
<view
class=
"top"
>
<!--
<view
class=
"shareBtn"
@
click
.
stop=
"shareProduct"
>
-->
<!-- 分享按钮 -->
<!--
<text
class=
"iconfont icon-zhuanfa"
></text><text>
分享赚钱
</text>
</view>
-->
<image
class=
"productImg"
:src=
"item.displayImage"
alt=
""
mode=
"widthFix"
></image>
<view
class=
"productDesBox"
>
{{
item
.
fileSynopsis
}}
...
...
@@ -215,29 +220,21 @@
x
:
0
,
y
:
0
},
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
},
featureLists
:
[
{
key
:
'02'
,
name
:
'申请加盟'
,
icon
:
'icon-hezuo'
,
link
:
'/myPackageA/applyFranchise/applyFranchise'
,
isOpen
:
true
,
isApply
:
true
,
isApply
:
true
},
{
key
:
'07'
,
name
:
'分享产品'
,
icon
:
'icon-zhuanfa'
,
link
:
'/pages/courselist/courselist'
,
isOpen
:
true
,
},
{
...
...
@@ -325,7 +322,13 @@
partnerType
:
res
[
'data'
][
'partnerType'
],
nickName
:
res
[
'data'
][
'nickName'
],
}
uni
.
setStorageSync
(
'cffp_userInfo'
,
JSON
.
stringify
(
cffp_userInfo
))
uni
.
setStorageSync
(
'cffp_userInfo'
,
JSON
.
stringify
(
cffp_userInfo
));
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
},
{
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
}];
}
}
})
...
...
@@ -493,6 +496,7 @@
window
.
location
.
href
=
url
;
// #endif
},
// 顶部菜单跳转
featureSelect
(
featureItem
)
{
if
(
uni
.
getStorageSync
(
'cffp_userInfo'
)){
this
.
userInfo
=
JSON
.
parse
(
uni
.
getStorageSync
(
'cffp_userInfo'
))
...
...
@@ -506,9 +510,8 @@
'首页'
,
'pages/index/index'
)
uni
.
navigateTo
({
url
:
`
${
featureItem
.
link
}
`
});
uni
.
navigateTo
({
url
:
`
${
featureItem
.
link
}
`
});
return
}
...
...
@@ -813,7 +816,22 @@
object-fit
:
cover
;
display
:
block
;
}
.shareBtn
{
position
:
absolute
;
right
:
0
;
top
:
0
;
height
:
50
rpx
;
color
:
red
;
z-index
:
1
;
background-color
:
#F43530
;
border-radius
:
6
rpx
;
padding
:
0
10
rpx
;
color
:
#fff
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
center
;
}
.productDesBox
{
box-sizing
:
border-box
;
position
:
absolute
;
...
...
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