# 推荐版本 node v14.16.0 pnpm 7.33.6 ## 跑起来 安装依赖 pnpm i 运行 pnpm run serve ### 微信小程序打包认证 1.安装依赖后执行命令 pnpm run dev:mp-weixin 2.打开微信小程序开发软件 导入dist目录下dev目录下的mp-weixin编译运行 注:mp-weixin下必须有node-module文件 若无 运行pnpm run build:mp-weixin pnpm run build #### 命令行提交代码步骤 git add . git commit -m "XXXX" //XXXX是备注修改的内容 git push ##### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ### 地址 http://apidoc.chelvc.com/admin/ http://apidoc.chelvc.com/ wangzhongqing 564342 http://gogs.chelvc.com/ git https://js.design/ti?c=fMpU7uE9B48CA8a/ // ui图 { id:xxx, // 商家id goodsid:[xxx,xxx] // 商品id } { id:xxx, // 商家id goodsid:[xxx,xxx] // 商品id } 购物车修改 二维码添加 优惠卷跳转 ### 结构 ```javascript | |----pages(主包) | | |----login(登录) | | | |----login(微信登陆) | | | |----phoneLogin(手机号登录) | | |----tabbar(底部导航栏) | | | |----home(首页) | | | |----community(社区) | | | |----promotionCode(推广) | | | |----message(消息) | | | |----mine(我的) | | |----webview(外部链接) | | | |----index(隐私等) | |----pagesHome(首页分包-->二级页面) | | |----home(热门&附近商家更多列表) | | | |----nearbyBusiness(附近商家) | | | |----popularRecommend(热门推荐) | | |----marketer(商家商品) | | | |----index(商家详情) | | | |----productDetail(商品详情) | | | |----settleOrder(确认订单) | | | |----settleStatus(支付状态) | |----pagesCustomer(社区分包-->二级页面) | | | |----communityPostReview(发布评论) | |----pagesMessage(消息分包-->二级页面) | | | |----orderNotify(订单通知) | | | |----commentNotify(评论通知) | | | |----kudosNotify(点赞通知) | | | |----benefitsNotify(优惠福利) | |----PageMine(我的分包-->二级页面) | | | |----orderModules(我的订单) | | | | |----index(我的订单) | | | | |----orderDetail(订单详情) | | | | |----orderComment(订单评论) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ```