2024-01-15 10:14:48 +08:00
2024-01-15 09:58:46 +08:00
2024-01-15 09:58:46 +08:00
2024-01-12 11:16:49 +08:00
2024-01-03 10:55:45 +08:00
2023-12-21 15:27:12 +08:00
2023-12-21 16:08:47 +08:00
2024-01-10 15:35:19 +08:00
2024-01-03 11:17:16 +08:00
2024-01-09 16:44:54 +08:00
2024-01-10 20:47:19 +08:00
2024-01-12 15:24:28 +08:00

vue3-uniapp-template

特性

业务功能 TODO LIST

  • 页面下拉刷新
  • 导航栏返回or去首页
  • 导航栏渐变(微信+h5)
  • 自定义导航栏顶部机型适配
  • 微信小程序分享(好友+朋友圈)
  • 微信登录
  • 仿BOSS直聘-个人中心
  • 仿华为商城-个人中心
  • 页面悬浮球(floating bubble)
  • 多tab列表功能
  • 抽奖-九宫格抽奖
  • 抽奖-大转盘抽奖(按钮转动)
  • 抽奖-大转盘抽奖(盘子转动)
  • 仿网易云音乐APP独立项目

环境

  • pnpm>=8.12
  • node>=18

拉取代码

  • git 拉取

    • githubgit clone https://github.com/fly-vue3-templates/vue3-uniapp-template fly-uniapp

    • giteegit clone https://gitee.com/fly-vue3-templates/vue3-uniapp-template.git fly-uniapp

  • degit 拉取不包含git需要自己git init

    • npx degit https://github.com/fly-vue3-templates/vue3-uniapp-template fly-uniapp

    • npx degit https://gitee.com/fly-vue3-templates/vue3-uniapp-template fly-uniapp

  • github template Github template

运行

  • web平台 pnpm dev:h5, 然后打开 http://localhost:9000/
  • weixin平台pnpm dev:mp-weixin 然后打开微信开发者工具,导入本地文件夹,选择本项目的dist/dev/mp-weixin 文件。

发布

  • web平台 pnpm build:h5,打包后的文件在 dist/build/h5可以放到web服务器如nginx运行。如果最终不是放在根目录可以在 vite.config.tsbase 属性进行配置。vite官网 vite.base
  • weixin平台pnpm build:h5, 打包后的文件在 dist/build/mp-weixin,然后通过微信开发者工具导入,并点击右上角的“上传”按钮进行上传。

最佳推荐

  • 无登录+无tabbar
  • 无登录+有tabbar
  • 有登录+无tabbar
  • 有登录+有tabbar

注意事项

暂不支持APP尝试过程见 README.issue.md 文件。

Description
unibest
Readme MIT 81 MiB
Languages
TypeScript 81.3%
Vue 12%
SCSS 2.5%
CSS 1.8%
JavaScript 1.6%
Other 0.8%