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
ded33b1a
Commit
ded33b1a
authored
May 18, 2019
by
ms-dev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
右边模板js问题
parent
47003f17
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
38 deletions
+47
-38
index.html
src/main/webapp/html/1/index.html
+22
-22
index.html
src/main/webapp/html/1/m/index.html
+9
-10
head-file.htm
src/main/webapp/templets/1/default/head-file.htm
+8
-1
head.htm
src/main/webapp/templets/1/default/head.htm
+1
-1
index.htm
src/main/webapp/templets/1/default/index.htm
+7
-4
No files found.
src/main/webapp/html/1/index.html
View file @
ded33b1a
...
...
@@ -3,7 +3,7 @@
<head>
<title>
MCMS-OPEN
</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"
type=
"text/css"
href=
"http://
localhost:8080/ms-mcms
/plugins/iconfont/1.0.0/iconfont.css"
/>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"http://localhost:8080/ms-mcms/templets/1/default/less/base.less"
>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"http://localhost:8080/ms-mcms/templets/1/default/less/index.less"
>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"http://localhost:8080/ms-mcms/templets/1/default/less/advice.less"
>
...
...
@@ -12,26 +12,29 @@
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"http://localhost:8080/ms-mcms/templets/1/default/less/news-list.less"
>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"http://localhost:8080/ms-mcms/templets/1/default/less/news-show.less"
>
<link
rel=
"stylesheet/less"
type=
"text/css"
href=
"http://localhost:8080/ms-mcms/templets/1/default/less/center.less"
>
<script
src=
"http://
cdn.mingsoft.net
/plugins/jquery/1.9.1/jquery-1.9.1.js"
></script>
<script
src=
"http://
localhost:8080/ms-mcms
/plugins/jquery/1.9.1/jquery-1.9.1.js"
></script>
<script
src=
"http://localhost:8080/ms-mcms/templets/1/default/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>
<script
src=
"http://localhost:8080/ms-mcms/static/plugins/less/3.9.0/less.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>
<script
src=
"http://localhost:8080/ms-mcms/plugins/vue/2.3.3/vue.min.js"
></script>
<script
src=
"http://localhost:8080/ms-mcms/plugins/validator/5.5.0/validator.min.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://localhost:8080/ms-mcms/templets/1/default/css/animate.css"
>
<script>
ms
.
config
({
base
:
"http://localhost:8080/ms-mcms"
,
filter
:
{
people
:
{
loginUrl
:
'http://localhost:8080/ms-mcms'
}
<script
src=
"http://localhost:8080/ms-mcms/static/plugins/axios/0.18.0/axios.min.js"
></script>
<script
src=
"http://localhost:8080/ms-mcms/static/plugins/ms/1.0.0/ms.js"
></script>
<script
src=
"http://localhost:8080/ms-mcms/static/plugins/ms/1.0.0/ms.http.js"
></script>
<script
src=
"http://localhost:8080/ms-mcms/static/plugins/ms/1.0.0/ms.util.js"
></script>
<script
type=
"text/javascript"
>
window
.
http
=
ms
.
http
;
</script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://localhost:8080/ms-mcms/plugins/bootstrap/3.3.5/css/bootstrap.min.css"
>
<script
type=
"text/javascript"
src=
"http://localhost:8080/ms-mcms/plugins/bootstrap/3.3.5/js/bootstrap.min.js"
></script>
<script>
var
ms
=
{
base
:
"http://mstore.mingsoft.net"
}
});
</script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://cdn.mingsoft.net/plugins/bootstrap/3.3.5/css/bootstrap.min.css"
>
<script
type=
"text/javascript"
src=
"http://cdn.mingsoft.net/plugins/bootstrap/3.3.5/js/bootstrap.min.js"
></script>
</script>
<script
src=
"http://mstore.mingsoft.net/api/ms.web.mstore.js"
></script>
</head>
<body>
...
...
@@ -118,7 +121,7 @@
var
headVue
=
new
Vue
({
el
:
"#ms-login-vue"
,
data
:
{
isLogin
:
undefined
,
//登录状态
isLogin
:
""
,
//登录状态
peopleInfo
:
""
,
//个人信息
},
mounted
:
function
()
{
...
...
@@ -494,7 +497,6 @@ $(function(){
</script>
</body>
</html>
<script
type=
"text/javascript"
>
ms
.
load
([
"ms"
,
"http://localhost:8080/ms-mcms/templets/1/default/js/demo.js"
],
function
(
ms
,
mmstore
)
{
//../templets/86/cms/js/ms.mstore.js
var
index
=
new
Vue
({
el
:
"#indexVue"
,
data
:
{
...
...
@@ -506,7 +508,7 @@ $(function(){
methods
:
{
query
:
function
(
data
,
type
)
{
var
target
=
this
;
m
mstore
.
mstore
.
list
(
data
,
function
(
json
)
{
m
s
.
web
.
mstore
.
list
(
data
,
function
(
json
)
{
if
(
type
==
'model'
)
{
target
.
modelList
=
json
.
list
;
}
else
{
...
...
@@ -559,5 +561,4 @@ $(function(){
},
300
)
},
})
})
</script>
\ No newline at end of file
src/main/webapp/html/1/m/index.html
View file @
ded33b1a
...
...
@@ -4,8 +4,8 @@
<title>
MCMS-OPEN
</title>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://
cdn.mingsoft.net
/plugins/amazeui/2.7.2/css/amazeui.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://
cdn.mingsoft.net
/plugins/iconfont/1.0.0/iconfont.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://
localhost:8080/ms-mcms
/plugins/amazeui/2.7.2/css/amazeui.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://
localhost:8080/ms-mcms
/plugins/iconfont/1.0.0/iconfont.css"
/>
<link
rel=
"stylesheet"
type=
"text/less"
href=
"http://localhost:8080/ms-mcms/templets/1/default/m/less/index.less"
/>
<link
rel=
"stylesheet"
type=
"text/less"
href=
"http://localhost:8080/ms-mcms/templets/1/default/m/less/base.less"
/>
<link
rel=
"stylesheet"
type=
"text/less"
href=
"http://localhost:8080/ms-mcms/templets/1/default/m/less/about.less"
/>
...
...
@@ -13,14 +13,13 @@
<link
rel=
"stylesheet"
type=
"text/less"
href=
"http://localhost:8080/ms-mcms/templets/1/default/m/less/news-list.less"
/>
<link
rel=
"stylesheet"
type=
"text/less"
href=
"http://localhost:8080/ms-mcms/templets/1/default/m/less/news-show.less"
/>
<link
rel=
"stylesheet"
type=
"text/less"
href=
"http://localhost:8080/ms-mcms/templets/1/default/m/less/advice.less"
/>
<script
src=
"http://
cdn.mingsoft.net
/plugins/jquery/1.9.1/jquery-1.9.1.js"
></script>
<script
src=
"http://
cdn.mingsoft.net
/plugins/amazeui/2.7.2/js/amazeui.min.js"
></script>
<script
src=
"http://
localhost:8080/ms-mcms
/plugins/jquery/1.9.1/jquery-1.9.1.js"
></script>
<script
src=
"http://
localhost:8080/ms-mcms
/plugins/amazeui/2.7.2/js/amazeui.min.js"
></script>
<script
src=
"http://localhost:8080/ms-mcms/templets/1/default/m/js/jiaoben.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>
<script
src=
"http://localhost:8080/ms-mcms/plugins/seajs/3.0.0/sea.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>
<script
src=
"http://
localhost:8080/ms-mcms
/plugins/vue/2.3.3/vue.min.js"
></script>
<script
src=
"http://
localhost:8080/ms-mcms
/plugins/validator/5.5.0/validator.min.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://localhost:8080/ms-mcms/templets/1/default/m/css/style.css"
>
<script>
ms
.
config
({
...
...
@@ -32,8 +31,8 @@
}
});
</script>
</head>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://
cdn.mingsoft.net
/plugins/bootstrap/3.3.5/css/bootstrap.min.css"
>
<script
type=
"text/javascript"
src=
"http://
cdn.mingsoft.net
/plugins/bootstrap/3.3.5/js/bootstrap.min.js"
></script>
</head>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://
localhost:8080/ms-mcms
/plugins/bootstrap/3.3.5/css/bootstrap.min.css"
>
<script
type=
"text/javascript"
src=
"http://
localhost:8080/ms-mcms
/plugins/bootstrap/3.3.5/js/bootstrap.min.js"
></script>
<body>
<div
class=
"ms-head"
>
<header
data-am-widget=
"header"
class=
"am-header am-header-default ms-head-background"
>
...
...
src/main/webapp/templets/1/default/head-file.htm
View file @
ded33b1a
...
...
@@ -12,8 +12,15 @@
<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>
<script
src=
"{ms:global.host/}/static/plugins/seajs/3.0.0/sea.js"
></script>
<!--vue-懒加载-表单验证-->
<script
src=
"{ms:global.host/}/plugins/vue/2.3.3/vue.min.js"
></script>
<script
src=
"{ms:global.host/}/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
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
type=
"text/javascript"
>
window
.
http
=
ms
.
http
;
</script>
src/main/webapp/templets/1/default/head.htm
View file @
ded33b1a
...
...
@@ -81,7 +81,7 @@
var
headVue
=
new
Vue
({
el
:
"#ms-login-vue"
,
data
:
{
isLogin
:
undefined
,
//登录状态
isLogin
:
""
,
//登录状态
peopleInfo
:
""
,
//个人信息
},
mounted
:
function
()
{
...
...
src/main/webapp/templets/1/default/index.htm
View file @
ded33b1a
...
...
@@ -4,6 +4,12 @@
<
#
include
"
head-file
.
htm
"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{ms:global.host/}/plugins/bootstrap/3.3.5/css/bootstrap.min.css"
>
<script
type=
"text/javascript"
src=
"{ms:global.host/}/plugins/bootstrap/3.3.5/js/bootstrap.min.js"
></script>
<script>
var
ms
=
{
base
:
"http://mstore.mingsoft.net"
}
</script>
<script
src=
"http://mstore.mingsoft.net/api/ms.web.mstore.js"
></script>
</head>
<body>
...
...
@@ -213,7 +219,6 @@
</body>
</html>
<script
type=
"text/javascript"
>
ms
.
load
([
"ms"
,
"{ms:global.host/}/{ms:global.style/}/js/demo.js"
],
function
(
ms
,
mmstore
)
{
//../templets/86/cms/js/ms.mstore.js
var
index
=
new
Vue
({
el
:
"#indexVue"
,
data
:
{
...
...
@@ -225,7 +230,7 @@
methods
:
{
query
:
function
(
data
,
type
)
{
var
target
=
this
;
m
mstore
.
mstore
.
list
(
data
,
function
(
json
)
{
m
s
.
web
.
mstore
.
list
(
data
,
function
(
json
)
{
if
(
type
==
'model'
)
{
target
.
modelList
=
json
.
list
;
}
else
{
...
...
@@ -278,5 +283,4 @@
},
300
)
},
})
})
</script>
\ No newline at end of file
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