5 Star 19 Fork 6

hackchen / gdshop-uniapp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.77 KB
一键复制 编辑 原始数据 按行查看 历史

gdshop 商城 uniapp 版

基于uviewUI 1.x 开发的商城

包含基本商城所需的界面,后面会继续完善

用到的组件

  1. uviewUI做基础UI框架
  2. uni-simple-router 做路由管理
  3. uni-read-pages 自动构建路由表
  4. luch-request 做请求管理
  5. vk-u-goods-sku-popup 商品详情SKU弹窗
  6. zhouWei-navBar 自定义头部
  7. HM-filterDropdown 下来筛选组件

适配测试

  1. H5
  2. 微信小程序

目录结构

├─apis // API统一管理目录
│  └─modules // API模块目录
├─components // 自己开发的组件
├─node_modules // node依赖包
├─pages // 页面目录
│  ├─article
│  ├─cart
│  ├─center
│  ├─classify
│  ├─coupon
│  ├─goods
│  ├─index
│  ├─member
│  ├─order
│  └─vuex_test
├─plugins // 外部引用的插件
│  ├─luch-request
│  ├─uni-number-box
│  ├─uview-ui 
│  ├─vk-u-goods-sku-popup
│  ├─vk-u-number-box
│  └─zhouWei-navBar
├─router // 路由统一管理目录
├─static // 静态资源目录,除非必要墙裂建议放到外部加载
│  ├─css // 存放样式
│  ├─icon // 存放图标
│  └─images // 存放图片
│      └─tabber
├─store // vuex 目录
│  └─modules // vuex 模块
└─utils // 自己写的工具方法
    └─modules // 工具方法模块

安装使用

  1. 下载、解压
  2. 在项目根目录运行 npm install ,安装node依赖包
  3. 使用 HBuilderX 打开即可运行

预览图

01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16

交流QQ群

QQ群:822176616

QQ群:822176616

感谢

  1. uniapp
  2. uviewUI
  3. uni-simple-router
  4. uni-read-pages
  5. luch-request
  6. vk-u-goods-sku-popup
  7. zhouWei-navBar
  8. HM-filterDropdown
1
https://gitee.com/hackchen/gdshop-uniapp.git
git@gitee.com:hackchen/gdshop-uniapp.git
hackchen
gdshop-uniapp
gdshop-uniapp
master

搜索帮助