我是按照下面链接做的 https://www.jianshu.com/p/304c665478b8 https://biigpongsatorn.github.io/#/vue-element-loading 效果图如下: