<template>
	<view class="content">
		<view class="text-area">
			<text class="top-line"></text>
				<view class="item">
					<image src="../../static/success.png" class="success-img"></image>
					<text class="success-text">处置成功</text>
					<view class="success">
						<button form-type="submit" type="primary" @click="success">我知道了</button>
					</view>
				</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			success() {
				uni.$emit('refreshData');
				// uni.navigateBack({
				// 	delta:0,
				// })
				uni.navigateTo({
					url: "../index/index",
				});
			},
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	
	.text-area {
		display: flex;
		justify-content: center;
	}
	.top-line{
		margin-top: 0rpx;
		margin-left: 0;
		position: absolute;
		width: 750rpx;
		height: 1rpx;
		background: #CCCCCC;
	}
	.item{
		margin-top: 0rpx;
		margin-left: 0;
		width: 750rpx;
		height: 1206rpx;
	}
	.success-img{
		margin-left: 242rpx;
		margin-top: 73rpx;
		width: 261rpx;
		height: 266rpx;
	}
	.success-text{
		margin-left: 276rpx;
		margin-top: 433rpx;
		font-size: 49rpx;
		font-family: Microsoft YaHei-3970(82674968);
		font-weight: 400;
		color: #333333;
	}
	.success button{
		margin-left: 233rpx;
		margin-top: 110rpx;
		width: 280rpx;
		height: 104rpx;
		border-radius: 52rpx;
	}
</style>
