共计 568 个字符,预计需要花费 2 分钟才能阅读完成。
介绍
一款基于 UNIAPP 开发的手机壳 DIY 小程序(前端示例代码),兼容抖音和微信小程序,在线案例:
Github:https://github.com/friend-nicen/DIY
Gitee:https://gitee.com/friend-nicen/DIY
扫码体验
使用方法
- 下载 HBuilderX,导入项目
- 修改
manifest.json
中的appid
为你的小程序的appid
- 安装依赖 “
npm i -D
“ - 运行到微信或抖音小程序(无后端代码,需要模拟接口)
项目结构
├─.hbuilderx // HBuilderX 配置文件
├─assets // 静态资源
│ ├─css
│ └─image
├─common // 公共方法
│ ├─canvas
│ └─util
├─components // 自定义组件
│ └─driver
├─pages // 页面
│ ├─creative
│ ├─custom-goods
│ ├─index
│ │ ├─addText
│ │ ├─Footer
│ │ ├─Headers
│ │ └─sidebar
│ ├─list
│ ├─make
│ ├─models
│ ├─show
│ └─user
├─service // 接口
├─sotre // 全局状态
├─static // 静态资源
│ └─tabbar
└─uni_modules // uni-app 组件
合作咨询
微信:good7341,备注:DIY 小程序
正文完