weight属性用法详解