This commit is contained in:
liuye
2021-12-22 16:43:07 +08:00
7 changed files with 30 additions and 19 deletions

View File

@@ -473,7 +473,6 @@ uni-page-body {
.topcard { .topcard {
position: relative; position: relative;
background: url(http://respub.sinoecare.net/20211221/4-20211221095551.png) no-repeat; background: url(http://respub.sinoecare.net/20211221/4-20211221095551.png) no-repeat;
// background: url(http://respub.sinoecare.net/20211221/44-20211221095613.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
height: 320px; height: 320px;
.cards { .cards {

View File

@@ -129,6 +129,7 @@ export default {
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.08); box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.08);
border-radius: 16px; border-radius: 16px;
padding: 48px 32px; padding: 48px 32px;
margin-bottom: 32px;
.photos { .photos {
img { img {
width: 96px; width: 96px;
@@ -177,6 +178,16 @@ export default {
} }
} }
} }
.card:nth-child(2n-1) {
// background: royalblue;
background: url(http://respub.sinoecare.net/20211222/装饰-20211222162743.png) no-repeat;
background-size: 100% 100%;
}
.card:nth-child(2n) {
// background: pink;
background: url(http://respub.sinoecare.net/20211222/装饰2-20211222162934.png) no-repeat;
background-size: 100% 100%;
}
} }
} }
</style> </style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

View File

@@ -19,7 +19,7 @@
<AiCard v-for="(item, i) in data" :key="i" @click.native="goDetail(item, 1)"> <AiCard v-for="(item, i) in data" :key="i" @click.native="goDetail(item, 1)">
<template #custom> <template #custom>
<div class="cards-left"> <div class="cards-left">
<span class="walkName">走访对象{{ item.createUserName }}</span> <span class="walkName">走访对象{{ item.name }}</span>
<span class="tags">{{ item.menuLevel3Name }}</span> <span class="tags">{{ item.menuLevel3Name }}</span>
<span class="tags">{{ $dict.getLabel('realityStatus', item.reality) }}</span> <span class="tags">{{ $dict.getLabel('realityStatus', item.reality) }}</span>
</div> </div>
@@ -106,10 +106,6 @@ export default {
}, },
computed: { computed: {
...mapState(['user']), ...mapState(['user']),
loadmore() {
return this.pages <= this.current ? 'loading ' : 'nomore'
},
}, },
onLoad() { onLoad() {
this.areaId = this.user.areaId this.areaId = this.user.areaId
@@ -132,6 +128,9 @@ export default {
}) })
.then((res) => { .then((res) => {
if (res.code == 0) { if (res.code == 0) {
if (this.current > res.data.pages) {
return
}
this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records
this.pages = res.data.pages this.pages = res.data.pages

View File

@@ -97,6 +97,7 @@ export default {
mounted() {}, mounted() {},
methods: { methods: {
getDetail() { getDetail() {
if (this.params.id) {
this.$http.post(`/app/appvisitvondolence/queryDetailById?id=${this.params.id}`).then((res) => { this.$http.post(`/app/appvisitvondolence/queryDetailById?id=${this.params.id}`).then((res) => {
if (res?.data) { if (res?.data) {
this.forms = res.data this.forms = res.data
@@ -107,6 +108,7 @@ export default {
} }
} }
}) })
}
}, },
submit() { submit() {
@@ -218,15 +220,14 @@ export default {
.u-form-item--right__content__slot { .u-form-item--right__content__slot {
.AiAreaPicker { .AiAreaPicker {
width: 100%; width: 100%;
display: flex;
justify-content: end;
.AiSearchPopup { .AiSearchPopup {
.areaSelector { .areaSelector {
.location { .location {
opacity: 0; opacity: 0;
} }
div {
width: 100%;
text-align: right;
}
} }
} }
} }

View File

@@ -144,6 +144,7 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.workonline { .workonline {
background: #f3f6f9;
.search { .search {
.serach_content { .serach_content {
background-color: #fff; background-color: #fff;