我爱编程

H50-网易云毕设

2018-04-09  本文已影响0人  半斋

获取外链

HTML 结构

CSS 布局

模块化、MVC

EventHub

step 3

step 4

step 5

step 6

手机页面如何调试

  1. 使用alert
// 手机页面调试,定位错误代码
window.onerror = function(error, file, row){
  alert(error)
  alert(file)
  alert(row)
}
``
2. 重写console或者使用库(vconsole)


# API
- jQuery
  + [.find()](https://www.jquery123.com/find/)
  + [.empty()](https://www.jquery123.com/empty/)
  + [.val()](https://www.jquery123.com/val/)
  + [.text()](https://www.jquery123.com/text/)
  + [.attr()](https://www.jquery123.com/attr/)
- css
  + [pointer-events](https://developer.mozilla.org/zh-CN/docs/Web/CSS/pointer-events)
- dom
  + [Element.getBoundingClientRect()](https://developer.mozilla.org/zh-CN/docs/Web/API/Element/getBoundingClientRect)
上一篇 下一篇

猜你喜欢

热点阅读