Commit 285e8826 authored by 杨培's avatar 杨培

后台显示 favicon

parent 0a512b2a
...@@ -53,13 +53,14 @@ $this->registerCss('[v-cloak] {display:none;}'); ...@@ -53,13 +53,14 @@ $this->registerCss('[v-cloak] {display:none;}');
<!DOCTYPE html> <!DOCTYPE html>
<html lang="<?= \Yii::$app->language ?>"> <html lang="<?= \Yii::$app->language ?>">
<head> <head>
<meta charset="<?= Yii::$app->charset ?>"> <meta charset="<?= Yii::$app->charset ?>">
<meta content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0, user-scalable=no, width=device-width" name="viewport"> <meta content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0, user-scalable=no, width=device-width" name="viewport">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><?= $this->title ? Html::encode($this->title) . '-' : '' ?>云涯</title> <title><?= $this->title ? Html::encode($this->title) . '-' : '' ?>云涯</title>
<?= Html::csrfMetaTags() ?> <?= Html::csrfMetaTags() ?>
<?php $this->head() ?> <link rel="shortcut icon" href="<?=AppAsset::getStaticUrl('img/favicon.ico')?>">
<?php $this->head() ?>
</head> </head>
<body> <body>
<?php $this->beginBody(); ?> <?php $this->beginBody(); ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment