Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
40a809e6
Commit
40a809e6
authored
Jun 28, 2020
by
wujj
Browse files
模板恢复
parent
6c4f0b92
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/templets/1/default/about.htm
View file @
40a809e6
<
#include
"
head.htm
"
>
{ms:channel type=son}
[field.typetitle/]
{/ms:channel}
==================
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<
#include
"
head-file.htm
"
/>
</head>
<body>
<
#include
"
head.htm
"
/>
<div
class=
"ms-banner"
style=
"background:url({ms:global.host/}/{ms:global.style/}/images/about_us.jpg) no-repeat center;"
>
<p
class=
"banner_tit_about animated fadeInLeft"
>
关于我们
</p>
<p
class=
"banner_tit_about_des animated fadeInRight"
>
About us
</p>
</div>
<div
class=
"ms-content-about"
>
<div
class=
"ms-content-main"
>
<
#include
"
menu-left.htm
"
/>
<div
class=
"ms-content-right"
>
<div
class=
"ms-content-right-position"
>
<a
href=
"{ms:global.host/}"
>
首页
</a>
<span>
>
</span>
<a
href=
"{ms:field.typelink/}"
>
{ms:field.typetitle/}
</a>
</div>
<div
class=
"ms-content-right-main"
>
<div
class=
"ms-content-right-main-title"
>
{ms:field.title/}
</div>
<div
class=
"ms-content-right-main-content"
>
{ms:field.content/}
</div>
</div>
</div>
</div>
</div>
<
#include
"
footer.htm
"
/>
</body>
</html>
\ No newline at end of file
src/main/webapp/templets/1/default/footer.htm
View file @
40a809e6
...
...
@@ -3,7 +3,7 @@
<div
class=
"ms-footer-left"
>
<div
class=
"ms-footer-left-column"
>
<span
class=
"ms-footer-left-column-about"
>
<a
href=
'
$
{global.url}/53/index.html'
>
关于我们
</a>
<a
href=
'{
ms:
global.url
/
}/53/index.html'
>
关于我们
</a>
</span>
|
<span
class=
"ms-footer-left-column-course"
>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#faz'
>
发展历程
</a>
...
...
@@ -15,12 +15,12 @@
<span
class=
"ms-footer-left-copyright"
>
版权所有
©
铭飞科技有限公司2012-2018保留一切权利
</span>
</div>
<div
class=
"ms-footer-right"
>
<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=
"
$
{global.host}/
$
{global.style}/images/baidu.png"
></a>
<a
target=
"_blank"
href=
'http://weibo.com/killfen'
><img
src=
"
$
{global.host}/
$
{global.style}/images/micro-blog.png"
></a>
<img
class=
'ms-footer-right-img-weixin'
src=
"{
ms:
global.host
/
}/{
ms:
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://weibo.com/killfen'
><img
src=
"{
ms:
global.host
/
}/{
ms:
global.style
/
}/images/micro-blog.png"
></a>
<div
class=
"ms-footer-right-weixin"
>
<p></p>
<img
alt=
""
src=
"
$
{global.host}/
$
{global.style}/images/weixin.jpg"
>
<img
alt=
""
src=
"{
ms:
global.host
/
}/{
ms:
global.style
/
}/images/weixin.jpg"
>
</div>
</div>
</div>
...
...
src/main/webapp/templets/1/default/head-file.htm
View file @
40a809e6
<title>
$
{global.name}
</title>
<title>
{
ms:
global.name
/
}
</title>
<meta
charset=
"utf-8"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
$
{global.host}/plugins/iconfont/1.0.0/iconfont.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
$
{global.host}/
$
{global.style}/css/base.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
$
{global.host}/
$
{global.style}/css/index.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
$
{global.host}/
$
{global.style}/css/advice.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
$
{global.host}/
$
{global.style}/css/case-list.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
$
{global.host}/
$
{global.style}/css/about.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
$
{global.host}/
$
{global.style}/css/news-list.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
$
{global.host}/
$
{global.style}/css/news-show.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
$
{global.host}/
$
{global.style}/css/center.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{
ms:
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=
"{
ms:
global.host
/
}/{
ms:
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=
"{
ms:
global.host
/
}/{
ms:
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=
"{
ms:
global.host
/
}/{
ms:
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=
"{
ms:
global.host
/
}/{
ms:
global.style
/
}/css/center.css"
>
<script
src=
"
$
{global.host}/plugins/jquery/1.9.1/jquery-1.9.1.js"
></script>
<script
src=
"
$
{global.host}/
$
{global.style}/js/slider.js"
></script>
<script
src=
"
$
{global.host}/static/plugins/less/3.9.0/less.min.js"
></script>
<script
src=
"{
ms:
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=
"{
ms:
global.host
/
}/static/plugins/less/3.9.0/less.min.js"
></script>
<!--vue-懒加载-表单验证-->
<script
src=
"
$
{global.host}/plugins/vue/2.6.9/vue.min.js"
></script>
<script
src=
"
$
{global.host}/plugins/validator/10.8.0/validator.min.js"
></script>
<script
src=
"{
ms:
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>
<!-- Element -->
<link
rel=
"stylesheet"
href=
"
$
{global.host}/plugins/element-ui/2.8.2/index.css"
>
<script
src=
"
$
{global.host}/plugins/element-ui/2.8.2/index.js"
></script>
<link
rel=
"stylesheet"
href=
"{
ms:
global.host
/
}/plugins/element-ui/2.8.2/index.css"
>
<script
src=
"{
ms:
global.host
/
}/plugins/element-ui/2.8.2/index.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
$
{global.host}/
$
{global.style}/css/animate.css"
>
<script
src=
"
$
{global.host}/static/plugins/axios/0.18.0/axios.min.js"
></script>
<script
src=
"
$
{global.host}/static/plugins/ms/1.0.0/ms.js"
></script>
<script
src=
"
$
{global.host}/static/plugins/ms/1.0.0/ms.http.js"
></script>
<script
src=
"
$
{global.host}/static/plugins/ms/1.0.0/ms.util.js"
></script>
<script
src=
"
$
{global.host}/api/ms.people.min.js"
></script>
<script
src=
"
$
{global.host}/static/plugins/plupload/plupload.full.min.js"
></script>
<script
src=
"
$
{global.host}/static/plugins/qs/6.6.0/qs.min.js"
></script>
<script
src=
"
$
{global.host}/static/plugins/ms/1.0.0/ms.upload.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{
ms:
global.host
/
}/{
ms:
global.style
/
}/css/animate.css"
>
<script
src=
"{
ms:
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=
"{
ms:
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=
"{
ms:
global.host
/
}/api/ms.people.min.js"
></script>
<script
src=
"{
ms:
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=
"{
ms:
global.host
/
}/static/plugins/ms/1.0.0/ms.upload.js"
></script>
<script>
window
.
http
=
ms
.
http
;
ms
.
base
=
"
$
{global.host}
"
;
ms
.
login
=
'
$
{global.host}
'
;
ms
.
base
=
"
{
ms:
global.host
/
}
"
;
ms
.
login
=
'
{
ms:
global.host
/
}
'
;
</script>
\ No newline at end of file
src/main/webapp/templets/1/default/index.htm
View file @
40a809e6
...
...
@@ -13,7 +13,7 @@
</head>
<body>
<
#include
"
head.htm
"
/
>
<
#include
"
head.htm
"
>
<!-- <div class="ms-banner">
<img src="./images/banner.jpg">
</div> -->
...
...
src/main/webapp/templets/1/default/menu-left.htm
View file @
40a809e6
<div
class=
"ms-content-left"
>
<div
class=
"ms-content-left-title"
>
走进铭飞
</div>
<ul
class=
"ms-content-left-ul"
>
<a
target=
"_blank"
href=
'
$
{global.url}/53/index.html'
>
<a
target=
"_blank"
href=
'{
ms:
global.url
/
}/53/index.html'
>
<li>
关于我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
</a>
<a
target=
"_blank"
href=
'
$
{global.url}/59/index.html'
>
<a
target=
"_blank"
href=
'{
ms:
global.url
/
}/59/index.html'
>
<li>
公司动态
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
</a>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#faz'
>
...
...
@@ -13,7 +13,7 @@
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#lianx'
>
<li>
加入我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
</a>
<a
target=
"_blank"
href=
$
{global.url}/19/141/index.html
>
<a
target=
"_blank"
href=
{
ms:
global.url
/
}/19/141/index.html
>
<li>
联系我们
<span
class=
"ms-content-left-li-more"
>
>
</span></li>
</a>
</ul>
...
...
src/main/webapp/templets/1/default/news-list.htm
View file @
40a809e6
...
...
@@ -15,7 +15,7 @@
<div
class=
"ms-content-right-position"
>
<a
href=
"{ms:global.host/}"
>
首页
</a>
<span>
>
</span>
<a
href=
"{m
t
s:field.typelink/}"
>
{m
t
s:field.typetitle/}
</a>
<a
href=
"{ms:field.typelink/}"
>
{ms:field.typetitle/}
</a>
</div>
<div
class=
"ms-content-main-list"
>
...
...
src/main/webapp/templets/1/default/news-show.htm
View file @
40a809e6
This diff is collapsed.
Click to expand it.
src/main/webapp/templets/1/default/search.htm
View file @
40a809e6
<!DOCTYPE html>
<html>
<head>
<
#include
"
head-file.htm
"
/>
</head>
<body>
<
#include
"
head.htm
"
/>
<div
class=
"ms-banner"
>
<img
src=
"
$
{global.host}/
$
{global.style}/images/search.jpg"
>
</div>
<div
class=
"ms-content"
id=
"body"
>
<div
class=
"ms-content-main-list"
id=
"ms-content-search"
>
<div
class=
"ms-content-main-div"
>
<div
class=
"ms-content-main-div-prompt"
>
您搜索的关键字
<span>
$
{search.content_title}
</span>
<!-- 共7个结果 -->
</div>
<ul
class=
"ms-content-main-ul"
>
<
@
arclist
size=
10
ispaging=
true
>
<li>
<a
href=
"
$
{global.url}/
${
field.link
}
"
>
${
field.title
}
<span
class=
"ms-content-main-li-time"
>
${
field.date?string("yyyy-MM-dd")
}
</span>
</a>
</li>
</
@
arclist
>
</ul>
</div>
<div
class=
"ms-content-main-page"
>
<a
class=
"ms-content-main-page-first"
href=
"
$
{page.index}"
>
首页
</a>
<a
class=
"ms-content-main-page-upper"
href=
"
$
{page.pre}"
>
上一页
</a>
<a
class=
"ms-content-main-page-next"
href=
"
$
{page.next}"
>
下一页
</a>
<a
class=
"ms-content-main-page-last"
href=
"
$
{page.last}"
>
末页
</a>
</div>
</div>
</div>
<
#include
"
footer.htm
"
/>
</body>
</html>
<script>
new
Vue
({
el
:
"
#body
"
,
data
:
{
title
:
''
,
list
:
[],
},
methods
:
{
//上下页
search
:
function
(
flag
){
var
pageNo
=
$
{
search
.
pageNo
};
var
total
=
$
{
page
.
total
};
if
(
flag
){
pageNo
=
pageNo
==
total
?
total
:
pageNo
+
1
;
//下一页
}
else
{
pageNo
=
pageNo
-
1
==
0
?
1
:
pageNo
-
1
;
//上一页
}
window
.
location
.
href
=
"
$
{global.host}/cms/1/search.do?
content
_title=
$
{search.
content
_title}&pageNo=
"
+
pageNo
;
window
.
event
.
returnValue
=
false
;
},
//首页和尾页
indexAndLast
:
function
(
pageNo
){
window
.
location
.
href
=
"
$
{global.host}/cms/1/search.do?
content
_title=
$
{search.
content
_title}&pageNo=
"
+
pageNo
;
window
.
event
.
returnValue
=
false
;
},
},
})
if
(
$
(
'
.ms-content-main-ul li
'
).
length
<=
0
)
{
$
(
'
.ms-content-main-page
'
).
remove
();
$
(
'
.ms-content-main-ul
'
).
before
(
"
<div class='ms-content-main-div-nothing'>没找到相关记录</div>
"
)
}
</script>
<!DOCTYPE html>
<html>
<head>
<
#include
"
head-file.htm
"
/>
</head>
<body>
<
#include
"
head.htm
"
/>
<div
class=
"ms-banner"
>
<img
src=
"{
ms:
global.host
/
}/{
ms:
global.style
/
}/images/search.jpg"
>
</div>
<div
class=
"ms-content"
id=
"body"
>
<div
class=
"ms-content-main-list"
id=
"ms-content-search"
>
<div
class=
"ms-content-main-div"
>
<div
class=
"ms-content-main-div-prompt"
>
您搜索的关键字
<span>
{
ms:
search.content_title
/
}
</span>
<!-- 共7个结果 -->
</div>
<ul
class=
"ms-content-main-ul"
>
{ms:
arclist size=10 ispaging=true
}
<li>
<a
href=
"{
ms:
global.url
/
}/
[
field.link
/]
"
>
[
field.title
/]
<span
class=
"ms-content-main-li-time"
>
[
field.date?string("yyyy-MM-dd")
/]
</span>
</a>
</li>
{/ms:
arclist
}
</ul>
</div>
<div
class=
"ms-content-main-page"
>
<a
class=
"ms-content-main-page-first"
href=
"{
ms:
page.index
/
}"
>
首页
</a>
<a
class=
"ms-content-main-page-upper"
href=
"{
ms:
page.pre
/
}"
>
上一页
</a>
<a
class=
"ms-content-main-page-next"
href=
"{
ms:
page.next
/
}"
>
下一页
</a>
<a
class=
"ms-content-main-page-last"
href=
"{
ms:
page.last
/
}"
>
末页
</a>
</div>
</div>
</div>
<
#include
"
footer.htm
"
/>
</body>
</html>
<script>
new
Vue
({
el
:
"
#body
"
,
data
:
{
title
:
''
,
list
:
[],
},
methods
:
{
//上下页
search
:
function
(
flag
){
var
pageNo
=
{
ms
:
search
.
pageNo
/
};
var
total
=
{
ms
:
page
.
total
/
};
if
(
flag
){
pageNo
=
pageNo
==
total
?
total
:
pageNo
+
1
;
//下一页
}
else
{
pageNo
=
pageNo
-
1
==
0
?
1
:
pageNo
-
1
;
//上一页
}
window
.
location
.
href
=
"
{
ms:
global.host
/
}/cms/1/search.do?
basic
_title={
ms:
search.
basic
_title
/
}&pageNo=
"
+
pageNo
;
window
.
event
.
returnValue
=
false
;
},
//首页和尾页
indexAndLast
:
function
(
pageNo
){
window
.
location
.
href
=
"
{
ms:
global.host
/
}/cms/1/search.do?
basic
_title={
ms:
search.
basic
_title
/
}&pageNo=
"
+
pageNo
;
window
.
event
.
returnValue
=
false
;
},
},
})
if
(
$
(
'
.ms-content-main-ul li
'
).
length
<=
0
)
{
$
(
'
.ms-content-main-page
'
).
remove
();
$
(
'
.ms-content-main-ul
'
).
before
(
"
<div class='ms-content-main-div-nothing'>没找到相关记录</div>
"
)
}
</script>
Write
Preview
Supports
Markdown
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