block.php
976 Bytes
<?php
use yii\helpers\Url;
$assets = $this->getAssetManager();
$asset = $assets->getBundle('app\wx\assets\AppAsset');
$baseUrl = Url::base(true);
?>
<style>
.error-wrap {
margin:0 auto;
width:90%;
margin-top: 20px;
padding: 0 20px;
font-size: 15px;
color: #666;
}
</style>
<div class="error-wrap">
<div style="text-align: center">
<span style="display:block;width:100%;margin:0 auto;margin-top:80px;"><img style="width=105px; height: 105px;" src="<?=$baseUrl?>/i/tauth/forbidden.png" /></span>
<?php if(isset($errorMsg)) {?>
<div style="width:100%;text-align: center;margin:0 auto;margin-top: 20px;line-height:1.6rem"><?=$errorMsg?></div>
<?php } else {?>
<div style="width:100%;text-align: center;margin:0 auto;margin-top: 20px;line-height:1.6rem">对不起,您的账号已被封<br/>请联系客服: <?=$service_phone?></div>
<?php } ?>
</div>
</div>