@94ai/nf-audio 3.3.64 → 3.3.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/nf-audio.cjs.js
CHANGED
|
@@ -386,10 +386,8 @@ const _sfc_main = {
|
|
|
386
386
|
this.betweenPlaying = false;
|
|
387
387
|
return false;
|
|
388
388
|
}
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
this.$emit("updateProgress", e.offsetX);
|
|
392
|
-
}
|
|
389
|
+
this.updateProgress(e.offsetX);
|
|
390
|
+
this.$emit("updateProgress", e.offsetX);
|
|
393
391
|
}
|
|
394
392
|
},
|
|
395
393
|
//更新进度
|
|
@@ -643,7 +641,10 @@ var _sfc_render = function render() {
|
|
|
643
641
|
ref: "progressBar",
|
|
644
642
|
staticClass: "nf-audio-progress-bar",
|
|
645
643
|
on: {
|
|
646
|
-
"mousedown": _vm.handleMousedown
|
|
644
|
+
"mousedown": _vm.handleMousedown,
|
|
645
|
+
"click": function($event) {
|
|
646
|
+
$event.stopPropagation();
|
|
647
|
+
}
|
|
647
648
|
}
|
|
648
649
|
})])])];
|
|
649
650
|
}), _vm.forwardSecond ? _vm._t("fastForward", function() {
|
|
@@ -384,10 +384,8 @@ const _sfc_main = {
|
|
|
384
384
|
this.betweenPlaying = false;
|
|
385
385
|
return false;
|
|
386
386
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
this.$emit("updateProgress", e.offsetX);
|
|
390
|
-
}
|
|
387
|
+
this.updateProgress(e.offsetX);
|
|
388
|
+
this.$emit("updateProgress", e.offsetX);
|
|
391
389
|
}
|
|
392
390
|
},
|
|
393
391
|
//更新进度
|
|
@@ -641,7 +639,10 @@ var _sfc_render = function render() {
|
|
|
641
639
|
ref: "progressBar",
|
|
642
640
|
staticClass: "nf-audio-progress-bar",
|
|
643
641
|
on: {
|
|
644
|
-
"mousedown": _vm.handleMousedown
|
|
642
|
+
"mousedown": _vm.handleMousedown,
|
|
643
|
+
"click": function($event) {
|
|
644
|
+
$event.stopPropagation();
|
|
645
|
+
}
|
|
645
646
|
}
|
|
646
647
|
})])])];
|
|
647
648
|
}), _vm.forwardSecond ? _vm._t("fastForward", function() {
|
package/package/nf-audio.vue
CHANGED
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
<span class="nf-audio-progress-bar"
|
|
71
71
|
ref="progressBar"
|
|
72
72
|
@mousedown="handleMousedown"
|
|
73
|
+
@click.stop
|
|
73
74
|
/>
|
|
74
75
|
</div>
|
|
75
76
|
</div>
|
|
@@ -549,11 +550,8 @@ export default {
|
|
|
549
550
|
this.betweenPlaying = false
|
|
550
551
|
return false
|
|
551
552
|
}
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
this.updateProgress(e.offsetX)
|
|
555
|
-
this.$emit('updateProgress', e.offsetX)
|
|
556
|
-
}
|
|
553
|
+
this.updateProgress(e.offsetX)
|
|
554
|
+
this.$emit('updateProgress', e.offsetX)
|
|
557
555
|
}
|
|
558
556
|
},
|
|
559
557
|
//更新进度
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-audio",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.65",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "liuxiangxiang <liuxiangxiang@94ai.com>",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/nf-theme-chalk": "^3.3.
|
|
17
|
+
"@94ai/nf-theme-chalk": "^3.3.65",
|
|
18
18
|
"vue-demi": "^0.14.5"
|
|
19
19
|
},
|
|
20
20
|
"peerDependenciesMeta": {
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"types": "lib/index.d.ts",
|
|
31
31
|
"main": "lib/nf-audio.cjs.js",
|
|
32
32
|
"module": "lib/nf-audio.esm-bundler.js",
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "925028777636d97723ff1e81517c48c1b6c00547"
|
|
34
34
|
}
|