分享下载页、隐私协议、用户协议

chengziding 19dabb3b7f 扫宜格app的二维码直接跳转到点击右上角按钮,在浏览器中打开,即可下载安装(安卓和ios都需优化) il y a 6 mois
.hbuilderx 36ec06a9be 修改下载页安卓自动打开app il y a 1 an
api 29ee237c18 init il y a 1 an
common 41d6dfd56e 优化 il y a 11 mois
components 29ee237c18 init il y a 1 an
config 1083298416 引入微信jssdk、商品详情页协议唤起app il y a 11 mois
directives 29ee237c18 init il y a 1 an
json 317232e148 新增电话页面 il y a 1 an
pages 19dabb3b7f 扫宜格app的二维码直接跳转到点击右上角按钮,在浏览器中打开,即可下载安装(安卓和ios都需优化) il y a 6 mois
static b3d80a1758 提交 il y a 10 mois
store 29ee237c18 init il y a 1 an
utils 5620a511b8 提交 il y a 1 an
.gitignore c625ae53a6 init il y a 1 an
App.vue 1083298416 引入微信jssdk、商品详情页协议唤起app il y a 11 mois
README.md 29ee237c18 init il y a 1 an
main.js b8d66482cb 优化 il y a 11 mois
manifest.json 780b8e7c60 提交 il y a 10 mois
package-lock.json b8d66482cb 优化 il y a 11 mois
package.json b8d66482cb 优化 il y a 11 mois
pages.json 1083298416 引入微信jssdk、商品详情页协议唤起app il y a 11 mois
uni.scss b84137bcb1 提交 il y a 11 mois
vue.config.js 608f577e8b 修改下载页 il y a 1 an

README.md



Project Structure

项目大概结构

###api:项目中所有api(这块根据项目情况,大小进行细分)

basic.js:里面放一些公共api,字典项...
login.js:注册,登录,授权...,所用的api
product.js:所有商品相关联的api
userInfo.js:用户信息,设置,修改资料等。。。

###common:项目公共js,css文件

request:请求封装js
style:公共样式
graceChecker.js:表单验证js
html-parser.js:富文本转换
util.js:全局封装的常用的js方法

###components:组件 )公用

###config:全局配置文件

assets.config.js:静态图片配置文件
formRule.config.js :全局表单验证,配置规则以及提示
global.config.js:全局常量,url,apiurl,版本号等信息配置

###pages:页面文件

index:入口tabbar的文件目录
order:订单分包文件目录
product:产品分包文件目录
user:用户分包文件目录
public:公共复用的页面目录

###static:静态图片,icon (里面如果图片过多,可以细分目录)

delImg:布局时引用的产品,banner,avatar等 上线需要删除的图
uni.ttf:icon文件

###store:vuex文件

###pages:页面路由配置 ####如果当前板块页面功能不多的情况下,没有必要单独分包 分包规则:根据项目大小情况来定,有需要分包的,在package.json 里面subPackages数组添加路由在pages里面单独新建分包文件夹,