diff --git a/res/min/groupConfig/www.php b/res/min/groupConfig/www.php index 56949ba..38fdbd3 100644 --- a/res/min/groupConfig/www.php +++ b/res/min/groupConfig/www.php @@ -25,7 +25,8 @@ return array( '//js/plugins/mlellipsis.js', '//js/plugins/imgZoom.js' ), - 'index.js' => array( - + 'index_mobile.css' => array( + '//css/mobile.css', + '//css/emoji.css' ) ); \ No newline at end of file diff --git a/website/config/Boot.inc.php b/website/config/Boot.inc.php index 22d15eb..f2ad590 100644 --- a/website/config/Boot.inc.php +++ b/website/config/Boot.inc.php @@ -75,7 +75,8 @@ return array( 'css' => 'http://res.yohood'.SITE_DOMAIN.'/min/index.php?g=', ), 'combinePage'=> array( - 'index_mobile.js' + 'index_mobile.js', + 'index_mobile.css' ), /** * 插件配置 diff --git a/website/view/layout/default_layout_mobile.php b/website/view/layout/default_layout_mobile.php index 1d7d370..d52a359 100644 --- a/website/view/layout/default_layout_mobile.php +++ b/website/view/layout/default_layout_mobile.php @@ -8,8 +8,12 @@ <meta content="yes" name="apple-touch-fullscreen" /> <meta content="telephone=no" name="format-detection" /> <meta content="black" name="apple-mobile-web-app-status-bar-style" /> - <link rel="stylesheet" href="<?php echo SITE_RES;?>/css/mobile.css"/> - <link rel="stylesheet" href="<?php echo SITE_RES;?>/css/emoji.css"/> + <?php $this->_css('index_mobile.css', array( + SITE_RES . '/css/mobile.css', + SITE_RES . '/css/emoji.css', + ));?> +<?php $this->_block('css');?> +<?php $this->_endblock();?> </head> <body> <div class="mobile-wrap">