Sen descrición

Burt 2d4a96cbe8 feat(vite): 微信本地开发也执行图片压缩,执行太慢了,改为生产才用 %!s(int64=2) %!d(string=hai) anos
.husky e9602040a5 build: husky + lint-staged + commitlint %!s(int64=2) %!d(string=hai) anos
.vscode a6435acf98 build(vscode): add recommend extensions %!s(int64=2) %!d(string=hai) anos
env 0600f6aeb0 build: 优化title配置 %!s(int64=2) %!d(string=hai) anos
screenshots eca4c9f7c0 feat: 大转盘抽奖 %!s(int64=2) %!d(string=hai) anos
src ad1207fb65 feat: 大转盘 - 未来的目标效果图 %!s(int64=2) %!d(string=hai) anos
.editorconfig 47c8ac2b5d build(prettier): add .prettierrc.js %!s(int64=2) %!d(string=hai) anos
.eslintrc.cjs 992df91a05 feat: 大转盘抽奖 %!s(int64=2) %!d(string=hai) anos
.gitignore a1f2bef5d1 build: 配置文件一点小优化 %!s(int64=2) %!d(string=hai) anos
.npmrc 11629b2c11 build(.npmrc): add .npmrc & pnpm i %!s(int64=2) %!d(string=hai) anos
.prettierrc.cjs c51e7181f8 chore: test file %!s(int64=2) %!d(string=hai) anos
.stylelintrc.cjs bf8d8f8e68 feat: 动态时钟 %!s(int64=2) %!d(string=hai) anos
LICENSE 91a50eb764 Create LICENSE %!s(int64=2) %!d(string=hai) anos
README.issue.md 6723c980b1 docs: issue %!s(int64=2) %!d(string=hai) anos
README.md 37604b93f8 docs: 整理抽奖转盘todolist %!s(int64=2) %!d(string=hai) anos
commitlint.config.cjs e9602040a5 build: husky + lint-staged + commitlint %!s(int64=2) %!d(string=hai) anos
index.html 0600f6aeb0 build: 优化title配置 %!s(int64=2) %!d(string=hai) anos
package.json cc067f3c89 Revert "build(vite): 先去掉vite-plugin-imagemin插件,有需要自行安装(部分用户安装失败)" %!s(int64=2) %!d(string=hai) anos
pages.config.ts 81c85b5e35 feat: 同时支持h5和weixin的导航栏渐变 %!s(int64=2) %!d(string=hai) anos
pnpm-lock.yaml cc067f3c89 Revert "build(vite): 先去掉vite-plugin-imagemin插件,有需要自行安装(部分用户安装失败)" %!s(int64=2) %!d(string=hai) anos
shims-uni.d.ts a1f2bef5d1 build: 配置文件一点小优化 %!s(int64=2) %!d(string=hai) anos
tsconfig.json a266441305 build(uni-helper): 引入 @uni-helper/uni-cloud-types 云开发类型 %!s(int64=2) %!d(string=hai) anos
uni-pages.d.ts c71d3b3053 feat: 图片压缩范例 %!s(int64=2) %!d(string=hai) anos
uno.config.ts 3c6321ad88 fix(unocss): 处理unocss在小程序中报错 %!s(int64=2) %!d(string=hai) anos
vite.config.ts 2d4a96cbe8 feat(vite): 微信本地开发也执行图片压缩,执行太慢了,改为生产才用 %!s(int64=2) %!d(string=hai) anos

README.issue.md

issue

app 打包成apk运行,页面空白

  • pnpm build:app
  • 注意,app运行完后不支持本地跑,就是说HBuildX打开生成的app文件夹也跑不了
  • 需要配置 manifest.json,有3个地方需要填,如下图 app打包
  • 然后打开HBuildX--发行--原生APP云打包,然后出现如下图,按图填写即可。 app打包
  • 打包成功如下图 app打包成功
  • 生成的apk路径 app打包成功路径
  • 运行报错如下图 apk运行报错
  • 官方链接:https://ask.dcloud.net.cn/article/35627
  • 安装历史版本的HBuildX: https://hx.dcloud.net.cn/Tutorial/HistoryVersion,然后在百度云盘里面下载,下载HBuildX3.8.12的(因为本地的cli对应的HBuildX版本为3.8.12)
  • 使用刚下载的旧版HBuildX云打包,一切顺利,但是最终打包的apk在手机安装后,运行出来的是白屏!(除了tabbar啥都么有,郁闷,PS:tabbar可以切换,但是都是空白页面) APP运行页面空白