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
cd3f0548
"eladmin-system/vscode:/vscode.git/clone" did not exist on "931ecb3ba769fe2dbfb8fec15b51efe263331157"
Commit
cd3f0548
authored
Jun 23, 2020
by
sgjj
Browse files
修改标签
parent
a866cd37
Changes
13
Hide whitespace changes
Inline
Side-by-side
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,103 +92,91 @@ public class CmsParserUtil extends ParserUtil {
...
@@ -92,103 +92,91 @@ 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
totalPageSize
=
PageUtil
.
totalPage
(
articleIdTotal
,
pageSize
);
String
columnListPath
;
//获取列表页显示的文章数量
String
mobilePath
;
int
pageSize
=
10
;
ModelEntity
contentModel
=
null
;
//获取总数
// 判断当前栏目是否有自定义模型
int
totalPageSize
=
PageUtil
.
totalPage
(
articleIdTotal
,
pageSize
);
if
(
StringUtils
.
isNotBlank
(
columnContentModelId
))
{
// 通过栏目模型编号获取自定义模型实体
String
columnListPath
;
contentModel
=
(
ModelEntity
)
SpringUtil
.
getBean
(
ModelBizImpl
.
class
).
getEntity
(
Integer
.
parseInt
(
columnContentModelId
));
String
mobilePath
;
}
ModelEntity
contentModel
=
null
;
int
pageNo
=
1
;
// 判断当前栏目是否有自定义模型
PageBean
page
=
new
PageBean
();
if
(
StringUtils
.
isNotBlank
(
columnContentModelId
))
{
page
.
setSize
(
pageSize
);
// 通过栏目模型编号获取自定义模型实体
//全局参数设置
contentModel
=
(
ModelEntity
)
SpringUtil
.
getBean
(
ModelBizImpl
.
class
).
getEntity
(
Integer
.
parseInt
(
columnContentModelId
));
Map
<
String
,
Object
>
parserParams
=
new
HashMap
<
String
,
Object
>();
}
parserParams
.
put
(
COLUMN
,
column
);
int
pageNo
=
1
;
page
.
setTotal
(
totalPageSize
);
PageBean
page
=
new
PageBean
();
parserParams
.
put
(
IS_DO
,
false
);
page
.
setSize
(
pageSize
);
parserParams
.
put
(
HTML
,
HTML
);
//全局参数设置
parserParams
.
put
(
APP_ID
,
BasicUtil
.
getAppId
());
Map
<
String
,
Object
>
parserParams
=
new
HashMap
<
String
,
Object
>();
if
(
contentModel
!=
null
)
{
parserParams
.
put
(
COLUMN
,
column
);
// 将自定义模型编号设置为key值
page
.
setTotal
(
totalPageSize
);
parserParams
.
put
(
TABLE_NAME
,
contentModel
.
getModelTableName
());
parserParams
.
put
(
IS_DO
,
false
);
}
parserParams
.
put
(
HTML
,
HTML
);
//如果单站点,就废弃站点地址
parserParams
.
put
(
APP_ID
,
BasicUtil
.
getAppId
());
if
(
ParserUtil
.
IS_SINGLE
)
{
if
(
contentModel
!=
null
)
{
parserParams
.
put
(
ParserUtil
.
URL
,
BasicUtil
.
getUrl
());
// 将自定义模型编号设置为key值
parserParams
.
put
(
TABLE_NAME
,
contentModel
.
getModelTableName
());
}
//如果单站点,就废弃站点地址
if
(
ParserUtil
.
IS_SINGLE
)
{
parserParams
.
put
(
ParserUtil
.
URL
,
BasicUtil
.
getUrl
());
}
//文章列表页没有写文章列表标签,总数为0
if
(
totalPageSize
<=
0
)
{
// 数据库中第一页是从开始0*size
// 首页路径index.html
mobilePath
=
ParserUtil
.
buildMobileHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
INDEX
);
columnListPath
=
ParserUtil
.
buildHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
INDEX
);
// 设置分页的起始位置
page
.
setPageNo
(
pageNo
);
parserParams
.
put
(
ParserUtil
.
PAGE
,
page
);
String
read
=
ParserUtil
.
read
(
File
.
separator
+
column
.
getCategoryListUrl
(),
false
,
parserParams
);
FileUtil
.
writeString
(
read
,
columnListPath
,
Const
.
UTF8
);
// 判断是手机端生成还是pc端,防止重复生成
if
(
ParserUtil
.
hasMobileFile
(
column
.
getCategoryListUrl
()))
{
parserParams
.
put
(
ParserUtil
.
MOBILE
,
BasicUtil
.
getApp
().
getAppMobileStyle
());
String
read1
=
ParserUtil
.
read
(
File
.
separator
+
column
.
getCategoryListUrl
(),
true
,
parserParams
);
FileUtil
.
writeString
(
read1
,
mobilePath
,
Const
.
UTF8
);
}
}
//文章列表页没有写文章列表标签,总数为0
}
else
{
if
(
totalPageSize
<=
0
)
{
// 遍历分页
// 数据库中第一页是从开始0*size
for
(
int
i
=
0
;
i
<
totalPageSize
;
i
++)
{
// 首页路径index.html
if
(
i
==
0
)
{
mobilePath
=
ParserUtil
.
buildMobileHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
INDEX
);
// 数据库中第一页是从开始0*size
columnListPath
=
ParserUtil
.
buildHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
INDEX
);
// 首页路径index.html
mobilePath
=
ParserUtil
.
buildMobileHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
INDEX
);
columnListPath
=
ParserUtil
.
buildHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
INDEX
);
}
else
{
// 其他路径list-2.html
mobilePath
=
ParserUtil
.
buildMobileHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
PAGE_LIST
+
pageNo
);
columnListPath
=
ParserUtil
.
buildHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
PAGE_LIST
+
pageNo
);
}
// 设置分页的起始位置
// 设置分页的起始位置
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
);
}
}
else
{
// 遍历分页
for
(
int
i
=
0
;
i
<
totalPageSize
;
i
++)
{
if
(
i
==
0
)
{
// 数据库中第一页是从开始0*size
// 首页路径index.html
mobilePath
=
ParserUtil
.
buildMobileHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
INDEX
);
columnListPath
=
ParserUtil
.
buildHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
INDEX
);
}
else
{
// 其他路径list-2.html
mobilePath
=
ParserUtil
.
buildMobileHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
PAGE_LIST
+
pageNo
);
columnListPath
=
ParserUtil
.
buildHtmlPath
(
column
.
getCategoryPath
()
+
File
.
separator
+
ParserUtil
.
PAGE_LIST
+
pageNo
);
}
// 设置分页的起始位置
page
.
setPageNo
(
pageNo
);
parserParams
.
put
(
ParserUtil
.
PAGE
,
page
);
TagParser
tag
=
new
TagParser
(
content
,
parserParams
);
FileUtil
.
writeString
(
tag
.
rendering
(),
columnListPath
,
Const
.
UTF8
);
// 判断是手机端生成还是pc端,防止重复生成
if
(
ParserUtil
.
hasMobileFile
(
column
.
getCategoryListUrl
()))
{
writer
=
new
StringWriter
();
mobileTemplate
.
process
(
null
,
writer
);
parserParams
.
put
(
ParserUtil
.
MOBILE
,
BasicUtil
.
getApp
().
getAppMobileStyle
());
tag
=
new
TagParser
(
writer
.
toString
(),
parserParams
);
// 将tag.getContent()写入路径
FileUtil
.
writeString
(
tag
.
rendering
(),
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-mc
ms
-
open?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://localhost:3306/msopen?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
...
@@ -9,17 +9,18 @@ logging:
...
@@ -9,17 +9,18 @@ logging:
file
:
file
:
name
:
mcms.log
#会在项目的根目录下生成对应的mcms.log文件,也可以根据实际情况写绝对路径,例如:d:/mcms.log
name
:
mcms.log
#会在项目的根目录下生成对应的mcms.log文件,也可以根据实际情况写绝对路径,例如:d:/mcms.log
path
:
log
#会在项目的根目录下生成log目录,里面会生成对应的日期目录,日期目录下面生成日志压缩包备份文件,默认按每10M分割一个日志文件,例如:log/2020-01/app-2020-01-03-18.1.log.gz(表示2020年1月3号下午六点的第一个备份),也可以根据实际情况写绝对路径,例如:d:/log
path
:
log
#会在项目的根目录下生成log目录,里面会生成对应的日期目录,日期目录下面生成日志压缩包备份文件,默认按每10M分割一个日志文件,例如:log/2020-01/app-2020-01-03-18.1.log.gz(表示2020年1月3号下午六点的第一个备份),也可以根据实际情况写绝对路径,例如:d:/log
ms
:
ms
:
swagger
:
swagger
:
enable
:
true
#启用swagger文档,生产的时候务必关掉
enable
:
true
#启用swagger文档,生产的时候务必关掉
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
<
html
xmlns="http://www.w3.org/1999/html">
<
head
>
<title>静态化</title>
<#include "../../include/head-file.ftl">
<style>
[v-cloak]
{
display
:
none
;
}
</style>
</
head
>
<
body
class="custom-body">
<
div
id="app" v-cloak>
<div class="class-1" >
<el-alert style="line-height: 22px;padding: 20px;"
title=""
type="success"
:closable="false"
show-icon>
更新主页,如果系统存在引导页面可以手动修改主页位置文件名,default.html引导页面index.html主页。<br/>
更新栏目列表,推荐使用指定栏目更新。系统提示“更新中”请不要刷新页面或点击其他菜单。<br/>
根据时间与栏目类型生成文章
</el-alert>
</div>
<el-form ref="form" label-width="100px" size="mini">
<div class="class-2" >
<div class="class-3" >
<div class="class-4" >
<el-form-item label="主题模板">
<el-select v-model="template"
:filterable="true"
:clearable="false"
placeholder="请选择主题模板">
<el-option v-for='item in templateOptions' :key="item" :value="item"
:label="item"></el-option>
</el-select>
</el-form-item>
</div>
<div class="class-7" >
<el-form-item>
<template slot='label'>主页位置
<el-popover slot="label" placement="top-start" title="提示" width="200" trigger="hover" content="主页位置htm文件名一般为index.html或default.html">
<i class="el-icon-question" slot="reference"></i>
</el-popover>
</template>
<el-input v-model="position"
:disabled="false"
:style="
{
width
:
'
100
%'
}
"
:clearable="true"
placeholder="请输入主页位置">
</el-input>
</el-form-item>
</div>
<div class="class-10" >
<el-form-item>
<el-button type="primary" @click="updataIndex" :loading="homeLoading">
{{
homeLoading
?'更新中'
:
'生成主页'
}}
</el-button>
<el-button plain @click="viewIndex">预览主页</el-button>
</el-form-item>
</div>
</div>
<div class="class-13" >
<div class="class-14" >
<el-form-item label="文章栏目">
<tree-select v-model="contentSection"
:props="
{
value
:
'
id
'
,
label
:
'
categoryTitle
'
,
children
:
'
children
'
}
"
:options="treeList" :style="
{
width
:
'
100
%'
}
"
placeholder="请选择文章栏目">
</tree-select>
</el-form-item>
</div>
<div class="class-17" >
<el-form-item>
<template slot='label'>指定时间
<el-popover slot="label" placement="top-start" title="提示" width="200" trigger="hover" content="指定时间需要小于生成文章的发布时间">
<i class="el-icon-question" slot="reference"></i>
</el-popover>
</template>
<el-date-picker
v-model="time"
placeholder="请选择指定时间"
start-placeholder=""
end-placeholder=""
:readonly="false"
:disabled="false"
:editable="false"
:clearable="false"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
:style="
{
width
:
'
100
%'
}
"
type="date">
</el-date-picker>
</el-form-item>
</div>
<div class="class-20" >
<el-form-item>
<el-button type="primary" @click="updateArticle" :loading="articleLoading">
{{
articleLoading
?'更新中'
:
'生成文章'
}}
</el-button>
</el-form-item>
</div>
</div>
<div class="class-23" >
<div class="class-24" >
<el-form-item label="生成栏目">
<tree-select v-model="section"
:props="
{
value
:
'
id
'
,
label
:
'
categoryTitle
'
,
children
:
'
children
'
}
"
:options="treeList" :style="
{
width
:
'
100
%'
}
"
placeholder="请选择文章栏目">
</tree-select>
</el-form-item>
</div>
<div class="class-30" >
<el-form-item>
<el-button type="primary" @click="updateColumn" :loading="columnLoading">
{{
columnLoading
?'更新中'
:
'生成栏目'
}}
</el-button>
</el-form-item>
</div>
</div>
</div>
</el-form>
</
div
>
</
body
>
</
html
>
<
script
>
"use strict";
var app = new Vue(
{
el
:
'#
app
'
,
watch
:
{},
data
:
{
homeLoading
:
false
,
articleLoading
:
false
,
columnLoading
:
false
,
template
:
''
,
//主题模板
templateOptions
:
[]
,
position
:
'
index
'
,
//位置
contentSection
:
'
0
'
,
//文章栏目
section
:
'
0
'
,
//栏目
time
:
ms
.util.date.fmt
(
new
D
ate
(),
"yyyy-MM-dd"
),
treeList
:
[
{
id
:
'
0
'
,
categoryTitle
:
'顶级栏目'
,
children
:
[]
}
]
},
methods
:
{
//更新主页
updataIndex
:
function
()
{
var
that
=
this
;
if
(
!
that
.position
||
that
.position
==
''
)
{
this
.
$notify
({
title
:
'请输入主页位置!'
,
type
:
'
warning
'
})
;
return
;
}
that
.homeLoading
=
true
;
ms
.http.post
(
ms
.manager
+
'/
cms
/
generate
//
generateIndex
.do
'
,
{
url
:
that
.template
,
position
:
that
.position
})
.then
(
function
(
data
)
{
if
(
data
.result
)
{
that
.
$notify
({
title
:
'更新成功!'
,
type
:
'
success
'
})
;
}
else
{
that
.
$notify
({
title
:
'更新失败!'
,
message
:
"错误"
,
type
:
'
error
'
})
;
}
})
.catch
(
function
(
err
)
{
that
.
$notify
({
title
:
'更新失败!'
,
message
:
err
,
type
:
'
error
'
})
;
console
.log
(
err
)
;
})
.finally
(
function
()
{
that
.homeLoading
=
false
;
})
;
},
//预览主页
viewIndex
:
function
()
{
if
(
!
this
.position
||
this
.position
==
''
)
{
this
.
$notify
({
title
:
'请输入主页位置!'
,
type
:
'
warning
'
})
;
return
;
}
window
.open
(
ms
.manager
+
"/cms/generate/"
+
this
.position
+
"/viewIndex.do"
)
;
},
//更新栏目
updateColumn
:
function
()
{
var
that
=
this
;
that
.columnLoading
=
true
;
ms
.http.get
(
ms
.manager
+
'/
cms
/
generate
/'
+
(
that
.section
?
that
.section
:
0
)
+
'/
genernateColumn
.do
'
)
.then
(
function
(
data
)
{
if
(
data
.result
)
{
that
.
$notify
({
title
:
'更新成功!'
,
type
:
'
success
'
})
;
}
})
.catch
(
function
(
err
)
{
that
.
$notify
({
title
:
'更新失败!'
,
message
:
err
,
type
:
'
error
'
})
;
console
.log
(
err
)
;
})
.finally
(
function
()
{
that
.columnLoading
=
false
;
})
;
},
//生成文章栏目
updateArticle
:
function
()
{
var
that
=
this
;
that
.articleLoading
=
true
;
ms
.http.post
(
ms
.manager
+
'/
cms
/
generate
/'
+
(
that
.contentSection
?
that
.contentSection
:
0
)
+
'/
generateArticle
.do
'
,
{
dateTime
:
that
.time
})
.then
(
function
(
data
)
{
if
(
data
.result
)
{
that
.
$notify
({
title
:
'更新成功!'
,
type
:
'
success
'
})
;
}
})
.catch
(
function
(
err
)
{
that
.
$notify
({
title
:
'更新失败!'
,
message
:
err
,
type
:
'
error
'
})
;
console
.log
(
err
)
;
})
.finally
(
function
()
{
that
.articleLoading
=
false
;
})
;
},
//获取主题模板数据源
templateOptionsGet
:
function
()
{
var
that
=
this
;
ms
.http.get
(
ms
.manager
+
'/
template
/
queryTemplateFileForColumn
.do
'
,
{
pageSize
:
99999
})
.then
(
function
(
data
)
{
that
.templateOptions
=
data
.data
;
//寻找主页
var
template
=
that
.templateOptions.find
(
function
(
x
)
{
return
x
.indexOf
(
"index"
)
!=
-1
||
x
.indexOf
(
"default"
)
!=
-1
;
})
;
//没有就找其他的
that
.template
=
template
||
(
that
.templateOptions.length
>
0
?
that
.templateOptions
[
0
]
: "");
})
.catch
(
function
(
err
)
{
console
.log
(
err
)
;
})
;
},
getTree
:
function
()
{
var
that
=
this
;
ms
.http.get
(
ms
.manager
+
"/cms/category/list.do"
,
{
pageSize
:
9999
})
.then
(
function
(
res
)
{
if
(
res
.result
)
{
//
res
.data.rows.push
({
id
:
0
,
categoryId
:
null
,
categoryTitle
:
'顶级栏目管理'
})
;
that
.treeList
[
0
]
.children = ms.util.treeData(res.data.rows, 'id', 'categoryId', 'children');
}
})
.catch
(
function
(
err
)
{
console
.log
(
err
)
;
})
;
}
},
created
:
function
()
{
this
.getTree
()
;
this
.templateOptionsGet
()
;
}
}
);
</
script
>
<
style
>
input
{
width
:
100
%!
important
;
}
.class-1
{
color
:
#
333333
;
outline
:
none
;
outline-offset
:
-1
px
;
max-width
:
100
%;
background-color
:
#
FFFFFF
;
flex-direction
:
row
;
display
:
flex
;
animation-duration
:
1
s
;
width
:
100
%;
background-repeat
:
no-repeat
;
padding
:
14
px
;
}
.class-2
{
color
:
#
333333
;
outline
:
none
;
outline-offset
:
-1
px
;
height
:
500
px
;
max-width
:
100
%;
flex-direction
:
row
;
display
:
flex
;
animation-duration
:
1
s
;
width
:
100
%;
background-repeat
:
no-repeat
;
}
.class-3
{
color
:
#
333333
;
padding
:
20
px
;
outline
:
none
;
outline-offset
:
-1
px
;
height
:
200
px
;
max-width
:
100
%;
background-color
:
#
FFFFFF
;
flex-direction
:
column
;
display
:
flex
;
justify-content
:
end
;
margin
:
12
px
6
px
12
px
12
px
;
animation-duration
:
1
s
;
width
:
100
%;
padding-left
:
20
px
;
background-repeat
:
no-repeat
;
}
.class-4
{
color
:
#
333333
;
outline
:
none
;
outline-offset
:
-1
px
;
max-width
:
100
%;
align-items
:
center
;
flex-direction
:
row
;
display
:
flex
;
animation-duration
:
1
s
;
background-repeat
:
no-repeat
;
}
.class-5
{
color
:
#
333333
;
word-wrap
:
break-word
;
display
:
inline-block
;
animation-duration
:
1
s
;
font-size
:
14
px
;
line-height
:
1.4
;
}
.class-6
{
border-color
:
#
EEEEEE
;
color
:
#
606266
;
padding-right
:
15
px
;
box-sizing
:
boredr-box
;
outline
:
none
;
border-width
:
1
px
;
border-style
:
solid
;
height
:
40
px
;
margin-left
:
20
px
;
animation-duration
:
1
s
;
background
:
none
;
width
:
320
px
;
font-size
:
12
px
;
line-height
:
40
px
;
padding-left
:
15
px
;
}
.class-7
{
border-color
:
#
EEEEEE
;
color
:
#
333333
;
outline
:
none
;
outline-offset
:
-1
px
;
border-width
:
1
px
;
border-style
:
none
;
max-width
:
100
%;
align-items
:
center
;
flex-direction
:
row
;
display
:
flex
;
animation-duration
:
1
s
;
background-repeat
:
no-repeat
;
}
.class-8
{
color
:
#
333333
;
word-wrap
:
break-word
;
display
:
inline-block
;
animation-duration
:
1
s
;
font-size
:
14
px
;
line-height
:
1.4
;
}
.class-9
{
border-color
:
#
EEEEEE
;
color
:
#
606266
;
padding-right
:
15
px
;
box-sizing
:
boredr-box
;
outline
:
none
;
border-width
:
1
px
;
border-style
:
solid
;
height
:
40
px
;
margin-left
:
20
px
;
animation-duration
:
1
s
;
background
:
none
;
width
:
320
px
;
font-size
:
12
px
;
line-height
:
40
px
;
padding-left
:
15
px
;
}
.class-10
{
border-color
:
#
EEEEEE
;
color
:
#
333333
;
outline
:
none
;
outline-offset
:
-1
px
;
border-width
:
1
px
;
border-style
:
none
;
max-width
:
100
%;
align-items
:
center
;
flex-direction
:
row
;
display
:
flex
;
animation-duration
:
1
s
;
background-repeat
:
no-repeat
;
}
.class-11
{
cursor
:
pointer
;
color
:
#
ffffff
;
box-sizing
:
border-box
;
height
:
34
px
;
background-color
:
#
0099
ff
;
text-align
:
center
;
display
:
inline-block
;
animation-duration
:
1
s
;
border-radius
:
4
px
;
width
:
98
px
;
line-height
:
34
px
;
font-size
:
14
px
;
}
.class-12
{
cursor
:
pointer
;
border-color
:
#
0099
FF
;
color
:
#
0099
FF
;
box-sizing
:
border-box
;
border-width
:
1
px
;
border-style
:
solid
;
height
:
34
px
;
background-color
:
#
FFFFFF
;
text-align
:
center
;
display
:
inline-block
;
margin-left
:
10
px
;
animation-duration
:
1
s
;
border-radius
:
4
px
;
width
:
98
px
;
line-height
:
34
px
;
font-size
:
14
px
;
}
.class-13
{
color
:
#
333333
;
padding
:
20
px
;
outline
:
none
;
outline-offset
:
-1
px
;
height
:
200
px
;
max-width
:
100
%;
background-color
:
#
FFFFFF
;
flex-direction
:
column
;
display
:
flex
;
justify-content
:
end
;
margin
:
12
px
6
px
;
animation-duration
:
1
s
;
width
:
100
%;
padding-left
:
20
px
;
background-repeat
:
no-repeat
;
}
.class-14
{
color
:
#
333333
;
outline
:
none
;
outline-offset
:
-1
px
;
max-width
:
100
%;
align-items
:
center
;
flex-direction
:
row
;
display
:
flex
;
animation-duration
:
1
s
;
background-repeat
:
no-repeat
;
}
.class-15
{
color
:
#
333333
;
word-wrap
:
break-word
;
display
:
inline-block
;
animation-duration
:
1
s
;
font-size
:
14
px
;
line-height
:
1.4
;
}
.class-16
{
border-color
:
#
EEEEEE
;
color
:
#
606266
;
padding-right
:
15
px
;
box-sizing
:
boredr-box
;
outline
:
none
;
border-width
:
1
px
;
border-style
:
solid
;
height
:
40
px
;
margin-left
:
20
px
;
animation-duration
:
1
s
;
background
:
none
;
width
:
320
px
;
font-size
:
12
px
;
line-height
:
40
px
;
padding-left
:
15
px
;
}
.class-17
{
border-color
:
#
EEEEEE
;
color
:
#
333333
;
outline
:
none
;
outline-offset
:
-1
px
;
border-width
:
1
px
;
border-style
:
none
;
max-width
:
100
%;
align-items
:
center
;
flex-direction
:
row
;
display
:
flex
;
animation-duration
:
1
s
;
background-repeat
:
no-repeat
;
}
.class-18
{
color
:
#
333333
;
word-wrap
:
break-word
;
display
:
inline-block
;
animation-duration
:
1
s
;
font-size
:
14
px
;
line-height
:
1.4
;
}
.class-19
{
border-color
:
#
EEEEEE
;
color
:
#
606266
;
padding-right
:
15
px
;
box-sizing
:
boredr-box
;
outline
:
none
;
border-width
:
1
px
;
border-style
:
solid
;
height
:
40
px
;
margin-left
:
20
px
;
animation-duration
:
1
s
;
background
:
none
;
width
:
320
px
;
font-size
:
12
px
;
line-height
:
40
px
;
padding-left
:
15
px
;
}
.class-20
{
color
:
#
333333
;
outline
:
none
;
outline-offset
:
-1
px
;
max-width
:
100
%;
align-items
:
center
;
flex-direction
:
row
;
display
:
flex
;
animation-duration
:
1
s
;
background-repeat
:
no-repeat
;
}
.class-21
{
cursor
:
pointer
;
color
:
#
ffffff
;
box-sizing
:
border-box
;
height
:
34
px
;
background-color
:
#
0099
ff
;
text-align
:
center
;
display
:
inline-block
;
animation-duration
:
1
s
;
border-radius
:
4
px
;
width
:
98
px
;
line-height
:
34
px
;
font-size
:
14
px
;
}
.class-22
{
cursor
:
pointer
;
border-color
:
#
0099
FF
;
color
:
#
0099
FF
;
box-sizing
:
border-box
;
border-width
:
1
px
;
border-style
:
solid
;
height
:
34
px
;
background-color
:
#
FFFFFF
;
text-align
:
center
;
display
:
inline-block
;
margin-left
:
10
px
;
animation-duration
:
1
s
;
border-radius
:
4
px
;
width
:
98
px
;
line-height
:
34
px
;
font-size
:
14
px
;
}
.class-23
{
color
:
#
333333
;
padding
:
20
px
;
outline
:
none
;
outline-offset
:
-1
px
;
height
:
200
px
;
max-width
:
100
%;
background-color
:
#
FFFFFF
;
flex-direction
:
column
;
display
:
flex
;
justify-content
:
end
;
margin
:
12
px
12
px
12
px
6
px
;
animation-duration
:
1
s
;
width
:
100
%;
padding-left
:
20
px
;
background-repeat
:
no-repeat
;
}
.class-24
{
color
:
#
333333
;
outline
:
none
;
outline-offset
:
-1
px
;
max-width
:
100
%;
align-items
:
center
;
flex-direction
:
row
;
display
:
flex
;
animation-duration
:
1
s
;
background-repeat
:
no-repeat
;
}
.class-25
{
color
:
#
333333
;
word-wrap
:
break-word
;
display
:
inline-block
;
animation-duration
:
1
s
;
font-size
:
14
px
;
line-height
:
1.4
;
}
.class-26
{
border-color
:
#
EEEEEE
;
color
:
#
606266
;
padding-right
:
15
px
;
box-sizing
:
boredr-box
;
outline
:
none
;
border-width
:
1
px
;
border-style
:
solid
;
height
:
40
px
;
margin-left
:
20
px
;
animation-duration
:
1
s
;
background
:
none
;
width
:
320
px
;
font-size
:
12
px
;
line-height
:
40
px
;
padding-left
:
15
px
;
}
.class-27
{
border-color
:
#
EEEEEE
;
color
:
#
333333
;
outline
:
none
;
outline-offset
:
-1
px
;
border-width
:
1
px
;
border-style
:
none
;
max-width
:
100
%;
align-items
:
center
;
flex-direction
:
row
;
display
:
flex
;
animation-duration
:
1
s
;
background-repeat
:
no-repeat
;
}
.class-28
{
color
:
#
333333
;
word-wrap
:
break-word
;
display
:
inline-block
;
animation-duration
:
1
s
;
font-size
:
14
px
;
line-height
:
1.4
;
}
.class-29
{
border-color
:
#
EEEEEE
;
color
:
#
606266
;
padding-right
:
15
px
;
box-sizing
:
boredr-box
;
outline
:
none
;
border-width
:
1
px
;
border-style
:
solid
;
height
:
40
px
;
margin-left
:
20
px
;
animation-duration
:
1
s
;
background
:
none
;
width
:
320
px
;
font-size
:
12
px
;
line-height
:
40
px
;
padding-left
:
15
px
;
}
.class-30
{
color
:
#
333333
;
outline
:
none
;
outline-offset
:
-1
px
;
max-width
:
100
%;
align-items
:
center
;
flex-direction
:
row
;
display
:
flex
;
animation-duration
:
1
s
;
background-repeat
:
no-repeat
;
}
.class-31
{
cursor
:
pointer
;
color
:
#
ffffff
;
box-sizing
:
border-box
;
height
:
34
px
;
background-color
:
#
0099
ff
;
text-align
:
center
;
display
:
inline-block
;
animation-duration
:
1
s
;
border-radius
:
4
px
;
width
:
98
px
;
line-height
:
34
px
;
font-size
:
14
px
;
}
.class-32
{
cursor
:
pointer
;
border-color
:
#
0099
FF
;
color
:
#
0099
FF
;
box-sizing
:
border-box
;
border-width
:
1
px
;
border-style
:
solid
;
height
:
34
px
;
background-color
:
#
FFFFFF
;
text-align
:
center
;
display
:
inline-block
;
margin-left
:
10
px
;
animation-duration
:
1
s
;
border-radius
:
4
px
;
width
:
98
px
;
line-height
:
34
px
;
font-size
:
14
px
;
}
.el-select
,
.el-input
,
.el-form-item
,
.el-date-editor
{
width: 100%;
}
</
style
>
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
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
<html>
<html>
<head>
<head>
<
#include
"
head-file.htm
"
>
<
#include
"
head-file.htm
"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{
ms:
global.host
/
}/plugins/bootstrap/3.3.5/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
$
{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
type=
"text/javascript"
src=
"
$
{global.host}/plugins/bootstrap/3.3.5/js/bootstrap.min.js"
></script>
<script>
<script>
var
ms
=
{
var
ms
=
{
base
:
"
http://store.mingsoft.net
"
base
:
"
http://store.mingsoft.net
"
...
@@ -21,15 +21,15 @@
...
@@ -21,15 +21,15 @@
<div
id=
"banner_tabs"
class=
"flexslider"
>
<div
id=
"banner_tabs"
class=
"flexslider"
>
<ul
class=
"slides"
>
<ul
class=
"slides"
>
<template
v-for=
"banner in bannerList"
>
<template
v-for=
"banner in bannerList"
>
<li
style=
"background:url({
ms:
global.host
/
}/{
ms:
global.style
/
}/images/03.jpg) no-repeat center;"
>
<li
style=
"background:url(
$
{global.host}/
$
{global.style}/images/03.jpg) no-repeat center;"
>
<p
class=
"banner_tit animated fadeInLeft"
>
铭飞MS平台
</p>
<p
class=
"banner_tit animated fadeInLeft"
>
铭飞MS平台
</p>
<p
class=
"banner_des animated fadeInRight"
>
MCms系统永久完整开源
</p>
<p
class=
"banner_des animated fadeInRight"
>
MCms系统永久完整开源
</p>
</li>
</li>
<li
style=
"background:url({
ms:
global.host
/
}/{
ms:
global.style
/
}/images/03.jpg) no-repeat center;"
>
<li
style=
"background:url(
$
{global.host}/
$
{global.style}/images/03.jpg) no-repeat center;"
>
<p
class=
"banner_tit animated fadeInLeft"
>
MStore
</p>
<p
class=
"banner_tit animated fadeInLeft"
>
MStore
</p>
<p
class=
"banner_des animated fadeInRight"
>
丰富强大的功能插件、海量精美的行业模板
</p>
<p
class=
"banner_des animated fadeInRight"
>
丰富强大的功能插件、海量精美的行业模板
</p>
</li>
</li>
<li
style=
"background:url({
ms:
global.host
/
}/{
ms:
global.style
/
}/images/03.jpg) no-repeat center;"
>
<li
style=
"background:url(
$
{global.host}/
$
{global.style}/images/03.jpg) no-repeat center;"
>
<p
class=
"banner_tit animated fadeInLeft"
>
优质的服务体验
</p>
<p
class=
"banner_tit animated fadeInLeft"
>
优质的服务体验
</p>
<p
class=
"banner_des animated fadeInRight"
>
人工远程协助服务、永久享受更新升级
</p>
<p
class=
"banner_des animated fadeInRight"
>
人工远程协助服务、永久享受更新升级
</p>
</li>
</li>
...
@@ -59,23 +59,23 @@
...
@@ -59,23 +59,23 @@
<div
class=
"tab-content"
>
<div
class=
"tab-content"
>
<div
role=
"tabpanel"
class=
"tab-pane active"
id=
"model"
>
<div
role=
"tabpanel"
class=
"tab-pane active"
id=
"model"
>
<div
style=
"display: none;"
class=
"ms-loading"
v-show=
"!loading"
>
<div
style=
"display: none;"
class=
"ms-loading"
v-show=
"!loading"
>
<img
src=
"{
ms:
global.host
/
}/{
ms:
global.style
/
}/images/loading.gif"
/>
<img
src=
"
$
{global.host}/
$
{global.style}/images/loading.gif"
/>
</div>
</div>
<div
class=
"ms-model-content"
style=
"display: none;"
v-show=
"loading"
>
<div
class=
"ms-model-content"
style=
"display: none;"
v-show=
"loading"
>
<template
v-for=
"model in modelList"
>
<template
v-for=
"model in modelList"
>
<div
class=
"ms-model-list"
>
<div
class=
"ms-model-list"
>
<a
class=
"ms-model-img"
:href=
"model.upgraderVersionUrl"
target=
"_blank"
>
<a
class=
"ms-model-img"
:href=
"model.upgraderVersionUrl"
target=
"_blank"
>
<img
@
mouseout=
"imgMout()"
@
mouseover=
"imgMover()"
:src=
"'http://store.mingsoft.net/'+model.img"
onerror=
"this.src='{
ms:
global.host
/
}/{
ms:
global.style
/
}/images/no-data.png'"
/>
<img
@
mouseout=
"imgMout()"
@
mouseover=
"imgMover()"
:src=
"'http://store.mingsoft.net/'+model.img"
onerror=
"this.src='
$
{global.host}/
$
{global.style}/images/no-data.png'"
/>
</a>
</a>
<div
class=
"ms-model-mobile-img"
v-if=
"model.mobileImg != '' && model.mobileImg != undefined"
style=
"background: url({
ms:
global.host
/
}/{
ms:
global.style
/
}/images/mobile.png)"
>
<div
class=
"ms-model-mobile-img"
v-if=
"model.mobileImg != '' && model.mobileImg != undefined"
style=
"background: url(
$
{global.host}/
$
{global.style}/images/mobile.png)"
>
<div>
<div>
<img
@
mouseout=
"imgMout()"
@
mouseover=
"imgMover()"
:src=
"'http://store.mingsoft.net/'+model.mobileImg"
onerror=
"this.src='{
ms:
global.host
/
}/{
ms:
global.style
/
}/images/no-data.png'"
/>
<img
@
mouseout=
"imgMout()"
@
mouseover=
"imgMover()"
:src=
"'http://store.mingsoft.net/'+model.mobileImg"
onerror=
"this.src='
$
{global.host}/
$
{global.style}/images/no-data.png'"
/>
</div>
</div>
</div>
</div>
<div
class=
"ms-model-info"
>
<div
class=
"ms-model-info"
>
<span
v-text=
"model.upgraderVersionName"
></span>
<span
v-text=
"model.upgraderVersionName"
></span>
<img
class=
"ms-model-info-img"
:src=
"model.upgraderVersionPeopleIcon"
onerror=
"this.src='http://cdn.mingsoft.net/global/images/msheader.png'"
/>
<img
class=
"ms-model-info-img"
:src=
"model.upgraderVersionPeopleIcon"
onerror=
"this.src='http://cdn.mingsoft.net/global/images/msheader.png'"
/>
<img
:src=
"'{
ms:
global.host
/
}/{
ms:
global.style
/
}/images/level-'+model.upgraderVersionStart+'.png'"
/>
<img
:src=
"'
$
{global.host}/
$
{global.style}/images/level-'+model.upgraderVersionStart+'.png'"
/>
<div
class=
"ms-model-type"
>
模板
</div>
<div
class=
"ms-model-type"
>
模板
</div>
</div>
</div>
</div>
</div>
...
@@ -92,12 +92,12 @@
...
@@ -92,12 +92,12 @@
<template
v-for=
"pulg in pulgList"
>
<template
v-for=
"pulg in pulgList"
>
<div
class=
"ms-model-list"
>
<div
class=
"ms-model-list"
>
<a
class=
"ms-model-img"
:href=
"pulg.upgraderVersionUrl"
target=
"_blank"
>
<a
class=
"ms-model-img"
:href=
"pulg.upgraderVersionUrl"
target=
"_blank"
>
<img
:src=
"'http://store.mingsoft.net/'+pulg.img"
onerror=
"this.src='{
ms:
global.host
/
}/{
ms:
global.style
/
}/images/no-data.png'"
/>
<img
:src=
"'http://store.mingsoft.net/'+pulg.img"
onerror=
"this.src='
$
{global.host}/
$
{global.style}/images/no-data.png'"
/>
</a>
</a>
<div
class=
"ms-model-info"
>
<div
class=
"ms-model-info"
>
<span
v-text=
"pulg.upgraderVersionName"
></span>
<span
v-text=
"pulg.upgraderVersionName"
></span>
<img
class=
"ms-model-info-img"
:src=
"pulg.upgraderVersionPeopleIcon"
onerror=
"this.src='http://cdn.mingsoft.net/global/images/msheader.png'"
/>
<img
class=
"ms-model-info-img"
:src=
"pulg.upgraderVersionPeopleIcon"
onerror=
"this.src='http://cdn.mingsoft.net/global/images/msheader.png'"
/>
<img
:src=
"'{
ms:
global.host
/
}/{
ms:
global.style
/
}/images/level-'+pulg.upgraderVersionStart+'.png'"
/>
<img
:src=
"'
$
{global.host}/
$
{global.style}/images/level-'+pulg.upgraderVersionStart+'.png'"
/>
<div
class=
"ms-model-type"
>
插件
</div>
<div
class=
"ms-model-type"
>
插件
</div>
</div>
</div>
</div>
</div>
...
@@ -118,29 +118,29 @@
...
@@ -118,29 +118,29 @@
<div
class=
"ms-content-case-title"
>
<div
class=
"ms-content-case-title"
>
<div
class=
"ms-content-case-title-words"
>
网站案例
</div>
<div
class=
"ms-content-case-title-words"
>
网站案例
</div>
<div
class=
"ms-content-case-more"
>
<div
class=
"ms-content-case-more"
>
<a
href=
'{
ms:
global.url
/
}/149/index.html'
>
MORE>>
</a>
<a
href=
'
$
{global.url}/149/index.html'
>
MORE>>
</a>
</div>
</div>
</div>
</div>
<div
class=
"ms-content-case-list"
>
<div
class=
"ms-content-case-list"
>
{ms:
arclist typeid=149 size=6
}
<
@
arclist
typeid=
149
size=
6
>
<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>
</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=
"
${item
.source
}
"
>
点击查看
</a>
</div>
</div>
</div>
</div>
</div>
</div>
{/ms:
arclist
}
</
@
arclist
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -190,25 +190,25 @@
...
@@ -190,25 +190,25 @@
<div
class=
"ms-content-news-main-title"
>
<div
class=
"ms-content-news-main-title"
>
<div
class=
"ms-content-news-main-title-words"
>
公司动态
</div>
<div
class=
"ms-content-news-main-title-words"
>
公司动态
</div>
<div
class=
"ms-content-news-main-title-more"
>
<div
class=
"ms-content-news-main-title-more"
>
<a
href=
'{
ms:
global.url
/
}/59/index.html'
>
MORE>>
</a>
<a
href=
'
$
{global.url}/59/index.html'
>
MORE>>
</a>
</div>
</div>
</div>
</div>
<div
class=
"ms-content-news-main-img-text"
>
<div
class=
"ms-content-news-main-img-text"
>
{ms:
arclist typeid=59 size=1
}
<
@
arclist
typeid=
59
size=
1
>
<img
src=
"{
ms:
global.host
/}[field
.litpic
/]
"
>
<img
src=
"
$
{global.host
}${item
.litpic
}
"
>
{/ms:
arclist
}
</
@
arclist
>
<ul
class=
"ms-content-news-main-ul"
>
<ul
class=
"ms-content-news-main-ul"
>
{ms:
arclist typeid=59 size=6
}
<
@
arclist
typeid=
59
size=
6
>
<li>
<li>
<a
href=
"{
ms:
global.url
/}[field
.link
/]
"
>
<a
href=
"
$
{global.url
}${item
.link
}
"
>
<div
class=
"ms-content-news-main-li-title"
>
<div
class=
"ms-content-news-main-li-title"
>
<!-- <span class="ms-content-news-main-li-span">·</span> -->
<!-- <span class="ms-content-news-main-li-span">·</span> -->
<span
class=
""
>
[field
.title
/]
</span>
<span
class=
""
>
${item
.title
}
</span>
</div>
</div>
<div
class=
"ms-content-news-main-li-time"
>
[field
.date?string("yyyy-mm-dd")
/]
</div>
<div
class=
"ms-content-news-main-li-time"
>
${item
.date?string("yyyy-mm-dd")
}
</div>
</a>
</a>
</li>
</li>
{/ms:
arclist
}
</
@
arclist
>
</ul>
</ul>
</div>
</div>
</div>
</div>
...
...
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
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