2023-03-16 09:10:17 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="page">
|
2023-07-12 10:49:37 +08:00
|
|
|
<div class="user-list">
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div class="item-left">
|
|
|
|
|
<img src="https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png" alt="">
|
|
|
|
|
<div class="user-info">
|
|
|
|
|
<h3>代玲昌</h3>
|
|
|
|
|
<p>积玉桥社区</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item-right">
|
|
|
|
|
<div @click="toTransfer">转积分</div>
|
2023-03-16 09:10:17 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-07-12 10:49:37 +08:00
|
|
|
<div class="item">
|
|
|
|
|
<div class="item-left">
|
|
|
|
|
<img src="https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png" alt="">
|
2023-03-16 09:10:17 +08:00
|
|
|
<div class="user-info">
|
2023-07-12 10:49:37 +08:00
|
|
|
<h3>代玲昌</h3>
|
|
|
|
|
<p>积玉桥社区</p>
|
2023-03-16 09:10:17 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-07-12 10:49:37 +08:00
|
|
|
<div class="item-right">
|
|
|
|
|
<div>转积分</div>
|
|
|
|
|
</div>
|
2023-03-16 09:10:17 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import {mapState} from 'vuex'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
appName: "我的家庭",
|
|
|
|
|
computed: {
|
|
|
|
|
...mapState(['user', 'token'])
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
info: {}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLoad() {
|
|
|
|
|
this.$dict.load('householdRelation').then(() => {
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.getUser()
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getUser() {
|
2023-07-12 10:49:37 +08:00
|
|
|
// this.$instance.post(`/app/appresident/detailForWx?id=${this.user.residentId}`).then(res => {
|
|
|
|
|
// if (res.code === 0) {
|
|
|
|
|
// this.info = res.data
|
|
|
|
|
// }
|
|
|
|
|
// })
|
|
|
|
|
},
|
|
|
|
|
toTransfer() {
|
|
|
|
|
uni.navigateTo({url: `./transferIntrgral`})
|
2023-03-16 09:10:17 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
@import "~dvcp-wui/common";
|
|
|
|
|
|
|
|
|
|
.page {
|
|
|
|
|
width: 100%;
|
|
|
|
|
background-color: #f3f6f9;
|
|
|
|
|
|
2023-07-12 10:49:37 +08:00
|
|
|
.user-list {
|
|
|
|
|
padding: 32px 32px 0;
|
|
|
|
|
.item {
|
|
|
|
|
padding: 26px;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
display: flex;
|
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
.item-left {
|
|
|
|
|
width: calc(100% - 150px);
|
|
|
|
|
display: flex;
|
2023-03-16 09:10:17 +08:00
|
|
|
img {
|
2023-07-12 10:49:37 +08:00
|
|
|
width: 108px;
|
|
|
|
|
height: 108px;
|
|
|
|
|
border-radius: 54px;
|
2023-03-16 09:10:17 +08:00
|
|
|
}
|
|
|
|
|
.user-info {
|
2023-07-12 10:49:37 +08:00
|
|
|
margin-left: 20px;
|
|
|
|
|
h3 {
|
|
|
|
|
line-height: 42px;
|
|
|
|
|
font-family: PingFangSC-Regular;
|
|
|
|
|
font-weight: 400;
|
2023-03-16 09:10:17 +08:00
|
|
|
font-size: 32px;
|
|
|
|
|
color: #333;
|
2023-07-12 10:49:37 +08:00
|
|
|
margin-bottom: 10px;
|
2023-03-16 09:10:17 +08:00
|
|
|
}
|
2023-07-12 10:49:37 +08:00
|
|
|
p {
|
|
|
|
|
font-family: PingFangSC-Regular;
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
color: #999;
|
|
|
|
|
line-height: 40px;
|
2023-03-16 09:10:17 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-07-12 10:49:37 +08:00
|
|
|
.item-right {
|
|
|
|
|
width: 150px;
|
|
|
|
|
div {
|
|
|
|
|
width: 126px;
|
|
|
|
|
height: 56px;
|
|
|
|
|
line-height: 56px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
background: #2D7DFF;
|
|
|
|
|
border-radius: 30px;
|
|
|
|
|
font-family: PingFangSC-Regular;
|
|
|
|
|
font-size: 26px;
|
|
|
|
|
color: #FFF;
|
|
|
|
|
margin-top: 26px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-03-16 09:10:17 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|