<template>
	<view class="page">
		<u-navbar title="充值记录" :border-bottom="false" :background="bgc" back-icon-color="#262B37" title-color='#262B37'
			title-size='36' height='50' id="navbar">
		</u-navbar>
        <view class="serch">
        	<view class="lt">
        		<image src="https://api.ccttiot.com/smartmeter/img/static/uaG7R4JLfYOzBhWfDN0j" mode=""></image><input type="text" v-model="keyword" placeholder="搜索"/> <view class="sousuo" @click="btnsousuo">搜索</view>
        	</view>
        </view>
		
		<view class="list">
			<view class="list_item" @click="btnxq">
				<view class="top">
					<view class="one">
						西瓜棋牌
					</view>
				</view>
				<view class="bd">
					<view class="two">
						用户手机号:12345678812
					</view>
				</view>
				<view class="bd">
					<view class="two">
						充值套餐:10元(含赠送5元)
					</view>
				</view>
				<view class="bd">
					<view class="two">
						余额:10元(含赠送5元)
					</view>
				</view>
				<view class="bd">
					<view class="two">
						充值时间:2024-12-07 14:34:02
					</view>
				</view>
			</view>
			<view class="" style="width: 100%;text-align: center;margin-top: 50rpx;font-size: 34rpx;color: #ccc;">
				没有更多充值记录啦...
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
                bgc: {
                	backgroundColor: "#fff",
                },
			}
		},
		onLoad() {

		},
		methods: {
			// 点击跳转到充值详情
			btnxq(){
				uni.navigateTo({
					url:'/page_moban/chongzhixq'
				})
			}
		}
	}
</script>

<style lang="scss">
	/deep/ .u-iconfont,
	/deep/ .u-title{
		padding-bottom: 20rpx;
	}
	.list{
		width: 100%;
		height: 80vh;
		overflow: scroll;
		.list_item{
		    width: 680rpx;
		    max-height: 334rpx;
		    background: #FFFFFF;
			margin: auto;
		    border-radius: 20rpx 20rpx 20rpx 20rpx;
			margin-top: 22rpx;
			padding-bottom: 32rpx;
			box-sizing: border-box;
			.bd{
				padding: 0 32rpx;
				box-sizing: border-box;
				margin-top: 14rpx;
				.two{
					font-size: 28rpx;
					color: #3D3D3D;
				}
			}
			.top{
				display: flex;
				justify-content: space-between;
				padding: 32rpx;
				padding-bottom: 0;
				box-sizing: border-box;
				.one{
					font-weight: 600;
					font-size: 36rpx;
					color: #3D3D3D;
				}
				.two{
					font-size: 24rpx;
					color: #48893B;
				}
			}
		}
	}
	page {
		background: #F6F6F6;
	}
	.tab{
		display: flex;
		justify-content: space-between;
		padding: 0 58rpx;
		box-sizing: border-box;
		background-color: #fff;
		padding-bottom: 28rpx;
		font-size: 32rpx;
		color: #3D3D3D;
		view{
			border-bottom: 2px solid #fff;
			padding-bottom: 12rpx;
			box-sizing: border-box;
		}
	}
    .serch{
    	display: flex;
    	justify-content: space-between;
    	align-items: center;
    	padding: 0 36rpx;
    	box-sizing: border-box;
    	padding-top: 20rpx;
    	padding-bottom: 22rpx;
    	background-color: #fff;
    	.lt{
    		display: flex;
    		align-items: center;
    		width: 100%;
    		height: 68rpx;
    		border: 2rpx solid #48893B;
    		border-radius: 24rpx;
    		padding-left: 30rpx;
    		box-sizing: border-box;
    		.sousuo{
    			width: 140rpx;
    			height: 66rpx;
    			text-align: center;
    			line-height: 66rpx;
    			font-size: 32rpx;
    			color: #FFFFFF;
    			background: #48893B;
    			border: 2rpx solid #48893B;
    			border-radius: 0 20rpx 20rpx 0;
    		}
    		image{
    			width: 46rpx;
    			height: 46rpx;
    		}
    		input{
    			width: 460rpx;
    			margin-left: 30rpx;
    			height: 68rpx;
    			line-height: 68rpx;
    		}
    	}
    }

</style>