Skip to content
/ sku Public

商品SKU模块基础layui前端框架,为了方便PHP后端人员而开发。

Notifications You must be signed in to change notification settings

yinxu46/sku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

sku

商品SKU模块基础layui前端框架,为了方便PHP后端人员而开发。

使用方法:

var SKU = sku.init({ id:'sku', item: item, data:data });

参数说明:

item = [{"id":1,"name":"颜色","sub":[{"id":1,"name":"黑"},{"id":2,"name":"白"},{"id":3,"name":"蓝"}]},{"id":2,"name":"尺寸","sub":[{"id":4,"name":"S"},{"id":5,"name":"M"},{"id":6,"name":"L"}]}];

data = [{"ids":[{"1":"1"},{"2":"4"}],"price":0,"stock":0,"sku":0}];

企业网站:https://www.1000duo.cn

About

商品SKU模块基础layui前端框架,为了方便PHP后端人员而开发。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published