| | |
| | | </ul> |
| | | <ul class="layui-nav layui-layout-right"> |
| | | <li class="layui-nav-item" lay-unselect id="activation-icon"> |
| | | <a ew-event="license" title="token"><i class="layui-icon layui-icon-auz"></i></a> |
| | | <a ew-event="license" title="授权"><i class="layui-icon layui-icon-auz"></i></a> |
| | | </li> |
| | | <li class="layui-nav-item" lay-unselect> |
| | | <a ew-event="note" title="便签"><i class="layui-icon layui-icon-note"></i></a> |
| | |
| | | } else if (res.code === 403) { |
| | | top.location.href = baseUrl+"/login"; |
| | | } else { |
| | | layer.msg(res.msg, {icon: 2}) |
| | | layer.msg('token error', {icon: 2}) |
| | | } |
| | | } |
| | | }); |
| | |
| | | <script type="text/html" id="license-box"> |
| | | <form class="layui-form" style="padding-right: 10px"> |
| | | <div class="layui-form-item" style="padding: 20px 25px"> |
| | | <textarea name="license" placeholder="请输入激活码" class="layui-textarea" autocomplete="off" |
| | | <textarea name="license" placeholder="请联系管理员获取授权" class="layui-textarea" autocomplete="off" |
| | | lay-verType="tips" lay-verify="required" required></textarea> |
| | | </div> |
| | | <div class="layui-form-item text-right"> |