code: function getAttributeSet (attributes) {
    let attrs = {}
    Array.prototype.slice.apply(attributes).forEach(function (attr) {
      attrs[attr.name] = attr.value
    })
    return attrs
  }
docs: 从mip-img属性列表里获取属性
  
  @param {Object} attributes 参考: https://dom.spec.whatwg.org/#interface-namednodemap
  @return {Object} 属性列表JSON
  @example
  {
  "src": "http://xx.jpeg"
  "width": "720"
  }