From fbd2e0e84432a4831a1903a70278e3e68b2c8b41 Mon Sep 17 00:00:00 2001 From: Dream Hunter Date: Wed, 10 Apr 2024 13:25:26 +0800 Subject: [PATCH] fix: UI overflow (#111) * feat: UI overflow * feat: add domain --- README.md | 10 +++++++--- README_EN.md | 4 +++- frontend/src/views/Header.vue | 5 ++++- frontend/src/views/Index.vue | 15 +++++++-------- worker/wrangler.toml.template | 4 ++++ 5 files changed, 25 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 5407ea1e..98cb311d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [CHANGELOG](CHANGELOG.md) -[Backend](https://temp-email-api.dreamhunter2333.xyz/) +[Backend](https://temp-email-api.awsl.uk/) ![](https://uptime.aks.awsl.icu/api/badge/10/status) ![](https://uptime.aks.awsl.icu/api/badge/10/uptime) ![](https://uptime.aks.awsl.icu/api/badge/10/ping) @@ -12,7 +12,7 @@ ![](https://uptime.aks.awsl.icu/api/badge/10/cert-exp) ![](https://uptime.aks.awsl.icu/api/badge/10/response) -[Frontend](https://temp-email.dreamhunter2333.xyz/) +[Frontend](https://mail.awsl.uk/) ![](https://uptime.aks.awsl.icu/api/badge/12/status) ![](https://uptime.aks.awsl.icu/api/badge/12/uptime) ![](https://uptime.aks.awsl.icu/api/badge/12/ping) @@ -40,7 +40,11 @@ - [Cloudflare Pages 前端](#cloudflare-pages-前端) - [参考资料](#参考资料) -## [在线演示](https://temp-email.dreamhunter2333.xyz/) +## [在线演示](https://mail.awsl.uk/) + +[https://mail.awsl.uk](https://mail.awsl.uk/) + +或者 [https://temp-email.dreamhunter2333.xyz](https://temp-email.dreamhunter2333.xyz/) ## 功能/TODO diff --git a/README_EN.md b/README_EN.md index 27922725..ff0888e0 100644 --- a/README_EN.md +++ b/README_EN.md @@ -4,7 +4,9 @@ [CHANGELOG](CHANGELOG.md) -## [Live Demo](https://temp-email.dreamhunter2333.xyz/) +## [Live Demo](https://mail.awsl.uk/) + +[https://mail.awsl.uk](https://mail.awsl.uk/) This is a temporary email service that uses Cloudflare Workers to create a temporary email address and view the received email in web browser. diff --git a/frontend/src/views/Header.vue b/frontend/src/views/Header.vue index 50bbafe2..26f6dbaa 100644 --- a/frontend/src/views/Header.vue +++ b/frontend/src/views/Header.vue @@ -77,6 +77,7 @@ const { t } = useI18n({ getNewEmail: 'Get New Email', getNewEmailTip1: 'Please input the email you want to use. only allow ., a-z, A-Z and 0-9', getNewEmailTip2: 'Levaing it blank will generate a random email address.', + getNewEmailTip3: 'You can choose a domain from the dropdown list.', yourAddress: 'Your email address is', password: 'Password', passwordTip: 'Please copy the password and you can use it to login to your email account.', cancel: 'Cancel', @@ -107,6 +108,7 @@ const { t } = useI18n({ getNewEmail: '获取新邮箱', getNewEmailTip1: '请输入你想要使用的邮箱地址, 只允许 ., a-z, A-Z, 0-9', getNewEmailTip2: '留空将会生成一个随机的邮箱地址。', + getNewEmailTip3: '你可以从下拉列表中选择一个域名。', yourAddress: '你的邮箱地址是', password: '密码', passwordTip: '请复制密码,你可以使用它登录你的邮箱。', @@ -376,7 +378,7 @@ onMounted(async () => { + href="https://mail-v1.awsl.uk"> {{ t('mailV1Alert') }} @@ -414,6 +416,7 @@ onMounted(async () => {

{{ t("getNewEmailTip1") }}

{{ t("getNewEmailTip2") }}

+

{{ t("getNewEmailTip3") }}

{{ t('generateName') }} diff --git a/frontend/src/views/Index.vue b/frontend/src/views/Index.vue index 31f16ed9..158dce94 100644 --- a/frontend/src/views/Index.vue +++ b/frontend/src/views/Index.vue @@ -133,7 +133,7 @@ onMounted(async () => { - +