演示站
https://muyu.mobi/
https://www.gmit.vip/

插件下载

使用方法

下载之后把插件丢到 plugins 目录 目录名改成 GmOauth 后台启动之后以下代码放在要输出登录按钮位置

<?php GmOauth_Plugin::GmOauth(); ?>

需要开伪静态!不然点击登录会404

登录按钮基于 handsome 模板 其他模板按钮排版需要加以下css

.btn-icon.btn-sm {
    width: 30px;
    height: 30px;
}

a.btn {
    border: none!important;
}
.bg-white a {
    color: inherit;
}
.btn-rounded {
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 50px;
}
.btn-icon {
    width: 34px;
    height: 34px;
    padding: 0!important;
    text-align: center;
}
.btn-default {
    color: #58666e!important;
    background-color: #fcfdfd;
    background-color: #fff;
    border-color: #dee5e7;
    border-bottom-color: #d8e1e3;
    -webkit-box-shadow: 0 1px 1px rgb(90 90 90 / 10%);
    box-shadow: 0 1px 1px rgb(90 90 90 / 10%);

支持站点

  1. 钉钉
  2. QQ
  3. 百度
  4. gitee码云
  5. github
  6. 微博
  7. 华为
  8. Gitlab
  9. 阿里云
  10. 支付宝
  11. 小米
  12. 开源中国

    本文作者“故梦”,原文链接[https://www.gmit.vip/361.html](https://www.gmit.vip/361.html)
    
最后修改:2021 年 03 月 03 日
如果觉得我的文章对你有用,请随意赞赏鼓励!