@@ -980,7 +980,7 @@ textarea:-ms-input-placeholder {
}
// 覆盖element-ui的默认样式
-.el-message--success, .el-message--warning, .el-message--error {
+.el-message--success, .el-message--info, .el-message--warning, .el-message--error {
background: #FFFFFF;
box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
border-radius: 2px;
@@ -47,34 +47,34 @@ Vue.prototype.$MARERIALSTR = MARERIALSTR;
Vue.prototype.$STRSTATUS = STRSTATUS;
Vue.prototype.$msg = (data)=>{
return Message({
- offset:100,
+ offset: 85,
...data
});
Vue.prototype.$msg.success = (string)=>{
return Message.success({
message: string,
duration: 1000
Vue.prototype.$msg.warning = (string)=>{
return Message.warning({
Vue.prototype.$msg.message = (string)=>{
return Message.info({
Vue.prototype.$msg.error = (string)=>{
return Message.error({