<template>
<view class="home">
<view class="wantOfQualification">
<u-card title="个人信息">
<view slot="body">
<view class="want-list">
<span>名称:<span class="want-list-item">{{ PInformation.name }}</span> </span>
</view>
<view class="want-list">
<span>电话:<span class="want-list-item">{{ PInformation.phone }}</span> </span>
</view>
<view class="want-list">
<span>身份证号:<span class="want-list-item">{{ PInformation.cardNum }}</span> </span>
</view>
<view class="want-list">
<span>当前状态:<span class="want-list-item">{{ PInformation.state }}</span></span>
</view>
<view class="want-list">
<span>配租情况:<span class="want-list-item">{{ PInformation.allotment }}</span></span>
</view>
<view class="want-list">
<span>房源:<span>{{ PInformation.addRess }}</span></span>
</view>
<view class="want-list">
<span>合同状态:<span>{{ PInformation.contractStatus }}</span></span>
</view>
</view>
</u-card>
</view>
<!-- 个人信息单元格所有列表 -->
<view>
<view>
<u-cell-group>
<u-cell title="我要申请公租房" :isLink="true" @click="aFPHousing"></u-cell>
</u-cell-group>
</view>
<view>
<u-cell-group>
<u-cell title="特殊房源自主报名" :isLink="true"></u-cell>
</u-cell-group>
<u-cell-group>
<u-cell title="账单缴费" :isLink="true"></u-cell>
</u-cell-group>
<u-cell-group>
<u-cell title="变更信息" :isLink="true"></u-cell>
</u-cell-group>
<u-cell-group>
<u-cell title="资格退出" :isLink="true"></u-cell>
</u-cell-group>
<u-cell-group>
<u-cell title="摇号公示信息" :isLink="true"></u-cell>
</u-cell-group>
<u-cell-group>
<u-cell title="我的合同" :isLink="true"></u-cell>
</u-cell-group>
</view>
<!-- 申请公租房弹窗 -->
<view >
<u-modal :show="show"
title="title"
content='content'
showCancelButton="true"
@confirm="cTApplication"
@cancel="withdrawA"
>
</u-modal>
</view>
</view>
</view>
</template>
<script>
export default {
name: "index",
data() {
return {
PInformation: {
name: '陈庄',
phone: '177894239071',
cardNum: '41302628997786283667',
state: '未申请',
allotment: '未配租',
addRess: '滨水家园北院4幢1单元29层2901',
contractStatus: '已生效'
},
show: false,
title:'公共租赁住房申请须知',
content:'uView的目标是成为uni-app生态最优秀的UI框架'
}
},
onLoad(){
},
methods: {
// 申请公租房点击事件
aFPHousing() {
this.show = true;
},
cTApplication() {
uni.redirectTo({
url: '/pages/rent/home/publicRentalHousingQC/publicRentalHousingQC'
})
},
withdrawA() {
this.show = false;
}
}
}
</script>
<style lang="scss" scoped>
.home {
.wantOfQualification {
.want-list {
margin: 15px;
padding: 2px 0px 2px;
.want-list-item {
color: #505256;
}
}
}
}
</style>
2***@qq.com (作者)
总是跳转失败
2023-09-07 09:41