Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Blog
I know
View Details
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
2
Star
9
Fork
1
陈兴
/
mobadmin
Code
Issues
0
Pull Requests
0
Wiki
Insights
Pipelines
Service
Gitee Pages
JavaDoc
PHPDoc
Quality Analysis
Gitee Scan
Jenkins for Gitee
Baidu Efficiency Cloud
Tencent CloudBase
Tencent Cloud Serverless
Don’t show this again
Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Already have an account?
Sign in
Back
master
Manage
Manage
Branches (1)
master
Clone or Download
HTTPS
SSH
SVN
SVN+SSH
Copy
Download ZIP
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register
File
New file
New submodule
Upload file
Search
Web IDE
Branches 1
Tags 0
陈兴
修复权限bug
1d3f034
19 commits
Commit
Cancel
Notice:
Creating folder will generate an empty file .keep, because not support in Git
.idea
Save
Cancel
application
Save
Cancel
back
Save
Cancel
extend/
org
Save
Cancel
public
Save
Cancel
runtime/
temp
Save
Cancel
thinkphp
Save
Cancel
vendor
Save
Cancel
.htaccess
Save
Cancel
.project
Save
Cancel
LICENSE
Save
Cancel
README.md
Save
Cancel
build.php
Save
Cancel
composer.json
Save
Cancel
deploy.sh
Save
Cancel
think
Save
Cancel
Loading...
README.md
mobadmin
移动端后台管理系统
写在前面
'写这个项目想达成两个目的:1.省去通用功能得开发,让开发者直接切入业务逻辑得开发;2.能够真正完美兼容移动端页面',
'网上虽然有很多后台模板,但仅仅只是大而全的模板并且没有和程序相结合。做为一名开发者我们并不想把大把的时间浪费基础的架构上,希望能快速进入业务逻辑的开发',
'‘登录’、‘用户’、‘权限’这三大要素是构建后台的基础,有了这三个要素后开发者就可以直接写业务逻辑的代码了',
'当然这个项目重点是兼容移动端',
'其他的基础通用功能再努力完善中。。。'
技术描述
'这里主要描述后台都用了技术,以方便开发者在做拓展时能到对应的平台上去找相应的开发文档',
'PHP使用的是thinkphp5.0框架:
https://www.kancloud.cn/manual/thinkphp5/
',
'前端主题使用的框架是H+:
http://www.zi-han.net/theme/hplus/
',
'数据列表使用bootstrap-table插件:
http://bootstrap-table.wenzhixin.net.cn/zh-cn/documentation/
',
'前端表达提交验证jquery validate插件:
http://www.runoob.com/jquery/jquery-plugin-validate.html
',
'弹窗插件layer:
http://layer.layui.com/
',
'移动端主题使用frozenui框架:
http://frozenui.github.io/
',
'还有一个jquery(pc),和zepto(mobile)插件,这里就不用说了'
技术细节
'这里主要列举代码实践上的一些细节',
'虽然H+主题是一个响应式布局,能够兼容不同尺寸的设备,但是由于数据表格的存在具体的数据是非常难以阅读的,失去了兼容移动的价值',
'此套设计已相对小的代价兼容移动端,让后台数据能够在移动设备上完美展现',
'并不需要因为要兼容移动端而改变php的写法,只是在你需要兼容移动页面的控制器方法中使用loadtp方法来生产模板页面(即把return $this->fetch() 改成 return $this->loadtp())',
'我们可以看到对于兼容移动端在代码管理上仅仅只在对于的view中加了一个已mb_前缀的模板文件,前缀可以在config配置文件中修改view_mobile_prefix',
'为了能够方便未来可能的其他平台的数据请求,数据尽量已json形式返回给前台,返回的json格式["code"=>"??","data"=>"??"],其data可以是数据也可以是msg错误信息',
'后台管理最重要的一个功能权限控制,本系统采用RBAC基于角色的访问控制权限,日后每加一个接口请在node表中添加上此接口,如果此接口不需要控制权限,请将接口加入config文件中的no_check_role配置项中',
Repository Comments (
0
)
Loading...
Sign in
to post a comment
Report
Report success
We will send you the feedback within 2 working days through the letter!
Please fill in the reason for the report carefully. Provide as detailed a description as possible.
Type
Please select a report type
Reason
Cancel
Send
About
移动端后台管理系统
expand
collapse
No labels
/cxing/mobadmin
Apache-2.0
Use Apache-2.0
Save
Cancel
Releases
No release
Contributors
All
Activities
Load More
can not load any more
Edit
About
移动端后台管理系统
Homepage
Cancel
Save
1
https://gitee.com/cxing/mobadmin.git
git@gitee.com:cxing/mobadmin.git
cxing
mobadmin
mobadmin
master
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
See more results
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register
Repository Comments ( 0 )