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
1b5b8e6f
Commit
1b5b8e6f
authored
Dec 07, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.分享H5 测试
parent
8d5dc264
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
pages/courseDetail/courseDetail.vue
+4
-2
pages/orderConfirm/orderConfirm.vue
+1
-1
No files found.
pages/courseDetail/courseDetail.vue
View file @
1b5b8e6f
...
...
@@ -177,9 +177,9 @@
jumpapp
()
{
let
platform
=
uni
.
getSystemInfoSync
().
platform
if
(
platform
==
'ios'
)
{
window
.
open
(
"https://mdev.zuihuibi.cn/cffp"
)
;
window
.
location
.
href
=
"https://mcffp.anjibao.cn/app/"
;
}
else
if
(
platform
==
'android'
)
{
window
.
open
(
"https://mdev.zuihuibi.cn/cffp"
);
window
.
open
(
'cffpapp://'
);
}
},
goBack
()
{
...
...
@@ -281,11 +281,13 @@
},
// 课程详情页面
courseDetail
()
{
console
.
log
(
this
.
fileId
,
545545
)
api
.
courseDetail
({
fileId
:
this
.
fileId
,
userId
:
this
.
userId
,
packFileId
:
this
.
courseInfo
.
packFileId
}).
then
(
res
=>
{
console
.
log
(
res
,
22554
)
if
(
res
[
'success'
])
{
this
.
courseInfo
=
res
[
'data'
][
'data'
];
this
.
lecturerId
=
res
[
'data'
][
'data'
][
'fileLecturerId'
];
...
...
pages/orderConfirm/orderConfirm.vue
View file @
1b5b8e6f
...
...
@@ -141,7 +141,7 @@
computed
:{
totalPrice
(){
if
(
this
.
isDeduction
){
return
this
.
courseInfoItem
.
coursePrice
-
this
.
deductionCore
*
this
.
intergralInfo
.
preFortune
return
(
this
.
courseInfoItem
.
coursePrice
-
this
.
deductionCore
*
this
.
intergralInfo
.
preFortune
).
toFixed
(
2
)
}
else
{
return
this
.
courseInfoItem
.
coursePrice
;
}
...
...
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