|
@@ -208,7 +208,14 @@ export default defineComponent({
|
|
class={[styles.controls, props.showModel ? '' : styles.hide]}
|
|
class={[styles.controls, props.showModel ? '' : styles.hide]}
|
|
onClick={(e: Event) => {
|
|
onClick={(e: Event) => {
|
|
e.stopPropagation();
|
|
e.stopPropagation();
|
|
- }}>
|
|
|
|
|
|
+ if(videoItem.value.paused()) return
|
|
|
|
+ emit('close')
|
|
|
|
+ }}
|
|
|
|
+ onTouchmove={(e: Event) => {
|
|
|
|
+ if(videoItem.value.paused()) return
|
|
|
|
+ emit('close')
|
|
|
|
+ }}
|
|
|
|
+ >
|
|
<div class={styles.time}>
|
|
<div class={styles.time}>
|
|
<div>{getSecondRPM(data.currentTime)}</div>
|
|
<div>{getSecondRPM(data.currentTime)}</div>
|
|
<div>{getSecondRPM(data.duration)}</div>
|
|
<div>{getSecondRPM(data.duration)}</div>
|