2024年5月15日14:26:31

master
zm 2024-05-15 14:27:36 +08:00
parent 9a02b9aa4f
commit 30db70fb19
106 changed files with 1611 additions and 445 deletions

1177
README.md Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -0,0 +1,30 @@
package com.zhangmeng.admin.manager.config.web;
import com.zhangmeng.admin.manager.interceptor.RequestInterceptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
/**
* @author zhangmeng
* @version 1.0
* @date 2024-05-15 10:18
*/
@Configuration
public class WebMvcConfig implements WebMvcConfigurer {
@Autowired
private RequestInterceptor indexInterceptor;
/**
*
*/
@Override
public void addInterceptors(InterceptorRegistry registry) {
//请求拦截器
registry.addInterceptor(indexInterceptor).addPathPatterns("/**");
}
}

View File

@ -0,0 +1,112 @@
package com.zhangmeng.admin.manager.interceptor;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.executor.Executor;
import org.apache.ibatis.mapping.BoundSql;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.mapping.ParameterMapping;
import org.apache.ibatis.plugin.*;
import org.apache.ibatis.reflection.MetaObject;
import org.apache.ibatis.session.Configuration;
import org.apache.ibatis.session.ResultHandler;
import org.apache.ibatis.session.RowBounds;
import org.apache.ibatis.type.TypeHandlerRegistry;
import org.springframework.stereotype.Component;
import java.text.DateFormat;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import java.util.Properties;
/**
* @author zhangmeng
* @version 1.0
* @date 202152420:45:21
*/
@Component
@Slf4j
@Intercepts({
@Signature(type = Executor.class, method = "update", args = {MappedStatement.class, Object.class}),
@Signature(type = Executor.class, method = "query", args = {MappedStatement.class, Object.class, RowBounds.class, ResultHandler.class})})
@SuppressWarnings({"unchecked", "rawtypes"})
public class MybatisLogInterceptor implements Interceptor {
@Override
public Object intercept(Invocation invocation) throws Throwable {
MappedStatement mappedStatement = (MappedStatement) invocation.getArgs()[0];
Object parameter = null;
if (invocation.getArgs().length > 1) {
parameter = invocation.getArgs()[1];
}
String sqlId = mappedStatement.getId();
BoundSql boundSql = mappedStatement.getBoundSql(parameter);
Configuration configuration = mappedStatement.getConfiguration();
long start = System.currentTimeMillis();
Object returnValue = invocation.proceed();
long time = System.currentTimeMillis() - start;
showSql(configuration, boundSql, time, sqlId);
return returnValue;
}
private static void showSql(Configuration configuration, BoundSql boundSql, long time, String sqlId) {
Object parameterObject = boundSql.getParameterObject();
List<ParameterMapping> parameterMappings = boundSql.getParameterMappings();
//替换空格、换行、tab缩进等
String sql = boundSql.getSql().replaceAll("[\\s]+", " ");
if (parameterMappings.size() > 0 && parameterObject != null) {
TypeHandlerRegistry typeHandlerRegistry = configuration.getTypeHandlerRegistry();
if (typeHandlerRegistry.hasTypeHandler(parameterObject.getClass())) {
sql = sql.replaceFirst("\\?", getParameterValue(parameterObject));
} else {
MetaObject metaObject = configuration.newMetaObject(parameterObject);
for (ParameterMapping parameterMapping : parameterMappings) {
String propertyName = parameterMapping.getProperty();
if (metaObject.hasGetter(propertyName)) {
Object obj = metaObject.getValue(propertyName);
sql = sql.replaceFirst("\\?", getParameterValue(obj));
} else if (boundSql.hasAdditionalParameter(propertyName)) {
Object obj = boundSql.getAdditionalParameter(propertyName);
sql = sql.replaceFirst("\\?", getParameterValue(obj));
}
}
}
}
logs(time, sql, sqlId);
}
private static String getParameterValue(Object obj) {
String value;
if (obj instanceof String) {
value = "'" + obj.toString() + "'";
} else if (obj instanceof Date) {
DateFormat formatter = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT, Locale.CHINA);
value = "'" + formatter.format(new Date()) + "'";
} else if (obj instanceof Enum) {
int ordinal = ((Enum) obj).ordinal();
value = String.valueOf(ordinal);
} else {
if (obj != null) {
value = obj.toString();
} else {
value = "";
}
}
return value.replace("$", "\\$");
}
private static void logs(long time, String sql, String sqlId) {
sql = "耗时:" + time + "ms - ID: " + sqlId + sql;
log.info(sql);
}
@Override
public Object plugin(Object target) {
return Plugin.wrap(target, this);
}
@Override
public void setProperties(Properties properties0) {
}
}

