From 84f2b56ecee88788a525f8720838148024b72d3f Mon Sep 17 00:00:00 2001 From: songyang <972986197@qq.com> Date: Sat, 9 Dec 2023 22:58:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/header.vue | 21 +++++++++++++++------ src/views/register.vue | 14 +++++++++----- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/src/layout/header.vue b/src/layout/header.vue index 218c98e..0ba8fa9 100644 --- a/src/layout/header.vue +++ b/src/layout/header.vue @@ -44,9 +44,9 @@ const inputRef: any = ref(null) // 输入框下方历史搜索记录 - const searchHistoryList = computed(() => { - return store.searchHistoryList.slice(0, 4) - }) + // const searchHistoryList = computed(() => { + // return store.searchHistoryList.slice(0, 1) + // }) // 搜索按钮 const searchKeywordBtn = () => { @@ -136,7 +136,11 @@
- + {{ item }}
@@ -271,15 +275,20 @@ .ipt-down { position: absolute; - bottom: 20px; - left: 21%; + bottom: 15px; + left: 22%; overflow: hidden; a { + max-width: 140px; padding: 0 10px; color: #727272; font-size: 14px; cursor: pointer; + overflow: hidden; + display: inline-block; + white-space: nowrap; + text-overflow: ellipsis; } } } diff --git a/src/views/register.vue b/src/views/register.vue index c950726..a535bbb 100644 --- a/src/views/register.vue +++ b/src/views/register.vue @@ -188,11 +188,15 @@
- {{ getCodeBtnDisabled ? `${residuSeconds}秒后重新发送` : '获取验证码' }} + {{ + getCodeBtnDisabled + ? `${residuSeconds}秒后重新发送` + : '获取验证码' + }}
@@ -288,9 +292,9 @@ } } - .get-code { - width: 100%; - } + .get-code { + width: 100%; + } } } }