<?php
use qcbase\assets\MainAsset;

MainAsset::register($this);
?>
<?php $this->beginPage() ?>
<!doctype html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<title>提示信息</title>
		<?php $this->head() ?>
	</head>
	<body>
		<?php $this->beginBody() ?>

		<div class="wrap">
			<div id="error_tips">
				<h2><?= ($type == 'success')?'成功提示':'失败提示'; ?></h2>
				<div class="error_cont">
					<ul>
						<li><?= $info ?></li>
					</ul>
					<div class="error_return"><a href="<?= $url ?>" class="btn">点击跳转</a></div>
				</div>
			</div>
		</div>
		<script>
			setTimeout(function() {
				location.href = '<?= $url ?>';
            }, <?= $time ?>);
		</script>

		<?php $this->endBody() ?>
	</body>
</html>
<?php $this->endPage() ?>
