Commit f7e5e034 authored by xierz's avatar xierz
Browse files

Merge remote-tracking branch 'origin/master'

parents 021aff2f 761d5654
<p align="center">
<a href="https://www.mingsoft.net/"><img src="http://cdn.mingsoft.net/global/images/logo-blue.png" width="50" height=""50></a>
</p>
......@@ -88,7 +87,7 @@ git clone https://gitee.com/mingSoft/MCMS.git<br/>
* IDEA导入,点击 Import Project,选择 pom.xml 文件,点击 Next 按钮,选择 Import Maven projects automatically 复选框,然后一直点击 Next 按钮,直到点击 Finish 按钮,即可成功导入<br/>
4、Eclipse(IDEA)会自动加载 Maven 依赖包,初次加载会比较慢(根据自身网络情况而定),若工程上有小叉号,请打开 Problems 窗口,查看具体错误内容,直到无错误为止<br/>
5、创建数据库db-mcms-open(数据库使用utf-8编码),导入doc/db-mcms-open-版本号.sql,如果升级现有系统请使用*-up-*.sql升级,如果导入了系统对应的完整版SQL,sql升级补丁不需要重复导入;<br/>
5、创建数据库db-mcms-open(数据库使用utf-8编码),导入doc/mcms-版本号.sql,如果升级现有系统请使用*-up-*.sql升级,如果导入了系统对应的完整版SQL,sql升级补丁不需要重复导入;<br/>
6、修改src\main\resources\application-dev.yml文件中的数据库设置参数;<br/>
7、运行MSApplication.java main方法<br/>
8、首先先访问后台地址:http://ip|域名/项目发布名/ms/login.do,管理员账号,用户名:msopen 密码:msopen,进入后台点击内容管理->静态化菜单,进行"生成主页","生成栏目","生成文章"操作一遍 (注意!!!是后台登录界面,不是会员中心登录界面)
......
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.2.RELEASE</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>net.mingsoft</groupId>
<artifactId>ms-mcms</artifactId>
<version>5.2.0</version>
<name>ms-mcms</name>
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-mpeople</artifactId>
<version>1.0.28</version>
</dependency>
<!-- 此部分是铭飞平台MStroe的客户端(MStore不在铭飞开源产品范围),如果不需要使用MStore可以删除掉 -->
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>store-client</artifactId>
<version>5.1</version>
</dependency>
</dependencies>
<build>
<finalName>ms-mcms</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<!--打包生产-->
<configuration>
<fork>true</fork>
<mainClass>net.mingsoft.MSApplication</mainClass>
</configuration>
</plugin>
<!--
打包生产
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<descriptors>
<descriptor>bin/assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/webapp</directory>
<excludes>
<!--打包生产-->
<exclude>static/**</exclude>
<exclude>html/**</exclude>
<exclude>upload/**</exclude>
<exclude>templets/**</exclude>
<exclude>WEB-INF/**</exclude>
</excludes>
</resource>
</resources>
<defaultGoal>compile</defaultGoal>
</build>
</project>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3,44 +3,106 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>net.mingsoft</groupId>
<artifactId>ms-pom</artifactId>
<version>2.0.0.RELEASE</version>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.2.RELEASE</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>net.mingsoft</groupId>
<artifactId>ms-mcms</artifactId>
<version>5.2.0.RELEASE</version>
<name>ms-mcms</name>
<!-- 打包jar包 -->
<packaging>jar</packaging>
<!-- 打包war包 -->
<!-- <packaging>war</packaging> -->
<!-- <packaging>war</packaging>-->
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>central-repos</id>
<name>Central Repository 2</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
<!--阿里云仓库-->
<!--
<repository>
<id>alimaven</id>
<name>aliyun maven</name>
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
-->
</repositories>
<dependencies>
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-base</artifactId>
<version>1.0.25</version>
</dependency>
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-basic</artifactId>
<version>1.0.37</version>
</dependency>
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-mdiy</artifactId>
<version>1.0.28</version>
</dependency>
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-mpeople</artifactId>
<version>1.0.33</version>
</dependency>
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>store-client</artifactId>
<version>5.2.0.RELEASE</version>
<version>5.2</version>
</dependency>
</dependencies>
<build>
<finalName>ms-mcms</finalName>
<resources>
<resource>
<directory>src/main/webapp</directory>
<excludes>
<!-- 打包生产并手动将static、html、upload、template复制到生产 -->
<exclude>static/</exclude>
<exclude>html/</exclude>
<exclude>upload/</exclude>
<exclude>template/</exclude>
<!-- 如果生产需要实时修改WEB-INF/下的页面可,启用这行并手动将项目中的WEB-INF目录复制到运行环境 -->
<!-- <exclude>WEB-INF/</exclude>-->
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
......@@ -64,22 +126,7 @@
</dependency>
</dependencies>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/webapp</directory>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<defaultGoal>compile</defaultGoal>
</build>
</project>
\ No newline at end of file
......@@ -86,8 +86,8 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler(uploadMapping).addResourceLocations(File.separator+uploadFloderPath+File.separator,"file:"+uploadFloderPath+File.separator);
registry.addResourceHandler("/template/**").addResourceLocations(File.separator+template+File.separator,"file:"+template+File.separator);
registry.addResourceHandler(uploadMapping).addResourceLocations(File.separator+uploadFloderPath+File.separator,"file:"+uploadFloderPath+File.separator,"classpath:/template/");
registry.addResourceHandler("/template/**").addResourceLocations(File.separator+template+File.separator,"file:"+template+File.separator,"classpath:/html/");
registry.addResourceHandler("/html/**").addResourceLocations("/html/","file:html/");
//三种映射方式 webapp下、当前目录下、jar内
registry.addResourceHandler("/app/**").addResourceLocations("/app/","file:app/", "classpath:/app/");
......@@ -137,7 +137,7 @@ public class WebConfig implements WebMvcConfigurer {
*/
@Override
public void addViewControllers(ViewControllerRegistry registry) {
registry.addViewController("/").setViewName("forward:/index");
registry.addViewController("/").setViewName("forward:/index.do");
registry.setOrder(Ordered.HIGHEST_PRECEDENCE);
WebMvcConfigurer.super.addViewControllers(registry);
}
......
spring:
datasource:
url: jdbc:mysql://192.168.0.8:3316/mcms-dev-5.2-8?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&allowMultiQueries=true&useSSL=true
username: mcms
password: mcms
url: jdbc:mysql:/localhost:3306/mcms?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&allowMultiQueries=true&useSSL=true
username: root
password: root
filters: wall,mergeStat
type: com.alibaba.druid.pool.DruidDataSource
#spring:
# datasource:
# driver-class-name: oracle.jdbc.driver.OracleDriver
# url: jdbc:oracle:thin:@192.168.0.7:1521:helowin
# username: mcms
# password: mcms
# filters: wall,mergeStat
# type: com.alibaba.druid.pool.DruidDataSource
type: com.alibaba.druid.pool.DruidDataSource
\ No newline at end of file
......@@ -7,7 +7,7 @@ server:
logging:
level:
net.mingsoft: trace
net.mingsoft: debug
file:
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
......@@ -20,7 +20,7 @@ ms:
manager:
path: /ms #后台访问的路径,如:http://项目/ms/login.do,生产的时候建议修改
view-path: /WEB-INF/manager #后台视图层路径配置
check-code: false #默认开启验证码验证,false验证码不验证
check-code: true #默认开启验证码验证,false验证码不验证
upload:
enable-web: true #启用web层的上传
......@@ -43,7 +43,7 @@ spring:
datasource:
druid:
stat-view-servlet:
enabled: true #启用druid监控
enabled: false #启用druid监控
profiles:
active: dev
cache:
......
<#macro ms_file jsonString>
<#if jsonString??&&jsonString!=''>
<@compress>
${jsonString?eval[0].path}
</@compress>
</#if>
</#macro>
\ No newline at end of file
......@@ -133,22 +133,7 @@
</el-form-item>
</el-col>
<el-col span="12">
<el-form-item label="栏目属性" prop="categoryFlag">
<template slot='label'>栏目属性
<el-popover placement="top-start" title="提示" trigger="hover" content="类型不满足可以在自定义字典菜单中新增,字段类型为“栏目属性”">
<i class="el-icon-question" slot="reference"></i>
</el-popover>
</template>
<el-select v-model="form.categoryFlag"
:style="{width: '100%'}"
:filterable="false"
:disabled="false"
:multiple="true" :clearable="true"
placeholder="请选择栏目属性">
<el-option v-for='item in categoryFlagOptions' :key="item.dictValue" :value="item.dictValue"
:label="item.dictLabel"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col span="12" v-if="form.categoryType == 3">
......@@ -172,6 +157,24 @@
<el-row
:gutter="0"
justify="start" align="top">
<el-col :span="12">
<el-form-item label="栏目属性" prop="categoryFlag">
<template slot='label'>栏目属性
<el-popover placement="top-start" title="提示" trigger="hover" content="类型不满足可以在自定义字典菜单中新增,字段类型为“栏目属性”">
<i class="el-icon-question" slot="reference"></i>
</el-popover>
</template>
<el-select v-model="form.categoryFlag"
:style="{width: '100%'}"
:filterable="false"
:disabled="false"
:multiple="true" :clearable="true"
placeholder="请选择栏目属性">
<el-option v-for='item in categoryFlagOptions' :key="item.dictValue" :value="item.dictValue"
:label="item.dictLabel"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="栏目拼音" prop="categoryPinyin">
<el-input
......
<!-- 主页 -->
<!DOCTYPE html>
<html>
<head>
<title>${app.appName}</title>
<#include '/include/head-file.ftl'/>
<script src="${base}/static/plugins/sockjs/1.4.0/sockjs.min.js"></script>
<script src="${base}/static/plugins/stomp/2.3.3/stomp.min.js"></script>
<!-- 此部分是铭飞平台MStroe的客户端(MStore不在铭飞开源产品范围),如果不需要使用MStore可以删除掉 -->
<script src="https://cdn.mingsoft.net/ms/1.0/ms-web.umd.min.js"></script>
<style>
.to-ele {
font-size: 18px;
margin: -2px 9px 0px 3px
}
</style>
</head>
<body>
<#include "/reset-password.ftl"/>
<#include "/exit-system.ftl"/>
<div id="app" class="index" :class="theme">
<el-container>
<!--左侧菜单-->
<el-aside class="ms-admin-menu-aside" v-cloak>
<el-scrollbar style="height:100%">
<el-menu :default-active="asideMenuActive" class="el-menu-vertical-demo"
text-color="rgba(255,255,255,1)" active-text-color="rgba(255,255,255,1)"
:collapse="collapseMenu" :unique-opened='true' ref='menu' @open="asideMenuOpen">
<div class="ms-admin-logo" :style="{display: 'flex','padding-left': (collapseMenu?'5px':'22px')}">
<img :src="ms.base+'/static/images/logo.png'"/>
<div class="class-1" v-show="!collapseMenu">
<div class="class-2">v</div>
5.1
</div>
</div>
<el-submenu :popper-class="['ms-admin-menu-aside-submenu',theme]" :index="menu.id+''"
:data-index="menu.id+''" v-for="(menu,i) in asideMenuList" :key='i'>
<template slot="title">
<i class='ms-admin-icon iconfont' :class="menu.modelIcon"></i>
<span>{{menu.modelTitle}}</span>
</template>
<!-- 子菜单 -->
<el-menu-item :index="sub.id+''" :data-index="sub.id"
v-for="(sub,index) in getSubMenu(menu.id)"
:key='sub.modelId' v-text="sub.modelTitle"
@click.self='open(sub)'></el-menu-item>
</el-submenu>
<!-- 收缩按钮 -->
</el-menu>
</el-scrollbar>
</el-aside>
<#--右侧内容-->
<el-container class="ms-admin-container" v-cloak>
<!--头部-->
<el-header class="ms-admin-header" v-cloak>
<#--展示合并菜单-->
<div class="ms-admin-header-menu-shrink" @click="collapseMenu = !collapseMenu">
<i class="iconfont"
:class="collapseMenu?'icon-liebiaoxiangyou':'icon-shousuo'"></i>
</div>
<!--头部menu-->
<el-menu menu-trigger="hover" class="ms-admin-header-menu" :default-active="headMenuActive"
mode="horizontal">
<el-submenu style="height: 100%;">
<template slot="title">
<i class="iconfont icon-gezi" style="font-size: 17px;margin-right:8PX"></i>
<span>功能大全</span>
</template>
<div class="ms-admin-header-menu-all">
<li class="ms-admin-header-menu-all-item" v-for="(item,index) of parentMenuList"
:key='index' @click='openMenu(item,index)'>
<i class="iconfont" :class="item.modelIcon" style="padding-right: 4px"></i>
<div style="width:80px">{{item.modelTitle}}</div>
<div style="float: right;width: 18px;">
<template>
<i v-if="markList.find(function(x) {
return x.title == item.modelTitle
})!=undefined" @click="cancelMarkMenu(item.modelTitle)"
class='el-icon-star-on'></i>
<i v-else class='el-icon-star-off '
@click="markMenu(item.modelTitle,item.modelIcon)"></i>
</template>
</div>
</li>
</div>
</el-submenu>
</el-menu>
<!--头部右侧-->
<div class="ms-admin-header-right">
<el-menu menu-trigger="hover" class="ms-admin-header-menu"
mode="horizontal">
<el-submenu style="height: 100%;" popper-class="ms-admin-header-menu-item">
<template slot="title">
<i class="iconfont icon-pifu" style="font-size: 18px"></i>
</template>
<el-menu-item @click="handleCommand('ms-theme-light')"
style="display: flex;align-items: center">
<div style="height: 18px;width: 18px;background-color: rgba(64,158,255,1);margin-right: 7px;border-radius: 2px;"></div>
<span>浅色系</span>
</el-menu-item>
<el-menu-item @click="handleCommand('ms-theme-dark')"
style="display: flex;align-items: center">
<div style="height: 18px;width: 18px;background-color: rgba(56,58,63,1);margin-right: 7px;border-radius: 2px;"></div>
<span>深色系</span>
</el-menu-item>
</el-submenu>
</el-menu>
<#-- 语言切换-->
<#-- <el-dropdown @command="handleLanguageClick">-->
<#-- <span class="el-dropdown-link" >-->
<#-- {{locale.text}}<i class="el-icon-arrow-down el-icon--right"></i>-->
<#-- </span>-->
<#-- <el-dropdown-menu slot="dropdown">-->
<#-- <el-dropdown-item v-for="(item,index) in localeCommands" :command="item">{{item.text}}</el-dropdown-item>-->
<#-- </el-dropdown-menu>-->
<#-- </el-dropdown>-->
<el-menu menu-trigger="hover" class="ms-admin-header-menu " mode="horizontal">
<el-submenu popper-class="ms-admin-header-menu-item">
<template slot="title">
<span class="ms-admin-people-head"
v-text="peopleInfo.managerName && peopleInfo.managerName.substr(0, 2)"></span>
<span v-text='peopleInfo.managerName'></span>
</template>
<el-menu-item @click="handleCommand('ms-theme-light')"
style="display: flex;align-items: center" @click.native='openModal'>
<i class="el-icon-key"></i>
<span slot="title">修改密码</span>
</el-menu-item>
<el-menu-item @click="handleCommand('ms-theme-dark')"
style="display: flex;align-items: center" @click.native='openModal'>
<i class="el-icon-switch-button"></i>
<span slot="title">退出</span>
</el-menu-item>
</el-submenu>
</el-menu>
<!--mstore按钮-->
<ms-store client="${client}"></ms-store>
</div>
</el-header>
<!--内容-->
<el-main class="ms-admin-main">
<!--选项卡-->
<el-tabs class="ms-admin-tabs" v-model="currentTab" type="card" closable @tab-remove="closeTab"
@tab-click='tabClick'>
<el-tab-pane v-for="(item, index) in editableTabs" :key="index" :label="item.modelTitle"
:name="item.modelTitle"
:data-id='item.id' :data-modelId='item.modelId'>
<keep-alive>
<iframe :src='item.isStore?item.modelUrl:ms.manager+"/"+item.modelUrl+(item.modelUrl.indexOf("?")==-1?"?":"&")+"id="+item.id+"&modelCode="+item.modelCode+"&modelTitle="+encodeURI(item.modelTitle)'
:ref="item.modelTitle"></iframe>
</keep-alive>
</el-tab-pane>
</el-tabs>
</el-main>
</el-container>
</el-container>
</div>
</body>
</html>
<script>
var indexVue = new Vue({
el: "#app",
data: {
code: '',
locale: {
text: '中文',
language: 'ch',
},
localeCommands: [
{
text: '中文',
language: 'ch',
},
{
text: 'English',
language: 'en',
}
],
menuList: [], //菜单接口数据
asideMenuList: [], //侧边菜单
parentMenuList: [], //一级菜单
subMenuList: [], //二级菜单 所有
unreadTotal: 0,//未读消息数量
messageList: [],//消息列表
mainParentMenuList: [], //头部菜单显示主要的选项
loginDown: false, //登录下拉
asideMenuActive: "", //左侧选中菜单
headMenuActive: '', //头部菜单激活
editableTabsValue: '',
messageTypeList: [],
editableTabs: [{"modelTitle": "工作台", "modelUrl": "main.do"}], //当前打开的tab页面
shortcutMenu: false, //快捷菜单显示状态
collapseMenu: false, //菜单折叠,false不折叠
currentTab: '工作台', //当前激活tabname
tabIndex: 1,
markList: [
{title: "权限管理", icon: "icon-wode", hide: true},
{title: "系统设置", icon: "icon-xitongguanli", hide: true},
{title: "内容管理", icon: "icon-neirongguanli", hide: true},
{title: "会员中心", icon: "icon-huiyuanzhongxin", hide: true},
{title: "自定义管理", icon: "icon-zidingyiguanli", hide: true},
],
//登录用户信息
peopleInfo: {
managerName: '', //账号
managerNickName: '',
},
mstore: {},
theme: 'ms-theme-light',
callbackFun: {},
},
computed: {
messageType: function (type) {
var that = this
return function (type) {
var dict = that.messageTypeList.find(function (x) {
return x.dictValue == type;
});
if (dict) {
return dict.dictLabel;
}
return '';
}
}
},
watch: {
menuList: function (n, o) {
var that = this;
n && n.forEach(function (item, index) {
item.modelId ? that.subMenuList.push(item) : that.parentMenuList.push(item)
})
},
parentMenuList: function (n, o) {
var that = this
this.mainParentMenuList = n.slice(0, 5);
this.asideMenuList = n.filter(function (f) {
return that.markList.find(
function (x) {
return x.title == f['modelTitle']
}) != undefined
})
},
editableTabs: {
handler: function (n, o) {
if (n.length) {
var that = this;
if (!document.querySelector('.el-icon-refresh')) {
var i = document.createElement('i');
i.className = "el-icon-refresh ms-admin-refresh"
i.title = "点击刷新当前页"
i.addEventListener('click', function () {
var index = null
Object.keys(that.$refs).forEach(function (item, i) {
item.indexOf(that.currentTab) > -1 ? index = i : ''
}, that)
that.$refs[Object.keys(that.$refs)[index]][0].contentDocument.location.reload(true)
})
document.querySelector('.el-tabs__header').insertBefore(i, document.querySelector('.el-tabs__nav-wrap'))
}
} else {
if (document.querySelector('.ms-admin-refresh')) {
document.querySelector('.el-tabs__header').removeChild(document.querySelector('.ms-admin-refresh'))
}
}
},
deep: true
}
},
methods: {
handleLanguageClick: function (val) {
this.locale.text = val.text
this.locale.language = val.language
//语言切换
console.log(val)
},
getAuthorization: function () {
},
markMenu: function (title, icon) {
var menu = {
title: title,
icon: icon,
}
this.markList.push(menu);
localStorage.setItem("markList", JSON.stringify(this.markList))
this.callbackFun();
},
cancelMarkMenu: function (title) {
var index = this.markList.findIndex(function (x) {
return x.title == title
});
this.markList.splice(index, 1);
localStorage.setItem("markList", JSON.stringify(this.markList))
},
handleMessage: function () {
this.openMenuInTitle('收到消息')
},
handleCommand: function (theme) {
this.theme = theme;
localStorage.setItem("theme", theme);
},
// 菜单列表
list: function () {
var that = this;
ms.http.get(ms.manager + "/model/list.do")
.then(function (data) {
that.menuList = data.data.rows
}, function (err) {
that.$message.error(err);
})
},
asideMenuOpen: function (index, indexPath) {
},
// 菜单打开页面
open: function (sub) {
var that = this
var result = '';
result = this.editableTabs.some(function (item, index) {
return item.modelTitle == sub.modelTitle
})
if (sub.syncStoreUrl) {
//sub.modelUrl = "http://store.web.i.mingsoft.net/#/?client=localhost:8080//ms";
sub.modelUrl = sub.syncStoreUrl;
sub.modelTitle = 'mstore';
sub.isStore = true;
!result ? this.editableTabs.push(sub) : ""
} else {
!result ? this.editableTabs.push(sub) : ""
}
this.currentTab = sub.modelTitle;
this.headMenuActive = sub.modelId
this.$nextTick(function () {
that.asideMenuActive = sub.id;
})
// 处理其他逻辑
setTimeout(function () {
if (document.querySelector('.el-tabs__nav-prev')) {
document.querySelector('.el-tabs__nav-wrap').style.padding = '0 40px'
} else {
document.querySelector('.el-tabs__nav-wrap').style.padding = '0'
}
}, 16)
},
tabClick: function (tab) {
this.asideMenuActive = tab.$el.dataset.id
this.headMenuActive = tab.$el.dataset.modelId
console.log(this.editableTabs)
},
// 获取当前菜单的子菜单
getSubMenu: function (id) {
var result = [];
var that = this;
that.subMenuList && that.subMenuList.forEach(function (item) {
item.modelId == id ? result.push(item) : ''
})
return result;
},
//关闭tab标签页
closeTab: function (targetName) {
var that = this;
// 关闭的面板是当前激活面板
if (that.currentTab == targetName) {
var modelId = null
that.editableTabs.forEach(function (tab, index, arr) {
if (tab.modelTitle == targetName) {
modelId = arr[index].modelId
var nextTab = arr[index + 1] || arr[index - 1];
if (nextTab) {
that.currentTab = nextTab.modelTitle
that.asideMenuActive = nextTab.id
that.headMenuActive = nextTab.modelId
}
}
})
}
// 去掉关闭的tab
that.editableTabs = that.editableTabs.filter(function (tab) {
return tab.modelTitle !== targetName
})
// 关闭左侧父菜单
if (that.editableTabs.length) {
var result = that.editableTabs.every(function (item) {
return item.modelId !== modelId
})
if (result) {
that.asideMenuList.forEach(function (menu, index, arr) {
if (menu.id == modelId) {
var flag = false;
that.markList.forEach(function (item, index, array) {
if (item.title == menu.modelTitle) {
flag = true;
}
})
if (!flag) {
arr.splice(index, 1);
}
}
})
}
} else {
that.asideMenuList = []
}
// 判断是否出现左右箭头
setTimeout(function () {
if (document.querySelector('.el-tabs__nav-prev')) {
document.querySelector('.el-tabs__nav-wrap').style.padding = '0 40px'
} else {
document.querySelector('.el-tabs__nav-wrap').style.padding = '0'
}
}, 16)
},
openParentMenuInTitle: function (title) {
var data = this.parentMenuList.find(function (menu) {
return menu.modelTitle == title
})
data && this.openMenu(data)
},
// 头部导航打开菜单
openMenu: function (menu, index) {
this.asideMenuList.some(function (item, index) {
return item.id == menu.id
}) || this.asideMenuList.push(menu)
// this.getSubMenu(menu.id)[0] && this.$refs.menu.open(this.getSubMenu(menu.id)[0].modelTitle);
var children = [];
this.menuList.forEach(function (tab) {
if (tab.modelId == menu.id) {
children.push(tab)
}
})
this.currentTab = children[0] && children[0].modelTitle;
this.open(children[0]);
var that = this;
setTimeout(function () {
that.shortcutMenu = false
}, 50)
that.$nextTick(function () {
that.$refs.menu.open(String(menu.id))
})
},
managerGet: function () {
var that = this;
ms.http.get(ms.manager + "/basic/manager/get.do")
.then(function (data) {
that.peopleInfo = data.data
resetPasswordVue.resetPasswordForm.managerName = that.peopleInfo.managerName
}, function (err) {
that.$message.error(err);
})
},
exitSystem: function () {
this.$confirm('是否确认退出账号?', '退出系统', {
confirmButtonText: '确定',
cancelButtonText: '取消',
cancelButtonClass: 'el-button--mini',
confirmButtonClass: 'el-button--mini',
type: 'warning'
}).then(function () {
ms.http.get(ms.manager + "/loginOut.do")
.then(function (data) {
isShow = false;
location.href = ms.manager + "/login.do";
}, function (err) {
that.$message.error(err.msg);
})
})
},
// 打开修改密码,退出的模态框
openModal: function () {
event.target.innerText.indexOf('修改密码') > -1 ?
resetPasswordVue.isShow = true : this.exitSystem();
},
// 显示图标
formmateIcon: function (icon) {
return "<i class='ms-admin-icon iconfont'></i>"
},
//打开指定标题
openMenuInTitle: function (title) {
this.open(this.menuList.find(function (x) {
return x.modelTitle == title
}))
},
//消息显示
getMessage: function () {
var that = this
ms.http.post(ms.manager + "/message/myMessage/list.do", {pageSize: 9999, mlStatus: 'unread'})
.then(function (res) {
if (res.result) {
that.messageList = res.data.rows.splice(0, 5);
that.unreadTotal = res.data.total;
}
}, function (err) {
that.$message.error(err);
})
},
dictList: function () {
var that = this;
ms.http.get(ms.base + '/mdiy/dict/list.do', {dictType: '消息类型', pageSize: 99999}).then(function (res) {
if(res.result){
res = res.data;
that.messageTypeList = res.rows;
}
}).catch(function (err) {
console.log(err);
});
},
addCallBackFun: function (fun) {
this.callbackFun = fun;
}
},
created: function () {
this.getAuthorization();
var markList = localStorage.getItem("markList");
if (markList) {
this.markList = JSON.parse(markList)
}
localStorage.setItem("markList", JSON.stringify(this.markList))
},
mounted: function () {
// this.getMessage();
this.dictList();
if (localStorage.getItem("theme")) {
this.theme = localStorage.getItem("theme");
}
//setInterval(this.getMessage,3000)
// 菜单列表
this.list();
//获取登录用户信息
this.managerGet();
},
})
</script>
<style>
.ms-admin-logo {
display: flex;
align-items: center;
overflow: hidden;
}
.ms-admin-logo img {
padding: 14px 0;
width: 50px;
}
.ms-admin-logo > div {
display: flex;
align-items: center;
}
.ms-admin-logo > div span {
margin-top: -6px;
position: absolute;
margin-left: 10px;
font-size: 12px;
}
.ms-admin-logo .iconfont {
color: #fff;
margin-left: auto;
margin-right: 20px;
cursor: pointer;
}
.ms-admin-header-right {
margin-left: auto;
min-width: 200px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0;
line-height: 1;
}
.ms-admin-header-right .ms-admin-people-head {
width: 30px !important;
height: 30px !important;
margin-right: 10px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background: #0099ff;
color: #fff;
}
.ms-admin-header-menu-shrink {
width: 64px;
display: flex;
justify-content: center;
align-items: center;
line-height: 50px;
border-right: 1px solid rgba(238, 238, 238, 1);
cursor: pointer;
}
.ms-admin-header-menu-shrink:hover {
background: rgba(250, 250, 250, 0.2);
}
.el-menu-vertical-demo:not(.el-menu--collapse) {
width: 180px;
height: 100vh;
}
.el-menu--collapse {
height: 100vh;
}
.ms-admin-menu-aside {
width: auto !important;
height: 100%;
position: relative;
overflow: visible;
}
.ms-admin-menu-aside .ms-admin-menu .el-menu--inline .is-active {
border-left: 2px solid #0099ff;
}
.ms-admin-menu-aside .ms-menu-expand i {
font-weight: bolder;
font-size: 14px;
color: #333;
position: absolute;
transform: rotate(90deg);
right: 40%;
}
.ms-admin-menu-aside .ms-menu-expand::before {
border-color: transparent transparent #eee;
border-style: none solid solid;
border-width: 0 30px 22px;
content: "";
display: block;
height: 0;
left: -10px;
width: 30px;
}
.ms-admin-menu-aside .el-submenu__title,
.ms-admin-menu-aside .el-menu-item {
color: rgba(255, 255, 255, 1);
height: 40px;
line-height: 40px;
}
.ms-admin-menu-aside .el-submenu__title i {
color: inherit;
}
.ms-admin-menu-aside .el-submenu__title .iconfont {
font-size: 19px !important;
}
.ms-admin-menu-aside .el-submenu.is-active .el-submenu__title {
color: rgba(255, 255, 255, 1) !important;
}
.ms-admin-header {
display: flex;
padding: 0;
background-color: rgba(255, 255, 255, 1);
height: 50px !important;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
z-index: 1;
}
.ms-admin-header .ms-admin-header-menu {
border-bottom: none;
position: relative;
}
.ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > * {
height: 50px !important;
line-height: 50px !important;
border-bottom: none !important;
font-size: 1em;
}
.ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu > li {
margin: 0;
padding: 0 20px;
text-align: left;
display: -webkit-inline-box;
display: inline-block;
height: 50px;
line-height: 50px;
font-weight: normal;
font-size: 14px;
color: #333;
}
.ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu > li:hover {
cursor: pointer;
color: #0099ff;
}
.ms-admin-header-menu .el-submenu__title {
height: 50px !important;
line-height: 50px !important;
display: flex;
align-items: center;
}
.ms-admin-header-menu .el-submenu__title:hover {
background-color: #F2F6FC !important;
color: #409EFF !important;
}
.ms-admin-header-menu .el-submenu__title:hover i {
color: #409EFF !important;
}
.ms-admin-header-menu .el-submenu__icon-arrow {
margin-top: 4px !important;
}
.ms-admin-header-menu-item .el-menu-item:hover {
background-color: #F2F6FC !important;
color: #409EFF !important;
}
.ms-admin-header-menu-item .el-menu-item:hover i {
color: #409EFF !important;
}
.ms-admin-header-menu-all {
width: 560px;
height: auto;
background: rgba(255, 255, 255, 1);
border-radius: 2px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
line-height: 40px;
}
.ms-admin-header-menu-all .iconfont {
font-size: 17px;
}
.ms-admin-header-menu-all .ms-admin-header-menu-all-item {
display: flex;
width: 25%;
justify-content: center;
align-items: center;
cursor: pointer;
}
.ms-admin-header-menu-all .ms-admin-header-menu-all-item .el-icon-star-on {
color: #ccc;
font-size: 17px;
margin-left: -1px;
margin-top: 1px;
}
.ms-admin-header-menu-all .ms-admin-header-menu-all-item .el-icon-star-on:hover {
color: rgba(64, 158, 255, 1);
}
.ms-admin-header-menu-all .ms-admin-header-menu-all-item .el-icon-star-off {
color: #ccc;
}
.ms-admin-header-menu-all .ms-admin-header-menu-all-item .el-icon-star-off:hover {
color: rgba(64, 158, 255, 1);
}
.ms-admin-header-menu-all .ms-admin-header-menu-all-item:hover {
color: rgba(64, 158, 255, 1);
}
.ms-admin-menu-aside-submenu .el-menu-item {
line-height: 40px;
height: 40px;
}
.el-submenu__title * {
vertical-align: top;
}
.ms-admin-login-theme .el-dropdown-menu__item {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.el-tabs__nav .el-tabs__item:nth-child(1) span {
display: none;
}
.el-tabs__item.is-active {
background-color: rgba(255, 255, 255, 1);
}
.el-menu {
border-right: 0px;
}
.ms-admin-logo .class-1 {
color: white;
padding-top: 8px;
color: #FFFFFF;
word-wrap: break-word;
font-family: MicrosoftYaHei-Bold;
font-weight: bold;
font-style: italic;
}
.ms-admin-logo .class-2 {
font-size: 12px;
font-weight: normal;
}
.top-operate-select .el-menu--popup {
width: 162px;
min-width: 162px;
}
.ms-admin-container {
height: auto;
}
.ms-admin-container > .ms-admin-main {
padding: 0;
background-color: #fff;
z-index: 0;
}
.ms-admin-container > .ms-admin-main .ms-admin-tabs {
height: calc(100vh - 50px);
display: flex;
flex-direction: column;
}
.ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__content {
height: 100%;
}
.ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__content .el-tab-pane {
height: 100%;
}
.ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__header {
background: #fafafa;
margin-bottom: 0;
}
.ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__header .el-tabs__nav-scroll .el-tabs__nav {
border-left: none;
border-radius: 0;
}
.ms-admin-container > .ms-admin-main .ms-admin-tabs .ms-admin-refresh {
float: right;
width: 40px;
height: 40px;
text-align: center;
border-left: 1px solid #e6e6e6;
cursor: pointer;
position: relative;
}
.ms-admin-container > .ms-admin-main .ms-admin-tabs .ms-admin-refresh::before {
position: absolute;
left: 34%;
top: 50%;
transform: translateY(-50%);
color: #999;
}
.ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-next,
.ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-prev {
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
}
.ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-next {
border-left: 1px solid #e6e6e6;
}
.ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-prev {
border-right: 1px solid #e6e6e6;
}
.ms-admin-container > .ms-admin-main iframe {
width: 100%;
height: 100%;
border: none !important;
}
</style>
.header
{
background-color:#2D548F;
align-items:center;
flex-direction:row;
display:flex;
width:100%;
box-sizing:border-box;
padding-top:0px;
justify-content:center;
height:60px;
}
.header .center
{
flex-direction:row;
display:flex;
width:1170px;
box-sizing:border-box;
height:100%;
}
.header .center .left
{
margin-right:0px;
align-items:center;
flex-direction:row;
display:flex;
width:100%;
box-sizing:border-box;
padding-top:0px;
height:100%;
margin-left:0px;
}
.header .center .left >a
{
cursor:pointer;
color:#FFFFFF;
text-align:center;
width:100px;
text-decoration:none;
padding-top:20px;
background-repeat:no-repeat;
height:100%;
}
.header .center .left >a:hover
{
background-size:auto;
background-position:bottom center;
background-repeat:no-repeat;
background-image:url({ms:global.host/}/{ms:global.style/}/images/1602994812850.png);
}
.header .center .h5-menu
{
flex-direction:row;
display:none;
width:100px;
box-sizing:border-box;
padding-top:0px;
position:relative;
padding-left:0px;
height:100%;
}
.header .center .h5-menu .icon
{
font-size:28PX;
color:#FFFFFF;
display:flex;
}
.header .center .h5-menu .h5-menu-nav
{
background-color:#2D548F;
top:60px;
left:0px;
flex-direction:column;
display:none;
width:100vw;
box-sizing:border-box;
padding-top:0px;
position:absolute;
padding-left:0px;
}
.header .center .h5-menu .h5-menu-nav a
{
cursor:pointer;
color:#FFFFFF;
text-align:left;
width:100%;
text-decoration:none;
padding-top:9px;
padding-left:10px;
height:40px;
}
.header .center .right
{
margin-right:0px;
align-items:center;
flex-direction:row;
display:flex;
width:180px;
box-sizing:border-box;
padding-top:0px;
height:100%;
margin-left:0px;
}
.header .center .right >a
{
cursor:pointer;
font-size:12PX;
text-decoration:none;
padding-top:0px;
color:#CDD6E1;
}
.header .center .right >a:hover
{
color:#FFFFFF;
}
.header .center .right >span
{
margin-right:2px;
color:#FFFFFF;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
margin-left:2px;
}
.footer
{
border-top-style:solid;
background-color:#FFFFFF;
flex-wrap:nowrap;
flex-direction:column;
border-top-width:10px;
display:flex;
width:100%;
margin-bottom:0px;
box-sizing:border-box;
padding-top:0px;
border-top-color:#2F5E95;
}
.footer .links
{
margin-right:0px;
background-color:#F3F3F3;
flex-wrap:nowrap;
flex-direction:row;
display:flex;
width:100%;
margin-bottom:0px;
box-sizing:border-box;
justify-content:center;
margin-top:0px;
height:100px;
}
.footer .links >.body
{
align-items:center;
flex-direction:row;
display:flex;
padding-right:0px;
box-sizing:border-box;
justify-content:space-between;
border-top-left-radius:0px;
margin-right:0px;
padding-bottom:0px;
flex-wrap:nowrap;
border-bottom-left-radius:0px;
width:1170px;
border-bottom-right-radius:0px;
border-top-right-radius:0px;
padding-top:0px;
padding-left:0px;
height:100%;
}
.footer .links >.body span
{
align-items:center;
flex-direction:column;
word-wrap:break-word;
display:inline-block;
width:90px;
font-size:14PX;
padding-top:6px;
padding-left:10px;
justify-content:center;
height:30px;
}
.footer .links >.body .link
{
background-color:#FFFFFF;
flex-direction:row;
display:flex;
padding-right:0px;
box-sizing:border-box;
border-top-left-radius:0px;
margin-right:0px;
flex-wrap:nowrap;
border-bottom-left-radius:0px;
width:204px;
border-bottom-right-radius:0px;
border-top-right-radius:0px;
padding-top:0px;
padding-left:0px;
height:30px;
}
.footer .links >.body .link >.ms-select
{
border-color:#DCDFE6;
background-color:#FFFFFF;
align-items:center;
flex-direction:row;
display:flex;
padding-right:4px;
box-sizing:border-box;
justify-content:space-between;
border-top-left-radius:2px;
padding-bottom:0px;
flex-wrap:nowrap;
border-bottom-left-radius:2px;
border-width:1px;
width:100%;
border-bottom-right-radius:2px;
border-top-right-radius:2px;
padding-top:0px;
border-style:solid;
padding-left:4px;
height:30px;
}
.footer .links >.body .link >.ms-select span
{
color:#DCDFE6;
border-bottom-left-radius:0px;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
padding-right:0px;
border-bottom-right-radius:0px;
border-top-right-radius:0px;
font-size:14PX;
padding-left:0px;
border-top-left-radius:0px;
}
.footer .links >.body .link >.ms-select i
{
border-bottom-right-radius:0px;
border-top-right-radius:0px;
color:#DCDFE6;
border-bottom-left-radius:0px;
border-top-left-radius:0px;
}
.footer .copyright
{
align-items:center;
flex-direction:row;
display:flex;
padding-right:0px;
box-sizing:border-box;
justify-content:center;
flex-wrap:nowrap;
width:100%;
margin-bottom:40px;
padding-left:0px;
margin-top:20px;
height:120px;
}
.footer .copyright .body
{
margin-right:0px;
align-items:center;
flex-wrap:nowrap;
flex-direction:row;
display:flex;
width:1170px;
box-sizing:border-box;
margin-bottom:0px;
margin-top:0px;
justify-content:center;
height:100%;
}
.footer .copyright .body >img
{
margin-right:20px;
width:52px;
height:64px;
}
.footer .copyright .body .desc
{
margin-right:0px;
flex-wrap:nowrap;
flex-direction:column;
display:flex;
width:100%;
box-sizing:border-box;
height:100%;
}
.footer .copyright .body .desc .text
{
align-items:center;
flex-wrap:nowrap;
flex-direction:row;
display:flex;
width:100%;
box-sizing:border-box;
padding-top:0px;
justify-content:flex-start;
height:30px;
}
.footer .copyright .body .desc .text >div
{
align-items:center;
flex-wrap:nowrap;
flex-direction:row;
display:flex;
width:100%;
box-sizing:border-box;
justify-content:flex-start;
height:100%;
}
.footer .copyright .body .desc .text >div a
{
cursor:pointer;
margin-right:0px;
font-size:14px;
text-decoration:none;
color:#000;
}
.footer .copyright .body .desc .text >div span
{
flex-direction:row;
word-wrap:break-word;
display:inline-block;
}
.footer .copyright .body .desc .text >a
{
cursor:pointer;
margin-right:20px;
text-decoration:none;
font-size:14PX;
color:#000000;
}
.footer .copyright .body .desc .ms-designer
{
align-items:center;
flex-wrap:nowrap;
flex-direction:row;
display:flex;
width:100%;
box-sizing:border-box;
justify-content:flex-start;
height:30px;
}
.footer .copyright .body .desc .ms-designer a
{
cursor:pointer;
text-decoration:none;
font-size:14PX;
color:#DCDCDC;
}
.footer .copyright .body .right
{
flex-wrap:nowrap;
flex-direction:row;
display:flex;
width:600px;
margin-bottom:0px;
box-sizing:border-box;
justify-content:space-between;
margin-top:0px;
height:100%;
}
.footer .copyright .body .right .img
{
align-items:center;
flex-wrap:nowrap;
flex-direction:column;
display:flex;
width:100px;
margin-bottom:0px;
box-sizing:border-box;
padding-top:0px;
margin-top:0px;
height:100%;
}
.footer .copyright .body .right .img >img
{
width:90px;
height:90px;
}
.footer .copyright .body .right .img >span
{
font-size:14PX;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
}
.footer .copyright .body .right .wx
{
align-items:center;
flex-wrap:nowrap;
flex-direction:column;
display:flex;
width:100px;
box-sizing:border-box;
padding-top:0px;
height:100%;
}
.footer .copyright .body .right .wx >div
{
flex-wrap:wrap;
flex-direction:row;
display:flex;
width:100%;
margin-bottom:0px;
box-sizing:border-box;
justify-content:center;
margin-top:0px;
height:90px;
}
.footer .copyright .body .right .wx >div >img
{
width:50px;
margin-bottom:0px;
margin-top:4px;
height:50px;
}
.footer .copyright .body .right .wx >div >span
{
flex-direction:row;
word-wrap:break-word;
display:inline-block;
font-size:18PX;
margin-bottom:0px;
margin-top:6px;
}
.footer .left-fixed
{
margin:0 auto;
align-items:center;
flex-direction:row;
display:none;
box-sizing:border-box;
justify-content:center;
margin-left:0px;
flex-wrap:nowrap;
width:1200px;
margin-bottom:0px;
position:relative;
margin-top:0px;
height:0px;
}
.footer .left-fixed .content
{
top:400px;
flex-wrap:nowrap;
left:50%;
flex-direction:row;
display:flex;
width:100px;
box-sizing:border-box;
position:fixed;
height:100px;
margin-left:-720px;
}
.footer .left-fixed .content >img
{
width:100%;
margin-bottom:0px;
height:100%;
margin-left:0px;
}
.footer .right-fixed
{
margin:0 auto;
align-items:center;
flex-direction:row;
display:none;
box-sizing:border-box;
justify-content:center;
margin-left:0px;
flex-wrap:nowrap;
width:1200px;
margin-bottom:0px;
position:relative;
margin-top:0px;
height:0px;
}
.footer .right-fixed .content
{
background-color:#A38F8F;
flex-direction:row;
display:flex;
box-sizing:border-box;
margin-left:600px;
top:400px;
flex-wrap:nowrap;
left:50%;
width:100px;
position:fixed;
height:100px;
z-index:1;
}
.footer .right-fixed .content >img
{
width:100%;
display:flex;
height:100%;
margin-left:0px;
}
@media (max-width: 768px){
.header
{
background-color:#2D548F;
align-items:center;
flex-direction:row;
display:flex;
width:100%;
box-sizing:border-box;
justify-content:center;
height:60px;
}
.header .center
{
align-items:center;
flex-direction:row;
display:flex;
width:100%;
box-sizing:border-box;
padding-top:0px;
padding-left:0px;
justify-content:space-between;
height:100%;
}
.header .center .left
{
align-items:center;
flex-direction:row;
display:none;
width:100%;
box-sizing:border-box;
padding-top:0px;
justify-content:center;
height:100%;
}
.header .center .left >a
{
cursor:pointer;
color:#FFFFFF;
text-align:center;
background-image:url({ms:global.host/}/{ms:global.style/}/images/1601263314183.png);
width:100px;
text-decoration:none;
background-position:bottom center;
padding-top:20px;
background-repeat:no-repeat;
height:100%;
}
.header .center .h5-menu
{
align-items:center;
flex-direction:row;
display:flex;
width:80px;
box-sizing:border-box;
padding-top:0px;
padding-left:0px;
justify-content:center;
height:100%;
}
.header .center .h5-menu .icon
{
font-size:28PX;
padding-top:0px;
color:#FFFFFF;
display:flex;
}
.header .center .h5-menu .h5-menu-nav
{
background-color:#2D548F;
top:60px;
left:0px;
flex-direction:column;
display:none;
width:100vw;
box-sizing:border-box;
padding-top:0px;
position:absolute;
padding-left:0px;
z-index:9;
}
.header .center .h5-menu .h5-menu-nav a
{
cursor:pointer;
color:#FFFFFF;
text-align:left;
width:100%;
text-decoration:none;
padding-top:9px;
padding-left:28px;
height:40px;
}
.header .center .right
{
align-items:center;
flex-direction:row;
display:flex;
width:60%;
box-sizing:border-box;
justify-content:center;
height:100%;
}
.header .center .right >a
{
cursor:pointer;
font-size:12PX;
text-decoration:none;
color:#CDD6E1;
}
.header .center .right >span
{
margin-right:2px;
color:#FFFFFF;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
margin-left:2px;
}
.footer
{
border-top-style:solid;
padding-bottom:0px;
flex-wrap:nowrap;
flex-direction:column;
border-top-width:10px;
display:flex;
width:100%;
margin-bottom:0px;
box-sizing:border-box;
padding-top:0px;
border-top-color:#2F5E95;
}
.footer .links
{
margin-right:0px;
background-color:#F3F3F3;
flex-wrap:wrap;
flex-direction:column;
display:flex;
width:100%;
margin-bottom:0px;
box-sizing:border-box;
justify-content:center;
margin-top:0px;
height:unset;
}
.footer .links >.body
{
align-items:center;
flex-direction:column;
display:flex;
padding-right:0px;
box-sizing:border-box;
justify-content:space-between;
border-top-left-radius:0px;
margin-right:0px;
padding-bottom:0px;
flex-wrap:nowrap;
border-bottom-left-radius:0px;
width:100%;
border-bottom-right-radius:0px;
border-top-right-radius:0px;
padding-top:0px;
padding-left:0px;
height:unset;
}
.footer .links >.body span
{
align-items:center;
flex-direction:column;
word-wrap:break-word;
display:inline-block;
width:90px;
font-size:14PX;
padding-top:6px;
padding-left:10px;
justify-content:center;
height:30px;
}
.footer .links >.body .link
{
background-color:#FFFFFF;
flex-direction:row;
display:flex;
padding-right:0px;
box-sizing:border-box;
border-top-left-radius:0px;
margin-right:0px;
flex-wrap:nowrap;
border-bottom-left-radius:0px;
width:204px;
border-bottom-right-radius:0px;
margin-bottom:10px;
border-top-right-radius:0px;
padding-top:0px;
padding-left:0px;
margin-top:0px;
height:30px;
}
.footer .links >.body .link >.ms-select
{
border-color:#DCDFE6;
background-color:#FFFFFF;
align-items:center;
flex-direction:row;
display:flex;
padding-right:4px;
box-sizing:border-box;
justify-content:space-between;
border-top-left-radius:2px;
padding-bottom:0px;
flex-wrap:nowrap;
border-bottom-left-radius:2px;
border-width:1px;
width:100%;
border-bottom-right-radius:2px;
border-top-right-radius:2px;
padding-top:0px;
border-style:solid;
padding-left:4px;
height:30px;
}
.footer .links >.body .link >.ms-select span
{
color:#DCDFE6;
border-bottom-left-radius:0px;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
padding-right:0px;
border-bottom-right-radius:0px;
border-top-right-radius:0px;
font-size:14PX;
padding-left:0px;
border-top-left-radius:0px;
}
.footer .links >.body .link >.ms-select i
{
border-bottom-right-radius:0px;
border-top-right-radius:0px;
color:#DCDFE6;
border-bottom-left-radius:0px;
border-top-left-radius:0px;
}
.footer .copyright
{
flex-wrap:nowrap;
flex-direction:row;
display:flex;
padding-right:10px;
width:100%;
margin-bottom:40px;
box-sizing:border-box;
padding-left:10px;
justify-content:center;
margin-top:20px;
height:unset;
}
.footer .copyright .body
{
align-items:center;
flex-direction:column;
display:flex;
padding-right:0px;
box-sizing:border-box;
justify-content:center;
margin-right:0px;
padding-bottom:0px;
flex-wrap:nowrap;
width:100%;
margin-bottom:0px;
padding-top:0px;
padding-left:0px;
margin-top:0px;
height:unset;
}
.footer .copyright .body >img
{
margin-right:20px;
width:52px;
height:64px;
}
.footer .copyright .body .desc
{
margin-right:0px;
flex-wrap:nowrap;
flex-direction:column;
display:flex;
width:100%;
box-sizing:border-box;
height:100%;
}
.footer .copyright .body .desc .text
{
align-items:center;
flex-wrap:nowrap;
flex-direction:column;
display:flex;
width:100%;
box-sizing:border-box;
padding-top:0px;
justify-content:center;
height:unset;
}
.footer .copyright .body .desc .text >div
{
align-items:center;
flex-wrap:nowrap;
flex-direction:row;
display:flex;
width:100%;
box-sizing:border-box;
justify-content:center;
margin-top:0px;
height:unset;
}
.footer .copyright .body .desc .text >div a
{
cursor:pointer;
font-size:14PX;
text-decoration:none;
color:#000;
}
.footer .copyright .body .desc .text >div span
{
flex-direction:row;
word-wrap:break-word;
display:inline-block;
}
.footer .copyright .body .desc .text >a
{
cursor:pointer;
text-decoration:none;
font-size:14PX;
text-align:center;
}
.footer .copyright .body .desc .ms-designer
{
align-items:center;
flex-wrap:nowrap;
flex-direction:row;
display:none;
width:100%;
box-sizing:border-box;
justify-content:flex-start;
}
.footer .copyright .body .desc .ms-designer a
{
cursor:pointer;
text-decoration:none;
font-size:14PX;
color:#DCDCDC;
}
.footer .copyright .body .right
{
flex-wrap:nowrap;
flex-direction:row;
display:flex;
padding-right:0px;
width:100%;
margin-bottom:0px;
box-sizing:border-box;
padding-left:0px;
justify-content:center;
margin-top:20px;
height:100%;
}
.footer .copyright .body .right .img
{
align-items:center;
flex-wrap:nowrap;
flex-direction:column;
display:flex;
width:100px;
margin-bottom:0px;
box-sizing:border-box;
padding-top:0px;
margin-top:0px;
height:100%;
}
.footer .copyright .body .right .img >img
{
width:90px;
height:90px;
}
.footer .copyright .body .right .img >span
{
font-size:14PX;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
}
.footer .copyright .body .right .wx
{
align-items:center;
flex-wrap:nowrap;
flex-direction:column;
display:flex;
width:100px;
box-sizing:border-box;
padding-top:0px;
height:100%;
}
.footer .copyright .body .right .wx >div
{
flex-wrap:wrap;
flex-direction:row;
display:flex;
width:100%;
margin-bottom:0px;
box-sizing:border-box;
justify-content:center;
margin-top:0px;
height:90px;
}
.footer .copyright .body .right .wx >div >img
{
width:50px;
margin-bottom:0px;
margin-top:4px;
height:50px;
}
.footer .copyright .body .right .wx >div >span
{
flex-direction:row;
word-wrap:break-word;
display:inline-block;
font-size:18PX;
margin-bottom:0px;
margin-top:6px;
}
.footer .left-fixed
{
margin:0 auto;
align-items:center;
flex-direction:row;
display:none;
box-sizing:border-box;
justify-content:center;
margin-left:0px;
flex-wrap:nowrap;
width:1200px;
margin-bottom:0px;
position:relative;
margin-top:0px;
height:0px;
}
.footer .left-fixed .content
{
top:400px;
flex-wrap:nowrap;
left:50%;
flex-direction:row;
display:flex;
width:100px;
box-sizing:border-box;
position:fixed;
height:100px;
margin-left:-720px;
}
.footer .left-fixed .content >img
{
width:100%;
margin-bottom:0px;
height:100%;
margin-left:0px;
}
.footer .right-fixed
{
margin:0 auto;
align-items:center;
flex-direction:row;
display:none;
box-sizing:border-box;
justify-content:center;
margin-left:0px;
flex-wrap:nowrap;
width:1200px;
margin-bottom:0px;
position:relative;
margin-top:0px;
height:0px;
}
.footer .right-fixed .content
{
background-color:#A38F8F;
flex-direction:row;
display:flex;
box-sizing:border-box;
margin-left:600px;
top:400px;
flex-wrap:nowrap;
left:50%;
width:100px;
position:fixed;
height:100px;
z-index:1;
}
.footer .right-fixed .content >img
{
width:100%;
height:100%;
margin-left:0px;
}
}
\ No newline at end of file
<html>
<head>
<meta charset="utf-8" />
<title>{ms:global.name/}</title>
<meta http-equiv="content-type" content="text/html" />
<META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
<meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no,width=device-width"/>
<meta name="format-detection" content="telephone=no"/>
<meta name="app-mobile-web-app-capable" content="yes"/>
<meta name="app-mobile-web-app-status-bar-style" content="black-translucent"/>
<meta name="keywords" content="{ms:global.keyword/}" />
<meta name="description" content="{ms:global.descrip/}" />
<script type="text/javascript" src="{ms:global.host/}/static/plugins/vue/2.6.9/vue.min.js"></script>
<link rel="stylesheet" href="{ms:global.host/}/static/plugins/minireset/0.0.2/minireset.min.css" />
<link rel="stylesheet" href="https://cdn.mingsoft.net/iconfont/iconfont.css" />
<link rel="stylesheet" href="{ms:global.host/}/static/plugins/animate/4.1.0/animate.min.css">
<script src="{ms:global.host/}/static/plugins/element-ui/2.12.0/index.js"></script>
<link rel="stylesheet" href="{ms:global.host/}/static/plugins/element-ui/2.12.0/index.css" />
<link rel="stylesheet" href="{ms:global.host/}/{ms:global.style/}/css/app.css" />
<!--网络请求框架-->
<script src="{ms:global.host/}/static/plugins/axios/0.18.0/axios.min.js"></script>
<script src="{ms:global.host/}/static/plugins/qs/6.6.0/qs.min.js"></script>
<script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.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>
ms.base = "";
</script>
<style>
[v-cloak]{
display: none;
}
</style>
</head>
<body>
<div id="app" v-cloak>
<#include "header.htm"/>
<div class="content">
<div class="ms-channel-path">
<span class="ms-channel-path-label">
当前位置:
</span>
<a href="/" class="ms-channel-path-index">
首页
</a>
{ms:channel type="path"}
<i class="iconfont icon-youjiantou"></i>
<a href="{ms:global.url/}${field.typelink}" class="ms-channel-path-link">
${field.typetitle}
</a>
{/ms:channel}
</div>
<div class="detail">
<div class="top">
<span class="title" >
${field.title}
</span>
<div class="date">
<span >
发布时间:
</span>
<span >
${field.date?string("yyyy-MM-dd")}
</span>
<div style="flex-wrap:nowrap;flex-direction:row;display:flex;width:20px;box-sizing:border-box;margin-top:0px;height:100%;">
</div>
<span >
浏览次数:
</span>
<span >
${field.hit}
</span>
</div> </div>
<div class="body">
<span class="body-text" >
${field.content}
</span>
</div> </div>
<div class="ms-next-pre">
<div class="pre">
<span >
上一篇:
</span>
<a href="${global.url}${pre.link}"
>
${pre.title}
</a>
</div>
<div class="next">
<span >
下一篇:
</span>
<a href="${global.url}${next.link}"
>
${next.title}
</a>
</div> </div> </div>
<#include "footer.htm"/>
</div>
</body>
</html>
<script>
var app = new Vue({
el: '#app',
watch:{
},
data: {
},
methods: {
switchShow:function(arr){
var that = this
arr.forEach(function(x){
let e = that.$el.querySelector("#key_"+x)
if(e){
e.style.display=e.style.display=='none'?'flex':'none'
}
})
},
},
created(){
}
})
</script>
<style>
body {
background-color:#f5f5f5;
box-sizing:border-box;
font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Segoe UI", "Helvetica Neue", "PingFang SC", "Noto Sans", "Noto Sans CJK SC", "Microsoft YaHei", 微软雅黑, sans-serif;
moz-box-sizing:border-box;
webkit-box-sizing:border-box;
}
.content
{
padding-bottom:0px;
flex-wrap:nowrap;
flex-direction:column;
display:flex;
padding-right:0px;
width:100%;
margin-bottom:0px;
box-sizing:border-box;
padding-top:0px;
padding-left:0px;
margin-top:0px;
}
.content .ms-channel-path
{
align-items:center;
flex-direction:row;
display:flex;
box-sizing:border-box;
justify-content:flex-start;
margin-left:auto;
margin-right:auto;
padding-bottom:0px;
flex-wrap:nowrap;
width:1170px;
margin-bottom:10px;
padding-top:0px;
margin-top:10px;
height:30px;
}
.content .ms-channel-path .ms-channel-path-label
{
flex-direction:row;
word-wrap:break-word;
display:inline-block;
font-size:14PX;
margin-bottom:0px;
margin-top:0px;
}
.content .ms-channel-path .ms-channel-path-index
{
cursor:pointer;
color:#000;
font-size:14PX;
text-decoration:none;
margin-bottom:0px;
margin-top:0px;
}
.content .ms-channel-path >i
{
}
.content .ms-channel-path .ms-channel-path-link
{
cursor:pointer;
color:#000;
font-size:14PX;
text-decoration:none;
margin-bottom:0px;
margin-top:0px;
}
.content .detail
{
background-color:#FFFFFF;
align-items:center;
flex-direction:column;
display:flex;
padding-right:0px;
box-sizing:border-box;
margin-left:auto;
min-height:800px;
margin-right:auto;
padding-bottom:0px;
flex-wrap:nowrap;
width:1170px;
margin-bottom:10px;
padding-top:0px;
position:relative;
padding-left:0px;
margin-top:0px;
}
.content .detail .top
{
align-items:center;
flex-direction:column;
display:flex;
box-sizing:border-box;
justify-content:center;
border-bottom-color:#EBEEF5;
margin-right:0px;
padding-bottom:32px;
flex-wrap:nowrap;
width:90%;
margin-bottom:0px;
border-bottom-style:solid;
padding-top:32px;
border-bottom-width:1px;
margin-top:0px;
}
.content .detail .top .title
{
padding-bottom:0px;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
font-size:28PX;
padding-top:0px;
}
.content .detail .top .date
{
align-items:center;
flex-direction:row;
display:flex;
box-sizing:border-box;
justify-content:center;
margin-left:0px;
margin-right:0px;
flex-wrap:nowrap;
width:100%;
margin-bottom:0px;
padding-top:0px;
margin-top:10px;
height:100%;
}
.content .detail .top .date span
{
margin-right:0px;
color:#929292;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
font-size:16PX;
margin-top:0px;
margin-left:0px;
}
.content .detail .body
{
align-items:center;
flex-wrap:nowrap;
flex-direction:column;
display:flex;
width:90%;
margin-bottom:0px;
box-sizing:border-box;
padding-top:32px;
justify-content:center;
margin-top:0px;
}
.content .detail .body .body-text
{
margin-right:auto;
padding-bottom:0px;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
font-size:18PX;
line-height:32px;
margin-bottom:0px;
padding-top:0px;
margin-top:0px;
margin-left:0px;
}
.content .ms-next-pre
{
flex-direction:row;
display:flex;
padding-right:10px;
box-sizing:border-box;
margin-left:auto;
margin-right:auto;
padding-bottom:0px;
flex-wrap:nowrap;
width:1170px;
margin-bottom:0px;
padding-top:0px;
padding-left:10px;
margin-top:0px;
height:60px;
}
.content .ms-next-pre .pre
{
align-items:center;
flex-wrap:nowrap;
flex-direction:row;
display:flex;
width:50%;
box-sizing:border-box;
margin-bottom:0px;
justify-content:flex-start;
margin-top:0px;
height:100%;
}
.content .ms-next-pre .pre span
{
font-size:14px;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
}
.content .ms-next-pre .pre a
{
cursor:pointer;
font-size:14px;
text-decoration:none;
color:#000;
}
.content .ms-next-pre .next
{
align-items:center;
flex-wrap:nowrap;
flex-direction:row;
display:flex;
padding-right:0px;
width:50%;
box-sizing:border-box;
padding-left:0px;
justify-content:flex-start;
height:100%;
}
.content .ms-next-pre .next span
{
font-size:14px;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
}
.content .ms-next-pre .next a
{
cursor:pointer;
padding-bottom:0px;
color:#000;
font-size:14px;
text-decoration:none;
margin-bottom:0px;
padding-top:0px;
margin-top:0px;
}
@media (max-width: 768px){
.content
{
flex-wrap:nowrap;
flex-direction:column;
display:flex;
padding-right:0px;
width:100%;
margin-bottom:0px;
box-sizing:border-box;
padding-top:0px;
padding-left:0px;
margin-top:0px;
height:unset;
}
.content .ms-channel-path
{
margin-right:auto;
align-items:center;
flex-wrap:nowrap;
flex-direction:row;
display:flex;
width:100%;
margin-bottom:10px;
box-sizing:border-box;
margin-top:10px;
height:30px;
margin-left:auto;
}
.content .ms-channel-path .ms-channel-path-label
{
font-size:14PX;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
}
.content .ms-channel-path .ms-channel-path-index
{
cursor:pointer;
color:#000;
font-size:14PX;
text-decoration:none;
margin-bottom:0px;
margin-top:0px;
}
.content .ms-channel-path .ms-channel-path-link
{
cursor:pointer;
color:#000;
font-size:14PX;
text-decoration:none;
margin-bottom:0px;
margin-top:0px;
}
.content .detail
{
background-color:#FFFFFF;
align-items:center;
flex-direction:column;
display:flex;
box-sizing:border-box;
margin-left:auto;
min-height:800px;
margin-right:auto;
padding-bottom:0px;
flex-wrap:nowrap;
width:100%;
margin-bottom:10px;
padding-top:0px;
position:relative;
padding-left:0px;
margin-top:10px;
height:300px;
}
.content .detail .top
{
align-items:center;
flex-direction:column;
display:flex;
box-sizing:border-box;
justify-content:center;
border-bottom-color:#EBEEF5;
padding-bottom:32px;
flex-wrap:nowrap;
width:90%;
margin-bottom:0px;
border-bottom-style:solid;
padding-top:32px;
border-bottom-width:1px;
margin-top:0px;
}
.content .detail .top .title
{
margin-right:0px;
padding-bottom:0px;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
font-size:28PX;
padding-top:0px;
}
.content .detail .top .date
{
align-items:center;
flex-direction:row;
display:flex;
padding-right:0px;
box-sizing:border-box;
justify-content:center;
margin-left:0px;
margin-right:0px;
padding-bottom:0px;
flex-wrap:nowrap;
width:100%;
margin-bottom:0px;
padding-top:0px;
padding-left:0px;
margin-top:0px;
height:100%;
}
.content .detail .top .date span
{
font-size:16PX;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
margin-left:0px;
}
.content .detail .body
{
align-items:center;
flex-wrap:nowrap;
flex-direction:column;
display:flex;
width:90%;
margin-bottom:0px;
box-sizing:border-box;
padding-top:32px;
justify-content:center;
margin-top:0px;
}
.content .detail .body .body-text
{
margin-right:auto;
padding-bottom:0px;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
font-size:18PX;
line-height:32px;
margin-bottom:0px;
padding-top:0px;
margin-top:0px;
margin-left:0px;
}
.content .ms-next-pre
{
flex-direction:column;
display:flex;
padding-right:10px;
box-sizing:border-box;
margin-left:auto;
margin-right:auto;
flex-wrap:nowrap;
width:100%;
margin-bottom:0px;
padding-left:10px;
margin-top:0px;
height:60px;
}
.content .ms-next-pre .pre
{
align-items:center;
flex-wrap:nowrap;
flex-direction:row;
display:flex;
width:50%;
box-sizing:border-box;
margin-bottom:0px;
justify-content:flex-start;
margin-top:0px;
height:100%;
}
.content .ms-next-pre .pre span
{
font-size:14px;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
}
.content .ms-next-pre .pre a
{
cursor:pointer;
font-size:14px;
text-decoration:none;
color:#000;
}
.content .ms-next-pre .next
{
align-items:center;
flex-wrap:nowrap;
flex-direction:row;
display:flex;
width:50%;
box-sizing:border-box;
padding-left:0px;
justify-content:flex-start;
height:100%;
}
.content .ms-next-pre .next span
{
font-size:14px;
flex-direction:row;
word-wrap:break-word;
display:inline-block;
}
.content .ms-next-pre .next a
{
cursor:pointer;
padding-bottom:0px;
color:#000;
font-size:14px;
text-decoration:none;
padding-top:0px;
}
}</style>
\ No newline at end of file
<!--底部导航-start-->
<div class="footer">
<!--友情链接-start-->
<div class="links">
<div class="body">
<span >
网站导航
</span>
<div class="link">
<!--下拉框-start-->
<select class="ms-select">
{ms:arclist typeid=163 size=10 }
<option value="">[field.title/]</option>
{/ms:arclist}
</select> <!--下拉框-end-->
</div>
<div class="link">
<!--下拉框-start-->
<select class="ms-select">
{ms:arclist typeid=163 size=10 }
<option value="">[field.title/]</option>
{/ms:arclist}
</select> <!--下拉框-end-->
</div>
<div class="link">
<!--下拉框-start-->
<select class="ms-select">
{ms:arclist typeid=163 size=10 }
<option value="">[field.title/]</option>
{/ms:arclist}
</select> <!--下拉框-end-->
</div>
<div class="link">
<!--下拉框-start-->
<select class="ms-select">
{ms:arclist typeid=163 size=5 }
<option value="">[field.title/]</option>
{/ms:arclist}
</select> <!--下拉框-end-->
</div>
<div class="link">
<!--下拉框-start-->
<select class="ms-select">
{ms:arclist typeid=163 size=5 }
<option value="">[field.title/]</option>
{/ms:arclist}
</select> <!--下拉框-end-->
</div> </div> </div> <!--友情链接-end-->
<!--版权信息-start-->
<div class="copyright">
<div class="body">
<img
title=""
alt=""
src="{ms:global.host/}/{ms:global.style/}/images/1602123532415.png"
/>
<div class="desc">
<div class="text">
<div >
<a href="#"
>
关于我们
</a>
<span >
</span>
<a href="#"
>
网站地图
</a>
</div> </div>
<div class="text">
<a href="#"
>
主办:江西省人民政府办公厅
</a>
<a href="#"
>
承办:江西省信息中心
</a>
</div>
<div class="text">
<a href="#"
>
赣ICP备05004294号
</a>
<a href="#"
>
政府网站标识码3600000012
</a>
<a href="#"
>
赣公网安备 36010802000128号
</a>
</div>
<div class="ms-designer">
<a href="www.mingsoft.net"
target="_blank"
>
@该网页由MDesigner制作完成
</a>
</div> </div>
<div class="right">
<div class="img">
<img
title=""
alt=""
src="http://www.gov.cn/govweb/xhtml/2016gov/guowuyuan/20190301gwykhd/images/icon_1234.png"
/>
<span >
国务院客户端
</span>
</div>
<div class="img">
<img
title=""
alt=""
src="http://www.gov.cn/govweb/xhtml/2016gov/guowuyuan/20190301gwykhd/images/icon_724.png"
/>
<span >
国务院小程序
</span>
</div>
<div class="wx">
<div >
<img
title=""
alt=""
src="http://www.gov.cn/govweb/xhtml/2016gov/guowuyuan/20190301gwykhd/images/icon_1434.png"
/>
<img
title=""
alt=""
src="http://www.gov.cn/govweb/xhtml/2016gov/guowuyuan/20190301gwykhd/images/icon_1534.png"
/>
<span >
中国政府网微博、微信
</span>
</div> </div> </div> </div> </div> <!--版权信息-end-->
<!--左漂浮-start-->
<div class="left-fixed">
<div class="content">
<img
title=""
alt=""
src="https://iph.href.lu/100x100"
/>
</div> </div> <!--左漂浮-end-->
<!--右漂浮-start-->
<div class="right-fixed">
<div class="content">
<img
title=""
alt=""
src="https://iph.href.lu/100x100"
/>
</div> </div> <!--右漂浮-end-->
</div> <!--底部导航-end-->
<!--导航-start-->
<div class="header">
<!--中间区域-start-->
<div class="center">
<!--左侧-start-->
<div class="left">
<a href="${global.url}"
>
首页
</a>
{ms:channel active='nav-sel' type='nav' flag='d'}
<a href="${global.url}${field.typelink}"
class="${field.active}">
${field.typetitle}
</a>
{/ms:channel}
</div> <!--左侧-end-->
<!--手机端-start-->
<div @click='switchShow(["1601304203000_30278"]);' class="h5-menu">
<i class="iconfont icon-caidan icon" ></i>
<!--手机端菜单-start-->
<div id="key_1601304203000_30278"
class="h5-menu-nav">
{ms:channel type='nav' flag='n'}
<a href="${global.url}${field.typelink}"
>
${field.typetitle}
</a>
{/ms:channel}
</div> <!--手机端菜单-end-->
</div> <!--手机端-end-->
<!--副链接-start-->
<div class="right">
<a href="http://www.gov.cn/"
target="_blank"
>
中国政府网
</a>
<span >
|
</span>
<a href="http://www.jxrd.gov.cn/"
target="_blank"
>
省人大
</a>
<span >
|
</span>
<a href="http://jxzx.jxnews.com.cn/"
target="_blank"
>
省政协
</a>
</div> <!--副链接-end-->
</div> <!--中间区域-end-->
</div> <!--导航-end-->
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment