Commit 63f70f67 by maxiaohan

角色的静态页面 编辑

parent e400c5f6
...@@ -44,7 +44,9 @@ ...@@ -44,7 +44,9 @@
> >
{{ item.name }} {{ item.name }}
<!-- <div class="diy-edit-title">{{ item.name }}</div>--> <!-- <div class="diy-edit-title">{{ item.name }}</div>-->
<!-- <div class="diy-edit-btn"></div>--> <div class="diy-edit-btn">
<img class="img" :src="editurl" @click="editDiyRoleItem(index)" />
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -60,10 +62,10 @@ ...@@ -60,10 +62,10 @@
</div> </div>
<div class="save"> <div class="save">
<div class="btn" @click="save">保存</div> <div class="btn" @click="save">保存</div>
<el-button @click="add">add</el-button> <!-- <el-button @click="add">add</el-button>-->
<el-button @click="edit">edit</el-button> <!-- <el-button @click="edit">edit</el-button>-->
<el-button @click="del">del</el-button> <!-- <el-button @click="del">del</el-button>-->
<el-button @click="search">search</el-button> <!-- <el-button @click="search">search</el-button>-->
</div> </div>
</div> </div>
<div class="role-info"> <div class="role-info">
...@@ -207,6 +209,7 @@ export default { ...@@ -207,6 +209,7 @@ export default {
data() { data() {
return { return {
// 功能权限标志 数据权限标志 // 功能权限标志 数据权限标志
editurl: require("@/assets/img/edit.png"),
funFlag: false, funFlag: false,
dataFlag: false, dataFlag: false,
// 角色按钮 // 角色按钮
...@@ -428,6 +431,10 @@ export default { ...@@ -428,6 +431,10 @@ export default {
}); });
// this.diyRoleList[index].flag = true; // this.diyRoleList[index].flag = true;
}, },
// 编辑
editDiyRoleItem(id) {
console.info("编辑方法");
},
funAuth() { funAuth() {
this.funFlag = true; this.funFlag = true;
this.dataFlag = false; this.dataFlag = false;
......
...@@ -95,28 +95,34 @@ ...@@ -95,28 +95,34 @@
line-height: 40px; line-height: 40px;
margin-bottom: 10px; margin-bottom: 10px;
cursor: pointer; cursor: pointer;
overflow: hidden;
&.active{ &.active{
border: 1px solid #055FE7; border: 1px solid #055FE7;
color: #055FE7; color: #055FE7;
} }
//.diy-edit-title{ .diy-edit-title{
// //border: saddlebrown 1px solid; //border: saddlebrown 1px solid;
// height: 19px; height: 19px;
// font-size: 14px; font-size: 14px;
// color: #333333; color: #333333;
// line-height: 19px; line-height: 19px;
//} }
//.diy-edit-btn{ .diy-edit-btn{
// width: 28px; width: 40px;
// height: 20px; height: 30px;
// background: #DDEBFF; background: #DDEBFF;
// box-shadow: 0px 0px 4px 0px rgba(5, 95, 231, 0.3); box-shadow: 0px 0px 4px 0px rgba(5, 95, 231, 0.3);
// border-bottom-left-radius:250px; border-bottom-left-radius:250px;
// position: relative; position: relative;
// right: -55px; right: -55px;
// top: -3px; top: -3px;
//} .img{
width: 13px;
height: 14px;
margin-bottom:13px;
cursor: pointer;
}
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment