This commit is contained in:
花有清香月有阴
2022-01-14 14:35:17 +08:00
parent e0f60e9549
commit 23e216cf8a
2 changed files with 22 additions and 12 deletions

View File

@@ -77,15 +77,17 @@ export default {
girdUser: [], girdUser: [],
peopleList: {}, peopleList: {},
girdMsgList: {}, girdMsgList: {},
checkType: '' checkType: '',
} }
}, },
computed: {}, computed: {},
watch: {}, watch: {},
onLoad() {}, onLoad() {},
mounted() { mounted() {
this.$dict.load('girdType', 'girdLevel').then(() => {}) this.$dict.load('girdType', 'girdLevel').then(() => {
this.isGirdUser() this.isGirdUser()
})
uni.$on('goback', (res) => { uni.$on('goback', (res) => {
this.girdMsgList = res this.girdMsgList = res
this.getList() this.getList()
@@ -118,7 +120,7 @@ export default {
}, },
linkTo(url) { linkTo(url) {
uni.navigateTo({ url }) uni.navigateTo({ url })
} },
}, },
} }
</script> </script>

View File

@@ -20,7 +20,7 @@
<u-search v-model="keyword" :clearabled="true" placeholder="姓名/联系方式/身份证后6位" :show-action="false" bg-color="#F5F5F5" search-icon-color="#E2E8F1" color="#666" height="58" @search="handerSearch" @clear="handerClear"></u-search> <u-search v-model="keyword" :clearabled="true" placeholder="姓名/联系方式/身份证后6位" :show-action="false" bg-color="#F5F5F5" search-icon-color="#E2E8F1" color="#666" height="58" @search="handerSearch" @clear="handerClear"></u-search>
</div> </div>
<div class="datas" v-if="datas.length > 0"> <div class="dataes" v-if="datas.length > 0">
<div class="datass" v-for="(item, iindex) in datas" :key="iindex" @click="toDetailCard(item)"> <div class="datass" v-for="(item, iindex) in datas" :key="iindex" @click="toDetailCard(item)">
<div class="left"> <div class="left">
<img :src="item.photo" alt="" v-if="item.photo" /> <img :src="item.photo" alt="" v-if="item.photo" />
@@ -38,7 +38,7 @@
</div> </div>
</div> </div>
<AiEmpty v-else></AiEmpty> <AiEmpty class="emptyWrap" v-else></AiEmpty>
</div> </div>
</template> </template>
@@ -66,7 +66,7 @@ export default {
], ],
currentTabs: 0, currentTabs: 0,
areaId: '', areaId: '',
areaName: '' areaName: '',
} }
}, },
computed: { computed: {
@@ -153,11 +153,13 @@ export default {
height: 16px; height: 16px;
background: #f5f5f5; background: #f5f5f5;
} }
.seachObjs { .seachObjs {
border-bottom: 2px solid #f5f5f5; border-bottom: 2px solid #f5f5f5;
border-top: 2px solid #f5f5f5; border-top: 2px solid #f5f5f5;
padding: 20px 32px; padding: 20px 32px;
} }
::v-deep .u-form { ::v-deep .u-form {
width: 100%; width: 100%;
.areaIds { .areaIds {
@@ -186,7 +188,8 @@ export default {
} }
} }
} }
.datas {
.dataes {
.datass { .datass {
display: flex; display: flex;
padding: 24px 32px; padding: 24px 32px;
@@ -215,5 +218,10 @@ export default {
} }
} }
} }
.emptyWrap {
background: #f5f5f5;
margin: 0;
}
} }
</style> </style>