<?php use blog\components\StaticService; StaticService::includeStaticJs("/plugin/highcharts/highcharts.js", \blog\assets\AppAsset::className()); StaticService::includeAppJsStatic("/js/web/run/step.js", \blog\assets\AppAsset::className()); ?> <style type="text/css"> .sub_title { font-size: 18px; } .sub_title span { font-size: 14px; } </style> <div class="col-lg-12" style="margin-bottom: 10px;"> <div class="btn-group"> <a href="<?php echo $urls["daily"]; ?> " type="button" class="btn btn-default">日</a> <a href="<?php echo $urls["monthly"]; ?> " type="button" class="btn btn-default">月</a> </div> </div> <div class="col-lg-12" style="margin-bottom: 100px;"> <div id="container" style="min-width:100%;height:400px"></div> </div> <input type="hidden" id="chart_data" value='<?php
<?php use yii\helpers\Url; use blog\components\StaticService; StaticService::includeAppCssStatic("/js/jquery/blueimp-gallery/css/blueimp-gallery.css", \blog\assets\AppAsset::className()); StaticService::includeAppCssStatic("/js/jquery/blueimp-gallery/css/blueimp-gallery-indicator.css", \blog\assets\AppAsset::className()); StaticService::includeAppCssStatic("/js/jquery/blueimp-gallery/css/blueimp-gallery-video.css", \blog\assets\AppAsset::className()); StaticService::includeAppJsStatic("/js/jquery/blueimp-gallery/js/blueimp-helper.js", \blog\assets\AppAsset::className()); StaticService::includeAppJsStatic("/js/jquery/blueimp-gallery/js/blueimp-gallery.js", \blog\assets\AppAsset::className()); StaticService::includeAppJsStatic("/js/jquery/blueimp-gallery/js/blueimp-gallery-fullscreen.js", \blog\assets\AppAsset::className()); StaticService::includeAppJsStatic("/js/jquery/blueimp-gallery/js/blueimp-gallery-indicator.js", \blog\assets\AppAsset::className()); StaticService::includeAppJsStatic("/js/jquery/blueimp-gallery/js/blueimp-gallery-video.js", \blog\assets\AppAsset::className()); StaticService::includeAppJsStatic("/js/jquery/blueimp-gallery/js/blueimp-gallery-vimeo.js", \blog\assets\AppAsset::className()); StaticService::includeAppJsStatic("/js/jquery/blueimp-gallery/js/jquery.blueimp-gallery.js", \blog\assets\AppAsset::className()); ?> <style type="text/css"> .thumbnail { position: relative; } .rich_media_title { text-align: left; position: absolute; bottom: 4px; width: 97%; background-color: #000000; filter: alpha(opacity=50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5; color: #ffffff;
<?php use yii\helpers\Url; use blog\components\StaticService; use blog\components\UrlService; StaticService::includeAppJsStatic("/js/web/default/index.js", \blog\assets\AppAsset::className()); ?> <style type="text/css"> #short_cut a { padding: 5px 5px; } </style> <div class="col-md-12" id="short_cut"> <div class="panel panel-default"> <div class="panel-body" style="padding: 5px 5px;"> <div class="row"> <div class="col-md-8"> <a class="pull-left" href="<?php echo UrlService::buildUrl("/default/index", ["type" => 1]); ?> ">文章列表</a> <a class="pull-left" href="<?php echo UrlService::buildUrl("/default/index", ["type" => 2]); ?> ">热门文章</a> <a class="pull-left" href="<?php echo UrlService::buildUrl("/default/index", ["type" => 3]); ?> ">原创文章</a> </div>
<?php use yii\helpers\Html; use blog\assets\AppAsset; use common\service\GlobalUrlService; use common\components\DataHelper; AppAsset::register($this); $this->beginPage(); ?> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <title><?php echo DataHelper::encode($this->title); ?> </title> <meta name="description" content="<?php echo DataHelper::encode($this->params['seo']['description']); ?> "/> <meta name="keywords" content="<?php echo DataHelper::encode($this->params['seo']['keywords']); ?> "> <meta name="HandheldFriendly" content="True"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="baidu-site-verification" content="sfWgUvxKJK" /> <meta name="google-site-verification" content="c_1LAxAX-8MMoXntjVS1kCu5JnGhVIlcgLT6idZpgq4" /> <link rel="shortcut icon" href="<?php
use yii\helpers\Url; use blog\components\UrlService; use common\service\GlobalUrlService; /*lightbox*/ //StaticService::includeStaticCss("/jquery/lightbox2/css/lightbox.css",\blog\assets\AppAsset::className()); //StaticService::includeStaticJs("/jquery/lightbox2/js/lightbox.min.js",\blog\assets\AppAsset::className()); /*fancy*/ StaticService::includeStaticCss("/jquery/fancy/jquery.fancybox.css", \blog\assets\AppAsset::className()); StaticService::includeStaticJs("/jquery/fancy/jquery.fancybox.pack.js", \blog\assets\AppAsset::className()); /*prettify*/ StaticService::includeStaticCss("/prettify/prettify.sons.css", \blog\assets\AppAsset::className()); StaticService::includeStaticJs("/prettify/prettify.js", \blog\assets\AppAsset::className()); StaticService::includeAppCssStatic("/css/web/default/info.css", \blog\assets\AppAsset::className()); StaticService::includeAppJsStatic("/js/web/default/info.js", \blog\assets\AppAsset::className()); StaticService::includeAppJsStatic("/js/duoshuo.js", \blog\assets\AppAsset::className()); StaticService::includeAppJsStatic("http://v3.jiathis.com/code/jia.js?uid=900964", \blog\assets\AppAsset::className()); ?> <main class="col-md-8 main-content"> <article class="post tag-zhuti tag-static-page tag-customize-page"> <header class="post-head"> <h1 class="post-title"><?php echo $info['title']; ?> </h1> <section class="post-meta"> <span class="author">作者:<a href="<?php echo $info['author']['link']; ?> "><?php echo $info['author']['nickname'];
<?php use blog\components\StaticService; StaticService::includeAppJsStatic("/js/demo/scan.js", \blog\assets\AppAsset::className()); ?> <main class="col-md-12 main-content"> <article class="post page"> <header class="post-head"> <h1 class="post-title">扫描登录</h1> </header> <section class="post-content text-center"> <div class="row qrcode"> <img src="/demo/qrcode"> </div> <div class="row result" style="display: none;"> <h3>扫描成功!</h3> <p class="nickname"> -- </p> <p class="email"> -- </p> </div> </section> </article> </main>