特殊人群
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<div class="header-content-bg">
|
<div class="header-content-bg">
|
||||||
<img src="https://cdn.sinoecare.com/i/2024/07/12/6690a1303d423.png" alt="">
|
<img src="https://cdn.sinoecare.com/i/2024/07/12/6690a1303d423.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div :class="!tabIndex ? 'top-tabs border-r' : 'top-tabs'" :style="{'top': `${statusBarHeight+50}px`}">
|
<div :class="!tabIndex ? 'top-tabs border-r' : 'top-tabs'" :style="{'top': `${statusBarHeight+44}px`}">
|
||||||
<u-tabs :list="tabs" :is-scroll="false" :current="tabIndex" height="96" inactive-color="#222"
|
<u-tabs :list="tabs" :is-scroll="false" :current="tabIndex" height="96" inactive-color="#222"
|
||||||
active-color="#1D2229" :bar-style="barStyle" font-size="34" @change="tabClick"></u-tabs>
|
active-color="#1D2229" :bar-style="barStyle" font-size="34" @change="tabClick"></u-tabs>
|
||||||
<div class="select-content">
|
<div class="select-content">
|
||||||
@@ -79,6 +79,7 @@
|
|||||||
<p class="text" v-if="!item.value.length">{{ '暂无' + item.label + '信息' }}</p>
|
<p class="text" v-if="!item.value.length">{{ '暂无' + item.label + '信息' }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<AiEmpty v-if="!userList.length"/>
|
||||||
<div class="footer" @click="toAdd">
|
<div class="footer" @click="toAdd">
|
||||||
<div class="btn">新增特殊人群信息</div>
|
<div class="btn">新增特殊人群信息</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -136,7 +137,7 @@ export default {
|
|||||||
return this.user.girdInfos2G && this.user.girdInfos2G.length
|
return this.user.girdInfos2G && this.user.girdInfos2G.length
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
onLoad() {
|
onShow() {
|
||||||
if (this.hasGridPermit) {
|
if (this.hasGridPermit) {
|
||||||
if (!this.search.girdId) {
|
if (!this.search.girdId) {
|
||||||
this.search.girdId = this.user.girdId
|
this.search.girdId = this.user.girdId
|
||||||
@@ -146,8 +147,6 @@ export default {
|
|||||||
this.getDatas()
|
this.getDatas()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
|
||||||
onShow() {
|
|
||||||
uni.setNavigationBarColor({
|
uni.setNavigationBarColor({
|
||||||
frontColor: 'black',
|
frontColor: 'black',
|
||||||
backgroundColor: '#ffffff'
|
backgroundColor: '#ffffff'
|
||||||
@@ -260,12 +259,11 @@ export default {
|
|||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
.header-content-bg {
|
.header-content-bg {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: fixed;
|
||||||
|
z-index: -1;
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 592px;
|
height: 592px;
|
||||||
position: absolute;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -319,7 +317,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.statistic-content {
|
.statistic-content {
|
||||||
padding: 216px 0 32px 0;
|
padding: 200px 0 32px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-content {
|
.info-content {
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="add">
|
<div class="add">
|
||||||
<div class="pad-l32">
|
<u-navbar back-icon-color="#000" :title="isEdit ? '编辑人员' : '新增人员'" title-color="#000" title-width="300" title-size="32"
|
||||||
<div class="item" v-if="!isEdit">
|
:title-bold="true" :background="backgroundNavbar" :is-fixed="true" height="44" z-index="999"></u-navbar>
|
||||||
|
<div class="header-content-bg">
|
||||||
|
<img src="https://cdn.sinoecare.com/i/2024/07/12/6690a1303d423.png" alt="">
|
||||||
|
</div>
|
||||||
|
<div class="add-content">
|
||||||
|
<div class="item border-t-none" v-if="!isEdit">
|
||||||
<span class="label"><span class="tips">*</span>类型</span>
|
<span class="label"><span class="tips">*</span>类型</span>
|
||||||
<div class="value" @click="showType=true">
|
<div class="value" @click="showType=true">
|
||||||
<AiMore v-model="appName"/>
|
<AiMore v-model="appName"/>
|
||||||
@@ -185,6 +190,7 @@
|
|||||||
import {mapActions, mapState} from 'vuex'
|
import {mapActions, mapState} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
customNavigation: true,
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
appId: '',
|
appId: '',
|
||||||
@@ -203,7 +209,11 @@ export default {
|
|||||||
selectShow: false,
|
selectShow: false,
|
||||||
id: '',
|
id: '',
|
||||||
appId: '',
|
appId: '',
|
||||||
query: {}
|
query: {},
|
||||||
|
backgroundNavbar: {
|
||||||
|
background: 'url(https://cdn.sinoecare.com/i/2024/07/12/6690a1309c7d3.png) no-repeat',
|
||||||
|
backgroundSize: 'cover',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -221,17 +231,6 @@ export default {
|
|||||||
this.appId = e.appId || ''
|
this.appId = e.appId || ''
|
||||||
this.query = {...e}
|
this.query = {...e}
|
||||||
},
|
},
|
||||||
onShow() {
|
|
||||||
if (this.isEdit) {
|
|
||||||
uni.setNavigationBarTitle({
|
|
||||||
title: '编辑人员',
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
uni.setNavigationBarTitle({
|
|
||||||
title: '新增人员',
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
// ...mapActions(['selectEnterpriseContact']),
|
// ...mapActions(['selectEnterpriseContact']),
|
||||||
handleSelectUser(fieldDbName) {
|
handleSelectUser(fieldDbName) {
|
||||||
@@ -525,7 +524,22 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.add {
|
.add {
|
||||||
padding-bottom: 112px;
|
padding-bottom: 112px;
|
||||||
|
.header-content-bg {
|
||||||
|
width: 100%;
|
||||||
|
position: fixed;
|
||||||
|
z-index: -1;
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: 592px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.add-content {
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 16px;
|
||||||
|
width: calc(100% - 64px);
|
||||||
|
margin: 0 0 252px 32px;
|
||||||
|
}
|
||||||
.title {
|
.title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 96px;
|
height: 96px;
|
||||||
@@ -557,10 +571,9 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
width: 100%;
|
width: calc(100% - 32px);
|
||||||
|
margin-left: 32px;
|
||||||
padding: 34px 32px 34px 0;
|
padding: 34px 32px 34px 0;
|
||||||
background: #FFFFFF;
|
|
||||||
border-bottom: 1px solid #D8DDE6;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
@@ -569,7 +582,7 @@ export default {
|
|||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
border-top: 1px solid #D8DDE6;
|
||||||
.value {
|
.value {
|
||||||
.u-icon {
|
.u-icon {
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
@@ -581,6 +594,10 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.border-t-none {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
|
||||||
.color-999 {
|
.color-999 {
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
@@ -588,30 +605,30 @@ export default {
|
|||||||
.tips {
|
.tips {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 44px;
|
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
color: #F46;
|
color: #F46;
|
||||||
line-height: 44px;
|
position: absolute;
|
||||||
|
top: 34px;
|
||||||
|
left: -16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textarea {
|
.textarea {
|
||||||
width: 100%;
|
width: calc(100% - 64px);
|
||||||
|
margin-left: 32px;
|
||||||
padding: 34px 32px 34px 0;
|
padding: 34px 32px 34px 0;
|
||||||
background: #FFFFFF;
|
border-top: 1px solid #D8DDE6;
|
||||||
border-bottom: 1px solid #D8DDE6;
|
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
color: #333;
|
color: #333;
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.value {
|
.value {
|
||||||
padding: 0 16px;
|
// padding: 0 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -632,30 +649,20 @@ export default {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 99;
|
background-color: #F4F5FA;
|
||||||
}
|
padding: 64px 64px 68px 64px;
|
||||||
|
z-index: 9;
|
||||||
.btn {
|
.btn {
|
||||||
width: 100%;
|
width: calc(100% - 128px);
|
||||||
height: 112px;
|
line-height: 88px;
|
||||||
line-height: 112px;
|
background: #026AF2;
|
||||||
text-align: center;
|
border-radius: 44px;
|
||||||
background: #1365DD;
|
font-family: PingFangSC-Medium;
|
||||||
font-size: 32px;
|
|
||||||
font-family: PingFangSC-Medium, PingFang SC;
|
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
font-size: 34px;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.line-bg {
|
|
||||||
width: 100%;
|
|
||||||
height: 16px;
|
|
||||||
background: #F5F5F5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pad-l32 {
|
|
||||||
padding-left: 32px;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user