feat: video
This commit is contained in:
parent
ad58a86f8e
commit
3601b7e8ac
@ -189,7 +189,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<slot name="userInput" />
|
<slot name="userInput" />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="flex align-center">
|
||||||
<template v-if="props.applicationDetails.stt_model_enable">
|
<template v-if="props.applicationDetails.stt_model_enable">
|
||||||
<span v-if="mode === 'mobile'">
|
<span v-if="mode === 'mobile'">
|
||||||
<el-button text @click="switchMicrophone(!isMicrophone)">
|
<el-button text @click="switchMicrophone(!isMicrophone)">
|
||||||
|
|||||||
@ -550,6 +550,27 @@ export default {
|
|||||||
])
|
])
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'app-video-stop': {
|
||||||
|
iconReader: () => {
|
||||||
|
return h('i', [
|
||||||
|
h(
|
||||||
|
'svg',
|
||||||
|
{
|
||||||
|
style: { height: '100%', width: '100%' },
|
||||||
|
viewBox: '0 0 1024 1024',
|
||||||
|
version: '1.1',
|
||||||
|
xmlns: 'http://www.w3.org/2000/svg',
|
||||||
|
},
|
||||||
|
[
|
||||||
|
h('path', {
|
||||||
|
d: 'M981.333333 512c0 259.2-210.133333 469.333333-469.333333 469.333333S42.666667 771.2 42.666667 512 252.8 42.666667 512 42.666667s469.333333 210.133333 469.333333 469.333333z m-85.333333 0a384 384 0 1 0-768 0 384 384 0 0 0 768 0zM384 341.333333h256c23.466667 0 42.666667 19.072 42.666667 42.666667v256c0 23.552-19.2 42.666667-42.666667 42.666667H384c-23.466667 0-42.666667-19.114667-42.666667-42.666667V384c0-23.594667 19.2-42.666667 42.666667-42.666667z',
|
||||||
|
fill: 'currentColor',
|
||||||
|
}),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
])
|
||||||
|
},
|
||||||
|
},
|
||||||
'app-chat': {
|
'app-chat': {
|
||||||
iconReader: () => {
|
iconReader: () => {
|
||||||
return h('i', [
|
return h('i', [
|
||||||
@ -601,16 +622,16 @@ export default {
|
|||||||
style: { height: '100%', width: '100%' },
|
style: { height: '100%', width: '100%' },
|
||||||
viewBox: '0 0 1024 1024',
|
viewBox: '0 0 1024 1024',
|
||||||
version: '1.1',
|
version: '1.1',
|
||||||
xmlns: 'http://www.w3.org/2000/svg'
|
xmlns: 'http://www.w3.org/2000/svg',
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
h('path', {
|
h('path', {
|
||||||
d: 'M800.768 477.184c-14.336 0-30.72 2.048-45.056 4.096 18.432-51.2 77.824-188.416 237.568-315.392 36.864-28.672-20.48-86.016-59.392-57.344-155.648 116.736-356.352 317.44-356.352 573.44v20.48c0 122.88 100.352 223.232 223.232 223.232S1024 825.344 1024 702.464c0-124.928-100.352-225.28-223.232-225.28zM223.232 477.184c-14.336 0-30.72 2.048-45.056 4.096 18.432-51.2 77.824-188.416 237.568-315.392 36.864-28.672-20.48-86.016-59.392-57.344C200.704 225.28 0 425.984 0 681.984v20.48c0 122.88 100.352 223.232 223.232 223.232s223.232-100.352 223.232-223.232c0-124.928-100.352-225.28-223.232-225.28z',
|
d: 'M800.768 477.184c-14.336 0-30.72 2.048-45.056 4.096 18.432-51.2 77.824-188.416 237.568-315.392 36.864-28.672-20.48-86.016-59.392-57.344-155.648 116.736-356.352 317.44-356.352 573.44v20.48c0 122.88 100.352 223.232 223.232 223.232S1024 825.344 1024 702.464c0-124.928-100.352-225.28-223.232-225.28zM223.232 477.184c-14.336 0-30.72 2.048-45.056 4.096 18.432-51.2 77.824-188.416 237.568-315.392 36.864-28.672-20.48-86.016-59.392-57.344C200.704 225.28 0 425.984 0 681.984v20.48c0 122.88 100.352 223.232 223.232 223.232s223.232-100.352 223.232-223.232c0-124.928-100.352-225.28-223.232-225.28z',
|
||||||
fill: 'currentColor'
|
fill: 'currentColor',
|
||||||
})
|
}),
|
||||||
]
|
],
|
||||||
)
|
),
|
||||||
])
|
])
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user