BUG 29500

This commit is contained in:
aixianling
2022-05-05 17:19:30 +08:00
parent b9a6dedb62
commit 9599c80b07

View File

@@ -11,7 +11,10 @@
<div class="name"> <div class="name">
<AiOpenData v-if="item.wxUserId" type="userName" :openid="item.wxUserId"/> <AiOpenData v-if="item.wxUserId" type="userName" :openid="item.wxUserId"/>
</div> </div>
<div class="gird">{{item.checkType == 2 ? '网格长' : '网格员'}}</div> <div flex class="spb">
<div class="gird" v-text="item.checkType == 2 ? '网格长' : '网格员'"/>
<div class="gird dark" v-text="item.label"/>
</div>
<p>{{ item.girdName }}</p> <p>{{ item.girdName }}</p>
</div> </div>
</div> </div>
@@ -23,7 +26,10 @@
</div> </div>
<div class="right"> <div class="right">
<div class="name"> <div class="name">
<div flex>
<AiOpenData v-if="item.wxUserId" type="userName" :openid="item.wxUserId"/> <AiOpenData v-if="item.wxUserId" type="userName" :openid="item.wxUserId"/>
<div class="gird dark" v-text="item.label"/>
</div>
<span class="gird">{{ item.checkType == 2 ? '网格长' : '网格员' }}</span> <span class="gird">{{ item.checkType == 2 ? '网格长' : '网格员' }}</span>
<span class="num" v-if="item.checkType == 1">家庭数({{ item.residentNumber }})</span> <span class="num" v-if="item.checkType == 1">家庭数({{ item.residentNumber }})</span>
</div> </div>
@@ -33,13 +39,15 @@
</div> </div>
</div> </div>
</div> </div>
<AiEmpty description="暂无数据" class="emptyWrap" v-if="dataInfo.parentGirdMembers && !dataInfo.parentGirdMembers.length && !dataInfo.girdMembers.length"></AiEmpty> <AiEmpty description="暂无数据" class="emptyWrap"
v-if="dataInfo.parentGirdMembers && !dataInfo.parentGirdMembers.length && !dataInfo.girdMembers.length"></AiEmpty>
<div class="pad-b112"></div> <div class="pad-b112"></div>
</div> </div>
</template> </template>
<script> <script>
import {mapActions} from 'vuex' import {mapActions} from 'vuex'
export default { export default {
data() { data() {
return { return {
@@ -97,6 +105,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.Organization { .Organization {
background-color: #f5f5f5; background-color: #f5f5f5;
.title { .title {
font-size: 38px; font-size: 38px;
font-family: PingFangSC-Semibold, PingFang SC; font-family: PingFangSC-Semibold, PingFang SC;
@@ -106,6 +115,7 @@ export default {
padding-left: 32px; padding-left: 32px;
margin-bottom: 32px; margin-bottom: 32px;
} }
.user-content { .user-content {
width: calc(100% - 64px); width: calc(100% - 64px);
margin: 0 0 32px 32px; margin: 0 0 32px 32px;
@@ -113,18 +123,22 @@ export default {
padding: 32px; padding: 32px;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
img { img {
width: 200px; width: 200px;
height: 200px; height: 200px;
margin-right: 32px; margin-right: 32px;
} }
image { image {
width: 200px; width: 200px;
height: 200px; height: 200px;
margin-right: 32px; margin-right: 32px;
} }
.right { .right {
width: 100%; width: 100%;
.name { .name {
font-size: 32px; font-size: 32px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
@@ -133,6 +147,7 @@ export default {
line-height: 44px; line-height: 44px;
margin-bottom: 12px; margin-bottom: 12px;
} }
.gird { .gird {
display: inline-block; display: inline-block;
line-height: 44px; line-height: 44px;
@@ -143,7 +158,14 @@ export default {
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
color: #26F; color: #26F;
margin-bottom: 12px; margin-bottom: 12px;
&.dark {
color: #fff;
background: #26f;
margin-left: 16px;
} }
}
p { p {
font-size: 26px; font-size: 26px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
@@ -152,26 +174,31 @@ export default {
} }
} }
} }
.user-item { .user-item {
img { img {
width: 96px; width: 96px;
height: 96px; height: 96px;
border-radius: 50%; border-radius: 50%;
} }
image { image {
width: 96px; width: 96px;
height: 96px; height: 96px;
border-radius: 50%; border-radius: 50%;
} }
.gird { .gird {
display: inline-block; display: inline-block;
margin-left: 16px; margin-left: 16px;
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
.name { .name {
margin-bottom: 8px !important; margin-bottom: 8px !important;
} }
} }
.family-btn { .family-btn {
font-size: 26px; font-size: 26px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
@@ -179,12 +206,14 @@ export default {
line-height: 36px; line-height: 36px;
float: right; float: right;
} }
.num { .num {
font-size: 26px; font-size: 26px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
line-height: 36px; line-height: 36px;
float: right; float: right;
} }
.pad-b112 { .pad-b112 {
padding-bottom: 112px; padding-bottom: 112px;
} }