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
20e4495f
Commit
20e4495f
authored
May 16, 2025
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交520版本所作修改
parent
963ad6ed
Hide whitespace changes
Inline
Side-by-side
Showing
59 changed files
with
259 additions
and
153 deletions
+259
-153
components/courseItem/courseItem.vue
+1
-1
components/login/login.vue
+53
-8
components/unipopup/loginPopup.vue
+1
-1
environments/environment.ts
+1
-1
pages.json
+3
-3
pages/afterSaleDetail/afterSaleDetail.vue
+1
-1
pages/afterSales/afterSales.vue
+1
-1
pages/announcement/announcement.vue
+1
-1
pages/announcement/announcement_detail.vue
+1
-1
pages/applyDropClass/applyDropClass.vue
+2
-1
pages/authentication-query/authentication-query.vue
+1
-1
pages/authentication-query/authentication-result.vue
+1
-1
pages/certifyDetail/certifyDetail.vue
+1
-1
pages/certifyDetail/uploadinformation.vue
+1
-1
pages/commonDetail/commonDetail.vue
+1
-1
pages/courseDetail/courseDetail.vue
+9
-8
pages/courselist/courselist.vue
+13
-4
pages/dropLists/dropLists.vue
+1
-1
pages/exchangeRecord/exchangeRecord.vue
+1
-1
pages/index/index.vue
+40
-32
pages/invitationRegister/invitationRegister.vue
+1
-1
pages/invitationRegister/invitationlogin.vue
+1
-1
pages/inviteJoin/inviteJoin.vue
+1
-1
pages/learnCertify/learnCertify.vue
+1
-1
pages/learningStatistics/learningStatistics.vue
+1
-1
pages/myCertify/myCertify.vue
+1
-1
pages/myLearning/myLearning.vue
+1
-1
pages/myPoints/myPoints.vue
+3
-3
pages/myPoints/pointsDetail.vue
+1
-1
pages/myShare/myShare.vue
+1
-1
pages/orderConfirm/orderConfirm.vue
+3
-3
pages/orderDetail/orderDetail.vue
+18
-9
pages/orderStatus/orderStatus.vue
+2
-2
pages/personalCenter/accountoperation/aboutcffp.vue
+1
-1
pages/personalCenter/accountoperation/confirmResetpassword.vue
+1
-1
pages/personalCenter/accountoperation/phonebinding.vue
+1
-1
pages/personalCenter/myTeam.vue
+1
-1
pages/personalCenter/personalCenter.vue
+14
-6
pages/personalCenter/system/accontsetting.vue
+1
-1
pages/personalCenter/system/cancellation.vue
+8
-6
pages/personalCenter/system/menulist.vue
+1
-1
pages/personalCenter/teamMembers/jurisdiction.vue
+1
-1
pages/personalCenter/teamMembers/members.vue
+1
-1
pages/personalCenter/teamMembers/otherteam.vue
+1
-1
pages/personalCenter/teamMembers/teamMembers.vue
+1
-1
pages/personalCenter/teamPerformance/teamPerformance.vue
+1
-1
pages/pointsExchange/pointsExchange.vue
+1
-1
pages/pointsExchange/pointsStatus.vue
+1
-1
pages/product/product.vue
+1
-1
pages/saleCourseLists/saleCourseLists.vue
+5
-5
pages/shareFriend/shareFriend.vue
+1
-1
pages/systemMsg/system_msg.vue
+1
-1
pages/systemMsg/system_msg_detail.vue
+1
-1
pages/taxRules/taxRules.vue
+1
-1
pages/withdrawal/withdrawal.vue
+1
-1
pages/withdrawal/withdrawalDetail.vue
+1
-1
sfp/childEdu/childEdu.vue
+1
-1
util/dataHandling.ts
+1
-0
util/router.js
+41
-19
No files found.
components/courseItem/courseItem.vue
View file @
20e4495f
...
...
@@ -101,7 +101,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.itemContent
{
display
:
flex
;
height
:
100%
;
...
...
components/login/login.vue
View file @
20e4495f
<
template
>
<view
class=
"wrapper"
>
<view
v-if=
"loginType=='resetpw'"
@
click=
"rpsdlogin()"
class=
"psdlogin"
>
<view
v-if=
"loginType=='resetpw'
|| goBack
"
@
click=
"rpsdlogin()"
class=
"psdlogin"
>
<image
style=
"width: 40rpx;height: 40rpx;"
src=
"../../static/rpsloging.png"
mode=
""
></image>
</view>
<view
class=
"logo"
>
<image
:src=
"imgSrc"
alt=
"logo"
srcset=
""
class=
"iconBox"
mode=
"widthFix"
></image>
<view>
欢迎登录使用
{{
companyName
}}
APP
</view>
<!--
<view>
欢迎登录使用
{{
companyName
}}
APP
</view>
-->
<view>
欢迎登录使用
{{
companyName
}}
</view>
</view>
<view
class=
"content"
>
<view
class=
"login_title"
>
...
...
@@ -67,7 +68,7 @@
</view>
<view
class=
"login_type"
>
<text
@
click=
"loginType='visitor';initForm();loginIn(1)"
>
游客
</text>
<
text
@
click=
"loginType = 'agentlogin';loginTypeName = '管理账号登录';"
>
代理商
</text
>
<
!--
<text
@
click=
"loginType = 'agentlogin';loginTypeName = '管理账号登录';"
>
代理商
</text>
--
>
</view>
</view>
</view>
...
...
@@ -101,16 +102,59 @@
agreeFlag
:
false
,
userId
:
null
,
imgSrc
:
companyInfo
.
companyLogo
,
fileType
:
null
fileType
:
null
,
goBack
:
true
}
},
methods
:
{
c_agreeFlag
(){
this
.
agreeFlag
=!
this
.
agreeFlag
;
},
rpsdlogin
(){
this
.
loginType
=
'codelogin'
},
// rpsdlogin(){
// if(this.loginType== 'resetpw'){
// this.loginType= 'codelogin'
// return
// }else {
// // uni.navigateBack({ delta: 1 });
// const pages = getCurrentPages();
// console.log('pages',pages);
// if (pages.length > 1) {
// uni.navigateBack({ delta: 1 });
// }
// }
// },
rpsdlogin
()
{
if
(
this
.
loginType
==
'resetpw'
)
{
this
.
loginType
=
'codelogin'
;
return
;
}
// 获取跳转来源(通过路由参数)
const
pages
=
getCurrentPages
();
const
currentPage
=
pages
[
pages
.
length
-
1
];
const
from
=
currentPage
.
options
.
from
;
// 获取 url 中的 from 参数
console
.
log
(
'currentPage'
,
currentPage
);
// 从 TabBar 页跳转过来,用 switchTab 返回
if
(
from
===
'index'
)
{
uni
.
switchTab
({
url
:
'/pages/index/index'
})
}
else
if
(
from
===
'personalCenter'
)
{
uni
.
switchTab
({
url
:
'/pages/personalCenter/personalCenter'
})
}
else
if
(
pages
.
length
>
1
)
{
// 从普通页跳转过来,且页面栈中有上一页,直接返回
uni
.
navigateBack
({
delta
:
1
});
}
else
{
// 默认情况(如直接打开登录页),跳转到首页
uni
.
switchTab
({
url
:
'/pages/index/index'
});
}
},
getFile
(
type
){
uni
.
navigateTo
({
url
:
`/components/clause/clause?type=
${
type
}
`
...
...
@@ -344,7 +388,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.psdlogin
{
margin
:
40
rpx
;
width
:
40
rpx
;
...
...
@@ -353,6 +397,7 @@
}
.wrapper
{
background
:
#20279B
;
position
:
relative
;
overflow
:
auto
;
height
:
100vh
;
.logo{
...
...
components/unipopup/loginPopup.vue
View file @
20e4495f
...
...
@@ -5,7 +5,7 @@
<view
class=
"loginPopupBox"
>
<view
class=
"loginPopupTitle"
>
<view>
<text>
预约课程
</text>
<text>
产品预约
</text>
</view>
<view
class=
"iconGuanbi"
>
<text
@
click=
"canle"
class=
"iconfont icon-guanbi"
></text>
...
...
environments/environment.ts
View file @
20e4495f
...
...
@@ -35,7 +35,7 @@ const config = {
stage
,
prod
}
let
env
=
'
prod
'
;
let
env
=
'
dev
'
;
let
baseURL
=
config
[
env
].
base_url
;
let
apiURL
=
config
[
env
].
api_url
;
...
...
pages.json
View file @
20e4495f
...
...
@@ -21,7 +21,7 @@
},
{
"path"
:
"pages/courseDetail/courseDetail"
,
"style"
:
{
"navigationBarTitleText"
:
"
课程
详情"
,
"navigationBarTitleText"
:
"
产品
详情"
,
"enablePullDownRefresh"
:
false
,
"app-plus"
:
{
"softinputMode"
:
"adjustResize"
...
...
@@ -187,7 +187,7 @@
},
{
"path"
:
"pages/saleCourseLists/saleCourseLists"
,
"style"
:
{
"navigationBarTitleText"
:
"销售
课程
"
,
"navigationBarTitleText"
:
"销售
中心
"
,
"enablePullDownRefresh"
:
false
}
},
{
...
...
@@ -518,7 +518,7 @@
"pagePath"
:
"pages/product/product"
,
//
页面路径,必须在
pages
中先定义
"iconPath"
:
"static/tabbar/sfp.png"
,
//
图片路径,icon
大小限制为
40
kb,建议尺寸为
81
px
*
81
px
"selectedIconPath"
:
"static/tabbar/sfp_active.png"
,
//
选中时的图片路径
"text"
:
"
SFP智能财策
"
//
tab
上按钮文字
"text"
:
"
金融工具
"
//
tab
上按钮文字
},
{
//
最少
2
个、最多
5
个
tab
"pagePath"
:
"pages/courselist/courselist"
,
//
页面路径,必须在
pages
中先定义
...
...
pages/afterSaleDetail/afterSaleDetail.vue
View file @
20e4495f
...
...
@@ -139,7 +139,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
height
:
100%
;
.top{
...
...
pages/afterSales/afterSales.vue
View file @
20e4495f
...
...
@@ -60,7 +60,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
height
:
100%
;
.top{
...
...
pages/announcement/announcement.vue
View file @
20e4495f
...
...
@@ -66,7 +66,7 @@
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.top
{
display
:
flex
;
height
:
80
rpx
;
...
...
pages/announcement/announcement_detail.vue
View file @
20e4495f
...
...
@@ -59,7 +59,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.top
{
display
:
flex
;
height
:
80
rpx
;
...
...
pages/applyDropClass/applyDropClass.vue
View file @
20e4495f
...
...
@@ -108,6 +108,7 @@
});
},
bindPickerChange
(
e
){
console
.
log
(
'执行了'
);
this
.
dropIndex
=
e
.
detail
.
value
;
},
showModal
(){
...
...
@@ -206,7 +207,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
padding
:
10
rpx
20
rpx
;
height
:
100%
;
...
...
pages/authentication-query/authentication-query.vue
View file @
20e4495f
...
...
@@ -102,7 +102,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.wrapper
{
padding
:
60
rpx
30
rpx
;
.content{
...
...
pages/authentication-query/authentication-result.vue
View file @
20e4495f
...
...
@@ -109,7 +109,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.others
{
padding
:
30
rpx
;
margin-top
:
30
rpx
;
...
...
pages/certifyDetail/certifyDetail.vue
View file @
20e4495f
...
...
@@ -184,7 +184,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
//
padding-top
:
40
rpx
;
.certifyIntro{
...
...
pages/certifyDetail/uploadinformation.vue
View file @
20e4495f
...
...
@@ -188,7 +188,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.content
{
width
:
100vw
;
padding-top
:
80
rpx
;
...
...
pages/commonDetail/commonDetail.vue
View file @
20e4495f
...
...
@@ -140,6 +140,6 @@
}
</
script
>
<
style
>
<
style
lang=
"scss"
scoped
>
</
style
>
pages/courseDetail/courseDetail.vue
View file @
20e4495f
...
...
@@ -75,12 +75,10 @@
<!-- 课程介绍,相关课程,讲师 -->
<view
class=
"courseProBox"
>
<!-- tab区域 -->
<view
class=
"tab"
>
<
!--
<
view
class=
"tab"
>
<text
:class=
"
{'actived': tabType===1}" @click="switchTab(1)">详情
</text>
<!--
<text
:class=
"
{'actived': tabType===2}" @click="switchTab(2)">相关课程
</text>
-->
<!--
<text
:class=
"
{'actived': tabType===4}" @click="switchTab(4)">服务流程
</text>
-->
<text
:class=
"
{'actived': tabType===3}" @click="switchTab(3)">讲师
</text>
</view>
</view>
-->
<!-- tabContent区域 -->
<view
class=
"tabContent"
>
<!-- 课程介绍 -->
...
...
@@ -431,7 +429,8 @@
'&coursesharing=1'
+
'&serialsNo='
+
nanoid
()
+
'&shareCode='
+
shareCode
+
'&shareUserId='
+
this
.
userId
+
'&jumpUrl='
+
jumptime
+
"&"
,
title
:
this
.
courseInfo
.
fileTitle
,
summary
:
`加入我们开启学习之旅`
,
// summary: `加入我们开启学习之旅`,
summary
:
this
.
courseInfo
.
fileSynopsis
,
imageUrl
:
this
.
courseInfo
.
displayImage
,
fileId
:
this
.
fileId
,
shareCode
:
shareCode
...
...
@@ -783,7 +782,8 @@
getshareData2
(
shareCode
,
jumptime
)
{
let
data
=
{
title
:
this
.
courseInfo
.
fileTitle
,
desc
:
'加入我们开启学习之旅'
,
// desc: '加入我们开启学习之旅',
desc
:
this
.
courseInfo
.
fileSynopsis
,
link
:
shareURL
+
"/pages/courseDetail/courseDetail?fileId="
+
this
.
fileId
+
'&coursesharing=1'
+
'&serialsNo='
+
nanoid
()
+
'&shareCode='
+
shareCode
+
'&shareUserId='
+
this
.
userId
+
'&jumpUrl='
+
jumptime
+
"&"
,
//分享链接
...
...
@@ -809,7 +809,8 @@
getshareData
()
{
let
data
=
{
title
:
this
.
courseInfo
.
fileTitle
,
desc
:
'加入我们开启学习之旅'
,
// desc: '加入我们开启学习之旅',
desc
:
this
.
courseInfo
.
fileSynopsis
,
link
:
window
.
location
.
href
,
//分享链接
imgUrl
:
this
.
courseInfo
.
displayImage
,
//图片
}
...
...
@@ -993,7 +994,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
page
{
padding
:
0
;
}
...
...
pages/courselist/courselist.vue
View file @
20e4495f
...
...
@@ -8,10 +8,17 @@
<carousel
:carouselList=
"fileUploadItemCFFPList"
></carousel>
</view>
</view>
<h4
v-if=
"cffpCourseInfos.length
<
=
0
"
class=
"noListTip"
>
暂无
课程
列表
</h4>
<h4
v-if=
"cffpCourseInfos.length
<
=
0
"
class=
"noListTip"
>
暂无
产品
列表
</h4>
<view
class=
"ulBox"
v-if=
"cffpCourseInfos.length>0"
>
<view
class=
"liBox"
v-for=
"item in cffpCourseInfos"
:key=
"item.fileId"
@
click=
"goDetail(item)"
>
<course-item
:thumbnailPath=
"item.displayImage"
:title=
"item.fileTitle"
:summaryBox=
"item.fileSynopsis"
:dataList=
"
{coursePrice:item.coursePrice,salesNumber:item.salesNumber}" :tagList="{v1:item.fileLecturerRanks,v2:item.fileLecturerName}">
</course-item>
<!-- :tagList="
{v1:item.fileLecturerRanks,v2:item.fileLecturerName}" -->
<course-item
:thumbnailPath=
"item.displayImage"
:title=
"item.fileTitle"
:summaryBox=
"item.fileSynopsis"
:dataList=
"
{coursePrice:item.coursePrice,salesNumber:item.salesNumber}"
>
</course-item>
</view>
</view>
</view>
...
...
@@ -103,7 +110,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.ulBox
,
.liBox
{
padding-bottom
:
30
rpx
;
display
:
flex
;
...
...
@@ -120,11 +127,13 @@
}
.pad
{
padding
:
0
30
rpx
20
rpx
30
rpx
;
.banner
{
border-radius
:
20
rpx
;
overflow
:
hidden
;
margin-bottom
:
30
rpx
;
.swiper{
height
:
2
0
0
rpx
;
height
:
2
5
0
rpx
;
}
}
}
...
...
pages/dropLists/dropLists.vue
View file @
20e4495f
...
...
@@ -68,7 +68,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
height
:
100%
;
margin-bottom
:
20
rpx
;
...
...
pages/exchangeRecord/exchangeRecord.vue
View file @
20e4495f
...
...
@@ -80,7 +80,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
height
:
100%
;
.top{
...
...
pages/index/index.vue
View file @
20e4495f
...
...
@@ -40,16 +40,17 @@
</view>
<view
class=
"course_content"
>
<view
class=
"tag"
>
<h4>
精品课程
</h4>
<h4>
推荐产品
</h4>
<view
@
click=
"goToCourselist()"
>
更多
<text
class=
"iconfont icon-youjiantou"
></text></view>
</view>
<!--
<courselist
:onlyShowList=
"0"
></courselist>
-->
<view
class=
"ulBox"
v-if=
"cffpCourseInfos.length>0"
>
<view
class=
"liBox"
v-for=
"item in cffpCourseInfos"
:key=
"item.fileId"
@
click=
"goDetail(item)"
>
<!-- :tagList="
{v1:item.fileLecturerRanks,v2:item.fileLecturerName}" -->
<course-item
:thumbnailPath=
"item.displayImage"
:title=
"item.fileTitle"
:summaryBox=
"item.fileSynopsis"
:dataList=
"
{coursePrice:item.coursePrice,salesNumber:item.salesNumber}"
:tagList="{v1:item.fileLecturerRanks,v2:item.fileLecturerName}"
>
</course-item>
>
</course-item>
</view>
</view>
</view>
...
...
@@ -106,13 +107,13 @@
link
:
'/pages/application-process/basic-info'
,
isOpen
:
true
},
{
key
:
'03'
,
name
:
'学习认证'
,
icon
:
'learningCertify'
,
link
:
'/pages/learnCertify/learnCertify'
,
isOpen
:
true
},
//
{
//
key: '03',
//
name: '学习认证',
//
icon: 'learningCertify',
//
link: '/pages/learnCertify/learnCertify',
//
isOpen: true
//
},
{
key
:
'04'
,
name
:
'邀请加盟'
,
...
...
@@ -121,27 +122,27 @@
isOpen
:
true
,
isJoin
:
true
},
{
key
:
'05'
,
name
:
'我的分享'
,
icon
:
'share'
,
link
:
'/pages/myShare/myShare'
,
isOpen
:
true
},
{
key
:
'06'
,
name
:
'我的团队'
,
icon
:
'team'
,
link
:
'/pages/personalCenter/myTeam'
,
isOpen
:
true
},
{
key
:
'07'
,
name
:
'更多功能'
,
icon
:
'more'
,
link
:
'/pages/personalCenter/personalCenter'
,
isOpen
:
true
}
//
{
//
key: '05',
//
name: '我的分享',
//
icon: 'share',
//
link: '/pages/myShare/myShare',
//
isOpen: true
//
},
//
{
//
key: '06',
//
name: '我的团队',
//
icon: 'team',
//
link: '/pages/personalCenter/myTeam',
//
isOpen: true
//
},
//
{
//
key: '07',
//
name: '更多功能',
//
icon: 'more',
//
link: '/pages/personalCenter/personalCenter',
//
isOpen: true
//
}
],
cffpUserInfo
:
{
address
:
''
,
...
...
@@ -254,8 +255,11 @@
icon
:
'none'
});
uni
.
clearStorageSync
();
uni
.
redirectTo
({
url
:
'/components/login/login'
// uni.redirectTo({
// url: '/components/login/login'
// })
uni
.
navigateTo
({
url
:
'/components/login/login?from=index'
})
return
false
}
...
...
@@ -375,6 +379,10 @@
.banner
{
border-radius
:
20
rpx
;
overflow
:
hidden
;
margin-bottom
:
30
rpx
;
.swiper{
height
:
250
rpx
;
}
}
}
...
...
pages/invitationRegister/invitationRegister.vue
View file @
20e4495f
...
...
@@ -63,7 +63,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
height
:
100vh
;
background
:
url('../../static/app-plus/registerBg.png')
100%
100%
;
...
...
pages/invitationRegister/invitationlogin.vue
View file @
20e4495f
...
...
@@ -160,7 +160,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.content
{
height
:
100vh
;
background
:
#20279B
;
...
...
pages/inviteJoin/inviteJoin.vue
View file @
20e4495f
...
...
@@ -368,7 +368,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
position
:
relative
;
height
:
100vh
;
...
...
pages/learnCertify/learnCertify.vue
View file @
20e4495f
...
...
@@ -161,7 +161,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.certify_content
{
background
:
#F1F6FF
;
border-radius
:
24
rpx
24
rpx
0
0
;
...
...
pages/learningStatistics/learningStatistics.vue
View file @
20e4495f
...
...
@@ -230,7 +230,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
height
:
100%
;
.dataCountBox{
...
...
pages/myCertify/myCertify.vue
View file @
20e4495f
...
...
@@ -150,7 +150,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
position
:
relative
;
height
:
100%
;
...
...
pages/myLearning/myLearning.vue
View file @
20e4495f
...
...
@@ -94,7 +94,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
position
:
relative
;
height
:
100%
;
...
...
pages/myPoints/myPoints.vue
View file @
20e4495f
...
...
@@ -50,7 +50,7 @@
<h4>
积分明细
</h4>
</view>
<view
class=
"point_content_list"
>
<view>
课程大类
</view>
<view>
产品名称
</view>
<view>
积分来源
</view>
<view>
获得积分
</view>
<view>
操作
</view>
...
...
@@ -78,7 +78,7 @@
maxDate
:
`
${
new
Date
().
getFullYear
()}
-
${
new
Date
().
getMonth
()
+
1
}
`
,
navList
:[{
name
:
'日积分'
,
timeFlag
:
'D'
},{
name
:
'月积分'
,
timeFlag
:
'M'
},{
name
:
'年积分'
,
timeFlag
:
'Y'
}],
timeFlag
:
'D'
,
pointList
:[{
name
:
'课程大类'
,
id
:
1
,
source
:
'销售收入'
,
classify
:
'家组信托'
,
score
:
100
}],
//
pointList:[{name:'课程大类',id:1,source:'销售收入',classify:'家组信托',score:100}],
sumCommissionAmount
:
''
,
//总积分
nowSumCommissionAmount
:
''
,
//当前(日月年)积分
prePercent
:
''
,
//比前日、上月,上年多或少的百分比数据
...
...
@@ -175,7 +175,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
.top{
background
:
linear-gradient
(
179deg
,
#F8B588
0%
,
rgba
(
255
,
239
,
216
,
0.2
)
100%
);
...
...
pages/myPoints/pointsDetail.vue
View file @
20e4495f
...
...
@@ -174,7 +174,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
.top{
padding
:
30
rpx
;
...
...
pages/myShare/myShare.vue
View file @
20e4495f
...
...
@@ -170,7 +170,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
height
:
100%
;
...
...
pages/orderConfirm/orderConfirm.vue
View file @
20e4495f
...
...
@@ -95,7 +95,7 @@
<h3>
{{popupTitle}}
</h3>
<i
class=
"iconfont icon-guanbi"
@
click=
"closePopup(1)"
></i>
</view>
<view
v-if=
"popupType===1"
><text>
1积分=1元,积分抵扣如同现金,所有
课程
均可使用.
</text></view>
<view
v-if=
"popupType===1"
><text>
1积分=1元,积分抵扣如同现金,所有
产品
均可使用.
</text></view>
<view
v-if=
"popupType===2"
>
<view
class=
"deductionInfoItem"
:class=
"{'actived':isDeduction == 'true'}"
@
click=
"selectDeduction(true)"
>
<view
style=
"display: flex;"
>
...
...
@@ -157,7 +157,7 @@
<view
class=
"tips"
>
<!-- <view class="text-center">请点击右上角菜单</view> -->
<view
style=
"line-height: 60rpx;"
>
戳这里,点击
<text
class=
"iconfont icon-liulanqi"
></text>
按钮,使用系统浏览器打开页面完成支付,完成后请返回微信,到【销售
课程
】下,查看购买订单。
</view>
按钮,使用系统浏览器打开页面完成支付,完成后请返回微信,到【销售
中心
】下,查看购买订单。
</view>
</view>
</view>
</view>
...
...
@@ -528,7 +528,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
position
:
relative
;
height
:
95vh
;
...
...
pages/orderDetail/orderDetail.vue
View file @
20e4495f
...
...
@@ -28,6 +28,7 @@
<
script
>
import
api
from
"@/api/api"
;
import
common
from
"@/common/common"
;
import
dataHandling
from
"@/util/dataHandling"
;
export
default
{
data
()
{
return
{
...
...
@@ -74,14 +75,14 @@
alias
:
'userName'
,
pageArea
:
1
},
{
id
:
6
,
name
:
'商品讲师'
,
value
:
'/'
,
type
:
'string'
,
alias
:
'lecturerName'
,
pageArea
:
1
},
//
{
//
id: 6,
//
name: '商品讲师',
//
value: '/',
//
type: 'string',
//
alias: 'lecturerName',
//
pageArea: 1
//
},
{
id
:
7
,
name
:
'订单现价'
,
...
...
@@ -164,12 +165,20 @@
api
.
userCourseInfo
(
param
).
then
(
res
=>
{
if
(
res
[
'success'
])
{
const
data
=
this
.
orderDetail
=
res
[
'data'
][
'orderDetail'
];
if
(
this
.
orderDetail
.
effectiveEndDate
){
this
.
orderDetail
.
effectiveEndDate
=
dataHandling
.
dateFormat
(
this
.
orderDetail
.
effectiveEndDate
)
}
if
(
this
.
orderDetail
.
orderConfirmDate
){
this
.
orderDetail
.
orderConfirmDate
=
dataHandling
.
dateFormat
(
this
.
orderDetail
.
orderConfirmDate
)
}
this
.
fileId
=
data
.
fileId
;
Object
.
keys
(
data
).
map
((
key
,
item
)
=>
{
this
.
orderInfoList
.
forEach
(
val
=>
{
if
(
val
.
alias
==
key
)
{
val
.
value
=
data
[
key
];
}
})
})
}
...
...
@@ -206,7 +215,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
height
:
100%
;
...
...
pages/orderStatus/orderStatus.vue
View file @
20e4495f
...
...
@@ -18,7 +18,7 @@
<view
class=
"courlistBox"
>
<view
class=
"course_content"
>
<view
class=
"tag"
>
<h4>
精品课程
</h4>
<h4>
推荐产品
</h4>
<view
@
click=
"goToCourselist()"
>
更多
<text
class=
"iconfont icon-youjiantou"
></text></view>
<!--
<view
v-if=
"this.isRedirect == 1"
@
click=
"goToCourselist()"
>
更多
<text
class=
"iconfont icon-youjiantou"
></text></view>
-->
</view>
...
...
@@ -124,7 +124,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.ulBox
{
flex-direction
:
column
;
}
...
...
pages/personalCenter/accountoperation/aboutcffp.vue
View file @
20e4495f
...
...
@@ -85,7 +85,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.content
{
width
:
100%
;
...
...
pages/personalCenter/accountoperation/confirmResetpassword.vue
View file @
20e4495f
...
...
@@ -84,7 +84,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.top
{
display
:
flex
;
height
:
80
rpx
;
...
...
pages/personalCenter/accountoperation/phonebinding.vue
View file @
20e4495f
...
...
@@ -22,5 +22,5 @@
}
</
script
>
<
style
>
<
style
lang=
"scss"
scoped
>
</
style
>
pages/personalCenter/myTeam.vue
View file @
20e4495f
...
...
@@ -62,7 +62,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
height
:
100%
;
background
:
#FFFFFF
;
...
...
pages/personalCenter/personalCenter.vue
View file @
20e4495f
...
...
@@ -107,8 +107,8 @@
},
{
id
:
'02'
,
categoryName
:
'活动管理'
,
children
:[
{
title
:
'我的学习'
,
icon
:
'myLearning'
,
link
:
'/pages/myLearning/myLearning'
,
isOpen
:
true
,
isShow
:
true
},
{
title
:
'学习认证'
,
icon
:
'learningCertify'
,
link
:
'/pages/learnCertify/learnCertify'
,
isOpen
:
true
,
isShow
:
true
,
islogin
:
true
},
//
{title:'我的学习',icon:'myLearning',link:'/pages/myLearning/myLearning',isOpen:true,isShow:true},
//
{title:'学习认证',icon:'learningCertify',link:'/pages/learnCertify/learnCertify',isOpen:true,isShow:true,islogin:true},
{
title
:
'我的分享'
,
icon
:
'share'
,
link
:
'/pages/myShare/myShare'
,
isOpen
:
true
,
isShow
:
true
}
],
},
...
...
@@ -126,9 +126,9 @@
}
],
minorMenuLists
:[
{
title
:
'我的邀请码'
,
icon
:
'shareEcode'
,
link
:
''
,
isOpen
:
true
,
isShow
:
true
},
//
{title:'我的邀请码',icon:'shareEcode',link:'',isOpen:true,isShow:true},
{
title
:
'我的卡包'
,
icon
:
'card'
,
link
:
''
,
isOpen
:
true
,
isShow
:
false
},
{
title
:
'我的认证'
,
icon
:
'myCertify'
,
link
:
'/pages/myCertify/myCertify'
,
isOpen
:
true
,
isShow
:
true
},
//
{title:'我的认证',icon:'myCertify',link:'/pages/myCertify/myCertify',isOpen:true,isShow:true},
{
title
:
'申请修改公司周边'
,
icon
:
'setting'
,
link
:
''
,
isOpen
:
true
,
isShow
:
false
},
{
title
:
'我的消息'
,
icon
:
'message'
,
link
:
'/pages/systemMsg/system_msg'
,
isOpen
:
true
,
isShow
:
true
,
islogin
:
true
},
{
title
:
'系统设置'
,
icon
:
'setting'
,
link
:
'/pages/personalCenter/system/settings'
,
isOpen
:
true
,
isShow
:
true
}
...
...
@@ -180,8 +180,11 @@
duration
:
2000
,
icon
:
'none'
});
// uni.redirectTo({
// url:'/components/login/login?from=personalCenter'
// })
uni
.
redirectTo
({
url
:
'/components/login/login
'
url
:
'/components/login/login?from=personalCenter
'
})
try
{
uni
.
clearStorageSync
();
...
...
@@ -193,8 +196,12 @@
},
// 菜单跳转页面
goDetail
(
item
){
if
(
!
this
.
loginornot
&&
!
item
.
islogin
){
console
.
log
(
'详情方法'
,
item
);
this
.
isLogin
()
return
}
if
(
item
.
isShow
&&
item
.
isOpen
){
if
(
item
.
title
===
'我的邀请码'
){
...
...
@@ -219,6 +226,7 @@
url
:
`
${
item
.
link
}
?levelCode=`
+
this
.
customerBasicInfo
.
levelCode
});
}
else
{
item
.
link
=
`
${
item
.
link
}
?from=personalCenter`
uni
.
navigateTo
({
url
:
item
.
link
});
...
...
@@ -278,7 +286,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
//
padding-bottom
:
160
rpx
;
}
...
...
pages/personalCenter/system/accontsetting.vue
View file @
20e4495f
...
...
@@ -60,6 +60,6 @@
}
</
script
>
<
style
scoped
>
<
style
lang=
"scss"
scoped
>
</
style
>
pages/personalCenter/system/cancellation.vue
View file @
20e4495f
...
...
@@ -12,10 +12,10 @@
<text
style=
"font-size: 28rpx;"
>
注销账号后不可恢复,该账号绑定的所有权益、积分、记录等数据也将都被清空且无法恢复,包括:
</text>
</view>
<ul
class=
"tips"
>
<li>
所有积分权益不可使用
</li>
<li>
已购买的课程无法观看
</li>
<li>
已获得认证的证书无法查看
</li>
<li>
学习数据将被清除
</li>
<li>
所有积分权益不可使用
;
</li>
<li>
所有分享数据被清空;
</li>
<li>
所有订单数据被清空;
</li>
<li>
其他未列数据被清空且无法恢复
</li>
</ul>
<view
class=
"footer"
style=
""
>
<view
class=
"footer-submitbtn"
style=
""
@
click=
"sunmit()"
>
...
...
@@ -63,8 +63,10 @@
title
:
'操作成功'
,
icon
:
'none'
});
// 清空全部本地存储
uni
.
clearStorageSync
();
uni
.
redirectTo
({
url
:
'/components/login/login'
url
:
'/components/login/login
?from=index
'
})
}
})
...
...
@@ -73,7 +75,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
padding
:
0
20
rpx
;
}
...
...
pages/personalCenter/system/menulist.vue
View file @
20e4495f
...
...
@@ -68,7 +68,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.personalInfo
{
background
:
#fff
;
width
:
95%
;
...
...
pages/personalCenter/teamMembers/jurisdiction.vue
View file @
20e4495f
...
...
@@ -111,7 +111,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.content
{
height
:
100%
;
width
:
100vw
;
...
...
pages/personalCenter/teamMembers/members.vue
View file @
20e4495f
...
...
@@ -71,7 +71,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.content
{
height
:
100%
;
width
:
100vw
;
...
...
pages/personalCenter/teamMembers/otherteam.vue
View file @
20e4495f
...
...
@@ -71,7 +71,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.content
{
height
:
100%
;
width
:
100vw
;
...
...
pages/personalCenter/teamMembers/teamMembers.vue
View file @
20e4495f
...
...
@@ -124,7 +124,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
position
:
relative
;
height
:
100%
;
...
...
pages/personalCenter/teamPerformance/teamPerformance.vue
View file @
20e4495f
...
...
@@ -208,7 +208,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.content
{
width
:
100vw
;
height
:
100%
;
...
...
pages/pointsExchange/pointsExchange.vue
View file @
20e4495f
...
...
@@ -118,7 +118,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
.top{
width
:
100%
;
...
...
pages/pointsExchange/pointsStatus.vue
View file @
20e4495f
...
...
@@ -94,7 +94,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
.top{
width
:
100%
;
...
...
pages/product/product.vue
View file @
20e4495f
...
...
@@ -77,7 +77,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.header
{
display
:
flex
;
justify-content
:
center
;
...
...
pages/saleCourseLists/saleCourseLists.vue
View file @
20e4495f
...
...
@@ -40,8 +40,8 @@
<!-- 分享明细 -->
<view
class=
"saleDetailContent"
>
<view
class=
"courseTab"
>
<text
:class=
"
{'actived':tabType===1}" @click="switchTab(1)">我的
课程
</text>
<text
:class=
"
{'actived':tabType===2}" @click="switchTab(2)">分享
课程
</text>
<text
:class=
"
{'actived':tabType===1}" @click="switchTab(1)">我的
订单
</text>
<text
:class=
"
{'actived':tabType===2}" @click="switchTab(2)">分享
订单
</text>
</view>
<view
class=
"totalCountBox"
>
合计(单):
<text>
{{
userCourseCountNum
}}
</text></view>
<h4
class=
"noListTip"
v-if=
"!userCourses || userCourses.length
<
=
0
&&
tabType=
==1"
>
暂无购买记录!
</h4>
...
...
@@ -62,9 +62,9 @@
</view>
</
template
>
<
template
v-if=
"userCourses && tabType===2"
>
<view
class=
"orderItemDetailBox"
v-for=
"item in userShareCourseOrders"
>
<view
class=
"orderItemDetailBox"
v-for=
"item in userShareCourseOrders"
:key=
"index"
>
<view><text>
订单编号
</text><text>
{{
item
.
orderNo
}}
</text></view>
<view><text>
课程
名称
</text><text>
{{
item
.
fileTitle
}}
</text></view>
<view><text>
产品
名称
</text><text>
{{
item
.
fileTitle
}}
</text></view>
<view><text>
购买人
</text><text>
{{
item
.
userName
}}
</text></view>
<view
class=
"orderDetailLine"
>
<text></text>
...
...
@@ -182,7 +182,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
height
:
100%
;
.top{
...
...
pages/shareFriend/shareFriend.vue
View file @
20e4495f
...
...
@@ -14,6 +14,6 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
</
style
>
pages/systemMsg/system_msg.vue
View file @
20e4495f
...
...
@@ -99,7 +99,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.top
{
display
:
flex
;
height
:
100
rpx
;
...
...
pages/systemMsg/system_msg_detail.vue
View file @
20e4495f
...
...
@@ -53,7 +53,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.top
{
display
:
flex
;
height
:
80
rpx
;
...
...
pages/taxRules/taxRules.vue
View file @
20e4495f
...
...
@@ -61,7 +61,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.content_wrapper
{
padding
:
30
rpx
;
h4{
...
...
pages/withdrawal/withdrawal.vue
View file @
20e4495f
...
...
@@ -320,7 +320,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.top
{
width
:
100%
;
text-align
:
center
;
...
...
pages/withdrawal/withdrawalDetail.vue
View file @
20e4495f
...
...
@@ -90,7 +90,7 @@
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.container
{
height
:
100%
;
.top{
...
...
sfp/childEdu/childEdu.vue
View file @
20e4495f
...
...
@@ -525,7 +525,7 @@
}
</
script
>
<
style
>
<
style
scoped
>
@import
'../sfpCommon.css'
;
@import
url("childEdu.css")
;
</
style
>
util/dataHandling.ts
View file @
20e4495f
...
...
@@ -34,6 +34,7 @@ export default{
},
// 日期格式化
dateFormat
(
val
:
number
,
format
=
'yyyy-MM-dd hh:mm:ss'
){
console
.
log
(
'val'
,
val
);
if
(
val
){
const
date
=
new
Date
(
val
);
const
year
=
date
.
getFullYear
();
...
...
util/router.js
View file @
20e4495f
...
...
@@ -7,31 +7,36 @@ const whiteList = [
'/pages/orderDetail/orderDetail'
,
'/pages/courseDetail/courseDetail'
,
'/pages/courselist/courselist'
,
'/pages/index/index'
,
'/pages/index/index'
]
export
default
function
initApp
(){
uni
.
addInterceptor
(
'navigateTo'
,
{
// 页面跳转前进行拦截, invoke根据返回值进行判断是否继续执行跳转
invoke
(
e
)
{
let
whiteArr
=
[
'index'
,
'personalCenter'
,
'courselist'
,
'product'
]
// 1. 解析 URL 中的 from 参数
const
getQueryParam
=
(
url
,
key
)
=>
{
const
queryString
=
url
.
split
(
'?'
)[
1
];
if
(
!
queryString
)
return
null
;
const
params
=
new
URLSearchParams
(
queryString
);
return
params
.
get
(
key
);
};
const
fromParam
=
getQueryParam
(
e
.
url
,
'from'
);
if
(
!
hasPermission
(
e
.
url
)){
uni
.
redirectTo
({
url
:
'/components/login/login'
})
return
false
}
return
true
},
success
(
e
)
{
}
})
uni
.
addInterceptor
(
'switchTab'
,
{
// tabbar页面跳转前进行拦截
invoke
(
e
)
{
if
(
!
hasPermission
(
e
.
url
)){
uni
.
redirectTo
({
url
:
'/components/login/login'
})
// 如果 from 参数在 whiteArr 中,说明是tabbar页带着tabbar的标志参数跳转到登录页,以便未登录状态下回到对应的tabbar页
if
(
fromParam
&&
whiteArr
.
includes
(
fromParam
))
{
uni
.
redirectTo
({
url
:
`/components/login/login?from=
${
fromParam
}
`
})
}
else
{
uni
.
redirectTo
({
url
:
'/components/login/login'
})
}
return
false
}
return
true
...
...
@@ -39,11 +44,28 @@ export default function initApp(){
success
(
e
)
{
}
})
//最新 修改 tabbar页面跳转前不进行拦截
// uni.addInterceptor('switchTab', {
//
// invoke (e) {
// console.log('!hasPermission(e.url)',e.url);
// if(!hasPermission(e.url)){
// uni.redirectTo({
// url: '/components/login/login'
// })
// return false
// }
// return true
// },
// success (e) {
// }
// })
}
function
hasPermission
(
url
)
{
let
islogin
=
uni
.
getStorageSync
(
"isLogin"
);
//在这可以使用token、vuex
// islogin = Boolean(Number(islogin));//返回布尔值
// 在白名单中或有登录判断条件可以直接跳转
console
.
log
(
whiteList
.
indexOf
(
url
.
slice
(
0
,
url
.
indexOf
(
'?'
)))
!==
-
1
);
if
(
whiteList
.
indexOf
(
url
.
slice
(
0
,
url
.
indexOf
(
'?'
)))
!==
-
1
||
islogin
)
{
return
true
}
...
...
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