在ThingJS的项目中,如果需要更改鼠标滑入对象的要显示的光标的类型,可以通过以下方式进行修改 
- // 3d对象添加鼠标变小手样式 
 
 - app.query('.Thing').on('mouseenter', function (ev) {
 
 -    document.getElementsByTagName('html')[0].style.cursor = 'pointer';
 
 - });
 
 - // 还原样式
 
 - app.query('.Thing').on('mouseleave', function (ev) {
 
 -    document.getElementsByTagName('html')[0].style.cursor = 'default';
 
 - });
 
  复制代码 
 
 |   
 
 
 
 | 
| 
 | 
| 
 | 
| 
 | 
 |