src/components/elalert.vue
@@ -65,23 +65,8 @@ </script> <style scoped lang="less"> /* @import url(); 引入css类 */ /deep/.el-alert{ width: 70%!important; height: 1rem!important; position: absolute!important; top: 0!important; bottom: 0!important; left: 0!important; right: 0!important; margin: auto!important; font-size: 0.3rem!important; } /deep/.el-alert__title{ font-size: 0.3rem!important; } /deep/.el-icon-close::before{ display: none; } .tit { width: 1rem; height: 1rem;