Giter Club home page Giter Club logo

butterfly's People

Contributors

czy88840616 avatar daxingplay avatar defteam avatar dev2geek avatar dxq613 avatar flyinhigh avatar fool2fish avatar huxiaoqi567 avatar lifesinger avatar lizzie avatar maxbbn avatar minghe avatar myhere avatar paulguo avatar satans17 avatar shepherdwind avatar sirzxj avatar tinymoo avatar wondger avatar yiminghe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

butterfly's Issues

v1.3.1ImageUploader规划

  • 完善文档
  • 接口文档改用YUIdoc生成
  • 使用grunt打包
  • 修正bug
  • 增加一个单图片上传主题
  • 整理主图设置插件
  • 优化图片上传主题
  • 重构二手主题

【ImageUploader】主题bug

月下独酌同学反馈:max设置为1的时候,firebug会报一个错,这是什么原因呢,我用这个来上传头像,希望一个一个上传,错误提示是 TypeError: i.parent("li") is null

max判断问题

larro同学反映:,是第max张图片上传出现那个js错误,max=1的话就一张也上传不了,max=3的话,前面两站没问题,后面第3张出现错误

cocoon设计

借鉴mvvm模式**,实现表单视图和表单数据的双向同步更新

cocoon的作用

cocoon

可以借鉴的现有的库

cocoon遇到的问题

  • 如何处理表单中组的数据?
  • 如何应对表单多样化的场景?
  • 是否需要像mvvm库那样引入自定义标签?

snapshot设计

snapshot是表单书籍本地存储类,可以记忆用户在表单的输入,配合cocoon使用

spinbox使用反馈~~~~

对ie的支持好像不是很好~

  • 查看了下源码,发现第65行的代码 ,发现这里木有creat的元素span没有闭合标签,chrome下是没事的,但是在ie下面就会报错了,这个元 素是无法create的

$containerEl = $(D.create('<span class="'+ getCls.container + '">'))

  • 还有一处是内部的两个函数_eventOnValide和_eventOnValide都有用到字符串的trim方法,但是这个方法ie 浏览器好像也不原生支持的。

交互方面的

左右的增减按钮的样式最好能够随着交互的状态而变动(这个是我这边日常上的需求)显示出三种状态:normal,hover,disabled,见下图

img

数字增减器,好像仅仅是金额

源码中会有 toFixed(2),每次竖直都有两位小数,这个组件不仅仅可以用于金额方面,比如说detail那边的购买宝贝个数,就是整数吖,所以,让用户自己去做主吧~

radio

  • 图标细节优化
  • css文件改成用less

【Auth】需求

  • 分组校验
  • ajax异步校验
  • 单独关闭某一表单的校验

IE是使用flash上传还是iframe上传?纠结

IE下为了保证体验一致,是使用flash上传,flash上传第三方开发者处理起来有增加了如下成本:需要有个crossdomain.xml,而现在又遇到国产浏览器在线上环境cookies丢失的问题,见于360和搜狗。第三方开发者成本很高。如果切成iframe,用户体验变差,同时有时会遇到跨域问题。

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.