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