View File

@ -0,0 +1,48 @@
package com.zhangmeng.admin.manager.interceptor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* @author zhangmmeng
* @version 1.0
* @date 202161711:08:27
*
*/
@Component
@Slf4j
public class RequestInterceptor implements HandlerInterceptor {
@Value("${spring.application.name}")
private String name;
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
return true;
}
@Override
public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,
ModelAndView modelAndView) throws Exception {
String requestType = request.getHeader("X-Requested-With");
String base_url = request.getScheme() + "://" + request.getLocalAddr() + ":" + request.getServerPort();
//非ajax请求
if (modelAndView != null){
log.info("webpath=" + base_url);
// 工具类
modelAndView.addObject("webPath",base_url );
modelAndView.addObject("application_name",name );
}
}
@Override
public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
throws Exception {
}
}

View File

@ -40,6 +40,7 @@ spring:
cache: false
enabled: true
request-context-attribute: request
feign:
sentinel:
enabled: true

View File

@ -1,7 +1,7 @@
//网关地址
var gate_way_url = "http://localhost:9000";
//后台管理微服务
var admin_manager_url = "admin";
var admin_manager_url = "mystyle-cloud-admin-manager";
//授权微服务
var user_oauth_url = "mystyle-cloud-oauth";
//博客微服务

View File

@ -4,11 +4,11 @@ logo:
## 网站名称
title: "MY Style"
## 网站图标
image: "/admin/system/admin/images/logo.png"
image: "/mystyle-cloud-admin-manager/system/admin/images/logo.png"
## 菜单配置
menu:
## 菜单数据来源
data: "/admin/user/menuList"
data: "/mystyle-cloud-admin-manager/user/menuList"
## 菜单接口的请求方式 GET / POST
method: "GET"
## 是否同时只打开一个菜单目录
@ -34,7 +34,7 @@ tab:
## 首页
index:
id: "0" ## 标识 ID , 建议与菜单项中的 ID 一致
href: "/admin/home" ## 页面地址
href: "/mystyle-cloud-admin-manager/home" ## 页面地址
title: "首页" ## 标题
## 主题配置
theme:
@ -70,4 +70,4 @@ other:
## 头部配置
header:
## 站内消息,数据来源,通过 false 设置关闭
message: "admin/data/message.json"
message: "mystyle-cloud-admin-manager/data/message.json"

View File

@ -3,9 +3,9 @@
<head>
<meta charset="UTF-8">
<title>文章添加</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/layui/css/layui.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/editor/css/editormd.min.css">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/css/layui.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/editor/css/editormd.min.css">
</head>
<body>
<form class="layui-form" action="">
@ -98,11 +98,11 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/editor/editormd.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/editor/editormd.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
var editor;

View File

