|
@@ -214,7 +214,7 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
<template #header>
|
|
<template #header>
|
|
<div class="card-header">
|
|
<div class="card-header">
|
|
<span>
|
|
<span>
|
|
- <div class="personBg">
|
|
|
|
|
|
+ <div class="person-bg">
|
|
<el-icon :size="14">
|
|
<el-icon :size="14">
|
|
<UserFilled />
|
|
<UserFilled />
|
|
</el-icon>
|
|
</el-icon>
|
|
@@ -223,8 +223,8 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
- <div class="infoWrap">
|
|
|
|
- <div class="basicInfo">
|
|
|
|
|
|
+ <div class="info-wrap">
|
|
|
|
+ <div class="basic-info">
|
|
<el-avatar :size="80" />
|
|
<el-avatar :size="80" />
|
|
<div class="info">
|
|
<div class="info">
|
|
<h2>管理员</h2>
|
|
<h2>管理员</h2>
|
|
@@ -232,38 +232,38 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
<el-button type="primary" icon="CollectionTag" round>admin</el-button>
|
|
<el-button type="primary" icon="CollectionTag" round>admin</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="infoList">
|
|
|
|
- <div class="infoItem">
|
|
|
|
|
|
+ <div class="info-list">
|
|
|
|
+ <div class="info-item">
|
|
<el-icon :size="20">
|
|
<el-icon :size="20">
|
|
<Phone />
|
|
<Phone />
|
|
</el-icon>
|
|
</el-icon>
|
|
<span>18951655371</span>
|
|
<span>18951655371</span>
|
|
</div>
|
|
</div>
|
|
- <div class="infoItem">
|
|
|
|
|
|
+ <div class="info-item">
|
|
<el-icon :size="20">
|
|
<el-icon :size="20">
|
|
<Iphone />
|
|
<Iphone />
|
|
</el-icon>
|
|
</el-icon>
|
|
<span>025-83672322</span>
|
|
<span>025-83672322</span>
|
|
</div>
|
|
</div>
|
|
- <div class="infoItem">
|
|
|
|
|
|
+ <div class="info-item">
|
|
<el-icon :size="20">
|
|
<el-icon :size="20">
|
|
<Message />
|
|
<Message />
|
|
</el-icon>
|
|
</el-icon>
|
|
<span>117575171@qq.com</span>
|
|
<span>117575171@qq.com</span>
|
|
</div>
|
|
</div>
|
|
- <div class="infoItem">
|
|
|
|
|
|
+ <div class="info-item">
|
|
<el-icon :size="20">
|
|
<el-icon :size="20">
|
|
<Location />
|
|
<Location />
|
|
</el-icon>
|
|
</el-icon>
|
|
<span>方是科技</span>
|
|
<span>方是科技</span>
|
|
</div>
|
|
</div>
|
|
- <div class="infoItem">
|
|
|
|
|
|
+ <div class="info-item">
|
|
<el-icon :size="20">
|
|
<el-icon :size="20">
|
|
<OfficeBuilding />
|
|
<OfficeBuilding />
|
|
</el-icon>
|
|
</el-icon>
|
|
<span>行政部</span>
|
|
<span>行政部</span>
|
|
</div>
|
|
</div>
|
|
- <div class="infoItem">
|
|
|
|
|
|
+ <div class="info-item">
|
|
<el-icon :size="20">
|
|
<el-icon :size="20">
|
|
<Coin />
|
|
<Coin />
|
|
</el-icon>
|
|
</el-icon>
|
|
@@ -273,12 +273,12 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
</div>
|
|
</div>
|
|
</el-card>
|
|
</el-card>
|
|
</el-aside>
|
|
</el-aside>
|
|
- <el-main class="logMain">
|
|
|
|
|
|
+ <el-main class="logo-main">
|
|
<el-card class="box-card">
|
|
<el-card class="box-card">
|
|
<template #header>
|
|
<template #header>
|
|
<div class="card-header">
|
|
<div class="card-header">
|
|
<span>
|
|
<span>
|
|
- <div class="personBg">
|
|
|
|
|
|
+ <div class="person-bg">
|
|
<el-icon :size="14">
|
|
<el-icon :size="14">
|
|
<EditPen />
|
|
<EditPen />
|
|
</el-icon>
|
|
</el-icon>
|
|
@@ -298,7 +298,7 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
:create="create"
|
|
:create="create"
|
|
>
|
|
>
|
|
</pro-form>
|
|
</pro-form>
|
|
- <div class="btnLabel">
|
|
|
|
|
|
+ <div class="btn-label">
|
|
<el-button type="primary" @click="handleSave">保存</el-button>
|
|
<el-button type="primary" @click="handleSave">保存</el-button>
|
|
</div>
|
|
</div>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
@@ -313,7 +313,7 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
<el-tab-pane label="联系方式" name="phone">
|
|
<el-tab-pane label="联系方式" name="phone">
|
|
<pro-form :formConfig="telConfig" :formData="formData" ref="telFormRef" :update="update" :create="create">
|
|
<pro-form :formConfig="telConfig" :formData="formData" ref="telFormRef" :update="update" :create="create">
|
|
</pro-form>
|
|
</pro-form>
|
|
- <div class="btnLabel">
|
|
|
|
|
|
+ <div class="btn-label">
|
|
<el-button type="primary" @click="handleSave">保存</el-button>
|
|
<el-button type="primary" @click="handleSave">保存</el-button>
|
|
</div>
|
|
</div>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
@@ -326,11 +326,11 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
:create="create"
|
|
:create="create"
|
|
>
|
|
>
|
|
</pro-form>
|
|
</pro-form>
|
|
- <div class="btnLabel">
|
|
|
|
|
|
+ <div class="btn-label">
|
|
<el-button type="primary" @click="savePass">保存</el-button>
|
|
<el-button type="primary" @click="savePass">保存</el-button>
|
|
</div>
|
|
</div>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
- <el-tab-pane label="我的日志" name="log" class="resetTable">
|
|
|
|
|
|
+ <el-tab-pane label="我的日志" name="log" class="reset-table">
|
|
<el-tabs v-model="activeName1" type="card" class="demo-tabs">
|
|
<el-tabs v-model="activeName1" type="card" class="demo-tabs">
|
|
<el-tab-pane label="登录日志" name="login"></el-tab-pane>
|
|
<el-tab-pane label="登录日志" name="login"></el-tab-pane>
|
|
<el-tab-pane label="访问日志" name="fw"></el-tab-pane>
|
|
<el-tab-pane label="访问日志" name="fw"></el-tab-pane>
|
|
@@ -366,10 +366,10 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
.wrap {
|
|
.wrap {
|
|
height: 100%;
|
|
height: 100%;
|
|
- .logMain {
|
|
|
|
|
|
+ .log-main {
|
|
padding: 0 0 0 var(--main-padding);
|
|
padding: 0 0 0 var(--main-padding);
|
|
}
|
|
}
|
|
- .resetTable {
|
|
|
|
|
|
+ .reset-table {
|
|
:deep(.el-card__body) {
|
|
:deep(.el-card__body) {
|
|
padding: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
}
|
|
@@ -391,7 +391,7 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .personBg {
|
|
|
|
|
|
+ .person-bg {
|
|
color: #1890ff;
|
|
color: #1890ff;
|
|
background-color: #e6f7ff;
|
|
background-color: #e6f7ff;
|
|
width: 24px;
|
|
width: 24px;
|
|
@@ -402,13 +402,13 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
|
|
- .infoWrap {
|
|
|
|
|
|
+ .info-wrap {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
|
|
- .basicInfo {
|
|
|
|
|
|
+ .basic-info {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
align-items: center;
|
|
@@ -425,11 +425,11 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- .infoList {
|
|
|
|
|
|
+ .info-list {
|
|
width: 380px;
|
|
width: 380px;
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
|
|
|
|
- .infoItem {
|
|
|
|
|
|
+ .info-item {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
align-items: center;
|
|
@@ -442,7 +442,7 @@ const rowClassName = ({ row }: { row: any }) => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- .btnLabel {
|
|
|
|
|
|
+ .btn-label {
|
|
margin-left: 100px;
|
|
margin-left: 100px;
|
|
}
|
|
}
|
|
}
|
|
}
|