From b65ac393bf185b5512d35be3fa550dc63e1106f7 Mon Sep 17 00:00:00 2001 From: ZRMYDYCG <547471919@qq.com> Date: Fri, 7 Mar 2025 17:58:47 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=F0=9F=93=9C=EF=B8=8F(#1)=20=E5=A4=84?= =?UTF-8?q?=E7=90=86CR=E4=B8=AD=E7=9A=84=E5=B0=86=E5=8E=9F=E7=94=9F?= =?UTF-8?q?=E7=9A=84=20CSS=20=E8=AF=AD=E6=B3=95=E8=BD=AC=E6=8D=A2=E4=B8=BA?= =?UTF-8?q?=20Tailwindcss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- package.json | 1 - pnpm-lock.yaml | 8 -- src/components/List/index.vue | 3 + src/view/chat/components/chat-content.vue | 96 +++----------- src/view/chat/components/chat-history.vue | 76 +++--------- src/view/chat/components/chat-item.vue | 85 +++---------- .../components/add-contact-dialog.css | 44 ------- .../components/add-contact-dialog.vue | 117 ++++++++++-------- .../contacts/components/contact-detail.css | 59 --------- .../contacts/components/contact-detail.vue | 36 +++--- src/view/contacts/components/contact-list.css | 52 -------- src/view/contacts/components/contact-list.vue | 26 ++-- src/view/login/index.vue | 54 ++------ src/view/register/index.vue | 62 ++-------- 15 files changed, 174 insertions(+), 547 deletions(-) delete mode 100644 src/view/contacts/components/add-contact-dialog.css delete mode 100644 src/view/contacts/components/contact-detail.css delete mode 100644 src/view/contacts/components/contact-list.css diff --git a/index.html b/index.html index 4ee9190..b786d0f 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - +
diff --git a/package.json b/package.json index e384022..656d3a7 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,6 @@ "moment": "^2.30.1", "pinia": "^3.0.1", "querystring": "^0.2.1", - "remixicon": "^4.6.0", "socket.io-client": "^4.8.1", "tailwindcss": "^4.0.9", "vue": "^3.5.13", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d9d586d..36b8917 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,9 +41,6 @@ importers: querystring: specifier: ^0.2.1 version: 0.2.1 - remixicon: - specifier: ^4.6.0 - version: 4.6.0 socket.io-client: specifier: ^4.8.1 version: 4.8.1 @@ -2161,9 +2158,6 @@ packages: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} - remixicon@4.6.0: - resolution: {integrity: sha512-bKM5odjqE1yzVxEZGJE7F79WHhNrJFIKHXR+GG+P1IWXn8AnJZhl8SbIRDJsNAvIqx4VPkNwjuHfc42tutMDpQ==} - require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -4532,8 +4526,6 @@ snapshots: dependencies: picomatch: 2.3.1 - remixicon@4.6.0: {} - require-directory@2.1.1: {} require-from-string@2.0.2: {} diff --git a/src/components/List/index.vue b/src/components/List/index.vue index e4d13b5..e0a6549 100644 --- a/src/components/List/index.vue +++ b/src/components/List/index.vue @@ -21,6 +21,7 @@ + + diff --git a/src/view/chat/components/chat-history.vue b/src/view/chat/components/chat-history.vue index 3e03e1d..c604130 100644 --- a/src/view/chat/components/chat-history.vue +++ b/src/view/chat/components/chat-history.vue @@ -1,5 +1,5 @@ -{{ item.remark }}
- {{ $dataHelpers.formatDate(item.send_time, 'HH:mm') }} +{{ item.remark }}
+ {{ + $dataHelpers.formatDate(item.send_time, 'HH:mm') + }}