From fb312af2fcd157b967738c299ebd36cd75d1d16a Mon Sep 17 00:00:00 2001 From: zhaichao Date: Thu, 24 Sep 2026 14:31:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8D=8F=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/chat/call.vue | 4 ++-- pages/coop/list.vue | 36 +++++++++++++++++++++--------------- pages/preview/file.vue | 20 ++++++++++++++++---- 3 files changed, 39 insertions(+), 21 deletions(-) diff --git a/pages/chat/call.vue b/pages/chat/call.vue index 8fcbd5b..07490d4 100644 --- a/pages/chat/call.vue +++ b/pages/chat/call.vue @@ -95,11 +95,11 @@ export default { .stage { flex: 1; position: relative; } .wv { position: absolute; inset: 0; } .wait { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; } -.av { width: 160rpx; height: 160rpx; border-radius: 50%; background: #1677FF; display: flex; align-items: center; justify-content: center; font-size: 64rpx; font-weight: 700; } +.av { width: 160rpx; height: 160rpx; border-radius: 40rpx; background: #E8F1FF; color: #1677FF; display: flex; align-items: center; justify-content: center; font-size: 64rpx; font-weight: 700; } .name { margin-top: 24rpx; font-size: 36rpx; font-weight: 700; } .st { margin-top: 8rpx; color: rgba(255,255,255,0.65); } .acts { display: flex; justify-content: center; gap: 32rpx; padding: 32rpx 24rpx calc(32rpx + env(safe-area-inset-bottom)); } .btn { min-width: 200rpx; height: 80rpx; border-radius: 999rpx; display: flex; align-items: center; justify-content: center; font-size: 28rpx; font-weight: 600; } -.ok { background: #006c49; } +.ok { background: #16A34A; } .no { background: #DC2626; } diff --git a/pages/coop/list.vue b/pages/coop/list.vue index 0fa1c5c..9f9b998 100644 --- a/pages/coop/list.vue +++ b/pages/coop/list.vue @@ -7,20 +7,24 @@ 待我办理 - 暂无 + - - + + 待办理 {{ t.title }} - {{ t.assignerName || '' }} · {{ t.dueAt || '' }} + {{ lineOf(t.assignerName, t.dueAt) }} + 我发起的 + - + + 协同 {{ t.title }} - {{ t.assigneeName || '' }} · {{ t.status || '' }} + {{ lineOf(t.assigneeName, t.status) }} + @@ -49,6 +53,9 @@ export default { this.mine = asList(await oaGet('/work-tasks?tab=review', store.token)) } catch (_) {} }, + lineOf(a, b) { + return [a, b].filter(Boolean).join(' · ') + }, open(t) { uni.navigateTo({ url: '/pages/coop/detail?id=' + encodeURIComponent(t.id) }) }, @@ -60,13 +67,12 @@ export default { diff --git a/pages/preview/file.vue b/pages/preview/file.vue index 7cf3d4d..d1fb2fe 100644 --- a/pages/preview/file.vue +++ b/pages/preview/file.vue @@ -2,8 +2,12 @@ - {{ name || '附件' }} - 打开 / 预览 + + + {{ name || '附件' }} + 系统会用本机应用打开这个附件 + + 打开 / 预览 @@ -31,6 +35,14 @@ export default {