78 lines
1.4 KiB
Vue
78 lines
1.4 KiB
Vue
<template>
|
|
<view class="app">
|
|
<view class="forlist">
|
|
<view class="item" @tap='gofamilymemberdetail'>
|
|
<view class="namesigning">
|
|
<span class="name">
|
|
张三
|
|
</span>
|
|
<view class="signing">
|
|
未签约
|
|
</view>
|
|
</view>
|
|
<view class="card">
|
|
37029828873746473
|
|
</view>
|
|
<view class="border"></view>
|
|
<view class="identityname">
|
|
户主
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="bottom">
|
|
<view class="text">
|
|
每位微信用户最多可以绑定8名家庭成员
|
|
</view>
|
|
<view class="btn" @tap="add">
|
|
添加家庭成员
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
};
|
|
},
|
|
methods: {
|
|
// 添加家庭成员
|
|
add(){
|
|
uni.navigateTo({
|
|
url:'/pagesB/AddMembers/AddMembers'
|
|
})
|
|
|
|
},
|
|
|
|
gofamilymemberdetail() {
|
|
uni.navigateTo({
|
|
url: `/pagesB/familymemberdetail/familymemberdetail`
|
|
})
|
|
}
|
|
},
|
|
onReachBottom() { //下滑加载
|
|
if (this.couponlist.length >= this.total) {} else {
|
|
this.pageNum++;
|
|
selectCoupon(this.pageNum, this.pageSize, this.patientId, this.couponstatus).then(res => {
|
|
res.rows.forEach(e => {
|
|
this.couponlist.push(e)
|
|
})
|
|
})
|
|
}
|
|
},
|
|
onPullDownRefresh() { //下拉刷新
|
|
this.pageNum = 1;
|
|
this.getlist();
|
|
setTimeout(function() {
|
|
uni.stopPullDownRefresh();
|
|
}, 1000);
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
@import './managefamily.scss';
|
|
</style>
|