From 5a4c18619ed9ffc9b225aee0e4baf5e6d5a00496 Mon Sep 17 00:00:00 2001 From: Laceyoo <51255903050@stu.ecnu.edu.cn> Date: Fri, 24 Nov 2023 16:24:39 +0800 Subject: [PATCH] Frontend Enhancement --- .../playground/components/Authorization.vue | 190 +++++++++++++++-- .../views/playground/components/Client.vue | 184 +++++++++++++++-- .../views/playground/components/Password.vue | 193 ++++++++++++++++-- 3 files changed, 518 insertions(+), 49 deletions(-) diff --git a/front-standalone/src/views/playground/components/Authorization.vue b/front-standalone/src/views/playground/components/Authorization.vue index d040d27..ee6cf6e 100644 --- a/front-standalone/src/views/playground/components/Authorization.vue +++ b/front-standalone/src/views/playground/components/Authorization.vue @@ -1,6 +1,6 @@ @@ -225,11 +298,84 @@ onMounted(() => { Request URI - Method(Currently, only get method is supported.) + Method + + + + Add Headers + + + + + Enter Request Body + + + + + + + + + + + + Add a header: + + + + + + + + + Add + + + + + + + {{ row.name }} + + + + + {{ row.value }} + + + + + + Remove + + + + + Close + + + + + Enter the data that will be added to the body of the request: + + Close + Access Token @@ -260,12 +406,13 @@ onMounted(() => { RESPONSE INFO - + - + + - @@ -358,6 +505,16 @@ onMounted(() => { background-color: rgba(213, 22, 79, 1); } + .user-button { + color: black; + background-color: rgba(128, 128, 128, 0.2); + width: 140px; + } + .user-button:hover { + color: black; + background-color: rgba(128, 128, 128, 0.4); + } + .n-button { background-color: rgba(183, 0, 49, 0.14); }