<template>
	<view class="main">
		<view class="top">
			<image class="icon-close" :src="`${$imgUrl}common/icon-close.png`" @click="emit('cancel')"></image>
		</view>
		<image class="icon-success" :src="`${$imgUrl}bluetooth/device-active-success.png`"></image>
		<view class="title">设备激活成功！</view>
	</view>
</template>

<script setup lang="ts">
	const emit = defineEmits(['cancel'])
</script>

<style lang="scss" scoped>
	.main{
		width: 560rpx;
		padding: 25rpx 20rpx 55rpx;
		text-align: center;
		.top{
			text-align: right;
			.icon-close{
				width: 48rpx;
				height: 48rpx;
			}
		}
		.icon-success{
			width: 500rpx;
			height: 320rpx;
			margin-top: 22rpx;
		}
		.title{
			color: #333333;
			font-size: 40rpx;
			font-weight: 600;
			text-align: center;
			margin-top: 55rpx;
		}
	}
</style>