Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
cd3f0548
Commit
cd3f0548
authored
Jun 23, 2020
by
sgjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改标签
parent
a866cd37
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
108 additions
and
109 deletions
+108
-109
pom.xml
pom.xml
+14
-5
CmsParserUtil.java
src/main/java/net/mingsoft/cms/util/CmsParserUtil.java
+11
-23
application-dev.yml
src/main/resources/application-dev.yml
+2
-2
application.yml
src/main/resources/application.yml
+2
-1
index.ftl
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl
+0
-0
case-list.htm
src/main/webapp/templets/1/default/case-list.htm
+6
-6
footer.htm
src/main/webapp/templets/1/default/footer.htm
+5
-5
head-file.htm
src/main/webapp/templets/1/default/head-file.htm
+29
-28
head.htm
src/main/webapp/templets/1/default/head.htm
+5
-5
index.htm
src/main/webapp/templets/1/default/index.htm
+0
-0
menu-left.htm
src/main/webapp/templets/1/default/menu-left.htm
+3
-3
news-list.htm
src/main/webapp/templets/1/default/news-list.htm
+5
-5
news-show.htm
src/main/webapp/templets/1/default/news-show.htm
+26
-26
No files found.
pom.xml
View file @
cd3f0548
...
@@ -51,17 +51,26 @@
...
@@ -51,17 +51,26 @@
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
</properties>
<repositories>
<repositories>
<!--阿里云中央仓库-->
<repository>
<repository>
<id>
maven-ali
</id>
<id>
sonatype-nexus-snapshots
</id>
<url>
http://maven.aliyun.com/nexus/content/groups/public/
</url>
<name>
Sonatype Nexus Snapshots
</name>
<url>
http://maven.aliyun.com/nexus/content/repositories/central/
</url>
<releases>
<releases>
<enabled>
true
</enabled>
<enabled>
true
</enabled>
</releases>
</releases>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
</repository>
<repository>
<id>
sonatype
</id>
<name>
Sonatype Snapshots
</name>
<url>
https://oss.sonatype.org/content/groups/public/
</url>
<releases>
<enabled>
false
</enabled>
</releases>
<snapshots>
<snapshots>
<enabled>
true
</enabled>
<enabled>
true
</enabled>
<updatePolicy>
always
</updatePolicy>
<checksumPolicy>
fail
</checksumPolicy>
</snapshots>
</snapshots>
</repository>
</repository>
</repositories>
</repositories>
...
...
src/main/java/net/mingsoft/cms/util/CmsParserUtil.java
View file @
cd3f0548
...
@@ -92,16 +92,12 @@ public class CmsParserUtil extends ParserUtil {
...
@@ -92,16 +92,12 @@ public class CmsParserUtil extends ParserUtil {
Template
mobileTemplate
=
cfg
.
getTemplate
(
Template
mobileTemplate
=
cfg
.
getTemplate
(
BasicUtil
.
getApp
().
getAppMobileStyle
()
+
File
.
separator
+
column
.
getCategoryListUrl
(),
Const
.
UTF8
);
BasicUtil
.
getApp
().
getAppMobileStyle
()
+
File
.
separator
+
column
.
getCategoryListUrl
(),
Const
.
UTF8
);
// pc端模板
// pc端模板
Template
template
=
cfg
.
getTemplate
(
File
.
separator
+
column
.
getCategoryListUrl
(),
Const
.
UTF8
);
// 文章的栏目模型编号
// 文章的栏目模型编号
String
columnContentModelId
=
column
.
getMdiyModelId
();
String
columnContentModelId
=
column
.
getMdiyModelId
();
StringWriter
writer
=
new
StringWriter
();
try
{
// 为了分页添加column,判断栏目是否为父栏目
template
.
process
(
null
,
writer
);
String
content
=
writer
.
toString
();
//获取列表页显示的文章数量
//获取列表页显示的文章数量
int
pageSize
=
TagParser
.
getPageSize
(
content
)
;
int
pageSize
=
10
;
//获取总数
//获取总数
int
totalPageSize
=
PageUtil
.
totalPage
(
articleIdTotal
,
pageSize
);
int
totalPageSize
=
PageUtil
.
totalPage
(
articleIdTotal
,
pageSize
);
...
@@ -141,16 +137,13 @@ public class CmsParserUtil extends ParserUtil {
...
@@ -141,16 +137,13 @@ public class CmsParserUtil extends ParserUtil {
// 设置分页的起始位置
// 设置分页的起始位置
page
.
setPageNo
(
pageNo
);
page
.
setPageNo
(
pageNo
);
parserParams
.
put
(
ParserUtil
.
PAGE
,
page
);
parserParams
.
put
(
ParserUtil
.
PAGE
,
page
);
TagParser
tag
=
new
TagParser
(
content
,
parserParams
);
String
read
=
ParserUtil
.
read
(
File
.
separator
+
column
.
getCategoryListUrl
(),
false
,
parserParams
);
FileUtil
.
writeString
(
tag
.
rendering
()
,
columnListPath
,
Const
.
UTF8
);
FileUtil
.
writeString
(
read
,
columnListPath
,
Const
.
UTF8
);
// 判断是手机端生成还是pc端,防止重复生成
// 判断是手机端生成还是pc端,防止重复生成
if
(
ParserUtil
.
hasMobileFile
(
column
.
getCategoryListUrl
()))
{
if
(
ParserUtil
.
hasMobileFile
(
column
.
getCategoryListUrl
()))
{
writer
=
new
StringWriter
();
mobileTemplate
.
process
(
null
,
writer
);
parserParams
.
put
(
ParserUtil
.
MOBILE
,
BasicUtil
.
getApp
().
getAppMobileStyle
());
parserParams
.
put
(
ParserUtil
.
MOBILE
,
BasicUtil
.
getApp
().
getAppMobileStyle
());
tag
=
new
TagParser
(
writer
.
toString
(),
parserParams
);
String
read1
=
ParserUtil
.
read
(
File
.
separator
+
column
.
getCategoryListUrl
(),
true
,
parserParams
);
// 将tag.getContent()写入路径
FileUtil
.
writeString
(
read1
,
mobilePath
,
Const
.
UTF8
);
FileUtil
.
writeString
(
tag
.
rendering
(),
mobilePath
,
Const
.
UTF8
);
}
}
}
else
{
}
else
{
...
@@ -173,23 +166,18 @@ public class CmsParserUtil extends ParserUtil {
...
@@ -173,23 +166,18 @@ public class CmsParserUtil extends ParserUtil {
// 设置分页的起始位置
// 设置分页的起始位置
page
.
setPageNo
(
pageNo
);
page
.
setPageNo
(
pageNo
);
parserParams
.
put
(
ParserUtil
.
PAGE
,
page
);
parserParams
.
put
(
ParserUtil
.
PAGE
,
page
);
TagParser
tag
=
new
TagParser
(
content
,
parserParams
);
String
read
=
ParserUtil
.
read
(
File
.
separator
+
column
.
getCategoryListUrl
(),
false
,
parserParams
);
FileUtil
.
writeString
(
tag
.
rendering
()
,
columnListPath
,
Const
.
UTF8
);
FileUtil
.
writeString
(
read
,
columnListPath
,
Const
.
UTF8
);
// 判断是手机端生成还是pc端,防止重复生成
// 判断是手机端生成还是pc端,防止重复生成
if
(
ParserUtil
.
hasMobileFile
(
column
.
getCategoryListUrl
()))
{
if
(
ParserUtil
.
hasMobileFile
(
column
.
getCategoryListUrl
()))
{
writer
=
new
StringWriter
();
mobileTemplate
.
process
(
null
,
writer
);
parserParams
.
put
(
ParserUtil
.
MOBILE
,
BasicUtil
.
getApp
().
getAppMobileStyle
());
parserParams
.
put
(
ParserUtil
.
MOBILE
,
BasicUtil
.
getApp
().
getAppMobileStyle
());
tag
=
new
TagParser
(
writer
.
toString
(),
parserParams
);
String
read1
=
ParserUtil
.
read
(
File
.
separator
+
column
.
getCategoryListUrl
(),
true
,
parserParams
);
// 将tag.getContent()写入路径
// 将tag.getContent()写入路径
FileUtil
.
writeString
(
tag
.
rendering
()
,
mobilePath
,
Const
.
UTF8
);
FileUtil
.
writeString
(
read1
,
mobilePath
,
Const
.
UTF8
);
}
}
pageNo
++;
pageNo
++;
}
}
}
}
}
catch
(
TemplateException
e
)
{
e
.
printStackTrace
();
}
}
catch
(
TemplateNotFoundException
e
){
}
catch
(
TemplateNotFoundException
e
){
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
src/main/resources/application-dev.yml
View file @
cd3f0548
spring
:
spring
:
datasource
:
datasource
:
url
:
jdbc:mysql://localhost:3306/
db-mcms-
open?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://localhost:3306/
ms
open?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username
:
root
username
:
root
password
:
password
:
123456
filters
:
wall,mergeStat
filters
:
wall,mergeStat
type
:
com.alibaba.druid.pool.DruidDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
src/main/resources/application.yml
View file @
cd3f0548
...
@@ -16,10 +16,11 @@ ms:
...
@@ -16,10 +16,11 @@ ms:
manager
:
manager
:
path
:
/ms
#后台访问的路径,如:http://项目/ms/login.do,生成的时候建议修改
path
:
/ms
#后台访问的路径,如:http://项目/ms/login.do,生成的时候建议修改
view-path
:
/WEB-INF/manager
#后台视图层路径配置
view-path
:
/WEB-INF/manager
#后台视图层路径配置
chcek-code
:
tru
e
#默认开启验证码验证,false验证码不验证
chcek-code
:
fals
e
#默认开启验证码验证,false验证码不验证
upload
:
upload
:
path
:
upload
#文件上传路径,可以根据实际写绝对路径
path
:
upload
#文件上传路径,可以根据实际写绝对路径
template
:
template
#文件上传路径,可以根据实际写绝对路径
mapping
:
/upload/**
#修改需要谨慎,系统第一次部署可以随意修改,如果已经有了上传数据,再次修改会导致之前上传的文件404
mapping
:
/upload/**
#修改需要谨慎,系统第一次部署可以随意修改,如果已经有了上传数据,再次修改会导致之前上传的文件404
denied
:
.exe,.jsp
denied
:
.exe,.jsp
multipart
:
multipart
:
...
...
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl
0 → 100644
View file @
cd3f0548
This diff is collapsed.
Click to expand it.
src/main/webapp/templets/1/default/case-list.htm
View file @
cd3f0548
...
@@ -12,27 +12,27 @@
...
@@ -12,27 +12,27 @@
</div>
</div>
<div
class=
"ms-content-case"
>
<div
class=
"ms-content-case"
>
<div
class=
"ms-content-main"
>
<div
class=
"ms-content-main"
>
{ms:arclist size=6 ispaging=true}
<
@
arclist
size=
6
ispaging=
true
>
<div
class=
"ms-content-main-case"
>
<div
class=
"ms-content-main-case"
>
<div
class=
"ms-content-main-case-img"
>
<div
class=
"ms-content-main-case-img"
>
<img
src=
"
{ms:global.host/}[field.litpic/]
"
>
<img
src=
"
${global.host}${item.litpic}
"
>
</div>
</div>
<div
class=
"ms-content-main-case-explain"
>
<div
class=
"ms-content-main-case-explain"
>
<div
class=
"ms-content-main-case-title"
>
[field.title/]
</div>
<div
class=
"ms-content-main-case-title"
>
${item.title}
</div>
<div
class=
"ms-content-main-case-content"
>
<div
class=
"ms-content-main-case-content"
>
<p
class=
"ms-content-main-case-written"
>
<p
class=
"ms-content-main-case-written"
>
[field.content/]
${item.content}
</p>
</p>
<!-- <p class="ms-content-main-case-QRcode">
<!-- <p class="ms-content-main-case-QRcode">
<img src="./images/1471918025445.png">
<img src="./images/1471918025445.png">
</p> -->
</p> -->
</div>
</div>
<div
class=
"ms-content-main-case-click"
>
<div
class=
"ms-content-main-case-click"
>
<a
target=
"_blank"
href=
"
[field.source/]
"
>
点击查看
</a>
<a
target=
"_blank"
href=
"
${field.source}
"
>
点击查看
</a>
</div>
</div>
</div>
</div>
</div>
</div>
{/ms:arclist}
</
@
arclist>
</div>
</div>
</div>
</div>
<
#
include
"
footer
.
htm
"
/>
<
#
include
"
footer
.
htm
"
/>
...
...
src/main/webapp/templets/1/default/footer.htm
View file @
cd3f0548
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"ms-footer-left"
>
<div
class=
"ms-footer-left"
>
<div
class=
"ms-footer-left-column"
>
<div
class=
"ms-footer-left-column"
>
<span
class=
"ms-footer-left-column-about"
>
<span
class=
"ms-footer-left-column-about"
>
<a
href=
'
{ms:global.url/
}/53/index.html'
>
关于我们
</a>
<a
href=
'
${global.url
}/53/index.html'
>
关于我们
</a>
</span>
|
</span>
|
<span
class=
"ms-footer-left-column-course"
>
<span
class=
"ms-footer-left-column-course"
>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#faz'
>
发展历程
</a>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#faz'
>
发展历程
</a>
...
@@ -15,12 +15,12 @@
...
@@ -15,12 +15,12 @@
<span
class=
"ms-footer-left-copyright"
>
版权所有
©
铭飞科技有限公司2012-2018保留一切权利
</span>
<span
class=
"ms-footer-left-copyright"
>
版权所有
©
铭飞科技有限公司2012-2018保留一切权利
</span>
</div>
</div>
<div
class=
"ms-footer-right"
>
<div
class=
"ms-footer-right"
>
<img
class=
'ms-footer-right-img-weixin'
src=
"
{ms:global.host/}/{ms:global.style/
}/images/we-chat.png"
>
<img
class=
'ms-footer-right-img-weixin'
src=
"
${global.host}/${global.style
}/images/we-chat.png"
>
<a
target=
"_blank"
href=
'http://tieba.baidu.com/f?kw=%E9%93%AD%E9%A3%9E%E7%A7%91%E6%8A%80&fr=index&fp=0&ie=utf-8'
><img
class=
"ms-footer-right-baidu"
src=
"
{ms:global.host/}/{ms:global.style/
}/images/baidu.png"
></a>
<a
target=
"_blank"
href=
'http://tieba.baidu.com/f?kw=%E9%93%AD%E9%A3%9E%E7%A7%91%E6%8A%80&fr=index&fp=0&ie=utf-8'
><img
class=
"ms-footer-right-baidu"
src=
"
${global.host}/${global.style
}/images/baidu.png"
></a>
<a
target=
"_blank"
href=
'http://weibo.com/killfen'
><img
src=
"
{ms:global.host/}/{ms:global.style/
}/images/micro-blog.png"
></a>
<a
target=
"_blank"
href=
'http://weibo.com/killfen'
><img
src=
"
${global.host}/${global.style
}/images/micro-blog.png"
></a>
<div
class=
"ms-footer-right-weixin"
>
<div
class=
"ms-footer-right-weixin"
>
<p></p>
<p></p>
<img
alt=
""
src=
"
{ms:global.host/}/{ms:global.style/
}/images/weixin.jpg"
>
<img
alt=
""
src=
"
${global.host}/${global.style
}/images/weixin.jpg"
>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/main/webapp/templets/1/default/head-file.htm
View file @
cd3f0548
<title>
{ms:global.name/
}
</title>
<title>
${global.name
}
</title>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{ms:global.host/
}/plugins/iconfont/1.0.0/iconfont.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${global.host
}/plugins/iconfont/1.0.0/iconfont.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{ms:global.host/}/{ms:global.style/
}/css/base.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${global.host}/${global.style
}/css/base.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{ms:global.host/}/{ms:global.style/
}/css/index.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${global.host}/${global.style
}/css/index.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{ms:global.host/}/{ms:global.style/
}/css/advice.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${global.host}/${global.style
}/css/advice.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{ms:global.host/}/{ms:global.style/
}/css/case-list.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${global.host}/${global.style
}/css/case-list.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{ms:global.host/}/{ms:global.style/
}/css/about.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${global.host}/${global.style
}/css/about.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{ms:global.host/}/{ms:global.style/
}/css/news-list.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${global.host}/${global.style
}/css/news-list.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{ms:global.host/}/{ms:global.style/
}/css/news-show.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${global.host}/${global.style
}/css/news-show.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{ms:global.host/}/{ms:global.style/
}/css/center.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${global.host}/${global.style
}/css/center.css"
>
<script
src=
"
{ms:global.host/
}/plugins/jquery/1.9.1/jquery-1.9.1.js"
></script>
<script
src=
"
${global.host
}/plugins/jquery/1.9.1/jquery-1.9.1.js"
></script>
<script
src=
"
{ms:global.host/}/{ms:global.style/
}/js/slider.js"
></script>
<script
src=
"
${global.host}/${global.style
}/js/slider.js"
></script>
<script
src=
"
{ms:global.host/
}/static/plugins/less/3.9.0/less.min.js"
></script>
<script
src=
"
${global.host
}/static/plugins/less/3.9.0/less.min.js"
></script>
<!--vue-懒加载-表单验证-->
<!--vue-懒加载-表单验证-->
<script
src=
"
{ms:global.host/
}/plugins/vue/2.6.9/vue.min.js"
></script>
<script
src=
"
${global.host
}/plugins/vue/2.6.9/vue.min.js"
></script>
<script
src=
"
{ms:global.host/
}/plugins/validator/10.8.0/validator.min.js"
></script>
<script
src=
"
${global.host
}/plugins/validator/10.8.0/validator.min.js"
></script>
<!-- Element -->
<!-- Element -->
<link
rel=
"stylesheet"
href=
"
{ms:global.host/
}/plugins/element-ui/2.8.2/index.css"
>
<link
rel=
"stylesheet"
href=
"
${global.host
}/plugins/element-ui/2.8.2/index.css"
>
<script
src=
"
{ms:global.host/
}/plugins/element-ui/2.8.2/index.js"
></script>
<script
src=
"
${global.host
}/plugins/element-ui/2.8.2/index.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{ms:global.host/}/{ms:global.style/
}/css/animate.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${global.host}/${global.style
}/css/animate.css"
>
<script
src=
"
{ms:global.host/
}/static/plugins/axios/0.18.0/axios.min.js"
></script>
<script
src=
"
${global.host
}/static/plugins/axios/0.18.0/axios.min.js"
></script>
<script
src=
"
{ms:global.host/
}/static/plugins/ms/1.0.0/ms.js"
></script>
<script
src=
"
${global.host
}/static/plugins/ms/1.0.0/ms.js"
></script>
<script
src=
"
{ms:global.host/
}/static/plugins/ms/1.0.0/ms.http.js"
></script>
<script
src=
"
${global.host
}/static/plugins/ms/1.0.0/ms.http.js"
></script>
<script
src=
"
{ms:global.host/
}/static/plugins/ms/1.0.0/ms.util.js"
></script>
<script
src=
"
${global.host
}/static/plugins/ms/1.0.0/ms.util.js"
></script>
<script
src=
"
{ms:global.host/
}/api/ms.people.min.js"
></script>
<script
src=
"
${global.host
}/api/ms.people.min.js"
></script>
<script
src=
"
{ms:global.host/
}/static/plugins/plupload/plupload.full.min.js"
></script>
<script
src=
"
${global.host
}/static/plugins/plupload/plupload.full.min.js"
></script>
<script
src=
"
{ms:global.host/
}/static/plugins/qs/6.6.0/qs.min.js"
></script>
<script
src=
"
${global.host
}/static/plugins/qs/6.6.0/qs.min.js"
></script>
<script
src=
"
{ms:global.host/
}/static/plugins/ms/1.0.0/ms.upload.js"
></script>
<script
src=
"
${global.host
}/static/plugins/ms/1.0.0/ms.upload.js"
></script>
<script>
<script>
window
.
http
=
ms
.
http
;
window
.
http
=
ms
.
http
;
ms
.
base
=
"
{ms:global.host/
}"
;
ms
.
base
=
"
${global.host
}"
;
ms
.
login
=
'
{ms:global.host/
}'
;
ms
.
login
=
'
${global.host
}'
;
</script>
</script>
\ No newline at end of file
src/main/webapp/templets/1/default/head.htm
View file @
cd3f0548
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
<li
class=
"head-menu-list-li"
>
走进铭飞
<li
class=
"head-menu-list-li"
>
走进铭飞
<ul
class=
"head-menu-son-list"
>
<ul
class=
"head-menu-son-list"
>
<li>
<li>
<a
target=
"_blank"
href=
'
{ms:global.url/
}/53/index.html'
>
关于我们
</a>
<a
target=
"_blank"
href=
'
${global.url
}/53/index.html'
>
关于我们
</a>
</li>
</li>
<li>
<li>
<a
target=
"_blank"
href=
'
{ms:global.url/
}/59/index.html'
>
公司动态
</a>
<a
target=
"_blank"
href=
'
${global.url
}/59/index.html'
>
公司动态
</a>
</li>
</li>
<li>
<li>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#faz'
>
发展历程
</a>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#faz'
>
发展历程
</a>
...
@@ -20,12 +20,12 @@
...
@@ -20,12 +20,12 @@
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#lianx'
>
加入我们
</a>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#lianx'
>
加入我们
</a>
</li>
</li>
<li>
<li>
<a
target=
"_blank"
href=
'
{ms:global.url/
}/19/141/index.html'
>
联系我们
</a>
<a
target=
"_blank"
href=
'
${global.url
}/19/141/index.html'
>
联系我们
</a>
</li>
</li>
</ul>
</ul>
</li>
</li>
<li
class=
"head-menu-list-li"
>
<li
class=
"head-menu-list-li"
>
<a
href=
'
{ms:global.url/
}/149/index.html'
>
案例
</a>
<a
href=
'
${global.url
}/149/index.html'
>
案例
</a>
</li>
</li>
<li
class=
"head-menu-list-li"
>
<li
class=
"head-menu-list-li"
>
<a
target=
"_blank"
href=
'http://store.mingsoft.net/mstore/index.do'
>
插件
&
模板
</a>
<a
target=
"_blank"
href=
'http://store.mingsoft.net/mstore/index.do'
>
插件
&
模板
</a>
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</ul> -->
</ul> -->
</li>
</li>
<li
class=
"head-menu-list-li"
>
<li
class=
"head-menu-list-li"
>
<a
target=
"_blank"
href=
'
{ms:global.url/
}/19/142/index.html'
>
在线留言
</a>
<a
target=
"_blank"
href=
'
${global.url
}/19/142/index.html'
>
在线留言
</a>
</li>
</li>
<li
class=
"head-menu-list-li"
>
技术支持
<li
class=
"head-menu-list-li"
>
技术支持
<ul
class=
"head-menu-son-list"
>
<ul
class=
"head-menu-son-list"
>
...
...
src/main/webapp/templets/1/default/index.htm
View file @
cd3f0548
This diff is collapsed.
Click to expand it.
src/main/webapp/templets/1/default/menu-left.htm
View file @
cd3f0548
<div
class=
"ms-content-left"
>
<div
class=
"ms-content-left"
>
<div
class=
"ms-content-left-title"
>
走进铭飞
</div>
<div
class=
"ms-content-left-title"
>
走进铭飞
</div>
<ul
class=
"ms-content-left-ul"
>
<ul
class=
"ms-content-left-ul"
>
<a
target=
"_blank"
href=
'
{ms:global.url/
}/53/index.html'
>
<a
target=
"_blank"
href=
'
${global.url
}/53/index.html'
>
<li>
关于我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
<li>
关于我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
</a>
</a>
<a
target=
"_blank"
href=
'
{ms:global.url/
}/59/index.html'
>
<a
target=
"_blank"
href=
'
${global.url
}/59/index.html'
>
<li>
公司动态
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
<li>
公司动态
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
</a>
</a>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#faz'
>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#faz'
>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#lianx'
>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#lianx'
>
<li>
加入我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
<li>
加入我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
</a>
</a>
<a
target=
"_blank"
href=
{ms:global.url/
}/19/141/index.html
>
<a
target=
"_blank"
href=
${global.url
}/19/141/index.html
>
<li>
联系我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
<li>
联系我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
</a>
</a>
</ul>
</ul>
...
...
src/main/webapp/templets/1/default/news-list.htm
View file @
cd3f0548
...
@@ -21,15 +21,15 @@
...
@@ -21,15 +21,15 @@
<div
class=
"ms-content-main-div"
>
<div
class=
"ms-content-main-div"
>
<ul
class=
"ms-content-main-ul"
>
<ul
class=
"ms-content-main-ul"
>
{ms:arclist size=10 ispaging=true}
<
@
arclist
size=
10
ispaging=
true
>
<li>
<li>
<a
href=
"
{ms:global.url/}[field.link/]
"
>
<a
href=
"
${global.url}${item.link}
"
>
<!-- <span class="ms-content-main-li-span">·</span> -->
<!-- <span class="ms-content-main-li-span">·</span> -->
<span
class=
"ms-content-main-li-title"
>
[field.title/]
</span>
<span
class=
"ms-content-main-li-title"
>
${item.title}
</span>
<span
class=
"ms-content-main-li-time"
>
[field.date?string("yyyy-MM-dd")/]
</span>
<span
class=
"ms-content-main-li-time"
>
${item.date?string("yyyy-MM-dd")}
</span>
</a>
</a>
</li>
</li>
{/ms:arclist}
</
@
arclist>
</ul>
</ul>
</div>
</div>
</div>
</div>
...
...
src/main/webapp/templets/1/default/news-show.htm
View file @
cd3f0548
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
<html>
<html>
<head>
<head>
<
#
include
"
head-file
.
htm
"
>
<
#
include
"
head-file
.
htm
"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{ms:global.host/}/{ms:global.style/
}/css/jquery.sinaemotion.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${global.host}/${global.style
}/css/jquery.sinaemotion.css"
/>
<script
type=
"text/javascript"
src=
"
{ms:global.host/}/{ms:global.style/
}/js/jquery.sinaEmotion.js"
></script>
<script
type=
"text/javascript"
src=
"
${global.host}/${global.style
}/js/jquery.sinaEmotion.js"
></script>
</head>
</head>
<body>
<body>
<
#
include
"
head
.
htm
"
>
<
#
include
"
head
.
htm
"
>
<div
class=
"ms-banner"
style=
"background:url(
{ms:global.host/}/{ms:global.style/
}/images/news2.png) no-repeat center;"
>
<div
class=
"ms-banner"
style=
"background:url(
${global.host}/${global.style
}/images/news2.png) no-repeat center;"
>
<p
class=
"banner_tit_other animated fadeInLeft"
>
公司动态
</p>
<p
class=
"banner_tit_other animated fadeInLeft"
>
公司动态
</p>
<p
class=
"banner_tit_other_des animated fadeInRight"
>
Our company
</p>
<p
class=
"banner_tit_other_des animated fadeInRight"
>
Our company
</p>
...
@@ -18,23 +18,23 @@
...
@@ -18,23 +18,23 @@
<
#
include
"
menu-left
.
htm
"
>
<
#
include
"
menu-left
.
htm
"
>
<div
class=
"ms-content-right"
>
<div
class=
"ms-content-right"
>
<div
class=
"ms-content-right-position"
>
<div
class=
"ms-content-right-position"
>
<a
href=
"
{ms:global.host/
}"
>
首页
</a>
<a
href=
"
${global.host
}"
>
首页
</a>
<span>
>
</span>
<span>
>
</span>
<a
href=
"
{ms:field.typelink/}"
>
{ms:field.typetitle/
}
</a>
<a
href=
"
${field.typelink}"
>
${field.typetitle
}
</a>
</div>
</div>
<div
class=
"ms-content-right-main"
>
<div
class=
"ms-content-right-main"
>
<div
class=
"ms-content-right-main-title"
id=
"ms-content-right-main-title"
>
<div
class=
"ms-content-right-main-title"
id=
"ms-content-right-main-title"
>
<div
class=
"ms-content-right-main-title-div"
>
{ms:field.title/
}
</div>
<div
class=
"ms-content-right-main-title-div"
>
${field.title
}
</div>
<div
class=
"ms-content-right-main-icon"
>
<div
class=
"ms-content-right-main-icon"
>
<div
class=
"ms-content-icon-left"
>
<div
class=
"ms-content-icon-left"
>
<div
class=
"ms-content-right-main-icon-source"
>
来源:
{ms:field.source/
}
<div
class=
"ms-content-right-main-icon-source"
>
来源:
${field.source
}
<span
class=
"ms-content-right-vertical"
>
|
</span>
<span
class=
"ms-content-right-vertical"
>
|
</span>
</div>
</div>
<div
class=
"ms-content-right-main-icon-time"
>
时间:
{ms:field.date?string("yyyy-MM-dd")/
}
</div>
<div
class=
"ms-content-right-main-icon-time"
>
时间:
${field.date?string("yyyy-MM-dd")
}
</div>
</div>
</div>
<div
class=
"ms-content-icon-right"
>
<div
class=
"ms-content-icon-right"
>
<div
class=
"ms-content-right-main-icon-clicks"
></div>
<div
class=
"ms-content-right-main-icon-clicks"
></div>
<div
class=
"ms-content-right-main-icon-num"
>
{ms:field.hit/
}
<div
class=
"ms-content-right-main-icon-num"
>
${field.hit
}
<span
class=
"ms-content-right-vertical"
>
|
</span>
<span
class=
"ms-content-right-vertical"
>
|
</span>
</div>
</div>
<div
class=
"ms-content-right-main-icon-comment"
></div>
<div
class=
"ms-content-right-main-icon-comment"
></div>
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
</div>
</div>
</div>
</div>
<div
class=
"ms-content-right-main-content"
>
<div
class=
"ms-content-right-main-content"
>
<p>
{ms:field.content/
}
</p><br/>
<p>
${field.content!''
}
</p><br/>
</div>
</div>
<div
class=
"metfield"
>
<div
class=
"metfield"
>
<p>
上一篇:
<a
href=
"{ms:global.url/}{ms:pre.link/}"
>
{ms:pre.title/}
</a></p>
<p>
上一篇:
<a
href=
"{ms:global.url/}{ms:pre.link/}"
>
{ms:pre.title/}
</a></p>
...
@@ -68,13 +68,13 @@
...
@@ -68,13 +68,13 @@
</div>
</div>
<div
class=
"ms-content-right-comment-list"
>
<div
class=
"ms-content-right-comment-list"
>
<div
class=
"ms-content-right-comment-list-no-comment"
style=
"display: none;"
v-show=
"commentsList.length == 0"
>
<div
class=
"ms-content-right-comment-list-no-comment"
style=
"display: none;"
v-show=
"commentsList.length == 0"
>
<img
src=
"
{ms:global.host/}/{ms:global.style/
}/images/no-comment.png"
>
<img
src=
"
${global.host}/${global.style
}/images/no-comment.png"
>
</div>
</div>
<template
v-for=
"(comments,index) in commentsList"
>
<template
v-for=
"(comments,index) in commentsList"
>
<div
class=
"ms-content-right-comment-list-div"
v-if=
"index <= listNum"
>
<div
class=
"ms-content-right-comment-list-div"
v-if=
"index <= listNum"
>
<div
class=
"ms-content-right-comment-list-left"
>
<div
class=
"ms-content-right-comment-list-left"
>
<div
class=
"ms-content-right-comment-list-portrait"
>
<div
class=
"ms-content-right-comment-list-portrait"
>
<img
:src=
"'
{ms:global.host/
}'+ comments.puIcon"
onerror=
"this.src='http://cdn.mingsoft.net/global/images/msheader.png'"
>
<img
:src=
"'
${global.host
}'+ comments.puIcon"
onerror=
"this.src='http://cdn.mingsoft.net/global/images/msheader.png'"
>
</div>
</div>
<div
class=
"ms-content-right-comment-list-content"
>
<div
class=
"ms-content-right-comment-list-content"
>
<div
class=
"ms-content-right-comment-list-name"
v-text=
"comments.puNickname"
></div>
<div
class=
"ms-content-right-comment-list-name"
v-text=
"comments.puNickname"
></div>
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
没有更多评论
没有更多评论
</div>
</div>
<div
class=
"ms-content-right-comment-list-div-load"
style=
"display: none;"
>
<div
class=
"ms-content-right-comment-list-div-load"
style=
"display: none;"
>
<img
src=
"
{ms:global.host/}/{ms:global.style/
}/images/loading.gif"
>
<img
src=
"
${global.host}/${global.style
}/images/loading.gif"
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -131,8 +131,8 @@
...
@@ -131,8 +131,8 @@
if
(
obj
.
isAttention
==
false
)
{
if
(
obj
.
isAttention
==
false
)
{
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
data
:
"basicAttentionBasicId=
{ms:field.id/
}&basicAttentionType=2"
,
data
:
"basicAttentionBasicId=
${field.id
}&basicAttentionType=2"
,
url
:
"
{ms:global.host/
}/people/attention/save.do"
,
url
:
"
${global.host
}/people/attention/save.do"
,
success
:
function
(
msg
)
{
success
:
function
(
msg
)
{
if
(
msg
.
result
)
{
if
(
msg
.
result
)
{
obj
.
attentionNum
++
;
obj
.
attentionNum
++
;
...
@@ -146,8 +146,8 @@
...
@@ -146,8 +146,8 @@
}
else
{
}
else
{
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
data
:
"basicId=
{ms:field.id/
}&basicAttentionType=2"
,
data
:
"basicId=
${field.id
}&basicAttentionType=2"
,
url
:
"
{ms:global.host/
}/people/attention/delete.do"
,
url
:
"
${global.host
}/people/attention/delete.do"
,
success
:
function
(
msg
)
{
success
:
function
(
msg
)
{
if
(
msg
.
result
)
{
if
(
msg
.
result
)
{
obj
.
attentionNum
--
;
obj
.
attentionNum
--
;
...
@@ -165,8 +165,8 @@
...
@@ -165,8 +165,8 @@
var
obj
=
this
;
var
obj
=
this
;
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
data
:
"commentBasicId=
{ms:field.id/
}"
,
data
:
"commentBasicId=
${field.id
}"
,
url
:
"
{ms:global.host/
}/comment/list.do"
,
url
:
"
${global.host
}/comment/list.do"
,
success
:
function
(
msg
)
{
success
:
function
(
msg
)
{
obj
.
commentsList
=
msg
.
list
;
obj
.
commentsList
=
msg
.
list
;
}
}
...
@@ -184,8 +184,8 @@
...
@@ -184,8 +184,8 @@
var
obj
=
this
;
var
obj
=
this
;
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
data
:
"commentContent="
+
$
(
"textarea[name=comments]"
).
val
()
+
"&isCode=false&commentBasicId=
{ms:field.id/
}"
,
data
:
"commentContent="
+
$
(
"textarea[name=comments]"
).
val
()
+
"&isCode=false&commentBasicId=
${field.id
}"
,
url
:
"
{ms:global.host/
}/people/comment/save.do"
,
url
:
"
${global.host
}/people/comment/save.do"
,
success
:
function
(
msg
)
{
success
:
function
(
msg
)
{
if
(
msg
.
result
)
{
if
(
msg
.
result
)
{
alert
(
"评论成功"
);
alert
(
"评论成功"
);
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
//登录状态
//登录状态
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
"
{ms:global.host/
}/checkLoginStatus.do"
,
url
:
"
${global.host
}/checkLoginStatus.do"
,
success
:
function
(
msg
)
{
success
:
function
(
msg
)
{
obj
.
loginStatus
=
msg
.
result
;
obj
.
loginStatus
=
msg
.
result
;
}
}
...
@@ -216,8 +216,8 @@
...
@@ -216,8 +216,8 @@
//关注数
//关注数
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
data
:
"basicAttentionBasicId=
{ms:field.id/
}&basicAttentionType=2"
,
data
:
"basicAttentionBasicId=
${field.id
}&basicAttentionType=2"
,
url
:
"
{ms:global.host/
}/attention/count.do"
,
url
:
"
${global.host
}/attention/count.do"
,
success
:
function
(
msg
)
{
success
:
function
(
msg
)
{
obj
.
attentionNum
=
msg
;
obj
.
attentionNum
=
msg
;
}
}
...
@@ -225,8 +225,8 @@
...
@@ -225,8 +225,8 @@
//是否关注了
//是否关注了
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
data
:
"basicAttentionBasicId=
{ms:field.id/
}&basicAttentionType=2"
,
data
:
"basicAttentionBasicId=
${field.id
}&basicAttentionType=2"
,
url
:
"
{ms:global.host/
}/people/attention/isExists.do"
,
url
:
"
${global.host
}/people/attention/isExists.do"
,
success
:
function
(
msg
)
{
success
:
function
(
msg
)
{
obj
.
isAttention
=
msg
.
result
;
obj
.
isAttention
=
msg
.
result
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment