+ import ToolbarItemContainer from '../toolbar-item-container/index.vue'
+ import custom from '../../../../assets/icon/telephone-icon.svg'
+ import videoIcon from '../../../../assets/icon/video-icon.svg'
+ import { isUniFrameWork } from '../../../../utils/env'
+ import { computed } from 'vue'
+
+ const props = withDefaults(
+ defineProps<{
+ /** 通话状态: 0 语音 1 视频 */
+ type?: '0' | '1'
+ }>(),
+ {
+ type: '0'
+ }
+ )
+
+ /** 语音通话状态 */
+ const isType = computed(() => props.type === '0')
+
+ const evaluateIcon = isType.value ? custom : videoIcon
+
+ const emits = defineEmits(['onDialogPopupShowOrHide'])
+
+ const onDialogShow = () => {
+ console.log('弹出窗口')
+ emits('onDialogPopupShowOrHide', true)
+ }
+
+ const onDialogClose = () => {
+ console.log('关闭窗口')
+ emits('onDialogPopupShowOrHide', false)
+ }
+
+
+
+
+ 测试通话
+
+
+
+
diff --git a/TUIKit/components/TUIChat/message-input-toolbar/call-view/style/index.scss b/TUIKit/components/TUIChat/message-input-toolbar/call-view/style/index.scss
new file mode 100644
index 0000000..e69de29
diff --git a/TUIKit/components/TUIChat/message-input-toolbar/index.vue b/TUIKit/components/TUIChat/message-input-toolbar/index.vue
index 8cc0ecf..499e5a3 100644
--- a/TUIKit/components/TUIChat/message-input-toolbar/index.vue
+++ b/TUIKit/components/TUIChat/message-input-toolbar/index.vue
@@ -65,9 +65,14 @@
/> -->
-
+
+
+
+
-