Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
h5-base
Commits
2914abbf
Commit
2914abbf
authored
Sep 16, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式
parent
2442a24d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
promptTime.vue
src/components/map/promptTime.vue
+9
-6
video.vue
src/components/newLesson/video.vue
+3
-2
No files found.
src/components/map/promptTime.vue
View file @
2914abbf
...
...
@@ -15,7 +15,7 @@
</div>
<div
class=
"preservation"
@
click=
"preservationClick"
>
保存
</div>
<van-popup
v-model=
"dateShow"
position=
"bottom"
>
<van-datetime-picker
:min-hour=
"minHour"
@
confirm=
"dateConfirm"
@
cancel=
"dateConfirmNo"
v-model=
"currentTime"
type=
"time"
/>
<van-datetime-picker
:min-hour=
"minHour"
:max-hour=
"maxHour"
@
confirm=
"dateConfirm"
@
cancel=
"dateConfirmNo"
v-model=
"currentTime"
type=
"time"
/>
</van-popup>
</div>
</
template
>
...
...
@@ -32,6 +32,7 @@
return
{
currentTime
:
'07:00'
,
minHour
:
6
,
maxHour
:
22
,
dateVal
:
''
,
dateShow
:
false
,
selectedValue
:
''
,
...
...
@@ -47,19 +48,15 @@
dateShowClick
()
{
this
.
dateShow
=
true
;
this
.
$nextTick
(()
=>
{
document
.
querySelectorAll
(
'.van-picker__confirm'
)[
0
].
innerText
=
'完成'
document
.
querySelectorAll
(
'.van-picker-column'
)[
1
].
style
.
display
=
'none'
;
let
oLi
=
document
.
querySelectorAll
(
'.van-picker-column'
)[
0
].
querySelectorAll
(
'li'
);
console
.
log
(
oLi
)
for
(
var
i
=
0
;
i
<
oLi
.
length
;
i
++
)
{
if
(
i
<
6
)
{
// oLi[i].style.display = 'none'
}
oLi
[
i
].
innerText
=
oLi
[
i
].
innerText
+
':00'
}
})
},
dateConfirm
(
val
)
{
console
.
log
(
val
)
this
.
currentTime
=
val
==
'aN:aN'
?
'00:00'
:
val
this
.
contentFn
()
},
...
...
@@ -84,6 +81,7 @@
},
mounted
()
{
getNotifyApi
(
this
.
$route
.
query
.
periods_id
).
then
(
res
=>
{
console
.
log
(
res
,
8787878
)
if
(
res
.
time
)
this
.
currentTime
=
res
.
time
.
split
(
':'
)[
0
]
+
':'
+
res
.
time
.
split
(
':'
)[
1
]
})
...
...
@@ -98,6 +96,11 @@
border-radius: 30 * @toVw 30 * @toVw 0 0;
}
.van-picker__toolbar::after {
content: '';
border: none;
}
.van-picker__confirm {
color: #333333;
font-size: 15 * @toVw;
...
...
src/components/newLesson/video.vue
View file @
2914abbf
...
...
@@ -231,16 +231,17 @@
},
methods
:
{
errorLog
(
e
){
this
.
userDetail
=
JSON
.
parse
(
localStorage
.
getItem
(
"userDesc"
));
/*
this.userDetail = JSON.parse(localStorage.getItem("userDesc"));
// console.log(e.target.error,229)
let str='code:'+e.target.error.code+',msg:'+e.target.error.message+',url:'+
this.showObj.video[this.videoIndex].url+',UserAgent:'+navigator.userAgent+',currentTime:'+this.$refs.videoDom.currentTime
console.log(str)
postErrorLogApi({
'routes_url':'videoerror,'+'userid:'+this.userDetail.user_id,
'result_text':str
}).then((res)=>{
// console.log(res)
})
})
*/
},
sliceUrl
()
{
localStorage
.
setItem
(
"clarityType"
,
this
.
clarityType
);
...
...
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