Giter Site home page Giter Site logo

cnmall's Introduction

cnmall

简介

这是一个模仿菜鸟商城写的Demo
修改了一些原版中不是很友好的代码
对一些素材进行重绘
对720P和1080P分辨率做了简单的适配(原版只支持1280*768)

截图

PNG

![home-png]
[home-png]:https://github.com/orage/cnmall/blob/master/screenshot/home.png "主页"

GIF

![home-gif]
[home-gif]:https://github.com/orage/cnmall/blob/master/screenshot/home.gif "主页"

目录结构

  • paysdk 支付sdk(ping++)
  • bdpaysdk 百度钱包sdk
  • app 主目录
  • activity 除MainActivity之外的所有Activity
  • adapter 所有Adapter
  • app Application
  • bean entity
  • consts 项目中使用的静态常量
  • fragment 所有Fragment
  • http okHttp的封装类和回调
  • msg 登录请求以及订单等安全请求 && 相应的状态码和加密的封装
  • provider 购物车的provider
  • utils 工具类
  • widget 自定义控件

一些问题

一些接口没有实现(譬如:我的收藏,下单时选择地址)
对其他分辨率没有适配(尤其是低分辨率的手机显示上会有影响)
标题栏当显示'back'按钮时标题没有居中的问题
项目首页搜索功能(模糊查询商品)没有实现
项目分类并非对应类目商品(这个是数据库写数据时没有对应)
项目一些String && dimen常量没有写在对应的String.xml && dimen.xml(写例子的时候图方便了)
项目使用的Fresco框架只做了简单的配置,低配置移动设备可能在图片加载时会引发GC
项目使用的短信sdk内容没做处理,当然这是个细节问题
项目使用的分享sdk内容没做处理,当然这也是个细节问题
项目使用的支付sdk只使用测试环境,因为考虑安全因素个人是没办法申请正式的key

已知Bug

1.我的订单有时列表滑动返回顶部卡顿(应该是使用了自定义布局的关系)
2.商品详情点击购买,订单图片的width && height小于购物车结算的订单图片
3.新建收货地址所使用的级联菜单显示后面部分的区/县FC(应该是控件本身的问题,ArrayList遍历时改变了list.size())
4.暂时只找到这些,欢迎补充(可能因为这个项目只作用于展示的用途,细节上没有去仔细雕琢,(`・ω・´) )

附件

项目所使用的 API 存放在度盘,提取码: uqe5
项目 APK 存放在度盘,提取码: kirg

cnmall's People

Contributors

orage avatar

Watchers

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