From bf635ed94040c721fcbc755875a852c34f205fbb Mon Sep 17 00:00:00 2001 From: huangzhen Date: Sat, 14 Sep 2024 15:17:06 +0800 Subject: [PATCH] =?UTF-8?q?update=20@=E6=A0=B7=E5=BC=8F=EF=BC=8C=E7=BB=84?= =?UTF-8?q?=E5=90=88=E9=A1=B5=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/global.scss | 3 +++ src/views/pages/comProduct/index.vue | 11 +++++++---- src/views/templates/cmsCash/index.scss | 1 + src/views/templates/cmsList/index.scss | 3 +++ 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/global.scss b/src/global.scss index f912ce4..f9b32c4 100644 --- a/src/global.scss +++ b/src/global.scss @@ -154,3 +154,6 @@ html { min-height: 667px !important; } +// input 自动填入 背景去除 +input:-webkit-autofill { box-shadow: 0 0 0 1000px white inset !important;} + diff --git a/src/views/pages/comProduct/index.vue b/src/views/pages/comProduct/index.vue index d0eba3f..6420047 100644 --- a/src/views/pages/comProduct/index.vue +++ b/src/views/pages/comProduct/index.vue @@ -323,7 +323,7 @@ export default { // if (type === 'start') { // this.dialogText = '已有领取中的商品'; // } - return this.pollTime = setTimeout(() => { that.orderPolling() }, 3000); + this.pollTime = setTimeout(() => { that.orderPolling() }, 3000); } if (sessionStorage.getItem('autoReceive') === 'is') { sessionStorage.setItem('autoReceive', 'no'); @@ -634,9 +634,12 @@ export default { color: #F56B6B; line-height: 16px; text-align: left; - padding-left: 6px; + padding: 0 6px; box-sizing: border-box; background-color: rgba(255, 102, 102, 0.20); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .tipTextSuccess { color: rgb(127, 190, 122); @@ -745,8 +748,8 @@ export default { margin-right: 8px; .loadingBtn { display: block; - width: 16px; - height: 16px; + width: 14px; + height: 14px; margin-left: 3px; animation: loadingBtnRotate 3s linear infinite; } diff --git a/src/views/templates/cmsCash/index.scss b/src/views/templates/cmsCash/index.scss index 022a0c2..5160fec 100644 --- a/src/views/templates/cmsCash/index.scss +++ b/src/views/templates/cmsCash/index.scss @@ -47,6 +47,7 @@ margin-top: 10px; .tag { display: inline; + font-size: 18px; } } .type { diff --git a/src/views/templates/cmsList/index.scss b/src/views/templates/cmsList/index.scss index f5b3b2a..ea78760 100644 --- a/src/views/templates/cmsList/index.scss +++ b/src/views/templates/cmsList/index.scss @@ -52,6 +52,9 @@ font-size: 10px; margin-top: 10px; white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width: 80px; } } }