فهرست منبع

警告弹窗样式调整

zhanglb 4 سال پیش
والد
کامیت
2f0dfd6702
2فایلهای تغییر یافته به همراه51 افزوده شده و 1 حذف شده
  1. 50 0
      front-vue/src/assets/styles/huyi.scss
  2. 1 1
      front-vue/src/views/service/rel/companyRel.vue

+ 50 - 0
front-vue/src/assets/styles/huyi.scss

@@ -315,3 +315,53 @@
 .el-dialog__body {
   padding: 0;
 }
+
+// 警告框
+.el-message-box{
+  width: 610px;
+  height: 211px;
+  box-shadow: none;
+  border: none;
+}
+.el-message-box__header{
+  padding: 13px 20px;
+  background-color: #4280F2;
+}
+.el-message-box__headerbtn .el-message-box__close,
+.el-message-box__title{
+  line-height: 22px;
+  font-size: 16px;
+  color: #ffffff;
+}
+.el-message-box__status.el-icon-warning{
+  font-size: 16px !important;
+  color: #ed5565;
+}
+.el-message-box__status + .el-message-box__message{
+  padding-left: 24px;
+}
+.el-message-box__content{
+  display: flex;
+  align-items: center;
+  padding: 0 76px;
+  height: 108px;
+}
+.el-message-box__btns{
+  display: flex;
+  flex-direction: row-reverse;
+  justify-content: center;
+  text-align: center;
+  .el-button--small{
+    flex: 0 0 102px;
+    width: 102px;
+    height: 36px;
+    border-radius: 4px;
+    box-sizing: border-box;
+  }
+}
+.el-message-box__btns button:nth-child(1){
+  margin-left: 32px;
+}
+.el-message-box__btns button:nth-child(2){
+  margin-left: 0;
+}

+ 1 - 1
front-vue/src/views/service/rel/companyRel.vue

@@ -592,7 +592,7 @@ export default {
     components: {
         ColumnSetting,
         SearchBar,
-        UploadImport
+        UploadImport,
     },
     data() {
         return {