From 568a728b8019f4cd37c990d80396ca18c3fa6e1b Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Wed, 11 Oct 2023 17:44:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B6=E9=83=A8=E5=AF=BC=E8=88=AA=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/search/search.vue | 10 +++++----- pages/index/index.vue | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/search/search.vue b/components/search/search.vue index bacd03d1..b78a707d 100644 --- a/components/search/search.vue +++ b/components/search/search.vue @@ -181,16 +181,16 @@ .search-content input { font-size: 24rpx; - padding: 0 32rpx 0 76rpx; + padding: 0 32rpx 0 54rpx; box-sizing: border-box; - height: 56rpx; - line-height: 56rpx; + height: 58rpx; + line-height: 58rpx; } .search-content .search-btn { width: 106rpx; - height: 46rpx; - line-height: 46rpx; + height: 48rpx; + line-height: 48rpx; font-size: 28rpx; border-radius: 30rpx; padding: 0; diff --git a/pages/index/index.vue b/pages/index/index.vue index ae60730a..1a55066e 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -341,7 +341,7 @@ top_content_bg_color: 'background:linear-gradient(180deg, ' + theme_color + ' 0%, #f5f5f5 80%)', top_content_search_bg_color: 'background:linear-gradient(180deg, ' + theme_color + ' 0%, #f5f5f5 360%)', top_content_search_content_style: 'background-image: url("' + static_url + 'nav-top.png");', - top_content_style: 'padding-top:' + (bar_height + 5) + 'px;', + top_content_style: 'padding-top:' + (bar_height + 7) + 'px;', // #ifdef H5 || MP-TOUTIAO || APP top_content_style: 'padding-top:' + (bar_height + 10) + 'px;', // #endif @@ -505,10 +505,10 @@ var width = this.is_logo_use_text == 1 ? app.globalData.string_width(this.application_title) : ((this.application_logo || null) == null ? 0 : 112); // #ifdef H5 || MP-TOUTIAO || APP var len = (this.right_icon_list || []).length; - width += (len <= 0) ? 0 : 72 * len; + width += (len <= 0) ? 0 : 70 * len; // #endif // #ifdef MP - width += 200; + width += 220; // #endif this.setData({ top_content_search_style: 'width: calc(100% - ' + width + 'rpx);',