Giter Club home page Giter Club logo

hqskudemo's Introduction

HQSkuDemo

商品详情页属性选择SKU算法

image

本人在真正的开发项目的过程中亲身经历,刚开始产品希望做到和淘宝一样的属性选择效果,由于我也是第一次做这块的业务,真正开发这个功能的时候才感受到此功能并没有想象的那么容易。陆陆续续,前后台差不多两个月时间,才优化到现在这样的效果吧。

这个功能好多电商类的App都有,可是本人搜变了整个百度以及github,都没有找到我想要的效果的demo。百度上介绍的大多是H5页面使用JavaScript实现的方法,以及有介绍过后台数应该返回的json格式,始终没有找到相关的代码。github上有类似的功能,但是好多数据都是写死的,而且属性扩展度不是很高,好多都是在10个属性之内,本人和我的团队经过两个月的不懈努力,终于将所有的功能实现。

本着开源的精神我将次功能分享出来,希望后来之人可以少走弯路。

如果我的demo满足的您的需求,大神,请给我Star

hqskudemo's People

Contributors

yanhaiqiang avatar

Watchers

James Cloos avatar myStar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.