mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
update loading
This commit is contained in:
@@ -32,20 +32,21 @@ exports.install = Vue => {
|
||||
el.maskStyle = {
|
||||
position: 'absolute',
|
||||
zIndex: '10000',
|
||||
backgroundColor: 'rgba(0, 0, 0, .7)',
|
||||
backgroundColor: 'rgba(0, 0, 0, .65)',
|
||||
margin: '0'
|
||||
};
|
||||
|
||||
el.spinner = document.createElement('i');
|
||||
el.spinner.className = 'el-icon-loading';
|
||||
el.spinner = document.createElement('img');
|
||||
el.spinner.src = require('./loading-bubbles.svg');
|
||||
el.spinnerStyle = {
|
||||
color: '#ddd',
|
||||
fontSize: '32px',
|
||||
height: '60px',
|
||||
width: '60px',
|
||||
position: 'absolute',
|
||||
top: '50%',
|
||||
left: '50%',
|
||||
marginTop: '-19px',
|
||||
marginLeft: '-16px',
|
||||
marginTop: '-30px',
|
||||
marginLeft: '-30px',
|
||||
zIndex: '10001'
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user