Voice messages
This commit is contained in:
parent
fd86e753fe
commit
3146a0b35a
4 changed files with 303 additions and 99 deletions
28
src/components/VoiceRecorderLock.vue
Normal file
28
src/components/VoiceRecorderLock.vue
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<template>
|
||||
<div>
|
||||
<div
|
||||
:class="{ 'voice-recorder-lock': true, 'locked': isLocked }"
|
||||
ref="vr_lock"
|
||||
>
|
||||
<div :class="{ 'thumb': true, 'locked': isLocked }" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: "VoiceRecorderLock",
|
||||
props: {
|
||||
isLocked: {
|
||||
type: Boolean,
|
||||
default: function () {
|
||||
return false;
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import "@/assets/css/chat.scss";
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue