redengineer / redmini

小红书小程序
17 stars 4 forks source link

自定义头部安卓和IOS展示不一致 #1086

Open heiyantutu opened 9 months ago

heiyantutu commented 9 months ago

Issue类型

bug

问题模块

小程序框架

所属的服务商

绿云

平台

Android

小红书版本信息

8.17.0

基础库版本

v3.76.1

用户ID

发生问题的时间

2023-12-20 14:29:28 至 2023-12-20 14:29:28

问题描述

小程序page页面JSON设置为navigationStyle为custom时候 iOS是全屏展示 安卓头部依旧存在 没有全屏展示

期望结果

安卓应该和IOS展示一致 铺满全屏

重现步骤和复现问题的最小demo Github链接

iQEdAqNqcGcDAQTNAlAFzQUABtoAI4QBpCEHPz8CqjcgRsSR6MLhyAQDzwAAAYyF41TABM4AT3JwBwAIAAoE jpg_720x720q90 6a7839aeba26b52f4114f71befec453 ```js { "navigationBarTitleText": "首页", "navigationStyle": "custom", "enablePullDownRefresh": true, "onReachBottomDistance": 50, "usingComponents": { "notice": "../../components/notice", "swiper-box": "../../components/swiperBox", "bottom-nav": "../../components/bottomNav", "tabs": "../../components/tabs", "product-group": "../../components/productGroup", "activity-group": "../../components/activityGroup", "hotel-list": "../../components/hotelList", "bottom-dialog": "../../components/bottomDialog", "back-to-top": "../../components/backToTop", "filter-fixed": "../../components/filterFixed", "radio-box": "../../components/radioBox", "destination-box": "../../components/destinationBox", "calendar": "../../components/calendar" } } ```

github-actions[bot] commented 9 months ago

您好开发者, 我们已收到你的问题, 已通知开发团队进行处理! 如您未阅读我们的开发文档,可先参阅开发文档 小红书问题处置流程 :sparkles: 感谢您的提问!:sparkles:

YaoPB commented 9 months ago

可在IDE中将window中navigationStyle的值设置为custom,参考https://miniapp.xiaohongshu.com/docs?path=/docs/frame/globalConfiguration 文档

image
heiyantutu commented 9 months ago

可在IDE中将window中navigationStyle的值设置为custom,参考https://miniapp.xiaohongshu.com/docs?path=/docs/frame/globalConfiguration 文档 image

这样全局都变成了自定义头部吧 但是我们这吧的需求是 对应页面自定义 需要和IOS的表现一致 也需要和现在主流的小程序展示一致