@ -3,9 +3,9 @@
<head>
<meta charset="UTF-8">
<title>文章添加</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/layui/css/layui.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/editor/css/editormd.min.css">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/css/layui.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/editor/css/editormd.min.css">
</head>
<body>
<form class="layui-form" action="">
@ -114,11 +114,11 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/editor/editormd.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/editor/editormd.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
var editor;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>文章管理</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
<style>
.layui-table-header, .layui-table-header th {
background-color: #d2d2d2 !important;
@ -101,9 +101,9 @@
</script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['table', 'form', 'jquery','common'], function() {
let table = layui.table;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>分类添加</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -53,9 +53,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form','jquery'],function(){
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>分类编辑</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
</head>
<body>
<form class="layui-form" action="">
@ -62,9 +62,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form', 'jquery'], function () {
let form = layui.form;

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>分类管理</title>
<link rel="stylesheet"
href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
<style>
.layui-table-header, .layui-table-header th {
background-color: #d2d2d2 !important;
@ -70,9 +70,9 @@
{{layui.util.toDateString(d.addTime, 'yyyy-MM-dd HH:mm:ss')}}
</script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['table', 'form', 'jquery', 'common'], function () {
let table = layui.table;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>权限管理</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
</head>
<body class="pear-container">
<div class="layui-col-md9">
@ -47,9 +47,9 @@
</div>
</div>
</div>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['table', 'form', 'jquery', 'treetable'], function () {
let table = layui.table;

View File

@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>layui表单生成器</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/code/css/style.css">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/code/css/style.css">
</head>
<body>
<div class="layui-fluid">
@ -73,8 +73,8 @@
</div>
</div>
</body>
<script type="text/javascript" src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script type="text/javascript" src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script type="text/javascript" src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script type="text/javascript" src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script>
layui.use('design');
</script>

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title></title>
<link href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css" rel="stylesheet" />
<link href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" rel="stylesheet" />
</head>
<body class="pear-container">
<div class="layui-row layui-col-space10">
@ -23,9 +23,9 @@
<h2 class="layui-colla-title">显示代码</h2>
<div class="layui-colla-content">
<pre class="layui-code" lay-encode="true">
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
</pre>
</div>
</div>
@ -117,8 +117,8 @@
</div>
</div>
</div>
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script>
layui.use(['hash', 'form', 'jquery','layer','element','code'], function() {
var hash = layui.hash;

View File

@ -3,19 +3,19 @@
<head>
<meta charset="utf-8">
<title></title>
<link href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css" rel="stylesheet" />
<link href="${springMacroRequestContext.contextPath}/system/admin/css/other/error.css" rel="stylesheet" />
<link href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" rel="stylesheet" />
<link href="${springMacroRequestContext.contextPath}/${application_name}/system/admin/css/other/error.css" rel="stylesheet" />
</head>
<body>
<div class="content">
<img src="${springMacroRequestContext.contextPath}/system/admin/images/403.svg" alt="">
<img src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/images/403.svg" alt="">
<div class="content-r">
<h1>403</h1>
<p>抱歉,你无权访问该页面</p>
<button class="pear-btn pear-btn-primary">返回首页</button>
</div>
</div>
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
</body>
</html>

View File

@ -3,19 +3,19 @@
<head>
<meta charset="utf-8">
<title></title>
<link href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css" rel="stylesheet" />
<link href="${springMacroRequestContext.contextPath}/system/admin/css/other/error.css" rel="stylesheet" />
<link href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" rel="stylesheet" />
<link href="${springMacroRequestContext.contextPath}/${application_name}/system/admin/css/other/error.css" rel="stylesheet" />
</head>
<body>
<div class="content">
<img src="${springMacroRequestContext.contextPath}/system/admin/images/404.svg" alt="">
<img src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/images/404.svg" alt="">
<div class="content-r">
<h1>404</h1>
<p>抱歉,你访问的页面不存在或仍在开发中</p>
<button class="pear-btn pear-btn-primary">返回首页</button>
</div>
</div>
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
</body>
</html>

View File

@ -3,19 +3,19 @@
<head>
<meta charset="utf-8">
<title></title>
<link href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css" rel="stylesheet" />
<link href="${springMacroRequestContext.contextPath}/system/admin/css/other/error.css" rel="stylesheet" />
<link href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" rel="stylesheet" />
<link href="${springMacroRequestContext.contextPath}/${application_name}/system/admin/css/other/error.css" rel="stylesheet" />
</head>
<body>
<div class="content">
<img src="${springMacroRequestContext.contextPath}/system/admin/images/500.svg" alt="">
<img src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/images/500.svg" alt="">
<div class="content-r">
<h1>500</h1>
<p>抱歉,服务器出错了</p>
<button class="pear-btn pear-btn-primary">返回首页</button>
</div>
</div>
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
</body>
</html>

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>科目添加</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/mystyle-cloud-admin-manager/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -32,8 +32,8 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/mystyle-cloud-admin-manager/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/mystyle-cloud-admin-manager/system/component/pear/pear.js"></script>
<script>
layui.use(['form','jquery'],function(){
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>小说集合添加</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -38,9 +38,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form','jquery'],function(){
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>小说集合添加</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -39,9 +39,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form','jquery'],function(){
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>小说集合</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body class="pear-container">
<div class="layui-card">
@ -64,9 +64,9 @@
{{layui.util.toDateString(d.addTime, 'yyyy-MM-dd HH:mm:ss')}}
</script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['table', 'form', 'jquery','common','laypage'], function() {
let table = layui.table;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>文件上传</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
</head>
<body>
<form class="layui-form" action="">
@ -27,8 +27,8 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script>
layui.use(['form', 'jquery', 'upload','layUploader'], function () {

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>文件管理</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
<style>
.layui-table-header, .layui-table-header th {
background-color: #d2d2d2 !important;
@ -100,9 +100,9 @@
{{# } }}
</script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['table', 'form', 'jquery','common'], function() {
let table = layui.table;

View File

@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8">
<title>文件上传</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/component/pear/module/webupload/webuploader.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/module/webupload/webuploader.css"/>
</head>
<body>
<form class="layui-form" action="">
@ -21,10 +21,10 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/module/webupload/webuploader.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/module/webupload/webuploader.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script>

View File

@ -6,8 +6,8 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/admin/css/other/console1.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/admin/css/other/console1.css" />
<!-- 主 题 更 换 -->
<style id="pearadmin-bg-color"></style>
</head>
@ -199,8 +199,8 @@
</div>
</div>
<!--</div>-->
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script>
layui.use(['layer', 'echarts', 'element', 'count'], function() {
var $ = layui.jquery,

View File

@ -5,11 +5,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title> Pear Admin Layui </title>
<!-- 依 赖 样 式 -->
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
<!-- 加 载 样 式-->
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/admin/css/load.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/admin/css/load.css" />
<!-- 布 局 样 式 -->
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/admin/css/admin.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/admin/css/admin.css" />
</head>
<!-- 结 构 代 码 -->
<body class="layui-layout-body pear-admin">
@ -32,7 +32,7 @@
<!-- 头 像 -->
<a href="javascript:;">
<#if loginUser.avatar??>
<img src="${springMacroRequestContext.contextPath}/admin/system/admin/images/avatar.jpg" class="layui-nav-img">
<img src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/images/avatar.jpg" class="layui-nav-img">
<#else >
<img src="${loginUser.avatar!}" class="layui-nav-img">
</#if>
@ -40,7 +40,7 @@
</a>
<!-- 功 能 菜 单 -->
<dl class="layui-nav-child">
<dd><a user-menu-url="/admin/user/person" user-menu-id="${uuid!}" user-menu-title="基本资料">基本资料</a></dd>
<dd><a user-menu-url="${springMacroRequestContext.contextPath}/${application_name}/user/person" user-menu-id="${uuid!}" user-menu-title="基本资料">基本资料</a></dd>
<dd><a href="javascript:void(0);" class="logout">注销登录</a></dd>
</dl>
</li>
@ -79,9 +79,9 @@
<a href="#" class="layui-icon layui-icon-shrink-right"></a>
</div>
<!-- 依 赖 脚 本 -->
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<!-- 框 架 初 始 化 -->
<script>
layui.use(['admin','jquery','convert','popup'], function() {
@ -97,7 +97,7 @@
// 你可以通过 admin.setConfigPath 方法修改配置文件位置
// 你可以通过 admin.setConfigType 方法修改配置文件类型
admin.setConfigType("yml");
admin.setConfigPath("${springMacroRequestContext.contextPath}/admin/system/config/pear.config.yml");
admin.setConfigPath("${springMacroRequestContext.contextPath}/${application_name}/system/config/pear.config.yml");
admin.render();
// 登出逻辑

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>定时任务添加</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -61,10 +61,10 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form','jquery'],function(){
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>定时任务修改</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
</head>
<body>
<form class="layui-form" action="">
@ -73,10 +73,10 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form', 'jquery'], function () {
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>定时任务列表</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
</head>
<body class="pear-container">
<div class="layui-card">
@ -82,9 +82,9 @@
{{layui.util.toDateString(d.addTime, 'yyyy-MM-dd HH:mm:ss')}}
</script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['table', 'form', 'jquery', 'common', 'laydate'], function () {
let table = layui.table;

View File

@ -4,15 +4,15 @@
<meta charset="utf-8">
<title>Login Page</title>
<!-- 样 式 文 件 -->
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/admin/css/other/login.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/admin/css/other/login.css"/>
</head>
<!-- 代 码 结 构 -->
<body background="${springMacroRequestContext.contextPath}/admin/system/admin/images/background.svg"
<body background="${springMacroRequestContext.contextPath}/${application_name}/system/admin/images/background.svg"
style="background-size: cover;">
<form class="layui-form" action="javascript:void(0);">
<div class="layui-form-item">
<img class="logo" src="${springMacroRequestContext.contextPath}/admin/system/admin/images/logo.png"/>
<img class="logo" src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/images/logo.png"/>
<div class="title">My Style</div>
<div class="desc">
明 湖 区 最 具 影 响 力 的 设 计 规 范 之 一
@ -26,7 +26,7 @@
</div>
<div class="layui-form-item">
<input placeholder="验证码 : " name="captcha" hover class="code layui-input layui-input-inline"/>
<img src="/admin/verificationCode/generate" class="codeImage" id="captchaImage"/>
<img src="/${application_name}/verificationCode/generate" class="codeImage" id="captchaImage"/>
</div>
<div class="layui-form-item">
<input type="checkbox" name="remember-me" title="记住密码" lay-skin="primary">
@ -41,9 +41,9 @@
</div>
</form>
<!-- 资 源 引 入 -->
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form', 'jquery', 'layer', 'button', 'popup'], function () {
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>发送邮件</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -48,9 +48,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form','jquery'],function(){
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>发送邮件</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -49,9 +49,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form','jquery'],function(){
let form = layui.form;

View File

@ -8,8 +8,8 @@
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
<title>网站后台管理模版</title>
<link rel="stylesheet" type="text/css"
href="${springMacroRequestContext.contextPath}/admin/lib/layui/css/layui.css"/>
<link rel="stylesheet" type="text/css" href="${springMacroRequestContext.contextPath}/admin/css/admin.css"/>
href="${springMacroRequestContext.contextPath}/${application_name}/lib/layui/css/layui.css"/>
<link rel="stylesheet" type="text/css" href="${springMacroRequestContext.contextPath}/${application_name}/css/admin.css"/>
<style>
@ -48,7 +48,7 @@
</div>
</form>
</div>
<script src="${springMacroRequestContext.contextPath}/admin/lib/layui/layui.js" type="text/javascript"
<script src="${springMacroRequestContext.contextPath}/${application_name}/lib/layui/layui.js" type="text/javascript"
charset="utf-8"></script>
<script>
layui.use(['form', 'layedit', 'laydate', 'jquery'], function () {

View File

@ -7,8 +7,8 @@
<meta name="viewport"
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
<title>转身的背影在心底里沉沦</title>
<link rel="stylesheet" type="text/css" href="${springMacroRequestContext.contextPath}/admin/lib/layui/css/layui.css"/>
<link rel="stylesheet" type="text/css" href="${springMacroRequestContext.contextPath}/admin/css/admin.css"/>
<link rel="stylesheet" type="text/css" href="${springMacroRequestContext.contextPath}/${application_name}/lib/layui/css/layui.css"/>
<link rel="stylesheet" type="text/css" href="${springMacroRequestContext.contextPath}/${application_name}/system/admin/css/admin.css"/>
<style>
.layui-btn {
@ -135,7 +135,7 @@
</div>
</div>
</div>
<script src="${springMacroRequestContext.contextPath}/admin/lib/layui/layui.js" type="text/javascript"
<script src="${springMacroRequestContext.contextPath}/${application_name}/lib/layui/layui.js" type="text/javascript"
charset="utf-8"></script>
<script>
layui.use(['form', 'laypage', 'jquery', 'layer', 'okLayer'], function () {

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>邮件管理</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body class="pear-container">
<div class="layui-card">
@ -93,9 +93,9 @@
}}
</script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['table', 'form', 'jquery','common'], function() {
let table = layui.table;

View File

@ -2,7 +2,7 @@
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<title>添加权限</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -93,9 +93,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form', 'jquery', 'iconPicker', 'dtree','dictionary'], function () {
let form = layui.form;

View File

@ -2,7 +2,7 @@
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<title>添加权限</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
</head>
<body>
<form class="layui-form" action="">
@ -103,9 +103,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form', 'jquery', 'iconPicker', 'dtree', 'dictionary','layer'], function () {
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>权限管理</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
<style>
.layui-table-header, .layui-table-header th {
background-color: #d2d2d2 !important;
@ -87,9 +87,9 @@
<i class="layui-icon {{d.icon}}"></i>
</script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['table', 'form', 'jquery', 'treetable'], function () {
let table = layui.table;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>角色添加</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -62,9 +62,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form','jquery'],function(){
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>角色授权</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -27,9 +27,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['dtree', 'form', 'jquery'], function () {
let dtree = layui.dtree;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>角色修改</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
</head>
<body>
<form class="layui-form" action="">
@ -72,9 +72,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form', 'jquery'], function () {
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>角色管理</title>
<link href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" rel="stylesheet"/>
<link href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" rel="stylesheet"/>
<style>
.layui-table-header, .layui-table-header th {
background-color: #d2d2d2 !important;
@ -93,9 +93,9 @@
checked="{{ d.id == 10003 ? 'true' : 'false' }}">
</script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['table', 'form', 'jquery'], function () {
let table = layui.table;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>网站设置</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
</head>
<body class="pear-container">
<div class="layui-card">
@ -45,8 +45,8 @@
</div>
</div>
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script>
layui.use(['table', 'form', 'jquery', 'treetable'], function () {
let table = layui.table;

View File

@ -3,17 +3,17 @@
<head>
<meta charset="UTF-8">
<title>管理员账户设置</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/admin/css/other/login.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/admin/css/other/login.css" />
</head>
<style>
</style>
<body background="${springMacroRequestContext.contextPath}/system/admin/images/background.svg" style="background-size: cover;">
<body background="${springMacroRequestContext.contextPath}/${application_name}/system/admin/images/background.svg" style="background-size: cover;">
<form class="layui-form" action="/userConfig/save" method="post" id="user_config_form" name="user_config_form">
<div class="layui-form-item">
<img class="logo" src="${springMacroRequestContext.contextPath}/system/admin/images/logo.png"/>
<img class="logo" src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/images/logo.png"/>
<div class="title">设置管理员登录</div>
</div>
@ -38,9 +38,9 @@
</button>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script>
function user_config_save() {
var username = $("#username").val();

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>标签添加</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -51,9 +51,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form','jquery'],function(){
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>分类编辑</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
</head>
<body>
<form class="layui-form" action="">
@ -62,9 +62,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form', 'jquery'], function () {
let form = layui.form;

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>分类管理</title>
<link rel="stylesheet"
href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
</head>
<body class="pear-container">
<div class="layui-card">
@ -65,9 +65,9 @@
{{layui.util.toDateString(d.addTime, 'yyyy-MM-dd HH:mm:ss')}}
</script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['table', 'form', 'jquery', 'common'], function () {
let table = layui.table;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>用户添加</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
</head>
<body>
<form class="layui-form" action="">
@ -81,9 +81,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form','jquery'],function(){
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css"/>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css"/>
</head>
<body>
<form class="layui-form" action="">
@ -75,9 +75,9 @@
</div>
</div>
</form>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form','jquery'],function(){
let form = layui.form;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>用户添加</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
<style>
.forget .tit {
padding-top: 15px;
@ -65,8 +65,8 @@
</form>
</div>
<!--js逻辑-->
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script>
layui.use(["form","jquery"], function () {
let $ = layui.jquery;

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>用户管理</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/admin/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
<style>
.layui-table-header, .layui-table-header th {
background-color: #d2d2d2 !important;
@ -90,9 +90,9 @@
{{layui.util.toDateString(d.addTime, 'yyyy-MM-dd HH:mm:ss')}}
</script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/admin/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['table', 'form', 'jquery','common'], function() {
let table = layui.table;

View File

@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/admin/css/other/person.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/admin/css/other/person.css" />
</head>
<body class="pear-container">
<div class="layui-row layui-col-space10">
@ -133,8 +133,8 @@
</div>
</div>
</div>
<script src="${springMacroRequestContext.contextPath}/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/js/jquery.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script>
layui.use(['jquery', 'form','element', 'layer','upload'], function () {
var element = layui.element,

View File

@ -4,14 +4,14 @@
<meta charset="utf-8">
<title>Login Page</title>
<!-- 样 式 文 件 -->
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/system/admin/css/other/login.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/css/pear.css" />
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/${application_name}/system/admin/css/other/login.css" />
</head>
<!-- 代 码 结 构 -->
<body background="${springMacroRequestContext.contextPath}/system/admin/images/background.svg" style="background-size: cover;">
<body background="${springMacroRequestContext.contextPath}/${application_name}/system/admin/images/background.svg" style="background-size: cover;">
<form class="layui-form" action="javascript:void(0);">
<div class="layui-form-item">
<img class="logo" src="${springMacroRequestContext.contextPath}/system/admin/images/logo.png"/>
<img class="logo" src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/images/logo.png"/>
<div class="title">My Style</div>
<div class="desc">
用户注册
@ -47,9 +47,9 @@
</div>
</form>
<!-- 资 源 引 入 -->
<script src="${springMacroRequestContext.contextPath}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/system/admin/js/mystyle-admin.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/layui/layui.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/component/pear/pear.js"></script>
<script src="${springMacroRequestContext.contextPath}/${application_name}/system/admin/js/mystyle-admin.js"></script>
<script>
layui.use(['form', 'jquery', 'layer', 'button', 'popup'], function () {
let form = layui.form;

View File

@ -1,24 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/semantic-ui/semantic.min.css">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/semantic-ui/css/customer.css">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/editor/css/typo.css">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/editor/css/animate.css">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/prism/prism.css">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/tocbot/tocbot.css">
<script src="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/semantic-ui/semantic.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/semantic-ui/jquery-1.11.3.js"></script>
<script src="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/prism/prism.js"></script>
<script src="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/tocbot/tocbot.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/qrcode/qrcode.min.js"></script>
<script src="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/waypoints/jquery.waypoints.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/jquery.scrollto@2.1.2/jquery.scrollTo.min.js"></script>
<title>${title!}</title>
</head>
<body>

View File

@ -1,81 +0,0 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="author" content="">
<title>${fiction.bookName!}</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/bootstrap/dist/css/bootstrap.css" />
<style>
html,body{width: 100%;height: 100%;margin:0px;padding:0px;}
body{overflow: hidden}
.nav a{color:#000;padding:0 5px !important;}
.nav li{border-bottom: dashed 1px #fff;margin:0 15px;line-height: 40px;}
.nav div i{display:inline-block;border-bottom: solid 1px #fff;width:100%;cursor:pointer;line-height: 40px;padding-left: 10px;margin-top: 10px;font-size: 16px;}
.nav div i:before{font-size: 12px;position: relative;top:0px;left: -3px;}
.active a{color:#f00;}
.title{color:#fff;background: #bebebe; font-size: 14px;line-height: 50px;}
.row-left,.row-rit{height: 100%;float: left;position: relative;}
.row-left{background: #efefef;padding:0px;border-right:solid 2px #999;overflow: auto;width: 265px;position: relative;}
.left-show{background: #999;color:#fff;top:50%;left: 265px;z-index:999;position: absolute;width: 10px;height: 60px;border-radius: 0px 5px 5px 0px;}
.left-show:before{font-size: 12px;position: relative;top:20px;left:-2px;text-align: center;}
</style>
</head>
<body>
<!-- 页面头部 -->
<div class="left-show glyphicon glyphicon-step-backward"></div>
<div class="row-left">
<div class="title text-center">
<a href="/fiction/index">返回首页</a>&nbsp;&nbsp;&nbsp;${fiction.bookName!}
</div>
<div class="nav">
<#if fictionChapterList ??>
<#list fictionChapterList as fictionChapter>
<li><a href="/mystyle-cloud-web-blog/fiction/details/${fictionChapter.id}" target="right">${fictionChapter.title!}</a></li>
</#list>
</#if>
</div>
</div>
<div class="row-rit">
<iframe name="right" id="iframepage" src="/mystyle-cloud-web-blog/fiction/details/${fictionChapter.id!}" width="100%" height="100%" frameborder="0" ranat="server"></iframe>
</div>
<script type="text/javascript" src="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/js/jquery.min.js"></script>
<script>
$(function(){
var wd = 265;
$(".row-rit").css('width',$('body').width()-wd+'px');
$(".left-show").click(function(){
if($(this).hasClass('glyphicon-step-backward')){
$(this).removeClass('glyphicon-step-backward').addClass('glyphicon-step-forward').css("left",'0');
$(".row-left").hide();
$(".row-rit").css('width',$('body').width()+'px');
}else{
$(this).removeClass('glyphicon-step-forward').addClass('glyphicon-step-backward').css("left",wd+'px');
$(".row-left").show();
$(".row-rit").css('width',$('body').width()-wd+'px');
}
})
})
window.onresize=function(){
location.reload(); //修改因缩小浏览器导致页面消失
}
$('.nav li:first').addClass('active');
$('.nav div i').click(function(){
if($(this).hasClass("glyphicon-collapse-down")){
$(this).removeClass('glyphicon-collapse-down').addClass('glyphicon-expand');
$(this).parent().find('li').hide();
}else{
$(this).removeClass('glyphicon-expand').addClass('glyphicon-collapse-down');
$(this).parent().find('li').show();
}
});
$('.nav li').click(function(){
$('.nav li').removeClass('active')
$(this).addClass('active');
});
</script>
</body>

View File

@ -1,30 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>${title!}</title>
</head>
<body>
<style>
.left-show {
width: 1500px;
background: #c9cdb3;
color: #fff;
top: 50px;
left: 50px;
z-index: 999;
position: absolute;
letter-spacing: 5px;
border-radius: 5px 5px 5px 5px;
}
</style>
<!--中间主要内容部分-->
<div class="left-show">
${fictionDetails.content!}
</div>
<script>
</script>
</body>
</html>

View File

@ -1,79 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${siteName!}</title>
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/system/component/layui/css/layui.css">
<link rel="stylesheet" href="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/css/index.css">
</head>
<body>
<div class="header">
<div class="mytitle">
<label>转身的背影在心底里沉沦</label>
</div>
<div class="mymenu-content">
<ul class="mymenu">
<li><a href="/blog/v2/index">文章</a></li>
<li><a href="message.html">留言</a></li>
<li><a href="photos.html">相册</a></li>
<li><a href="about.html">简介</a></li>
<li><a href="aihao.html">爱好</a></li>
<li><a href="movies.html">电影</a></li>
<li><a href="books.html">书籍</a></li>
</ul>
</div>
<div class="other-functions">
<label>隐藏功能</label>
</div>
<div class="query">
<input class="keyword" id="keyword" placeholder="搜索内容"/>
<i class="layui-icon" style="margin-right: 20px; font-size: 18px;" onclick="search_article()">&#xe615;</i>
</div>
</div>
<div class="main-content">
<div class="content-body">
<#if pageInfo.getList() ??>
<#list pageInfo.getList() as fiction>
<div class="blog-item">
<p class="blog-title"><a href="/mystyle-cloud-web-blog/fiction/chapter/${fiction.id!}">${fiction.bookName!}</a></p>
<p class="blog-author">—— ${fiction.author!} ${fiction.addTime?string('yyyy-MM-dd hh:mm:ss')}</p>
<img class="blog-img" src="${fiction.main_image_path!}" width="30%" height="30%"/>
<p class="blog-des">${fiction.intro!}</p>
<p class="blog-tags">标签: 小说</p>
</div>
</#list>
</#if>
</div>
<hr class="my-line">
<div id="test1" class="blog-page">
<div class="layui-box layui-laypage layui-laypage-default">
<a href="/blog/v2/index?pageNum=${pageInfo.prePage!}&pageSize=${pageInfo.pageSize!}" class="layui-laypage-prev">上一页</a>
<#if pageInfo.navigatepageNums ??>
<#list pageInfo.navigatepageNums as pagenumber >
<a href="/blog/v2/index?pageNum=${pagenumber!}&pageSize=${pageInfo.pageSize!}" class="layui-laypage-curr">${pagenumber}</a>
</#list>
</#if>
<a href="/blog/v2/index?pageNum=${pageInfo.nextPage}&pageSize=${pageInfo.pageSize}" class="layui-laypage-next">下一页</a>
</div>
</div>
</div>
<script src="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/system/component/layui/layui.js"></script>
<!-- 引入jquery js -->
<script src="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/js/jquery.min.js"></script>
<!-- 自定义 js -->
<script src="${springMacroRequestContext.contextPath}/mystyle-cloud-web-blog/blog/js/index.js"></script>
<script>
$(function () {
//init
component.init();
});
function search_article() {
var val = $("#keyword").val();
window.location.href="/blog/v2/index?title="+val;
}
</script>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More