Skip to content

同项目运行到模拟器正常,打包发行后icon图标消失 #5411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Airmole opened this issue Apr 25, 2025 · 2 comments
Open

同项目运行到模拟器正常,打包发行后icon图标消失 #5411

Airmole opened this issue Apr 25, 2025 · 2 comments
Assignees

Comments

@Airmole
Copy link

Airmole commented Apr 25, 2025

发行方式

小程序

具体平台

小米HyperOS 2.0.4.0(Android 15),QQ小程序(QQ v9.1.65.24798)

开发环境

macOS

项目创建方式

HBuilderX

依赖版本

HBuilderX 4.57

问题描述

项目运行调试到QQ小程序一切正常,但打包发行后运行未能渲染显示出顶部导航栏的返回icon“<”,模拟器、真机均可复现此问题。

Image

运行或打包发行H5、微信小程序端则都正常。

重现步骤

  1. 下载导入项目https://github.com/Airmole/ShellBox-uniapp到HBuilderX;
  2. 点击HBuilderX菜单“运行”——>“运行到小程序模拟器”——>"QQ开发者工具";
  3. 在QQ开发者工具中编译运行,点击“馆藏图书检索”输入框跳转进入应用的“馆藏图书检索”功能页面,此时我们可以看到应用界面左上角返回按钮图标正常显示"<"
  4. 关闭QQ开发者工具,在HBuilderX中点击菜单“发行”——>“小程序-QQ(仅适用于uni-app)”——>"发行";
  5. 待打包发行完成,在QQ开发者工具中再次打开运行,查看应用效果,再次回到应用的“馆藏图书检索”功能页面;
  6. 可以看到问题复现,左上角返回按钮的icon图标"<"未渲染显示出;
    运行效果对比

QQ小程序发行若需要AppID可使用1109608669

期望行为

HBuilderX中点击菜单“发行”——>“小程序-QQ(仅适用于uni-app)”——>"发行",待打包发行完成后运行QQ小程序项目能够正常渲染出顶部导航栏返回按钮icon图标

2361745549252_.pic.jpg

实际行为

实际上打包发行完成后运行QQ小程序项目未能正常渲染出顶部导航栏返回按钮icon图标

2371745549252_.pic.jpg

截图或录屏

Image

@GRCmade
Copy link
Collaborator

GRCmade commented Apr 25, 2025

你这是使用的 原生的导航栏还是自定义的?

@GRCmade GRCmade self-assigned this Apr 25, 2025
@Airmole
Copy link
Author

Airmole commented Apr 25, 2025

你这是使用的 原生的导航栏还是自定义的?

自定义导航栏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants