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
ab8f72a6
Commit
ab8f72a6
authored
Dec 15, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复退课可以重新点击
parent
2a857987
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
pages/applyDropClass/applyDropClass.vue
+3
-0
pages/courseDetail/courseDetail.vue
+3
-2
pages/orderDetail/orderDetail.vue
+9
-4
No files found.
pages/applyDropClass/applyDropClass.vue
View file @
ab8f72a6
...
@@ -136,6 +136,9 @@
...
@@ -136,6 +136,9 @@
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/afterSaleDetail/afterSaleDetail?orderNo=
${
this
.
dropInfo
.
orderNo
}
&afterSalesFlag=3`
url
:
`/pages/afterSaleDetail/afterSaleDetail?orderNo=
${
this
.
dropInfo
.
orderNo
}
&afterSalesFlag=3`
})
})
uni
.
$emit
(
"radiobroadcast"
,
{
type
:
'drop'
});
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
[
'message'
],
title
:
res
[
'message'
],
...
...
pages/courseDetail/courseDetail.vue
View file @
ab8f72a6
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<!-- v-show="!sliceshare" -->
<!-- v-show="!sliceshare" -->
<view
class=
"courseBannerBox"
v-if=
"!sliceshare"
>
<view
class=
"courseBannerBox"
v-if=
"!sliceshare"
>
<template
v-if=
"isRenderVideo"
>
<template
v-if=
"isRenderVideo"
>
<view>
<view
>
<video
id=
"myVideo"
:src=
"courseInfo.filePathOss"
:initial-time=
"videoPlaybackInfo.maxViewTime"
<video
id=
"myVideo"
:src=
"courseInfo.filePathOss"
:initial-time=
"videoPlaybackInfo.maxViewTime"
object-fit=
"contain"
class=
"videoBox"
:poster=
"courseInfo.fileFirstImage"
object-fit=
"contain"
class=
"videoBox"
:poster=
"courseInfo.fileFirstImage"
:title=
"courseInfo.fileTitle"
@
loadedmetadata=
"loadedmetadata"
@
play=
"playVideo"
@
pause=
"pause"
:title=
"courseInfo.fileTitle"
@
loadedmetadata=
"loadedmetadata"
@
play=
"playVideo"
@
pause=
"pause"
...
@@ -566,7 +566,8 @@
...
@@ -566,7 +566,8 @@
z-index
:
1
;
z-index
:
1
;
.videoBox
{
.videoBox
{
max-width
:
100%
;
//
max-width
:
100%
;
width
:
100vw
;
height
:
100%
;
height
:
100%
;
}
}
}
}
...
...
pages/orderDetail/orderDetail.vue
View file @
ab8f72a6
...
@@ -78,17 +78,22 @@
...
@@ -78,17 +78,22 @@
})
})
}
}
},
},
mounted
()
{
this
.
userCourseInfo
();
},
onLoad
(
option
)
{
onLoad
(
option
)
{
console
.
log
(
option
,
15215
)
console
.
log
(
option
,
15215
)
this
.
orderId
=
option
.
id
;
this
.
orderId
=
option
.
id
;
console
.
log
(
this
.
orderId
,
2222
)
console
.
log
(
this
.
orderId
,
2222
)
this
.
type
=
option
.
type
;
this
.
type
=
option
.
type
;
this
.
commissionType
=
option
.
commissionType
;
this
.
commissionType
=
option
.
commissionType
;
},
onShow
()
{
this
.
userCourseInfo
();
uni
.
$on
(
"radiobroadcast"
,
res
=>
{
console
.
log
(
res
,
74120748
)
this
.
type
=
res
.
type
;
// 清除监听
uni
.
$off
(
'radiobroadcast'
);
})
}
}
}
}
</
script
>
</
script
>
...
...
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