From dabb23967bd844e768047a6a2f829afd02c8f8f0 Mon Sep 17 00:00:00 2001 From: yutent Date: Thu, 9 Feb 2023 19:07:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=87=A0=E4=B8=AA=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .prettierrc.yaml | 2 +- src/main.js | 1 + src/store.js | 8 +- src/views/request.vue | 340 ++++++++++++++++++++++++++++++++++++++---- 4 files changed, 317 insertions(+), 34 deletions(-) diff --git a/.prettierrc.yaml b/.prettierrc.yaml index 8c33f1a..6734234 100644 --- a/.prettierrc.yaml +++ b/.prettierrc.yaml @@ -3,7 +3,7 @@ jsxBracketSameLine: true jsxSingleQuote: true semi: false singleQuote: true -printWidth: 100 +printWidth: 80 useTabs: false tabWidth: 2 trailingComma: none diff --git a/src/main.js b/src/main.js index 7cd6487..162ab45 100644 --- a/src/main.js +++ b/src/main.js @@ -6,6 +6,7 @@ import store from './store' import '//jscdn.ink/@bytedo/wcui/dist/form/input.js' import '//jscdn.ink/@bytedo/wcui/dist/form/button.js' +import '//jscdn.ink/@bytedo/wcui/dist/form/link.js' import '//jscdn.ink/@bytedo/wcui/dist/layer/index.js' const app = createApp(App) diff --git a/src/store.js b/src/store.js index c96d5e2..9b79883 100644 --- a/src/store.js +++ b/src/store.js @@ -3,10 +3,10 @@ import { reactive } from 'vue' const store = reactive({ user: {}, stats: { - 0: '已删除', - 1: '待审核中', - 2: '正常收录', - 9: '拒绝收录' + 0: '❌已删除', + 1: '🕒待审核中', + 2: '✅正常', + 9: '🙅🏻拒绝收录' } }) diff --git a/src/views/request.vue b/src/views/request.vue index 028afbc..7a7bd86 100644 --- a/src/views/request.vue +++ b/src/views/request.vue @@ -1,45 +1,327 @@ + + - +