首页,分类顶部搜索导航兼容支付宝返回按钮

master
gongfuxiang 2023-11-10 11:36:47 +08:00
parent 6ce18d89ee
commit 55009d4813
3 changed files with 9 additions and 2 deletions

View File

@ -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;

View File

@ -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 {

View File

@ -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);