在排除了 层级问题导致样式不显示的情况下  设置

input[type='file']{
cursor: pointer;
font-size: 0;
}

  就可以正常显示