zfeig 2015-02-02 18:53:07 79481次浏览 63条评论 70 24 0

yii2的通用后台,响应式布局,可以自行扩展功能,已经实现了用户登录,朋友圈,消息推送,头像上传裁剪;

界面:
输入图片说明

输入图片说明

输入图片说明

下载地址:百度网盘 提取码:qxcw

使用说明:
1、下载源代码,存到d盘www根目录;
2、新建数据库ytwo,导入ytwo.sql;
2、利用php内置服务器访问网站【前提是php环境变量设置成功】,window下进入cmd命令行
d:
cd www\ytwo\web php -S localhost:8000
3、浏览器下访问:localhost:8000,密码都是admin

觉得很赞
  • 评论于 2018-06-27 10:26 举报

    请问有移动端自适应么?

  • 评论于 2018-06-16 15:31 举报

    首先赞楼主的奉献。
    发现的问题留笔:

    1. 布好了始终报internal error。
      原因是楼主将shell脚本的if else 跟php搞混了吧!
      <div class="dl-log">
           欢迎您,
           <span class="dl-log-user" id="<?=Yii::$app->user->getId()?>">(<?=Yii::$app->user->identity->username?>)</span>
           <span class="glyphicon glyphicon-envelope"></span>
           <span class="badge" id="msgnum"><?php if(Yii::$app->session->has('msg')){?> <?=Yii::$app->session->get('msg')?><?php }else{ ?>0<?php } ?></span>
           <a href="<?=Yii::$app->urlManager->createUrl(['admin/logout'])?>" title="退出系统" class="dl-log-quit">[退出]</a>
      </div>
      
  • 评论于 2018-01-27 10:58 举报

    佩服,谢谢大佬

  • 评论于 2018-01-10 13:47 举报

    我这有修改好的代码。部署在阿里云服务器上,有需要的发邮件 81088607@qq.com,

  • 评论于 2017-10-31 10:15 举报

    public/error.php不存在

  • 评论于 2017-10-23 15:20 举报

    在本地配置了一下 打不开为什么?

  • 评论于 2017-06-09 11:31 举报

    还以为你把一些东西都做成小物件了呢,你这完全 拿一个ui框架 过来 套,有啥值得宣传的。。

  • 评论于 2017-05-17 16:24 举报

    本地 wamp环境我刚才现在之后放到www目录想,不能访问,请问大神怎么解决?刚接触这个。。。

  • 评论于 2017-04-07 23:43 举报

    The requested URL /ytwo/web/admin/index/login was not found on this server. 这个管理后台访问时候报出这个错误,是不是哪里还需要配置下,劳烦大神解答下

  • 评论于 2017-02-15 14:16 举报

    小问题太多鸟

  • 评论于 2017-01-23 01:54 举报

    图片路径设置的不好,都看不到图片,要自己改代码
    QQ截图20170123015404.jpg

  • 评论于 2016-12-16 16:14 举报

    好不容易才搜到一个yii2做的后台源码,却发现到处报错。。。还有语法错的

  • 评论于 2016-12-09 20:42 举报

    学习乐于交流,本人亲测,如果是用的域名访问比如 abc.com访问 .htaccess 里面需要重写路由,(Scott_Huang 评论于 2015-04-08 23:15 )的是正确的,至少符合我的环境错误。

    Options +FollowSymLinks

    IndexIgnore /

    RewriteEngine on

    if a directory or a file exists, use it directly

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    otherwise forward it to index.php

    RewriteRule . index.php

    大家一定要根据错误的报告分析错误的愿因,采用对症下药的方法来解决自己的错误,每个人的错误环境都是不一样的。

  • 评论于 2016-11-22 13:57 举报

    PHP Warning – yii\base\ErrorException
    mb_strlen() expects parameter 1 to be string, array given
    这是啥问题啊,我检查了php.ini 里面的mb配置也打开了啊。

  • 评论于 2016-10-28 17:44 举报

    Not Found

    The requested 55.png

    URL /ytwo/web/admin/index/thumb was not found on this server.飞哥你好,这个

  • 评论于 2016-07-25 10:21 举报

    报了这个错误信息

    Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
    
  • 评论于 2016-07-13 09:28 举报

    我说。。。。你没弄个github之类的代码共享平台么。。百度盘= =

  • 评论于 2016-07-12 11:29 举报

    没有rbac嘛?

  • 评论于 2016-07-08 17:45 举报

    可以不用内置web服务吗? apache 怎么运行他

您需要登录后才可以评论。登录 | 立即注册