<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="tab">
			<view :class="tabindex == 1 ? 'active' : ''" @click="btntab(1)">
				待处理
			</view>
			<view :class="tabindex == 2 ? 'active' : ''" @click="btntab(2)">
				已处理
			</view>
			<view :class="tabindex == 3 ? 'active' : ''" @click="btntab(3)">
				已拒绝
			</view>
		</view>
		
		<view class="list">
			<view class="list_item" @click="btnxq">
				<view class="top">
					<view class="one">
						反馈编号:2165741254
					</view>
					<view class="two">
						退款成功
					</view>
				</view>
				<view class="bd">
					<view class="one">
						反馈人
					</view>
					<view class="two">
						12345678912
					</view>
				</view>
				<view class="bd">
					<view class="one">
						反馈时间
					</view>
					<view class="two">
						2024-12-07 15:22:30
					</view>
				</view>
				<view class="bd">
					<view class="one">
						处理时间
					</view>
					<view class="two">
						2024-12-07 15:22:30
					</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",
                },
				tabindex:1
			}
		},
		onLoad() {

		},
		methods: {
			// 点击切换退款列表条件
			btntab(num){
				this.tabindex = num
			},
			// 点击跳转到退款详情
			btnxq(){
				uni.navigateTo({
					url:'/page_moban/tuikuanxq'
				})
			}
		}
	}
</script>

<style lang="scss">
	/deep/ .u-iconfont,
	/deep/ .u-title{
		padding-bottom: 20rpx;
	}
	.active{
		border-bottom: 2px solid #48893B !important;
		color: #48893B !important;
	}
	.list{
		width: 100%;
		height: 80vh;
		overflow: scroll;
		.list_item{
			width: 750rpx;
			max-height: 304rpx;
			background: #FFFFFF;
			margin-top: 22rpx;
			padding-bottom: 32rpx;
			box-sizing: border-box;
			.bd{
				display: flex;
				align-items: center;
				padding: 0 32rpx;
				box-sizing: border-box;
				margin-top: 24rpx;
				.one{
					font-size: 28rpx;
					color: #7C7C7C;
					margin-right: 32rpx;
				}
				.two{
					font-size: 28rpx;
					color: #3D3D3D;
				}
			}
			.top{
				display: flex;
				justify-content: space-between;
				border-bottom: 1px solid #D8D8D8;
				padding-bottom: 20rpx !important;
				padding: 32rpx;
				box-sizing: border-box;
				.one{
					font-weight: 600;
					font-size: 30rpx;
					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>