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
ab8ed886
Commit
ab8ed886
authored
Nov 26, 2022
by
kyle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码问题修改
parent
e352e70a
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
51 additions
and
9 deletions
+51
-9
App.vue
+3
-0
components/charts/charts.vue
+2
-1
pages.json
+8
-0
pages/afterSaleDetail/afterSaleDetail.vue
+2
-2
pages/announcement/announcement_detail.vue
+3
-1
pages/invitationRegister/invitationRegister.vue
+1
-0
pages/learningStatistics/learningStatistics.vue
+3
-1
pages/myCertify/myCertify.vue
+22
-1
pages/orderConfirm/orderConfirm.vue
+2
-1
pages/personalCenter/personalCenter.vue
+3
-2
pages/systemMsg/system_msg_detail.vue
+2
-0
No files found.
App.vue
View file @
ab8ed886
...
@@ -125,4 +125,7 @@
...
@@ -125,4 +125,7 @@
left
:
0
;
left
:
0
;
right
:
0
;
right
:
0
;
}
}
.uni-calendar-item--extra
{
white-space
:
nowrap
!important
;
}
</
style
>
</
style
>
components/charts/charts.vue
View file @
ab8ed886
...
@@ -39,7 +39,8 @@ export default {
...
@@ -39,7 +39,8 @@ export default {
data
:[{
data
:[{
title
:
'(分钟)'
,
title
:
'(分钟)'
,
titleFontSize
:
10
,
titleFontSize
:
10
,
titleOffsetY
:
-
5
titleOffsetY
:
-
5
,
min
:
0
}]
}]
},
},
legend
:{
legend
:{
...
...
pages.json
View file @
ab8ed886
...
@@ -416,6 +416,14 @@
...
@@ -416,6 +416,14 @@
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
}
}
}
,{
"path"
:
"pages/invitationRegister/invitationRegister"
,
"style"
:
{
"navigationBarTitleText"
:
"邀请注册"
,
"enablePullDownRefresh"
:
false
}
}
}
],
],
//
"tabBar"
:
{
//
"tabBar"
:
{
...
...
pages/afterSaleDetail/afterSaleDetail.vue
View file @
ab8ed886
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
options
:[
options
:[
{
title
:
'提交申请'
,
desc
:
'退款将退回到您的支付宝/微信账号请注意查收'
,
time
:
'XXXX'
},
{
title
:
'提交申请'
,
desc
:
'退款将退回到您的支付宝/微信账号请注意查收'
,
time
:
'XXXX'
},
{
title
:
'退款中'
,
desc
:
'您的退款申请已通过,待财务退款'
,
time
:
'XXXX'
},
{
title
:
'退款中'
,
desc
:
'您的退款申请已通过,待财务退款'
,
time
:
'XXXX'
},
{
title
:
'退款成功'
,
desc
:
'您的退款申请已成功
,待审核
'
,
time
:
'XXXX'
},
{
title
:
'退款成功'
,
desc
:
'您的退款申请已成功'
,
time
:
'XXXX'
},
]
]
};
};
},
},
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
this
.
options
=
[
this
.
options
=
[
{
title
:
'提交申请'
,
desc
:
'退款将退回到您的支付宝/微信账号请注意查收'
,
time
:
this
.
courseInfoItem
.
refundTime
},
{
title
:
'提交申请'
,
desc
:
'退款将退回到您的支付宝/微信账号请注意查收'
,
time
:
this
.
courseInfoItem
.
refundTime
},
{
title
:
'退款中'
,
desc
:
'您的退款申请已通过,待财务退款'
,
time
:
this
.
courseInfoItem
.
refundingTime
},
{
title
:
'退款中'
,
desc
:
'您的退款申请已通过,待财务退款'
,
time
:
this
.
courseInfoItem
.
refundingTime
},
{
title
:
'退款成功'
,
desc
:
'您的退款申请已成功
,待审核
'
,
time
:
this
.
courseInfoItem
.
applyRefundTime
},
{
title
:
'退款成功'
,
desc
:
'您的退款申请已成功'
,
time
:
this
.
courseInfoItem
.
applyRefundTime
},
]
]
}
}
})
})
...
...
pages/announcement/announcement_detail.vue
View file @
ab8ed886
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
name
:
'announcement_detail'
,
name
:
'announcement_detail'
,
components
:{
components
:{
},
},
onLoad
(
option
){
onLoad
(
option
s
){
this
.
id
=
options
.
id
;
this
.
id
=
options
.
id
;
this
.
getAnnouncementDetail
();
this
.
getAnnouncementDetail
();
},
},
...
@@ -95,6 +95,7 @@
...
@@ -95,6 +95,7 @@
margin-top
:
20
rpx
;
margin-top
:
20
rpx
;
padding
:
20
rpx
;
padding
:
20
rpx
;
background
:
#fff
;
background
:
#fff
;
word-break
:
break-word
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
pages/invitationRegister/invitationRegister.vue
View file @
ab8ed886
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
border-radius
:
30
rpx
;
border-radius
:
30
rpx
;
overflow
:
hidden
;
overflow
:
hidden
;
font-size
:
40
rpx
;
font-size
:
40
rpx
;
width
:
100
rpx
;
image{
image{
margin-bottom
:
20
rpx
;
margin-bottom
:
20
rpx
;
width
:
160
rpx
;
width
:
160
rpx
;
...
...
pages/learningStatistics/learningStatistics.vue
View file @
ab8ed886
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
<h4>
学习明细
</h4>
<h4>
学习明细
</h4>
<view
class=
"lineChartBox"
>
<view
class=
"lineChartBox"
>
<view
v-if=
"studyInfos && chartData"
>
<view
v-if=
"studyInfos && chartData"
>
<charts
:chartData=
"chartData"
@
getIndex=
"tap"
></charts>
<charts
:chartData=
"chartData"
:reload=
"false"
@
getIndex=
"tap"
></charts>
<view
class=
"chartTips"
>
<view
class=
"chartTips"
>
<view
class=
"imgBox"
>
<view
class=
"imgBox"
>
<image
src=
"../../static/point.png"
mode=
"widthFix"
></image>
<image
src=
"../../static/point.png"
mode=
"widthFix"
></image>
...
@@ -206,6 +206,8 @@
...
@@ -206,6 +206,8 @@
},
},
tap
(
e
){
tap
(
e
){
this
.
index
=
e
;
this
.
index
=
e
;
this
.
chartData
.
series
[
0
][
'data'
].
forEach
(
item
=>
item
.
color
=
'#9EB4FF'
);
this
.
chartData
.
series
[
0
][
'data'
][
this
.
index
].
color
=
'#5F83FF'
;
this
.
month
=
this
.
studyInfos
[
this
.
index
].
month
;
this
.
month
=
this
.
studyInfos
[
this
.
index
].
month
;
this
.
calendarSelected
=
[];
this
.
calendarSelected
=
[];
this
.
currentDate
=
this
.
month
;
this
.
currentDate
=
this
.
month
;
...
...
pages/myCertify/myCertify.vue
View file @
ab8ed886
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</view>
</view>
<view
class=
"getCertifyListsBox"
v-if=
"tabType===2"
>
<view
class=
"getCertifyListsBox"
v-if=
"tabType===2"
>
<view
class=
"certifyListContent"
v-if=
"userCertificates.length>0"
>
<view
class=
"certifyListContent"
v-if=
"userCertificates.length>0"
>
<view
class=
"certifyInfoItem"
v-for=
"item in userCertificates"
:key=
"item.cerNo"
>
<view
class=
"certifyInfoItem"
v-for=
"item in userCertificates"
:key=
"item.cerNo"
@
click=
"previewImg(item)"
>
<h4>
{{
item
.
cerName
}}
</h4>
<h4>
{{
item
.
cerName
}}
</h4>
<view
class=
"certifyImgBox"
>
<view
class=
"certifyImgBox"
>
<image
:src=
"item.cerUrl"
alt=
""
srcset=
""
mode=
"widthFix"
></image>
<image
:src=
"item.cerUrl"
alt=
""
srcset=
""
mode=
"widthFix"
></image>
...
@@ -117,6 +117,22 @@
...
@@ -117,6 +117,22 @@
statusInfo
.
statusClass
=
'certifing'
statusInfo
.
statusClass
=
'certifing'
}
}
return
statusInfo
;
return
statusInfo
;
},
// 预览图片
previewImg
(
e
){
// 预览图片
uni
.
previewImage
({
urls
:[
e
.
cerUrl
],
longPressActions
:
{
itemList
:
[
'发送给朋友'
,
'保存图片'
],
success
:
function
(
data
)
{
console
.
log
(
'选中了第'
+
(
data
.
tapIndex
+
1
)
+
'个按钮,第'
+
(
data
.
index
+
1
)
+
'张图片'
);
},
fail
:
function
(
err
)
{
console
.
log
(
err
.
errMsg
);
}
}
});
}
}
},
},
onLoad
(){
onLoad
(){
...
@@ -223,6 +239,11 @@
...
@@ -223,6 +239,11 @@
max-width
:
60%
;
max-width
:
60%
;
height
:
auto
;
height
:
auto
;
}
}
.certifyImgBox
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
}
}
}
}
}
}
}
...
...
pages/orderConfirm/orderConfirm.vue
View file @
ab8ed886
...
@@ -157,7 +157,8 @@
...
@@ -157,7 +157,8 @@
orderId
:
this
.
orderId
,
orderId
:
this
.
orderId
,
amount
:
this
.
totalPrice
,
amount
:
this
.
totalPrice
,
paymentMethod
:
this
.
paymentMethod
,
paymentMethod
:
this
.
paymentMethod
,
userId
:
this
.
userId
userId
:
this
.
userId
,
integralExchange
:
parseFloat
(
this
.
deductionCore
)
}
}
if
(
this
.
paymentMethod
==
1
){
if
(
this
.
paymentMethod
==
1
){
api
.
wxAppPay
(
param
).
then
(
res
=>
{
api
.
wxAppPay
(
param
).
then
(
res
=>
{
...
...
pages/personalCenter/personalCenter.vue
View file @
ab8ed886
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
data
()
{
data
()
{
return
{
return
{
userId
:
'1'
,
userId
:
'1'
,
inviteEqrode
:
'
XXXXXXX
'
,
inviteEqrode
:
''
,
currentPage
:
'personalCenter'
,
currentPage
:
'personalCenter'
,
customerBasicInfo
:{},
customerBasicInfo
:{},
mainMenuLists
:[
mainMenuLists
:[
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
{
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
:
'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
:
tru
e
},
{
title
:
'申请修改公司周边'
,
icon
:
'setting'
,
link
:
''
,
isOpen
:
true
,
isShow
:
fals
e
},
{
title
:
'我的消息'
,
icon
:
'message'
,
link
:
'/pages/systemMsg/system_msg'
,
isOpen
:
true
,
isShow
:
true
},
{
title
:
'我的消息'
,
icon
:
'message'
,
link
:
'/pages/systemMsg/system_msg'
,
isOpen
:
true
,
isShow
:
true
},
{
title
:
'系统设置'
,
icon
:
'setting'
,
link
:
'/pages/personalCenter/system/settings'
,
isOpen
:
true
,
isShow
:
true
}
{
title
:
'系统设置'
,
icon
:
'setting'
,
link
:
'/pages/personalCenter/system/settings'
,
isOpen
:
true
,
isShow
:
true
}
]
]
...
@@ -181,6 +181,7 @@
...
@@ -181,6 +181,7 @@
api
.
queryInfo
({
userId
:
this
.
userId
}).
then
(
res
=>
{
api
.
queryInfo
({
userId
:
this
.
userId
}).
then
(
res
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
this
.
customerBasicInfo
=
res
[
'data'
];
this
.
customerBasicInfo
=
res
[
'data'
];
this
.
inviteEqrode
=
this
.
customerBasicInfo
.
invitationCode
;
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
[
'message'
],
title
:
res
[
'message'
],
...
...
pages/systemMsg/system_msg_detail.vue
View file @
ab8ed886
...
@@ -90,6 +90,7 @@
...
@@ -90,6 +90,7 @@
margin-top
:
20
rpx
;
margin-top
:
20
rpx
;
padding
:
20
rpx
;
padding
:
20
rpx
;
background
:
#fff
;
background
:
#fff
;
word-break
:
break-word
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
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