Compare commits

...

2 Commits

3 changed files with 3 additions and 4 deletions

1
components.d.ts vendored
View File

@ -70,6 +70,7 @@ declare module 'vue' {
RevokeMessage: typeof import('./src/components/talk/message/RevokeMessage.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
SearchByCondition: typeof import('./src/components/search/searchByCondition.vue')['default']
SearchItem: typeof import('./src/components/search/searchItem.vue')['default']
SearchList: typeof import('./src/components/search/searchList.vue')['default']
SysGroupAdminMessage: typeof import('./src/components/talk/message/system/SysGroupAdminMessage.vue')['default']

View File

@ -178,6 +178,7 @@ const handleDownload = () => {
.file-message {
width: 243px;
background-color: #fff;
height: 110px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
padding: 0 14px;

View File

@ -35,7 +35,7 @@ const img = (src: string, width = 200) => {
:class="{ left: data.float === 'left' }"
:style="img(extra.url, 350)"
>
<n-image :src="extra.url" />
<n-image class="h-149px" :src="extra.url" />
</section>
</template>
<style lang="less" scoped>
@ -44,9 +44,6 @@ const img = (src: string, width = 200) => {
padding: 5px;
border-radius: 5px;
background: var(--im-message-left-bg-color);
min-width: 30px;
min-height: 30px;
max-width:240px;
height:149px
&.left {
background: var(--im-message-right-bg-color);