From 067312cd5c8446bbd9b37ae7e71ccd393a9a76af Mon Sep 17 00:00:00 2001 From: Phoenix <64720302+Concur-max@users.noreply.github.com> Date: Mon, 12 May 2025 14:35:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0vite.config.ts=E4=BB=A5?= =?UTF-8?q?=E9=9B=86=E6=88=90compressPlugin=E5=92=8CvueDevTools=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=90=8C=E6=97=B6=E8=B0=83=E6=95=B4MeEditorE?= =?UTF-8?q?moticon.vue=E4=B8=AD=E7=9A=84=E8=A1=A8=E6=83=85=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E5=B0=BA=E5=AF=B8=EF=BC=8C=E4=BC=98=E5=8C=96=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/editor/MeEditorEmoticon.vue | 7 +++---- vite.config.ts | 9 +++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/editor/MeEditorEmoticon.vue b/src/components/editor/MeEditorEmoticon.vue index 706bc40..f1d1074 100644 --- a/src/components/editor/MeEditorEmoticon.vue +++ b/src/components/editor/MeEditorEmoticon.vue @@ -185,11 +185,10 @@ const onSendEmoticon = (type: any, value: any, img = '') => { display: flex; flex-wrap: wrap; - .option { - height: 32px; - width: 32px; + .option img{ + height: 12px; + width: 12px; margin: 2px; - font-size: 24px; user-select: none; transition: all 0.5s; diff --git a/vite.config.ts b/vite.config.ts index 5182bbe..be05c49 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,10 +25,11 @@ export default defineConfig(({ mode }) => { plugins: [ vue(), vueJsx({}), - // vueDevTools({ - // launchEditor:'cursor' - // }), - UnoCSS() + compressPlugin(), + UnoCSS(), + vueDevTools({ + launchEditor: 'cursor', + }) ], define: { __APP_ENV__: env.APP_ENV