From 55009d48135e2f7d2070c635bcadc2f5a9ac9dab Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 10 Nov 2023 11:36:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=EF=BC=8C=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E9=A1=B6=E9=83=A8=E6=90=9C=E7=B4=A2=E5=AF=BC=E8=88=AA=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E6=94=AF=E4=BB=98=E5=AE=9D=E8=BF=94=E5=9B=9E=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods-category/goods-category.css | 3 ++- pages/index/index.css | 5 ++++- pages/index/index.vue | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pages/goods-category/goods-category.css b/pages/goods-category/goods-category.css index b7d6951f..f3221617 100644 --- a/pages/goods-category/goods-category.css +++ b/pages/goods-category/goods-category.css @@ -19,7 +19,8 @@ .nav-search { padding-right: 250rpx; /* #ifdef MP-ALIPAY */ - padding-right: 255rpx; + padding-right: 255rpx; + padding-left: 80rpx; /* #endif */ /* #ifdef H5 || MP-TOUTIAO || APP */ padding-right: 20rpx; diff --git a/pages/index/index.css b/pages/index/index.css index 780b91c0..d22f0e34 100644 --- a/pages/index/index.css +++ b/pages/index/index.css @@ -72,7 +72,10 @@ } .search-content-input { - width: calc(100% - 320rpx); + width: calc(100% - 320rpx); + /* #ifdef MP-ALIPAY */ + padding-left: 60rpx; + /* #endif */ } .search-content-fixed-content { diff --git a/pages/index/index.vue b/pages/index/index.vue index ecd3fa1b..bc4f3f05 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -510,6 +510,9 @@ // #ifdef MP width += 220; // #endif + // #ifdef MP-ALIPAY + width += 50; + // #endif upd_data['top_content_search_style'] = 'width: calc(100% - ' + width + 'rpx);'; // 设置数据 this.setData(upd_data);