|
@@ -4,78 +4,41 @@
|
|
<div class="communal-title">
|
|
<div class="communal-title">
|
|
<div>员工列表</div>
|
|
<div>员工列表</div>
|
|
<div class="communal-box">
|
|
<div class="communal-box">
|
|
- <el-input
|
|
|
|
- @input="Inquireclick()"
|
|
|
|
- placeholder="请输入内容"
|
|
|
|
- v-model="input"
|
|
|
|
- clearable>
|
|
|
|
|
|
+ <el-input @input="Inquireclick()" placeholder="请输入内容" v-model="input" clearable>
|
|
</el-input>
|
|
</el-input>
|
|
<el-button @click="Inquireclick()" type="primary"><i class="icon-sousuo"></i></el-button>
|
|
<el-button @click="Inquireclick()" type="primary"><i class="icon-sousuo"></i></el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<template>
|
|
<template>
|
|
- <el-table
|
|
|
|
- :data="tableDatas.slice((currentPage-1)*pageSize,currentPage*pageSize)"
|
|
|
|
- border
|
|
|
|
- style="width: 100%">
|
|
|
|
- <el-table-column
|
|
|
|
- prop="num"
|
|
|
|
- label="序 号"
|
|
|
|
- width="55">
|
|
|
|
|
|
+ <el-table :data="tableDatas.slice((currentPage - 1) * pageSize, currentPage * pageSize)" border
|
|
|
|
+ style="width: 100%">
|
|
|
|
+ <el-table-column prop="num" label="序 号" width="55">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- {{(currentPage - 1) * pageSize + scope.$index + 1}}
|
|
|
|
|
|
+ {{ (currentPage - 1) * pageSize + scope.$index + 1 }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- prop="number"
|
|
|
|
- width="100"
|
|
|
|
- label="员工号">
|
|
|
|
|
|
+ <el-table-column prop="number" width="100" label="员工号">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- width="100"
|
|
|
|
- prop="cnName"
|
|
|
|
- label="姓 名">
|
|
|
|
|
|
+ <el-table-column width="100" prop="cnName" label="姓 名">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- prop="companyName"
|
|
|
|
- label="分属公司"
|
|
|
|
- width="220">
|
|
|
|
|
|
+ <el-table-column prop="companyName" label="分属公司" width="220">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- prop="jobName"
|
|
|
|
- label="职 位"
|
|
|
|
- width="200">
|
|
|
|
|
|
+ <el-table-column prop="jobName" label="职 位" width="200">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- prop="ext"
|
|
|
|
- label="分机号"
|
|
|
|
- width="100">
|
|
|
|
|
|
+ <el-table-column prop="ext" label="分机号" width="100">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- prop="phone"
|
|
|
|
- label="手机号"
|
|
|
|
- width="200">
|
|
|
|
|
|
+ <el-table-column prop="phone" label="手机号" width="200">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- prop="urgentPhone"
|
|
|
|
- label="紧急联络电话"
|
|
|
|
- width="200">
|
|
|
|
|
|
+ <el-table-column prop="urgentPhone" label="紧急联络电话" width="200">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- prop="email"
|
|
|
|
- label="电子邮箱">
|
|
|
|
|
|
+ <el-table-column prop="email" label="电子邮箱">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</template>
|
|
</template>
|
|
<div class="block">
|
|
<div class="block">
|
|
- <el-pagination align='center'
|
|
|
|
- @size-change="handleSizeChange"
|
|
|
|
- @current-change="handleCurrentChange"
|
|
|
|
- :current-page="currentPage"
|
|
|
|
- :page-sizes="[10,15,20]"
|
|
|
|
- :page-size="pageSize"
|
|
|
|
- layout="total, sizes, prev, pager, next"
|
|
|
|
- :total="tableDatas.length">
|
|
|
|
|
|
+ <el-pagination align='center' @size-change="handleSizeChange" @current-change="handleCurrentChange"
|
|
|
|
+ :current-page="currentPage" :page-sizes="[10, 15, 20]" :page-size="pageSize"
|
|
|
|
+ layout="total, sizes, prev, pager, next" :total="tableDatas.length">
|
|
</el-pagination>
|
|
</el-pagination>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -86,137 +49,137 @@ import { co, el } from '@fullcalendar/core/internal-common';
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- tableDatas:[],
|
|
|
|
|
|
+ tableDatas: [],
|
|
tableData: [
|
|
tableData: [
|
|
{
|
|
{
|
|
- num:'1',
|
|
|
|
|
|
+ num: '1',
|
|
date: '2016-05-03',
|
|
date: '2016-05-03',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'2',
|
|
|
|
|
|
+ num: '2',
|
|
date: '2016-05-02',
|
|
date: '2016-05-02',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'3',
|
|
|
|
|
|
+ num: '3',
|
|
date: '2016-05-04',
|
|
date: '2016-05-04',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'4',
|
|
|
|
|
|
+ num: '4',
|
|
date: '2016-05-01',
|
|
date: '2016-05-01',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'5',
|
|
|
|
|
|
+ num: '5',
|
|
date: '2016-05-08',
|
|
date: '2016-05-08',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'6',
|
|
|
|
|
|
+ num: '6',
|
|
date: '2016-05-06',
|
|
date: '2016-05-06',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'7',
|
|
|
|
|
|
+ num: '7',
|
|
date: '2016-05-07',
|
|
date: '2016-05-07',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'8',
|
|
|
|
|
|
+ num: '8',
|
|
date: '2016-05-06',
|
|
date: '2016-05-06',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'9',
|
|
|
|
|
|
+ num: '9',
|
|
date: '2016-05-07',
|
|
date: '2016-05-07',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'10',
|
|
|
|
|
|
+ num: '10',
|
|
date: '2016-05-06',
|
|
date: '2016-05-06',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'11',
|
|
|
|
|
|
+ num: '11',
|
|
date: '2016-05-07',
|
|
date: '2016-05-07',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'12',
|
|
|
|
|
|
+ num: '12',
|
|
date: '2016-05-06',
|
|
date: '2016-05-06',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'13',
|
|
|
|
|
|
+ num: '13',
|
|
date: '2016-05-07',
|
|
date: '2016-05-07',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'14',
|
|
|
|
|
|
+ num: '14',
|
|
date: '2016-05-06',
|
|
date: '2016-05-06',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'15',
|
|
|
|
|
|
+ num: '15',
|
|
date: '2016-05-07',
|
|
date: '2016-05-07',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'16',
|
|
|
|
|
|
+ num: '16',
|
|
date: '2016-05-06',
|
|
date: '2016-05-06',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
- },
|
|
|
|
|
|
+ },
|
|
{
|
|
{
|
|
- num:'17',
|
|
|
|
|
|
+ num: '17',
|
|
date: '2016-05-07',
|
|
date: '2016-05-07',
|
|
name: '王小虎',
|
|
name: '王小虎',
|
|
- pnum:'15896358421',
|
|
|
|
|
|
+ pnum: '15896358421',
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
currentPage: 1, // 当前页码
|
|
currentPage: 1, // 当前页码
|
|
- pageSize: 15 ,// 每页的数据条数
|
|
|
|
- input:'',
|
|
|
|
- token:''
|
|
|
|
|
|
+ pageSize: 15,// 每页的数据条数
|
|
|
|
+ input: '',
|
|
|
|
+ token: ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- methods:{
|
|
|
|
- //每页条数改变时触发 选择一页显示多少行
|
|
|
|
- handleSizeChange(val) {
|
|
|
|
|
|
+ methods: {
|
|
|
|
+ //每页条数改变时触发 选择一页显示多少行
|
|
|
|
+ handleSizeChange(val) {
|
|
this.currentPage = 1;
|
|
this.currentPage = 1;
|
|
this.pageSize = val;
|
|
this.pageSize = val;
|
|
},
|
|
},
|
|
@@ -224,132 +187,135 @@ export default {
|
|
handleCurrentChange(val) {
|
|
handleCurrentChange(val) {
|
|
this.currentPage = val;
|
|
this.currentPage = val;
|
|
},
|
|
},
|
|
- Inquireclick(){
|
|
|
|
- var newarr=[];
|
|
|
|
- if(this.input==""){
|
|
|
|
- newarr=this.tableData;
|
|
|
|
- }else{
|
|
|
|
- for(var i=0;i<this.tableData.length;i++){
|
|
|
|
- if(this.tableData[i].number.indexOf(this.input)!=-1){
|
|
|
|
|
|
+ Inquireclick() {
|
|
|
|
+ var newarr = [];
|
|
|
|
+ if (this.input == "") {
|
|
|
|
+ newarr = this.tableData;
|
|
|
|
+ } else {
|
|
|
|
+ for (var i = 0; i < this.tableData.length; i++) {
|
|
|
|
+ if (this.tableData[i].number.indexOf(this.input) != -1) {
|
|
newarr.push(this.tableData[i]);
|
|
newarr.push(this.tableData[i]);
|
|
}
|
|
}
|
|
- else if(this.tableData[i].cnName.indexOf(this.input)!=-1){
|
|
|
|
|
|
+ else if (this.tableData[i].cnName.indexOf(this.input) != -1) {
|
|
newarr.push(this.tableData[i]);
|
|
newarr.push(this.tableData[i]);
|
|
}
|
|
}
|
|
- else if(this.tableData[i].jobName.indexOf(this.input)!=-1){
|
|
|
|
|
|
+ else if (this.tableData[i].jobName.indexOf(this.input) != -1) {
|
|
newarr.push(this.tableData[i]);
|
|
newarr.push(this.tableData[i]);
|
|
}
|
|
}
|
|
- else if(this.tableData[i].companyName.indexOf(this.input)!=-1){
|
|
|
|
|
|
+ else if (this.tableData[i].companyName.indexOf(this.input) != -1) {
|
|
newarr.push(this.tableData[i]);
|
|
newarr.push(this.tableData[i]);
|
|
}
|
|
}
|
|
- else if(this.tableData[i].ext.indexOf(this.input)!=-1){
|
|
|
|
|
|
+ else if (this.tableData[i].ext.indexOf(this.input) != -1) {
|
|
newarr.push(this.tableData[i]);
|
|
newarr.push(this.tableData[i]);
|
|
}
|
|
}
|
|
- else if(this.tableData[i].phone.indexOf(this.input)!=-1){
|
|
|
|
|
|
+ else if (this.tableData[i].phone.indexOf(this.input) != -1) {
|
|
newarr.push(this.tableData[i]);
|
|
newarr.push(this.tableData[i]);
|
|
}
|
|
}
|
|
- else if(this.tableData[i].urgentPhone.indexOf(this.input)!=-1){
|
|
|
|
|
|
+ else if (this.tableData[i].urgentPhone.indexOf(this.input) != -1) {
|
|
newarr.push(this.tableData[i]);
|
|
newarr.push(this.tableData[i]);
|
|
}
|
|
}
|
|
- else if(this.tableData[i].email.indexOf(this.input)!=-1){
|
|
|
|
|
|
+ else if (this.tableData[i].email.indexOf(this.input) != -1) {
|
|
newarr.push(this.tableData[i]);
|
|
newarr.push(this.tableData[i]);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- this.tableDatas=newarr;
|
|
|
|
|
|
+ this.tableDatas = newarr;
|
|
},
|
|
},
|
|
- Getemployees(){
|
|
|
|
- var url="/api/System/GetUserList"
|
|
|
|
- var that=this
|
|
|
|
|
|
+ Getemployees() {
|
|
|
|
+ var url = "/api/System/GetUserList"
|
|
|
|
+ var that = this
|
|
this.$axios({
|
|
this.$axios({
|
|
method: 'post',
|
|
method: 'post',
|
|
- url:url,
|
|
|
|
- headers:{
|
|
|
|
- Authorization:'Bearer '+this.token
|
|
|
|
|
|
+ url: url,
|
|
|
|
+ headers: {
|
|
|
|
+ Authorization: 'Bearer ' + this.token
|
|
},
|
|
},
|
|
- data:{
|
|
|
|
|
|
+ data: {
|
|
portType: 1,
|
|
portType: 1,
|
|
}
|
|
}
|
|
- }).then(function(res){
|
|
|
|
|
|
+ }).then(function (res) {
|
|
console.log(res)
|
|
console.log(res)
|
|
- if(res.data.code==200){
|
|
|
|
- that.tableData=res.data.data
|
|
|
|
- that.tableData.forEach(item=>{
|
|
|
|
- if(item.cnName==null){
|
|
|
|
|
|
+ if (res.data.code == 200) {
|
|
|
|
+ that.tableData = res.data.data
|
|
|
|
+ that.tableData.forEach(item => {
|
|
|
|
+ if (item.cnName == null) {
|
|
item.cnName = ''
|
|
item.cnName = ''
|
|
- }
|
|
|
|
- if(item.companyId==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.companyId == null) {
|
|
item.companyId = ''
|
|
item.companyId = ''
|
|
- }
|
|
|
|
- if(item.companyName==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.companyName == null) {
|
|
item.companyName = ''
|
|
item.companyName = ''
|
|
- }
|
|
|
|
- if(item.depId==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.depId == null) {
|
|
item.depId = ''
|
|
item.depId = ''
|
|
- }
|
|
|
|
- if(item.depName==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.depName == null) {
|
|
item.depName = ''
|
|
item.depName = ''
|
|
- }
|
|
|
|
- if(item.email==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.email == null) {
|
|
item.email = ''
|
|
item.email = ''
|
|
- }
|
|
|
|
- if(item.ext==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.ext == null) {
|
|
item.ext = ''
|
|
item.ext = ''
|
|
- }
|
|
|
|
- if(item.id==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.id == null) {
|
|
item.id = ''
|
|
item.id = ''
|
|
- }
|
|
|
|
- if(item.jobName==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.jobName == null) {
|
|
item.jobName = ''
|
|
item.jobName = ''
|
|
- }
|
|
|
|
- if(item.jobPostId==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.jobPostId == null) {
|
|
item.jobPostId = ''
|
|
item.jobPostId = ''
|
|
- }
|
|
|
|
- if(item.number==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.number == null) {
|
|
item.number = ''
|
|
item.number = ''
|
|
- }
|
|
|
|
- if(item.phone==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.phone == null) {
|
|
item.phone = ''
|
|
item.phone = ''
|
|
- }
|
|
|
|
- if(item.urgentPhone==null){
|
|
|
|
|
|
+ }
|
|
|
|
+ if (item.urgentPhone == null) {
|
|
item.urgentPhone = ''
|
|
item.urgentPhone = ''
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- that.tableDatas=that.tableData;
|
|
|
|
|
|
+ that.tableDatas = that.tableData;
|
|
console.log(that.tableDatas)
|
|
console.log(that.tableDatas)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- mounted(){
|
|
|
|
- this.token=JSON.parse(localStorage.getItem('userinif')).token;
|
|
|
|
|
|
+ mounted() {
|
|
|
|
+ this.token = JSON.parse(localStorage.getItem('userinif')).token;
|
|
console.log(this.token)
|
|
console.log(this.token)
|
|
this.Getemployees();
|
|
this.Getemployees();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style>
|
|
<style>
|
|
- .communal-list{
|
|
|
|
- background-color: #fff;
|
|
|
|
- padding: 10px;
|
|
|
|
- box-shadow: 0 0 5px #0005;
|
|
|
|
- border-radius: 10px;
|
|
|
|
- }
|
|
|
|
- .communal-title{
|
|
|
|
- display: flex;
|
|
|
|
- font-size: 17px;
|
|
|
|
- font-weight:600 ;
|
|
|
|
- color: #555;
|
|
|
|
- margin-top: 8px;
|
|
|
|
- margin-bottom: 2px;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- align-items: center;
|
|
|
|
- }
|
|
|
|
- .communal-box{
|
|
|
|
- display: flex;
|
|
|
|
- }
|
|
|
|
- .communal-box>button{
|
|
|
|
- margin-left: 10px;
|
|
|
|
- padding: 8px 20px;
|
|
|
|
- }
|
|
|
|
|
|
+.communal-list {
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ padding: 10px;
|
|
|
|
+ box-shadow: 0 0 5px #0005;
|
|
|
|
+ border-radius: 10px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.communal-title {
|
|
|
|
+ display: flex;
|
|
|
|
+ font-size: 17px;
|
|
|
|
+ font-weight: 600;
|
|
|
|
+ color: #555;
|
|
|
|
+ margin-top: 8px;
|
|
|
|
+ margin-bottom: 2px;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ align-items: center;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.communal-box {
|
|
|
|
+ display: flex;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.communal-box>button {
|
|
|
|
+ margin-left: 10px;
|
|
|
|
+ padding: 8px 20px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|