Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
standalone-anyremote
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qlintonger xeno
standalone-anyremote
Commits
a9624d26
Commit
a9624d26
authored
May 06, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 调整
parent
5e412241
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
src/views/remote/videoCall/chatDetails.vue
+8
-10
No files found.
src/views/remote/videoCall/chatDetails.vue
View file @
a9624d26
...
@@ -5,25 +5,21 @@
...
@@ -5,25 +5,21 @@
</div>
</div>
<div
class=
"flex flex-col flex-auto"
:class=
"
{ 'items-end': isSelf }">
<div
class=
"flex flex-col flex-auto"
:class=
"
{ 'items-end': isSelf }">
<div
class=
"mx-2 mb-1"
>
<div
class=
"mx-2 mb-1"
>
<span
class=
"mb-2 inline-block text-theme-text1"
v-if=
"!isSelf"
>
孙婉茹
</span>
<span
class=
"mb-2 inline-block text-theme-text1"
v-if=
"!isSelf"
>
{{
data
.
fromName
||
''
}}
</span>
<p
class=
"text-theme-text3"
>
2024-03-04 05:10:45
</p>
<p
class=
"text-theme-text3"
>
{{
data
.
sendTime
||
''
}}
</p>
</div>
</div>
<!-- 聊天信息 -->
<!-- 聊天信息 -->
<template
v-if=
"type == 'text'"
>
<template
v-if=
"type == 'text'"
>
<div
:class=
"
{ 'bg-primary-hover': isSelf, 'bg-theme-bg3': !isSelf }" class="p-4 rounded leading-[22px] text-theme-text1">
字节跳动的核心产品头条(“头条号”)是中国及全球的内容平台
</div>
<div
:class=
"
{ 'bg-primary-hover': isSelf, 'bg-theme-bg3': !isSelf }" class="p-4 rounded leading-[22px] text-theme-text1">
{{
data
.
message
||
''
}}
</div>
</
template
>
</
template
>
<
template
v-else-if=
"type == 'image'"
>
<
template
v-else-if=
"type == 'image'"
>
<a-image
<a-image
width=
"100%"
:height=
"160"
:src=
"data.src"
></a-image>
width=
"100%"
:height=
"160"
src=
"https://s3-alpha-sig.figma.com/img/0541/c168/c14a6d7b205f6fbd37f935f30aa16eed?Expires=1714953600&Key-Pair-Id=APKAQ4GOSFWCVNEHN3O4&Signature=VxIHNdXoU14s4dxHDN433j7lQXZZ61vQW5uON0q5Xk9fs3YTOcEKj0wqTVwjmaDz7g6z4Gaavwdlngrp-lYGch8delQHP5YbqTzO9Q5r657B7f-smrvBC7AAvkdhkq3i6FxCw0~EQCxnYW5o-NPV4417Qp9BN0~gbXt~eUQ5sMY2wzKg8ihGbWWKjjgnVpOZnKMMlUx6X-VBUd5aQYP9Rpy7liwvvDyNcZsl5FSa1GKnsaaNxyfdQj8Ug4vu3EDr~tsqlqqDmR0a7laXSnQz5YHHpVcAef54s7iTnV2qswtrsPyeInoADfQgHviRr-sNLVFPyQf0cVfRdjyVZm5YvA__"
></a-image>
</
template
>
</
template
>
<
template
v-else-if=
"type == 'pdf'"
>
<
template
v-else-if=
"type == 'pdf'"
>
<div
:class=
"
{ 'bg-primary-hover': isSelf, 'bg-theme-bg3': !isSelf }" class="py-[10px] px-3 rounded flex-center justify-between leading-[22px] text-theme-text1 w-full">
<div
:class=
"
{ 'bg-primary-hover': isSelf, 'bg-theme-bg3': !isSelf }" class="py-[10px] px-3 rounded flex-center justify-between leading-[22px] text-theme-text1 w-full">
<div
class=
"flex-center"
>
<div
class=
"flex-center"
>
<global-icon
icon=
"file"
></global-icon>
<global-icon
icon=
"file"
></global-icon>
<span
class=
"ml-3"
>
可携带文件格式.pdf
</span>
<span
class=
"ml-3"
>
{{
(
data
.
fileName
||
''
)
+
'.pdf'
}}
</span>
</div>
</div>
<global-icon
icon=
"download"
class=
"cursor-pointer"
></global-icon>
<global-icon
icon=
"download"
class=
"cursor-pointer"
></global-icon>
</div>
</div>
...
@@ -39,10 +35,12 @@
...
@@ -39,10 +35,12 @@
interface
Props
{
interface
Props
{
isSelf
?:
boolean
isSelf
?:
boolean
type
?:
'text'
|
'image'
|
'pdf'
|
'video'
type
?:
'text'
|
'image'
|
'pdf'
|
'video'
data
?:
any
}
}
const
ps
=
withDefaults
(
defineProps
<
Props
>
(),
{
const
ps
=
withDefaults
(
defineProps
<
Props
>
(),
{
isSelf
:
false
,
isSelf
:
false
,
type
:
'text'
type
:
'text'
,
data
:
{}
})
})
</
script
>
</
script
>
<
style
lang=
"less"
scoped
></
style
>
<
style
lang=
"less"
scoped
></
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment