<template>
	<view class="pay">
		<view class="item" v-for="i in 10" :key="i">
			<view class="a">
				<view class="fl">订单号</view>
				<view class="fr">20241368951456</view>
			</view>
			<view class="a">
				<view class="fl">事件标题</view>
				<view class="fr">王某某欠钱不还，已起诉</view>
			</view>
			<view class="a">
				<view class="fl">支付时间</view>
				<view class="fr">2024-08-02 16:22:20</view>
			</view>
			<view class="a">
				<view class="fl">订单金额</view>
				<view class="fr frs">￥5.00<text @click="openPage(1)">查看事件</text></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods: {
			openPage(id){
				uni.navigateTo({
					url: "/pages/release/detail?id="+id
				})
			},
		}
	}
</script>

<style scoped lang="scss">
.pay{
	padding: 0 25rpx 25rpx;
	overflow: hidden;
	.item{
		width: 100%;
		height: 257rpx;
		background: #FFFFFF;
		box-shadow: 0px 3rpx 10rpx 0px rgba(9,44,39,0.05);
		border-radius: 20rpx;
		padding: 20rpx 30rpx;
		box-sizing: border-box;
		margin-top: 20rpx;
		.a{
			font-weight: 500;
			font-size: 28px;
			color: #999999;
			display: flex;
			align-items: center;
			justify-content: space-between;
			line-height: 55rpx;
			.fl{
				width: 140rpx;
				text-align: left;
				font-weight: 500;
				font-size: 28rpx;
				color: #999999;
			}
			.fr{
				flex: 1;
				font-weight: 500;
				font-size: 28rpx;
				color: #333333;
				text{
					float: right;
					font-weight: 500;
					font-size: 28rpx;
					color: #00C6A9;
					float: right;
				}
			}
			.frs{
				color: #D80C0C;
			}
		}
	}
}
</style>
