框架搭建/路由分配/基础组件引入

This commit is contained in:
Gregory
2024-04-12 13:55:40 +08:00
parent e5d1cd0de9
commit d1222bff52
583 changed files with 37100 additions and 87 deletions

View File

@@ -0,0 +1,51 @@
<template>
<div class="head">
<div class="target-select">
<span style="font-size: 14px;float: left;padding-top: 1%">角色列表</span>
</div>
<img class="add-btn" src="../../../img/btn/addRoleBtn.svg" @click="addRole">
</div>
</template>
<script>
export default {
name: 'Header',
props: [],
data() {
return {
role_name: ''
}
},
watch: {},
methods: {
// 新增
addRole() {
this.$emit('addRole')
}
}
}
</script>
<style lang="less" scoped>
.head{
width: 95%;
height: 7%;
margin-top: 1%;
margin-left: 2.5%;
text-align: right;
.target-select{
font-size: 10px;
float: left;
margin-top: 0.5%;
display: inline-block;
height: 60%;
width: 10%;
margin-left: 0.5%;
}
.add-btn {
height: 70%;
width: 10%;
color: #ffffff;
}
}
</style>