bri-components 1.6.8 → 1.6.10
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/package.json
CHANGED
|
@@ -11,8 +11,14 @@
|
|
|
11
11
|
:stop-propagation="true"
|
|
12
12
|
:events-enabled="true"
|
|
13
13
|
>
|
|
14
|
-
<div
|
|
15
|
-
|
|
14
|
+
<div
|
|
15
|
+
class="DshSelectAll-input"
|
|
16
|
+
@click="clickInput"
|
|
17
|
+
>
|
|
18
|
+
<div
|
|
19
|
+
v-if="inputData.length"
|
|
20
|
+
class="DshSelectAll-input-selected dsh-ellipsis"
|
|
21
|
+
>
|
|
16
22
|
<Tag
|
|
17
23
|
v-for="(item, index) in inputData"
|
|
18
24
|
:key="item._key"
|
|
@@ -30,9 +36,13 @@
|
|
|
30
36
|
:size="selfPropsObj._size"
|
|
31
37
|
></Input>
|
|
32
38
|
</div>
|
|
39
|
+
|
|
33
40
|
<DropdownMenu slot="list">
|
|
34
41
|
<!-- 用了transfer="true",防止点击面板冒泡关闭 -->
|
|
35
|
-
<div
|
|
42
|
+
<div
|
|
43
|
+
class="DshSelectAll-down-box"
|
|
44
|
+
@click.stop="0"
|
|
45
|
+
>
|
|
36
46
|
<div class="DshSelectAll-down-all">
|
|
37
47
|
<Checkbox
|
|
38
48
|
:indeterminate="indeterminate"
|
|
@@ -40,10 +50,14 @@
|
|
|
40
50
|
@click.prevent.native="handleCheckAll"
|
|
41
51
|
>全选</Checkbox>
|
|
42
52
|
</div>
|
|
43
|
-
<CheckboxGroup
|
|
53
|
+
<CheckboxGroup
|
|
54
|
+
v-model="checkAllGroup"
|
|
55
|
+
@on-change="checkAllGroupChange"
|
|
56
|
+
>
|
|
44
57
|
<div
|
|
45
58
|
v-for="dataItem in dropDownData"
|
|
46
|
-
:key="dataItem._key"
|
|
59
|
+
:key="dataItem._key"
|
|
60
|
+
>
|
|
47
61
|
<Checkbox :label="dataItem._key">
|
|
48
62
|
<span>{{ dataItem._name || dataItem.name }}</span>
|
|
49
63
|
</Checkbox>
|
|
@@ -77,8 +77,8 @@ const pathMap = {
|
|
|
77
77
|
DshLabels: "./senior/DshLabels.vue",
|
|
78
78
|
DshPackage: "./senior/DshPackage.vue",
|
|
79
79
|
flatTable: "./senior/flatTable.vue",
|
|
80
|
-
cascaderTable: "./senior/cascaderTable",
|
|
81
|
-
DshCorrelation: "./senior/correlation"
|
|
80
|
+
cascaderTable: "./senior/cascaderTable.vue",
|
|
81
|
+
DshCorrelation: "./senior/correlation.vue"
|
|
82
82
|
},
|
|
83
83
|
extra: {
|
|
84
84
|
DshThemeColor: "./extra/DshThemeColor.vue",
|
|
@@ -318,6 +318,28 @@
|
|
|
318
318
|
},
|
|
319
319
|
computed: {
|
|
320
320
|
sourceType () {
|
|
321
|
+
// const a = [
|
|
322
|
+
// {
|
|
323
|
+
// src: "https://example.com/stream.m3u8",
|
|
324
|
+
// type: "application/x-mpegURL"
|
|
325
|
+
// },
|
|
326
|
+
// {
|
|
327
|
+
// src: "https://example.com/stream.mpd",
|
|
328
|
+
// type: "application/dash+xml"
|
|
329
|
+
// },
|
|
330
|
+
// {
|
|
331
|
+
// src: "https://example.com/video.mp4",
|
|
332
|
+
// type: "video/mp4"
|
|
333
|
+
// },
|
|
334
|
+
// {
|
|
335
|
+
// src: "https://example.com/stream.flv",
|
|
336
|
+
// type: "video/flv"
|
|
337
|
+
// },
|
|
338
|
+
// {
|
|
339
|
+
// src: "https://example.com/webrtc-stream",
|
|
340
|
+
// type: "application/webrtc"
|
|
341
|
+
// }
|
|
342
|
+
// ];
|
|
321
343
|
return this.videoType === "m3u8"
|
|
322
344
|
? "application/x-mpegURL" // 告诉videojs,这是一个hls流
|
|
323
345
|
: "video/mp4";
|
|
@@ -332,7 +354,7 @@
|
|
|
332
354
|
sources: [
|
|
333
355
|
{
|
|
334
356
|
// src: this.src || this.attachmentLink, // 地址
|
|
335
|
-
src: this.src
|
|
357
|
+
src: this.src, // 地址
|
|
336
358
|
type: this.sourceType
|
|
337
359
|
}
|
|
338
360
|
],
|
|
@@ -385,6 +407,7 @@
|
|
|
385
407
|
beforeDestroy () {
|
|
386
408
|
if (this.player) {
|
|
387
409
|
this.player.dispose();
|
|
410
|
+
// this.player = null;
|
|
388
411
|
}
|
|
389
412
|
},
|
|
390
413
|
methods: {
|
|
@@ -416,12 +439,11 @@
|
|
|
416
439
|
},
|
|
417
440
|
onPlayerReady () {
|
|
418
441
|
// console.log("Player ready", this.finalOptions);
|
|
419
|
-
},
|
|
420
|
-
|
|
421
|
-
playVideo () {
|
|
422
|
-
let video = document.getElementById("video");
|
|
423
|
-
video.play();
|
|
424
442
|
}
|
|
443
|
+
// playVideo () {
|
|
444
|
+
// let video = document.getElementById("video");
|
|
445
|
+
// video.play();
|
|
446
|
+
// }
|
|
425
447
|
}
|
|
426
448
|
};
|
|
427
449
|
</script>
|