hldy_xcx/pages/oldmanindex/paybill.vue

363 lines
6.9 KiB
Vue

<template>
<view>
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
<view class="left-father" @click="uni.navigateBack();">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
</view>
</view>
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
<image class="bacimg" src="https://www.focusnu.com/media/directive/bgyg.png" mode="aspectFill"></image>
<view class="xmname">
<image src="https://www.focusnu.com/media/directive/hts.png" mode="aspectFill" class="bgt"></image>
<image src="https://www.focusnu.com/media/directive/index/nan.png" mode="aspectFill" class="ava"></image>
<view class="name">李富贵</view>
<view class="xbjs">
&nbsp;&nbsp;|&nbsp; <text style="font-weight: bold;"> 80</text>&nbsp; |&nbsp; 2025.01.01
</view>
</view>
<view class="listacre" v-for="(v,i) in 4" :key='i' @click="rizd">
<view class="top">
<view class="left">
<image src="https://www.focusnu.com/media/directive/dybb.png" mode="aspectFill"></image>
2026.03.01-2026.03.31
<text style="font-weight: bold;">护理类</text>
</view>
<view class="rits" :class="{'jf':i==0,'djf':i==1,'yjf':i==2,'qf':i==3}">计费</view>
</view>
<view class="cont">
<view class="zuo">
<text>总金额</text>
<view>¥8130.45</view>
</view>
<view class="rist">
<view class="cost">
<text>账单金额</text>
<view>¥6532.15</view>
<image src="https://www.focusnu.com/media/directive/xxic.png" mode="aspectFill"></image>
</view>
<view class="cost">
<text>补缴金额</text>
<view>¥632.15</view>
<image src="https://www.focusnu.com/media/directive/xxic.png" mode="aspectFill"></image>
</view>
<view class="cost">
<text>减免金额</text>
<view>¥32.15</view>
</view>
<view class="cost">
<text>欠费金额</text>
<view :class="i==3?'jhs':''">¥632.15</view>
</view>
</view>
</view>
<view class="bot">
<view class="lets">
<text>实缴金额</text>
<view :class="i==2?'ql':''">¥8130.14</view>
</view>
<view class="ris">
<text>详情</text>
<image src="https://www.focusnu.com/media/directive/rit.png" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
</template>
<script setup lang="ts">
import { reactive, ref, onMounted, onUnmounted } from 'vue';
import exit from "@/compontent/public/exit.vue"
import downMenu from '@/compontent/public/oldmandownmenu.vue'
import {
getMessageList
} from '@/pages/addstaff/api/addjigou.js'
const rizd =()=>{
uni.navigateTo({
url:'/pages/oldmanindex/daypay'
})
}
</script>
<style lang="scss" scoped>
.listacre {
width: 703rpx;
height: 349rpx;
background: #FFFFFF;
border-radius: 40rpx;
position: relative;
z-index: 2;
padding: 33rpx;
margin: 21rpx auto 0;
.bot {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
.ris {
display: flex;
align-items: center;
text {
font-weight: 400;
font-size: 23rpx;
color: #999999;
}
>image {
width: 20rpx;
height: 15rpx;
margin-top: 5rpx;
margin-left: 10rpx;
}
}
.lets {
display: flex;
align-items: center;
text {
font-weight: 400;
font-size: 25rpx;
color: #888888;
}
view {
font-weight: bolder;
font-size: 23rpx;
color: #555555;
}
.ql{
color: #FF5757;
}
}
}
.cont {
width: 100%;
height: 185rpx;
padding: 0 25rpx;
display: flex;
align-items: center;
.rist {
width: 360rpx;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
.cost {
width: 320rpx;
padding-right: 30rpx;
align-items: center;
display: flex;
justify-content: space-between;
padding-left: 50rpx;
margin-top: 13rpx;
position: relative;
image {
width: 23rpx;
height: 23rpx;
position: absolute;
top: 6rpx;
right: 0;
}
text {
width: 100rpx;
font-weight: 200;
font-size: 25rpx;
color: #888888;
}
view {
width: 130rpx;
font-weight: 600;
font-size: 23rpx;
color: #555555;
text-align: right;
}
.jhs {
color: #FF8F32;
}
}
}
.zuo {
width: 270rpx;
height: 80%;
border-right: 1px solid #E5E5E5;
display: flex;
flex-direction: column;
justify-content: center;
text {
font-weight: 400;
font-size: 25rpx;
color: #888888;
}
view {
font-weight: bold;
font-size: 43rpx;
color: #222222;
}
}
}
.top {
width: 100%;
height: 80rpx;
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
.rits {
width: 106rpx;
height: 45rpx;
border-radius: 10rpx;
display: flex;
align-items: center;
justify-content: center;
font-weight: 400;
font-size: 24rpx;
}
.jf {
background: #EEFBF6;
color: #01A763;
border: 1px solid #D3F0E4;
}
.djf {
background: #DDF1FF;
border: 1px solid #BFD7F4;
color: #0098FE;
}
.yjf {
background: #EFF4FF;
border: 1px solid #DDE7FF;
color: #2F65E7;
}
.qf {
background: #FFF1E5;
border: 1px solid #FFE5D0;
color: #FF8F32;
}
.left {
font-weight: 600;
font-size: 28rpx;
color: #333333;
display: flex;
align-items: center;
image {
width: 30rpx;
height: 30rpx;
margin-right: 16rpx;
}
}
}
}
.xmname {
width: 705rpx;
height: 155rpx;
margin: 20rpx auto 0;
position: relative;
z-index: 2;
.xbjs {
position: absolute;
top: 95rpx;
left: 143rpx;
z-index: 2;
font-weight: 400;
font-size: 23rpx;
color: #212327;
display: flex;
align-items: center;
}
.name {
font-weight: bold;
font-size: 36rpx;
color: #333333;
position: absolute;
top: 47rpx;
left: 143rpx;
z-index: 2;
}
.ava {
position: absolute;
width: 95rpx;
height: 95rpx;
border-radius: 50%;
top: 34rpx;
left: 30rpx;
z-index: 2;
}
.bgt {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
}
}
.bacimg {
width: 100%;
height: 780rpx;
position: fixed;
top: 0;
left: 0;
z-index: 0;
}
.title-back {
background: rgba(255, 255, 255, 0);
width: 100%;
height: 70rpx;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding-bottom: 20rpx;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
.left-father {
width: 150rpx;
height: 100%;
display: flex;
align-items: flex-end;
.back-img {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
</style>
<style>
page {
background: #F7F7F7;
}
</style>