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
1f093087
Commit
1f093087
authored
Feb 16, 2019
by
sunxin
Browse files
默认模板
parent
178009f4
Changes
154
Expand all
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/templets/1/default/about.htm
0 → 100644
View file @
1f093087
<!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/advice.htm
0 → 100644
View file @
1f093087
<!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/talk_online.jpeg) no-repeat center;"
>
<p
class=
"banner_tit_other animated fadeInLeft"
>
在线留言
</p>
<p
class=
"banner_tit_other_des animated fadeInRight"
>
Talk online
</p>
</div>
<div
class=
"ms-content-advice"
>
<div
class=
"ms-content-form-background"
>
<form
class=
"ms-content-form"
method=
"post"
id=
"postForm"
>
<input
class=
"ms-content-form-name"
type=
"text"
name=
"name"
placeholder=
"姓名"
>
<input
class=
"ms-content-form-phone"
type=
"text"
name=
"phone"
placeholder=
"手机"
>
<textarea
class=
"ms-content-form-message"
name=
"content"
placeholder=
"留言"
></textarea>
<div
class=
"ms-login-button"
>
提交
</div>
</form>
</div>
</div>
<
#include
"
footer.htm
"
/>
</body>
</html>
<script>
/* 表单提交 */
var
flag
=
false
;
$
(
"
.ms-login-button
"
).
click
(
function
()
{
if
(
!
flag
)
{
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
{ms:global.host/}/mdiy/diyForm/f2c131968438246e885e0feed7256dbc.do
"
,
data
:
$
(
"
#postForm
"
).
serialize
(),
success
:
function
(
msg
)
{
flag
=
true
;
alert
(
"
提交成功
"
);
location
.
reload
();
}
});
}
else
{
alert
(
"
您已经提交过了!
"
);
}
})
/* 表单验证 */
function
verification
()
{
if
(
$
(
'
input[name="name"]
'
).
val
().
length
>
0
&&
$
(
'
input[name="phone"]
'
).
val
().
length
>
0
&&
$
(
'
.ms-content-form-message
'
).
val
().
length
>
0
)
{
$
(
'
.ms-login-button
'
).
css
(
"
background-color
"
,
"
#009aff
"
);
$
(
'
.ms-login-button
'
).
css
(
"
pointer-events
"
,
'
visible
'
);
$
(
'
.ms-login-button
'
).
css
(
"
color
"
,
"
#fff
"
);
}
else
{
$
(
'
.ms-login-button
'
).
css
(
"
background-color
"
,
"
#fafafa
"
);
$
(
'
.ms-login-button
'
).
css
(
'
pointer-events
'
,
"
none
"
);
$
(
'
.ms-login-button
'
).
css
(
"
color
"
,
"
#ddd
"
);
}
}
$
(
'
input[name="name"]
'
).
keyup
(
function
()
{
verification
();
})
$
(
'
input[name="phone"]
'
).
keyup
(
function
()
{
verification
();
})
$
(
'
.ms-content-form-message
'
).
keyup
(
function
()
{
verification
();
})
</script>
\ No newline at end of file
src/main/webapp/templets/1/default/case-list.htm
0 → 100644
View file @
1f093087
<!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/00.png) no-repeat center;"
>
<p
class=
"banner_tit_other animated fadeInLeft"
>
案
例
</p>
<p
class=
"banner_tit_other_des animated fadeInRight"
>
Case list
</p>
</div>
<div
class=
"ms-content-case"
>
<div
class=
"ms-content-main"
>
{ms:arclist size=6 ispaging=true}
<div
class=
"ms-content-main-case"
>
<div
class=
"ms-content-main-case-img"
>
<img
src=
"{ms:global.host/}[field.litpic/]"
>
</div>
<div
class=
"ms-content-main-case-explain"
>
<div
class=
"ms-content-main-case-title"
>
[field.title/]
</div>
<div
class=
"ms-content-main-case-content"
>
<p
class=
"ms-content-main-case-written"
>
[field.content/]
</p>
<!-- <p class="ms-content-main-case-QRcode">
<img src="./images/1471918025445.png">
</p> -->
</div>
<div
class=
"ms-content-main-case-click"
>
<a
target=
"_blank"
href=
"[field.source/]"
>
点击查看
</a>
</div>
</div>
</div>
{/ms:arclist}
</div>
</div>
<
#include
"
footer.htm
"
/>
</body>
</html>
<script
type=
"text/javascript"
>
$
(
function
()
{
$
(
'
.ms-content-main-case
'
).
hover
(
function
()
{
$
(
this
).
find
(
'
.ms-content-main-case-explain
'
).
toggle
();
});
});
</script>
\ No newline at end of file
src/main/webapp/templets/1/default/contact.htm
0 → 100644
View file @
1f093087
<!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/contact_us.jpeg) no-repeat center;"
>
<p
class=
"banner_tit_other animated fadeInLeft"
>
联系我们
</p>
<p
class=
"banner_tit_other_des animated fadeInRight"
>
Contact 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"
>
联系我们
</div>
<div
class=
"ms-content-right-main-content"
>
<!-- {ms:field.content/} -->
<style
type=
"text/css"
>
.BMap_Marker
img
{
width
:
100%
;
height
:
100%
;
}
html
,
body
{
margin
:
0
;
padding
:
0
;}
.iw_poi_title
{
color
:
#CC5522
;
font-size
:
14px
;
font-weight
:
bold
;
overflow
:
hidden
;
padding-right
:
13px
;
white-space
:
nowrap
}
.iw_poi_content
{
font
:
12px
arial
,
sans-serif
;
overflow
:
visible
;
padding-top
:
4px
;
white-space
:
-moz-pre-wrap
;
word-wrap
:
break-word
}
</style>
<script
type=
"text/javascript"
src=
"http://api.map.baidu.com/api?key=&v=1.1&services=true"
></script>
<body>
<!--百度地图容器-->
<div
style=
"width:100%;height:550px;border:#ccc solid 1px;"
id=
"dituContent"
></div>
</body>
<script
type=
"text/javascript"
>
//创建和初始化地图函数:
function
initMap
(){
createMap
();
//创建地图
setMapEvent
();
//设置地图事件
addMapControl
();
//向地图添加控件
addMarker
();
//向地图中添加marker
}
//创建地图函数:
function
createMap
(){
var
map
=
new
BMap
.
Map
(
"
dituContent
"
);
//在百度地图容器中创建一个地图
var
point
=
new
BMap
.
Point
(
116.737158
,
29.153633
);
//定义一个中心点坐标
map
.
centerAndZoom
(
point
,
9
);
//设定地图的中心点和坐标并将地图显示在地图容器中
window
.
map
=
map
;
//将map变量存储在全局
}
//地图事件设置函数:
function
setMapEvent
(){
map
.
enableDragging
();
//启用地图拖拽事件,默认启用(可不写)
map
.
enableScrollWheelZoom
();
//启用地图滚轮放大缩小
map
.
enableDoubleClickZoom
();
//启用鼠标双击放大,默认启用(可不写)
map
.
enableKeyboard
();
//启用键盘上下左右键移动地图
}
//地图控件添加函数:
function
addMapControl
(){
//向地图中添加缩放控件
var
ctrl_nav
=
new
BMap
.
NavigationControl
({
anchor
:
BMAP_ANCHOR_TOP_LEFT
,
type
:
BMAP_NAVIGATION_CONTROL_LARGE
});
map
.
addControl
(
ctrl_nav
);
//向地图中添加缩略图控件
var
ctrl_ove
=
new
BMap
.
OverviewMapControl
({
anchor
:
BMAP_ANCHOR_BOTTOM_RIGHT
,
isOpen
:
1
});
map
.
addControl
(
ctrl_ove
);
//向地图中添加比例尺控件
var
ctrl_sca
=
new
BMap
.
ScaleControl
({
anchor
:
BMAP_ANCHOR_BOTTOM_LEFT
});
map
.
addControl
(
ctrl_sca
);
}
//标注点数组
var
markerArr
=
[{
title
:
"
铭飞科技(景德镇)有限公司
"
,
content
:
"
江西省景德镇市昌江区 枫林佳苑 15栋A区 三单元 302室
"
,
point
:
"
117.187869|29.282949
"
,
isOpen
:
0
,
icon
:{
w
:
21
,
h
:
21
,
l
:
0
,
t
:
0
,
x
:
6
,
lb
:
5
}}
,{
title
:
"
铭飞科技(南昌)办事处
"
,
content
:
"
江西省南昌市青山湖区创新一路 绿地新都会(西门) 12栋2单元901室
"
,
point
:
"
116.003117|28.683521
"
,
isOpen
:
0
,
icon
:{
w
:
21
,
h
:
21
,
l
:
0
,
t
:
0
,
x
:
6
,
lb
:
5
}}
];
//创建marker
function
addMarker
(){
for
(
var
i
=
0
;
i
<
markerArr
.
length
;
i
++
){
var
json
=
markerArr
[
i
];
var
p0
=
json
.
point
.
split
(
"
|
"
)[
0
];
var
p1
=
json
.
point
.
split
(
"
|
"
)[
1
];
var
point
=
new
BMap
.
Point
(
p0
,
p1
);
var
iconImg
=
createIcon
(
json
.
icon
);
var
marker
=
new
BMap
.
Marker
(
point
,{
icon
:
iconImg
});
var
iw
=
createInfoWindow
(
i
);
var
label
=
new
BMap
.
Label
(
json
.
title
,{
"
offset
"
:
new
BMap
.
Size
(
json
.
icon
.
lb
-
json
.
icon
.
x
+
10
,
-
20
)});
marker
.
setLabel
(
label
);
map
.
addOverlay
(
marker
);
label
.
setStyle
({
borderColor
:
"
#808080
"
,
color
:
"
#333
"
,
cursor
:
"
pointer
"
});
(
function
(){
var
index
=
i
;
var
_iw
=
createInfoWindow
(
i
);
var
_marker
=
marker
;
_marker
.
addEventListener
(
"
click
"
,
function
(){
this
.
openInfoWindow
(
_iw
);
});
_iw
.
addEventListener
(
"
open
"
,
function
(){
_marker
.
getLabel
().
hide
();
})
_iw
.
addEventListener
(
"
close
"
,
function
(){
_marker
.
getLabel
().
show
();
})
label
.
addEventListener
(
"
click
"
,
function
(){
_marker
.
openInfoWindow
(
_iw
);
})
if
(
!!
json
.
isOpen
){
label
.
hide
();
_marker
.
openInfoWindow
(
_iw
);
}
})()
}
}
//创建InfoWindow
function
createInfoWindow
(
i
){
var
json
=
markerArr
[
i
];
var
iw
=
new
BMap
.
InfoWindow
(
"
<b class='iw_poi_title' title='
"
+
json
.
title
+
"
'>
"
+
json
.
title
+
"
</b><div class='iw_poi_content'>
"
+
json
.
content
+
"
</div>
"
);
return
iw
;
}
//创建一个Icon
function
createIcon
(
json
){
var
icon
=
new
BMap
.
Icon
(
"
{ms:global.host/}/{ms:global.style/}/images/img-2.png
"
,
new
BMap
.
Size
(
json
.
w
,
json
.
h
),{
imageOffset
:
new
BMap
.
Size
(
-
json
.
l
,
-
json
.
t
),
infoWindowOffset
:
new
BMap
.
Size
(
json
.
lb
+
5
,
1
),
offset
:
new
BMap
.
Size
(
json
.
x
,
json
.
h
)})
return
icon
;
}
initMap
();
//创建和初始化地图
</script>
</div>
</div>
</div>
</div>
</div>
<
#include
"
footer.htm
"
/>
</body>
</html>
\ No newline at end of file
src/main/webapp/templets/1/default/css/animate.css
0 → 100644
View file @
1f093087
This diff is collapsed.
Click to expand it.
src/main/webapp/templets/1/default/css/jquery.sinaemotion.css
0 → 100644
View file @
1f093087
#emotions
{
left
:
0
;
width
:
395px
;
font-size
:
12px
;
background
:
#fff
;
position
:
absolute
;
border
:
1px
solid
#E8E8E8
;
}
#emotions
a
{
color
:
#9ABBC8
;
padding
:
2px
7px
;
text-decoration
:
none
;
}
#emotions
img
{
border
:
0
;
}
#emotions
div
{
margin
:
5px
10px
;
padding
:
1px
;
overflow
:
hidden
;
}
#emotions
#prev
,
#emotions
#next
{
margin-left
:
3px
;
background
:
#eee
;
}
#emotions
.categorys
{
color
:
#ccc
;
height
:
23px
;
color
:
#9ABBC8
;
overflow
:
hidden
;
}
#emotions
.categorys
a
{
display
:
inline-block
;
}
#emotions
.categorys
a
:hover
{
text-decoration
:
underline
;
}
#emotions
.categorys
a
.current
{
cursor
:
default
;
background
:
#F0F0F0
;
-moz-border-radius
:
3px
;
-webkit-border-radius
:
3px
;
}
#emotions
.container
{
padding
:
1px
;
overflow
:
hidden
;
}
#emotions
.container
a
{
float
:
left
;
width
:
26px
;
height
:
22px
;
text-align
:
center
;
box-sizing
:
content-box
;
padding
:
4px
2px
;
margin
:
-1px
0
0
-1px
;
border
:
1px
solid
#e8e8e8
;
}
#emotions
.container
a
:hover
{
z-index
:
2
;
position
:
relative
;
border
:
1px
solid
#0095cd
;
}
#emotions
.page
{
text-align
:
right
;
}
#emotions
.page
a
.current
{
color
:
#666
;
background-color
:
#fff
;
}
#emotions
.page
a
{
margin-left
:
3px
;
color
:
#0078B6
;
background-color
:
#f3f3f3
;
}
#emotions
.page
a
:hover
{
background-color
:
#e7e7e7
;
}
\ No newline at end of file
src/main/webapp/templets/1/default/footer.htm
0 → 100644
View file @
1f093087
<div
class=
"ms-footer"
>
<div
class=
"ms-footer-content"
>
<div
class=
"ms-footer-left"
>
<div
class=
"ms-footer-left-column"
>
<span
class=
"ms-footer-left-column-about"
>
<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>
</span>
|
<span
class=
"ms-footer-left-column-contact"
>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#lianx'
>
联系我们
</a>
</span>
</div>
<span
class=
"ms-footer-left-copyright"
>
版权所有
©
铭飞科技有限公司2012-2018保留一切权利
</span>
</div>
<div
class=
"ms-footer-right"
>
<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=
"{ms:global.host/}/{ms:global.style/}/images/weixin.jpg"
>
</div>
</div>
</div>
</div>
<script>
/*导航下拉*/
$
(
function
(){
$
(
"
.head-menu-list-li
"
).
hover
(
function
(){
$
(
this
).
find
(
"
.head-menu-son-list
"
).
fadeToggle
();
});
$
(
'
.ms-footer-right-img-weixin
'
).
hover
(
function
(){
$
(
'
.ms-footer-right-weixin
'
).
toggle
();
});
});
</script>
\ No newline at end of file
src/main/webapp/templets/1/default/head-file.htm
0 → 100644
View file @
1f093087
<title>
{ms:global.name/}
</title>
<meta
charset=
"utf-8"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://cdn.mingsoft.net/plugins/iconfont/1.0.0/iconfont.css"
/>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"{ms:global.host/}/{ms:global.style/}/less/base.less"
>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"{ms:global.host/}/{ms:global.style/}/less/index.less"
>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"{ms:global.host/}/{ms:global.style/}/less/advice.less"
>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"{ms:global.host/}/{ms:global.style/}/less/case-list.less"
>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"{ms:global.host/}/{ms:global.style/}/less/about.less"
>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"{ms:global.host/}/{ms:global.style/}/less/news-list.less"
>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"{ms:global.host/}/{ms:global.style/}/less/news-show.less"
>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"{ms:global.host/}/{ms:global.style/}/less/center.less"
>
<script
src=
"http://cdn.mingsoft.net/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=
"http://cdn.mingsoft.net/plugins/less/2.5.3/less.min.js"
></script>
<script
src=
"http://cdn.mingsoft.net/plugins/seajs/3.0.0/sea.js"
></script>
<script
src=
"http://cdn.mingsoft.net/model/1.0.0/main.min.js"
></script>
<!--vue-懒加载-表单验证-->
<script
src=
"http://cdn.mingsoft.net/plugins/vue/2.3.3/vue.min.js"
></script>
<script
src=
"http://cdn.mingsoft.net/plugins/validator/5.5.0/validator.min.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{ms:global.host/}/{ms:global.style/}/css/animate.css"
>
<script>
ms
.
config
({
base
:
"
{ms:global.host/}
"
,
filter
:
{
people
:
{
loginUrl
:
'
{ms:global.host/}
'
}
}
});
</script>
\ No newline at end of file
src/main/webapp/templets/1/default/head.htm
0 → 100644
View file @
1f093087
<div
class=
"ms-head"
>
<div
class=
"head-menu"
>
<div
class=
"head-men-left head-menu-flex-center"
>
<a
href=
"{ms:global.host/}"
>
<img
src=
"http://cdn.mingsoft.net/images/logo.png"
/>
</a>
<ul
class=
"head-menu-list"
>
<li
class=
"head-menu-list-li"
>
走进铭飞
<ul
class=
"head-menu-son-list"
>
<li>
<a
target=
"_blank"
href=
'{ms:global.url/}/53/index.html'
>
关于我们
</a>
</li>
<li>
<a
target=
"_blank"
href=
'{ms:global.url/}/59/index.html'
>
公司动态
</a>
</li>
<li>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#faz'
>
发展历程
</a>
</li>
<li>
<a
target=
"_blank"
href=
'http://mingsoft.net/html/1//5527/index.html#lianx'
>
加入我们
</a>
</li>
<li>
<a
target=
"_blank"
href=
'{ms:global.url/}/19/141/index.html'
>
联系我们
</a>
</li>
</ul>
</li>
<li
class=
"head-menu-list-li"
>
<a
href=
'{ms:global.url/}/149/index.html'
>
案例
</a>
</li>
<li
class=
"head-menu-list-li"
>
<a
target=
"_blank"
href=
'http://mstore.mingsoft.net/mstoreShow.do'
>
插件
&
模板
</a>
<!-- <ul class="head-menu-son-list">
<li><a href='http://mstore.mingsoft.net/mstoreShow.do'>模板</a></li>
<li><a href='http://mstore.mingsoft.net/mstoreShow.do'>插件</a></li>
</ul> -->
</li>
<li
class=
"head-menu-list-li"
>
<a
target=
"_blank"
href=
'{ms:global.url/}/19/142/index.html'
>
在线留言
</a>
</li>
<li
class=
"head-menu-list-li"
>
技术支持
<ul
class=
"head-menu-son-list"
>
<li>
<a
target=
"_blank"
href=
'http://bbs.mingsoft.net/mbbs/main.do'
>
开源社区
</a>
</li>
<li>
<a
target=
"_blank"
href=
'https://gitee.com/mingSoft/MCMS'
>
源码下载
</a>
</li>
<li>
<a
target=
"_blank"
href=
'http://doc.ms.mingsoft.net/plugs-cms/'
>
使用手册
</a>
</li>
</ul>
</li>
</ul>
</div>
<div
class=
"head-men-right head-menu-flex-center"
>
<div
class=
"head-menu-flex-center head-menu-right-search"
>
<form
id=
"searchDataForm"
action=
"{ms:global.host/}/cms/1/search.do"
method=
"post"
>
<input
type=
"text"
class=
'ms-search-input'
name=
"basic_title"
placeholder=
"请输入关键字"
>
<!-- <i class="iconfont ms-search-click"></i> -->
<input
type=
"submit"
value=
""
class=
"ms-search-click"
>
</form>
</div>
<div
class=
"head-menu-right-content"
id=
"ms-login-vue"
>
<span
v-show=
"!isLogin"
style=
"display: none;"
>
<span>
<a
href=
'{ms:global.host/}/login.html'
>
登录
</a>
</span>
|
<span><a
href=
'{ms:global.host/}/register.html'
>
注册
</a></span>
</span>
<div
class=
"topbar-info J_userInfo loginSuccess hide-default"
v-show=
"isLogin"
style=
"display: none;"
>
<a
class=
"user-name"
href=
"{ms:global.host/}/people/center.do"
>
<img
:src=
"'{ms:global.host/}'+ peopleInfo.puIcon"
class=
"loginImg user_icon"
onerror=
"this.src='http://cdn.mingsoft.net/global/images/msheader.png'"
>
<b
class=
"userName ms-userName"
v-text=
"peopleInfo.puNickname"
></b>
</a>
<a
href=
"javascript:;"
class=
"quitLogin"
@
click=
"quitLogin"
>
退出
</a>
</div>
</div>
</div>
</div>
</div>
<script>
var
headVue
=
new
Vue
({
el
:
"
#ms-login-vue
"
,
data
:
{
isLogin
:
undefined
,
//登录状态
peopleInfo
:
""
,
//个人信息
},
mounted
:
function
()
{
//获取个人信息
var
target
=
this
;
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
{ms:global.host/}/checkLoginStatus.do
"
,
success
:
function
(
msg
)
{
target
.
isLogin
=
msg
.
result
;
if
(
msg
.
result
)
{
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
{ms:global.host/}/people/user/info.do
"
,
success
:
function
(
msg
)
{
target
.
peopleInfo
=
msg
;
}
})
}
}
})
},
methods
:
{
//退出登录
quitLogin
:
function
()
{
var
target
=
this
;
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
{ms:global.host/}/people/quit.do
"
,
success
:
function
(
msg
)
{
if
(
msg
.
result
)
{
$
(
"
body
"
).
append
(
"
<form id='msHeadForm' action=''></form>
"
);
$
(
"
#msHeadForm
"
).
attr
(
"
action
"
,
"
{ms:global.host/}
"
).
submit
();
}
}
})
},
},
})
/* $(function(){
var r=location.href;
if(r.match("53")){
$(".head-menu-list-li").removeClass("head-active");
$(".head-menu-list-li").eq(0).addClass("head-active");
}else if(r.match("141")){
$(".head-menu-list-li").removeClass("head-active");
$(".head-menu-list-li").eq(0).addClass("head-active");
}else if(r.match("59")){
$(".head-menu-list-li").removeClass("head-active");
$(".head-menu-list-li").eq(0).addClass("head-active");
}else if(r.match("155")){
$(".head-menu-list-li").removeClass("head-active");
$(".head-menu-list-li").eq(1).addClass("head-active");
}else if(r.match("142")){
$(".head-menu-list-li").removeClass("head-active");
$(".head-menu-list-li").eq(3).addClass("head-active");
}
}) */
</script>
\ No newline at end of file
src/main/webapp/templets/1/default/images/00.png
0 → 100644
View file @
1f093087
520 KB
src/main/webapp/templets/1/default/images/01.jpg
0 → 100644
View file @
1f093087
200 KB
src/main/webapp/templets/1/default/images/02.jpg
0 → 100644
View file @
1f093087
215 KB
src/main/webapp/templets/1/default/images/03.jpg
0 → 100644
View file @
1f093087
159 KB
src/main/webapp/templets/1/default/images/1471918025445.png
0 → 100644
View file @
1f093087
1.49 KB
src/main/webapp/templets/1/default/images/about_us.jpg
0 → 100644
View file @
1f093087
498 KB
src/main/webapp/templets/1/default/images/ad_ctr.png
0 → 100644
View file @
1f093087
3.66 KB
src/main/webapp/templets/1/default/images/alpha.png
0 → 100644
View file @
1f093087
924 Bytes
src/main/webapp/templets/1/default/images/baidu.png
0 → 100644
View file @
1f093087
2 KB
src/main/webapp/templets/1/default/images/banner.jpg
0 → 100644
View file @
1f093087
236 KB
src/main/webapp/templets/1/default/images/case.png
0 → 100644
View file @
1f093087
126 KB
Prev
1
2
3
4
5
…
8
Next
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