Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_cp/dv_cp_wechat_app into dev
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div class="Health">
|
||||
<AiTopFixed>
|
||||
<div class="header">
|
||||
<div class="tab-item">
|
||||
<h2 style="color: #2c51ce">{{ userList.total }}</h2>
|
||||
@@ -36,12 +37,13 @@
|
||||
|
||||
<div class="line2"></div>
|
||||
|
||||
<div class="bottoms">
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#fff" inactive-color="#333" bar-width="192" active-color="#135AB8 " @change="change"></u-tabs>
|
||||
</AiTopFixed>
|
||||
|
||||
<div class="bottoms">
|
||||
<template v-if="data.length">
|
||||
<div class="line3"></div>
|
||||
|
||||
<template v-if="data.length">
|
||||
<div class="templates" v-for="(item, i) in data" :key="i" @click="goDetail(item)">
|
||||
<img :src="item.avatar" alt="" v-if="item.avatar" />
|
||||
<img src="./components/img/user-img.png" alt="" v-else />
|
||||
@@ -196,6 +198,19 @@ export default {
|
||||
.Health {
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
::v-deep .AiTopFixed {
|
||||
.placeholder {
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
.fixed {
|
||||
margin: 0 !important;
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
padding: 54px 32px 48px 32px;
|
||||
@@ -256,12 +271,8 @@ export default {
|
||||
}
|
||||
|
||||
.bottoms {
|
||||
.u-tabs {
|
||||
margin-bottom: -8px;
|
||||
}
|
||||
|
||||
.line3 {
|
||||
height: 4px;
|
||||
height: 6px;
|
||||
background: #f3f6f9;
|
||||
}
|
||||
|
||||
|
||||
@@ -162,6 +162,7 @@ export default {
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.data = res.data
|
||||
this.data.idNumber = res.data.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")
|
||||
this.$hideLoading()
|
||||
} else {
|
||||
this.$hideLoading()
|
||||
|
||||
@@ -170,6 +170,7 @@ export default {
|
||||
this.info = res.data
|
||||
this.info.checkPhoto = JSON.parse(this.info.checkPhoto)
|
||||
this.info.health = this.info.health.split(',')
|
||||
this.info.idNumber = res.data.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -142,6 +142,7 @@ export default {
|
||||
.userList {
|
||||
width: 100%;
|
||||
background-color: #FFFFFF ;
|
||||
padding-bottom: 120px;
|
||||
ul {
|
||||
padding-left: 0px;
|
||||
li {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="FamilyList">
|
||||
<div class="title">户主列表</div>
|
||||
<div class="main">
|
||||
<div class="main" v-if="list.length">
|
||||
<ul v-for="item in list" :key="item.id">
|
||||
<li>
|
||||
<div class="user">
|
||||
@@ -68,7 +68,6 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.FamilyList {
|
||||
background-color: #FFFFFF;
|
||||
.title {
|
||||
padding: 24px 32px;
|
||||
background-color: #F3F6F9;
|
||||
@@ -77,6 +76,7 @@ export default {
|
||||
}
|
||||
.main {
|
||||
background-color: #FFFFFF ;
|
||||
padding-bottom: 112px;
|
||||
ul {
|
||||
padding: 0px 32px;
|
||||
background-color: #fff;
|
||||
|
||||
@@ -85,7 +85,6 @@ export default {
|
||||
<style lang="scss" scoped>
|
||||
.Organization {
|
||||
padding-top: 32px;
|
||||
background-color: #f3f6f9;
|
||||
.select-gird{
|
||||
width: calc(100% - 60px);
|
||||
padding: 24px 32px;
|
||||
|
||||
Reference in New Issue
Block a user