Giter VIP home page Giter VIP logo

market's Introduction

market

thoughtwork project

完成作业需求:

线上测试地址:http://www.duchangchun.com/market/

功能: 1、测试:在输入框中输入指定格式数据,输出购物小票结果; 2、看代码:直接跳转到github代码地址; 3、看商品:可以看到目前工程支持的所有商品列表,和分别享受满二赠一优惠和九五折优惠的商品,同时可以输入条形码添加优惠商品。请输入 商品列表中包含的二维码,目前没做数据验证。 4:改配置:添加商品功能,输出商品的各种信息,可以实现添加新的商品。

作业有个逻辑: 如果一个商品同时享受满二赠一和九五折优惠则只享受满二赠一优惠。 如果有一个商品同时享受两种优惠,但是客户只买了两件,如果只享受满二赠一最后就没有优惠,所以对于这样的,根据客户所想,应该在此时享受九五折优惠

market's People

Contributors

buaajoseph avatar

Watchers

James Cloos avatar  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.