From b350757df151c04f22d040eac001cb479d4a4776 Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期一, 28 二月 2022 15:30:54 +0800
Subject: [PATCH] 添加form_rules_validators 使用例子注释

---
 src/pages/system/roleAdd.vue |   29 +++++++++++++++--------------
 1 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/src/pages/system/roleAdd.vue b/src/pages/system/roleAdd.vue
index c8486a5..a741300 100644
--- a/src/pages/system/roleAdd.vue
+++ b/src/pages/system/roleAdd.vue
@@ -1,8 +1,9 @@
 <template>
   <div class="app-container">
-    <el-form ref="roleAddForm" label-position="left" :model="mData" label-width="150px" :rules="rules">
+    <el-page-header class="mb20" @back="jumpBack" />
+    <el-form ref="roleAddForm" label-position="left" :model="mData" label-width="150px" :rules="rules" size="small">
       <el-form-item label="瑙掕壊鍚嶇О锛�" prop="name">
-        <el-input v-model="mData.name" placeholder="璇疯緭鍏ュ悕绉�" class="com-edit-input" />
+        <el-input v-model="mData.name" placeholder="璇疯緭鍏ュ悕绉�" maxlength="50" class="com-edit-input" />
       </el-form-item>
       <el-form-item label="鏄惁鍚敤锛�">
         <el-switch v-model="mData.isUse" :active-value="1" :inactive-value="0" />
@@ -196,23 +197,23 @@
       box-sizing: content-box;
     }
 
-    &:hover{
-      .name {
-        background: #999;
-      }
-      .el-icon-check{
-        color: #999;
-      }
-    }
+    // &:hover{
+    //   .name {
+    //     background: #999;
+    //   }
+    //   .el-icon-check{
+    //     color: #999;
+    //   }
+    // }
   }
   .active, .active:hover{
     .name{
-      // background: $blue;
-      background: #999;
+      background: #409EFF;
+      // background: #999;
     }
     .el-icon-check{
-      // color: $blue;
-      color: #999;
+      background: #409EFF;
+      // background: #999;
     }
   }
 }

--
Gitblit v1.8.0