Browse Source

v1.0 第一版

master
DESKTOP-00SUCB6\Administrator 4 years ago
parent
commit
827802e58d
  1. 8
      public/config.js
  2. BIN
      public/favicon.ico
  3. 2
      public/index.html
  4. BIN
      public/template/001/img/互联网大会/banner-bg.png
  5. BIN
      public/template/001/img/互联网大会/top-banner.jpg
  6. BIN
      public/template/001/img/公共服务/banner-bg.png
  7. BIN
      public/template/001/img/公共服务/platform-1.jpg
  8. BIN
      public/template/001/img/公共服务/platform-2.jpg
  9. BIN
      public/template/001/img/关于联盟/banner-bg.png
  10. BIN
      public/template/001/img/联盟动态/banner-bg.png
  11. BIN
      public/template/001/img/联盟成果/banner-bg.png
  12. BIN
      public/template/001/img/联盟成果/top-banner.jpg
  13. BIN
      public/template/001/img/行业资讯/banner-bg.png
  14. BIN
      public/template/001/img/转型升级论坛/banner-bg.png
  15. BIN
      public/template/001/img/转型升级论坛/top-banner.jpg
  16. BIN
      public/template/002/img/search/background.png
  17. BIN
      public/template/002/img/search/chanpinxinxi.png
  18. BIN
      public/template/002/img/search/logo.png
  19. BIN
      public/template/002/img/search/mark.png
  20. BIN
      public/template/002/img/search/qianzhui.png
  21. BIN
      public/template/002/img/search/qiyexinxi.png
  22. BIN
      public/template/002/img/search/star.png
  23. 87
      public/template/002/markSearch/index.scss
  24. 166
      public/template/002/styles/element-ui.scss
  25. 310
      public/template/002/styles/index.scss
  26. 232
      public/template/002/styles/sidebar.scss
  27. 27
      public/template/002/styles/variables.scss
  28. BIN
      public/template/003/img/search/background.png
  29. BIN
      public/template/003/img/search/chanpinxinxi.png
  30. BIN
      public/template/003/img/search/logo.png
  31. BIN
      public/template/003/img/search/mark.png
  32. BIN
      public/template/003/img/search/qianzhui.png
  33. BIN
      public/template/003/img/search/qiyexinxi.png
  34. BIN
      public/template/003/img/search/star.png
  35. 86
      public/template/003/markSearch/index.scss
  36. 166
      public/template/003/styles/element-ui.scss
  37. 310
      public/template/003/styles/index.scss
  38. 232
      public/template/003/styles/sidebar.scss
  39. 27
      public/template/003/styles/variables.scss
  40. BIN
      src/assets/home/about-bg.png
  41. BIN
      src/assets/home/about_bg.png
  42. BIN
      src/assets/home/benchmark-eg.png
  43. BIN
      src/assets/home/carousel-1.png
  44. BIN
      src/assets/home/carousel-2.png
  45. BIN
      src/assets/home/carousel-3.png
  46. BIN
      src/assets/home/dongtai.png
  47. BIN
      src/assets/home/electronicMeetings-eg.png
  48. BIN
      src/assets/home/ewm.png
  49. BIN
      src/assets/home/example-eg.png
  50. BIN
      src/assets/home/forum-bg.jpg
  51. BIN
      src/assets/home/fruit01.jpg
  52. BIN
      src/assets/home/fruit02.jpg
  53. BIN
      src/assets/home/fruit03.jpg
  54. BIN
      src/assets/home/fruit04.jpg
  55. BIN
      src/assets/home/meeting-bg.jpg
  56. BIN
      src/assets/home/whitepaper-eg.png
  57. BIN
      src/assets/home/zixun.png
  58. BIN
      src/assets/public/platform-1.jpg
  59. BIN
      src/assets/public/platform-2.jpg
  60. BIN
      src/assets/public/platform-3.jpg
  61. BIN
      src/assets/public/platform-logo.png
  62. 9
      src/components/banner/index.vue
  63. 39
      src/router/index.js
  64. 45
      src/views/forum/news.vue
  65. 166
      src/views/harvest/benchmark.vue
  66. 166
      src/views/harvest/electronicMeetings.vue
  67. 166
      src/views/harvest/example.vue
  68. 166
      src/views/harvest/whitepaper.vue
  69. 335
      src/views/home/index.vue
  70. 14
      src/views/layout/components/footer.vue
  71. 9
      src/views/layout/components/header.vue
  72. 2
      src/views/login/register.vue
  73. 47
      src/views/meeting/news.vue
  74. 21
      src/views/notice/noticeShow.vue
  75. 48
      src/views/public/platform.vue
  76. 55
      src/views/search/index.vue

8
public/config.js

@ -1,10 +1,10 @@
config = {
API_URL: 'http://172.119.51.140:8081',
CODE_URL: 'http://172.119.51.140:8082',
UPLOAD_URL: "http://172.119.51.140:8082/attachment/uploadOne",
API_URL: 'http://61.135.192.42:8081',
CODE_URL: 'http://61.135.192.42:8082',
UPLOAD_URL: "http://61.135.192.42:8082/attachment/uploadOne",
// COCKPIT_API_URL: 'http://www.fatoaniic.com/api',
// LOGIN_URL: 'http://www.fatoaniic.com/#/login',
// APP_URL:'http://nmsj.org.cn/',
// SHOW_URL: "http://121.36.65.171:8787/file/",
}
}

BIN
public/favicon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

2
public/index.html

@ -14,7 +14,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>工业互联网二级节点-食品行业</title>
<title>中国食品工业互联网产业联盟</title>
<script src="./config.js"></script>
</head>

BIN
public/template/001/img/互联网大会/banner-bg.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 KiB

After

Width:  |  Height:  |  Size: 385 KiB

BIN
public/template/001/img/互联网大会/top-banner.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 89 KiB

BIN
public/template/001/img/公共服务/banner-bg.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 KiB

After

Width:  |  Height:  |  Size: 374 KiB

BIN
public/template/001/img/公共服务/platform-1.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

BIN
public/template/001/img/公共服务/platform-2.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

BIN
public/template/001/img/关于联盟/banner-bg.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 KiB

After

Width:  |  Height:  |  Size: 584 KiB

BIN
public/template/001/img/联盟动态/banner-bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 KiB

BIN
public/template/001/img/联盟成果/banner-bg.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 KiB

After

Width:  |  Height:  |  Size: 453 KiB

BIN
public/template/001/img/联盟成果/top-banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
public/template/001/img/行业资讯/banner-bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

BIN
public/template/001/img/转型升级论坛/banner-bg.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 KiB

After

Width:  |  Height:  |  Size: 532 KiB

BIN
public/template/001/img/转型升级论坛/top-banner.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 102 KiB

BIN
public/template/002/img/search/background.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

BIN
public/template/002/img/search/chanpinxinxi.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 B

BIN
public/template/002/img/search/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

BIN
public/template/002/img/search/mark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 B

BIN
public/template/002/img/search/qianzhui.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

BIN
public/template/002/img/search/qiyexinxi.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 B

BIN
public/template/002/img/search/star.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

87
public/template/002/markSearch/index.scss

@ -1,87 +0,0 @@
.search-container {
position: relative;
width: 100%;
height: 109.7%;
overflow: hidden;
margin-top: -84px;
.search-header {
width: 100%;
height: 90px;
padding: 0 20px;
// background:rgba(255,255,255,0.1);
.logo {
display: inline-block;
margin-top: 10px;
// width: 580px;
height: 70px;
border: 0;
}
.white-button {
position: relative;
float: right;
top: 30px;
background:transparent;
color: #fff;
border: 1px solid #fff;
&:active {
background-color: rgba(255, 255, 255, 0.3);
}
}
}
.el-footer {
position: fixed;
bottom: 0px;
width: 100%;
// background-color:rgba(255,255,255,0.1);
line-height: 60px;
font-size:14px;
font-family:PingFang-SC-Regular;
color:#fff;
z-index: 5;
text-align: center;
}
.el-footer .copyright {
position: relative;
}
}
.search-form {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
width: 773px;
height: 100px;
label {
display: inline-block;
color: #fff;
margin: 10px;
font-size: 16px;
}
}
.search-form {
.el-input-group__append {
background-color: rgba(205,36,29,1);
color: #fff;
border: none;
&:active {
background-color: rgba(205,36,29,0.8);
}
}
.el-input {
box-shadow: 0px 0px 15px #888888;
&::before {
position: absolute;
content: ' ';
width: 14px;
height: 14px;
top: -13px;
left: 30px;
border-bottom: 7px solid #fff;
border-top: 7px solid transparent;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
}
}
}

166
public/template/002/styles/element-ui.scss

@ -1,166 +0,0 @@
//to reset element-ui default css
//table header reset css
.el-table thead {
color: #333333;
font-weight: 500;
font-size: 15px;
}
.el-table__header-wrapper tr {
background-color: #ececec !important;
}
.el-table th,
.el-table tr {
background-color: transparent;
}
//分页器reset css
.el-pagination {
padding: 30px 5px;
text-align: center;
}
.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .el-pager li {
background-color: #ffffff;
border: 1px solid #ececec;
color: #606266;
}
.el-pagination.is-background .el-pager li:not(.disabled):hover {
color: #df3434;
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: #df3434;
color: #fff;
}
.el-pagination__sizes .el-input .el-input__inner:hover {
border-color: #df3434;
}
.el-select .el-input.is-focus .el-input__inner {
border-color: #df3434;
}
.el-select-dropdown__item.selected {
color: #df3434;
}
.el-input.is-active .el-input__inner,
.el-input__inner:focus {
border-color: #df3434;
}
.el-dialog__header {
background-color:rgba(248,248,248,1);
}
//下拉条
.avatar-uploader .el-upload {
border: 1px dashed #929292;
border-radius: 6px;
cursor: pointer;
position: relative;
overflow: hidden;
}
.avatar-uploader .el-upload:hover {
border-color: #409EFF;
}
.avatar-uploader-icon {
font-size: 28px;
color: #8c939d;
width: 120px;
height: 120px;
line-height: 120px;
text-align: center;
}
.avatar {
width: 120px;
height: 120px;
display: block;
}
//下拉菜单
.el-dropdown-menu {
background-color: #F7F7F7 !important;
.el-dropdown-menu__item:focus, .el-dropdown-menu__item:not(.is-disabled):hover {
background-color: #ffe8e6 !important;
color: #606266;
}
}
//步骤条
.el-step__head.is-process {
color: #DF3434;
border-color: #DF3434;
}
.el-step__title.is-process {
font-weight: 700;
color: #DF3434;
}
.el-step__description.is-process {
color: #DF3434;
}
//文字链接
.el-link {
vertical-align: unset;
}
.el-header{
position: relative;
width:100%;
padding: 0;
height:84px;
// background-color: #01496E;
z-index: 100;
}
//el-dialog样式
.el-dialog__title {
font-size: 16px;
}
.el-dialog__headerbtn {
font-size: 22px;
}
.el-dialog__footer {
text-align: center;
}
//el-message-box样式
.el-message-box__title {
font-size: 16px;
}
.el-message-box__headerbtn {
font-size: 22px;
}
// .el-upload {
// input[type="file"] {
// display: none !important;
// }
// }
// .el-upload__input {
// display: none;
// }
// //暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
// .el-dialog {
// transform: none;
// left: 0;
// position: relative;
// margin: 0 auto;
// }
// //element ui upload
// .upload-container {
// .el-upload {
// width: 100%;
// .el-upload-dragger {
// width: 100%;
// height: 200px;
// }
// }
// }
// //树形节点
// .custom-tree-node {
// flex: 1;
// display: flex;
// align-items: center;
// justify-content: space-between;
// font-size: 14px;
// padding-right: 8px;
// }

310
public/template/002/styles/index.scss

@ -1,310 +0,0 @@
@import './variables.scss';
// @import './mixin.scss';
// @import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
// @import './button.scss';
// @import './header.scss';
// @import './reset-el';//覆盖element 表单和表格样式
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
dl,
dt,
dd,
ul,
ol,
li,
p,
blockquote,
pre,
hr,
figure,
table,
caption,
th,
td,
form,
fieldset,
legend,
input,
button,
textarea,
menu {
margin: 0;
padding: 0;
}
body {
height: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, Arial, Microsoft Yahei, Hiragino Sans GB, Heiti SC, WenQuanYi Micro Hei, sans-serif;
}
label {
font-weight: 700;
}
html {
height: 100%;
box-sizing: border-box;
}
#app {
height: 100%;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
outline: none;
text-decoration: none;
}
div:focus {
outline: none;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
.flex-box {
display: -webkit-box;
display: -webkit-flex;
/* Safari */
display: flex;
justify-content: center;
align-items: center;
}
.flex-box-space-between {
display: -webkit-box;
display: -webkit-flex;
/* Safari */
display: flex;
justify-content: space-between;
align-items: center;
}
.flex-box-column {
display: -webkit-box;
display: -webkit-flex;
/* Safari */
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.flex-box-column-reverse {
display: -webkit-box;
display: -webkit-flex;
/* Safari */
display: flex;
justify-content: center;
align-items: center;
flex-direction: column-reverse;
}
.font-size-21 {
font-size: 21px;
}
.font-size-13 {
font-size: 13px;
}
.font-size-16 {
font-size: 16px;
}
.font-weight-bold {
font-weight: bold;
}
.line-height-2em {
line-height: 2em;
}
.text-center {
text-align: center;
}
.flex-1 {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
}
.color-success {
color: #5CB959;
}
.color-error {
color: #EA6356;
}
.color-wait {
color: #FFBF00;
}
.float-left {
float: left;
}
.float-right {
float: right;
}
// ul,ol,li{
// list-style: none;
// }
//main-container全局样式
.app-main {
min-height: 100%
}
.app-container {
padding: 20px;
background-color: #fff;
.input-suffix {
line-height: 60px;
display: inline;
margin: 0 1em;
}
.filter-container {
line-height: 50px;
text-align: right;
}
}
//处理浏览器输入框记住账号密码后的背景色
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
-webkit-text-fill-color: #333 !important;
-webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
background-color: transparent;
background-image: none;
transition: background-color 50000s ease-in-out 0s; //背景色透明 生效时长 过渡效果 启用时延迟的时间
}
input {
background-color: transparent;
}
// .container-box{
// .query-box{
// background: #fff;
// margin-bottom:20px;
// border-radius: 5px;
// .title{
// padding: 20px;
// font-size:18px;
// font-family:Microsoft YaHei;
// font-weight:400;
// color:rgba(52,123,229,1);
// border-bottom:1px solid #DEDEDE;
// }
// }
// .table-box{
// background: #fff;
// border-radius: 5px;
// padding-bottom: 50px;
// .title-box{
// .title{
// padding: 21px 0 21px 21px;
// p{
// font-size:18px;
// font-family:Microsoft YaHei;
// font-weight:400;
// color:rgba(68,138,231,1);
// border-left:3px solid #448AE7;
// padding-left: 8px;
// }
// }
// .btn{
// padding: 11px 54px 11px 0;
// }
// }
// }
// }
// input:-webkit-autofill {
// -webkit-box-shadow: 0 0 0 1000px white inset !important;
// }
.header-banner {
position: relative;
height: 600px;
width: 100%;
padding-left: 20%;
padding-top: 100px;
margin-bottom: -84px;
.header-bg1 {
top: -84px;
left: 0;
// margin-left: -952px;
// right: 0;
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
}
.header-title-cn {
font-size: 64px;
line-height: 100px;
font-family: Source Han Sans CN;
font-weight: bold;
color: #fff;
}
.header-title-en {
font-size: 24px;
line-height: 50px;
font-family: Microsoft YaHei UI;
font-weight: 400;
color: #fff;
font-style: italic;
}
.header-download {
position: absolute;
bottom: 207px;
width: 74px;
height: 74px;
}
}

232
public/template/002/styles/sidebar.scss

@ -1,232 +0,0 @@
@import './variables.scss';
#app {
// 主体区域
.main-container {
position: relative;
min-height: 100%;
width: calc(100% -180px);
background-color: #EFEFEF;
transition: margin-left .28s;
margin-left: 180px;
}
.main-content {
width: 1200px;
margin: 0 15px;
}
.header-content {
width: 100%;
padding: 0 20px;
background: rgba(255,255,255,.1);
}
// 顶边栏
.header-sidebar-container {
width: 100%;
// height: 60px;
position: fixed;
// background-color: #DF3434;
color: #fff;
top: 0;
left: 0;
font-size: 18px;
z-index: 1001;
overflow: hidden;
.svg-icon {
color: #000;
margin-right: 16px;
}
.el-menu {
display: inline-block;
border: none;
height: 84px;
vertical-align: bottom;
a,.el-submenu {
display: inline-block;
float: left;
}
.el-submenu__icon-arrow {
position: static;
vertical-align: middle;
margin-left: 8px;
margin-top: -3px;
}
.el-menu-item, .el-submenu__title {
i {
color: #ffffff;
}
height: 84px;
line-height: 84px;
font-size: 16px;
padding:0 25px;
&:hover {
background-color: $menuHover !important;
}
}
}
.is-active {
border-bottom: 3px solid #fff;
// border-bottom:0;
background-color: $menuHover !important;
}
// menu hover
// .submenu-title-noDropdown,
// .el-submenu__title {
// i {
// color: #ffffff;
// }
// &:hover {
// background-color: $menuHover !important;
// }
// }
// .is-active>.el-submenu__title {
// color: $subMenuActiveText !important;
// }
// & .nest-menu .el-submenu>.el-submenu__title,
// & .el-submenu .el-menu-item {
// min-width: $sideBarWidth !important;
// background-color: $subMenuBg !important;
// &:hover {
// background-color: $subMenuHover !important;
// }
// }
}
// 侧边栏
.sidebar-container {
transition: width 0.28s;
width: 180px !important;
height: calc(100% - 84px);
position: absolute;
font-size: 0px;
top: 84px;
bottom: 0;
left: 0;
z-index: 1001;
overflow: hidden;
//reset element-ui css
.horizontal-collapse-transition {
transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
}
.scrollbar-wrapper {
height: calc(100% + 15px);
.el-scrollbar__view {
height: 100%;
}
}
.is-horizontal {
display: none;
}
a {
display: inline-block;
width: 100%;
overflow: hidden;
}
.svg-icon {
margin-right: 16px;
}
.el-menu {
border: none;
height: 100%;
width: 100% !important;
// background-image: url("../../static/bg.png");
background-repeat: no-repeat;
background-size: 100% 100%;
li {
&:hover {
color: #DF3434;
background-color: #FFE8E6 !important;
}
}
}
.is-active {
border-left: 3px solid #DF3434;
color: #DF3434;
border-bottom:0;
background-color: #FFE8E6 !important;
}
}
.openSidebar {
height: calc(100% - 84px);
}
.hideSidebar {
height: calc(100% - 84px);
.sidebar-container {
width: 60px !important;
}
.main-container {
margin-left: 60px;
}
.submenu-title-noDropdown {
padding-left: 10px !important;
position: relative;
.el-tooltip {
padding: 0 10px !important;
}
}
.el-submenu {
overflow: hidden;
&>.el-submenu__title {
padding-left: 10px !important;
.el-submenu__icon-arrow {
display: none;
}
}
}
.el-menu--collapse {
.el-submenu {
&>.el-submenu__title {
&>span {
height: 0;
width: 0;
overflow: hidden;
visibility: hidden;
display: inline-block;
}
}
}
}
}
//适配移动端
.mobile {
.main-container {
margin-left: 0px;
}
.sidebar-container {
transition: transform .28s;
width: 180px !important;
}
&.hideSidebar {
.sidebar-container {
transition-duration: 0.3s;
transform: translate3d(-180px, 0, 0);
}
}
}
.withoutAnimation {
.main-container,
.sidebar-container {
transition: none;
}
}
}
.el-menu--horizontal {
// width: 100% !important;
// left: 0 !important;
background-color: #F7F7F7;
.el-menu--popup {
min-width: 120px;
.is-active {
// border-bottom: 2px solid #fff;
background-color: rgba(255,232,230,1) !important;
}
.el-menu-item {
color: #000 !important;
&:hover {
background-color: rgba(255,232,230,1) !important;
}
}
}
}

27
public/template/002/styles/variables.scss

@ -1,27 +0,0 @@
//sidebar
$menuText:#fff;
$menuText2:#212121;
$menuActiveText:#fff;
$menuActiveText2:rgb(217, 52, 223);
$subMenuActiveText:#4b4bce; //https://github.com/ElemeFE/element/issues/12951
$menuBg:rgba(0,0,0,0);
$menuHover: rgba(255,255,255,0.3);
$subMenuBg:#000;
$subMenuHover:#ffffff33;
$sideBarWidth: 200px;
// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
:export {
menuText: $menuText;
menuActiveText: $menuActiveText;
subMenuActiveText: $subMenuActiveText;
menuBg: $menuBg;
menuHover: $menuHover;
subMenuBg: $subMenuBg;
subMenuHover: $subMenuHover;
sideBarWidth: $sideBarWidth;
}

BIN
public/template/003/img/search/background.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 374 KiB

BIN
public/template/003/img/search/chanpinxinxi.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 B

BIN
public/template/003/img/search/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

BIN
public/template/003/img/search/mark.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 B

BIN
public/template/003/img/search/qianzhui.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

BIN
public/template/003/img/search/qiyexinxi.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 B

BIN
public/template/003/img/search/star.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

86
public/template/003/markSearch/index.scss

@ -1,86 +0,0 @@
.search-container {
position: relative;
width: 100%;
height: 109.7%;
overflow: hidden;
margin-top: -84px;
.search-header {
width: 100%;
height: 90px;
padding: 0 20px;
// background:rgba(255,255,255,0.1);
.logo {
display: inline-block;
margin-top: 10px;
// width: 580px;
height: 70px;
border: 0;
}
.white-button {
position: relative;
float: right;
top: 30px;
background:transparent;
color: #fff;
border: 1px solid #fff;
&:active {
background-color: rgba(255, 255, 255, 0.3);
}
}
}
.el-footer {
position: fixed;
bottom: 0px;
width: 100%;
// background-color:rgba(255,255,255,0.1);
line-height: 60px;
font-size:14px;
font-family:PingFang-SC-Regular;
color:#fff;
z-index: 5;
text-align: center;
}
.el-footer .copyright {
position: relative;
}
}
.search-form {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
width: 773px;
height: 100px;
label {
display: inline-block;
margin: 10px;
font-size: 16px;
}
}
.search-form {
.el-input-group__append {
background-color: rgba(205,36,29,1);
color: #fff;
border: none;
&:active {
background-color: rgba(205,36,29,0.8);
}
}
.el-input {
box-shadow: 0px 0px 15px #888888;
&::before {
position: absolute;
content: ' ';
width: 14px;
height: 14px;
top: -13px;
left: 30px;
border-bottom: 7px solid #fff;
border-top: 7px solid transparent;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
}
}
}

166
public/template/003/styles/element-ui.scss

@ -1,166 +0,0 @@
//to reset element-ui default css
//table header reset css
.el-table thead {
color: #333333;
font-weight: 500;
font-size: 15px;
}
.el-table__header-wrapper tr {
background-color: #ececec !important;
}
.el-table th,
.el-table tr {
background-color: transparent;
}
//分页器reset css
.el-pagination {
padding: 30px 5px;
text-align: center;
}
.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .el-pager li {
background-color: #ffffff;
border: 1px solid #ececec;
color: #606266;
}
.el-pagination.is-background .el-pager li:not(.disabled):hover {
color: #df3434;
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: #df3434;
color: #fff;
}
.el-pagination__sizes .el-input .el-input__inner:hover {
border-color: #df3434;
}
.el-select .el-input.is-focus .el-input__inner {
border-color: #df3434;
}
.el-select-dropdown__item.selected {
color: #df3434;
}
.el-input.is-active .el-input__inner,
.el-input__inner:focus {
border-color: #df3434;
}
.el-dialog__header {
background-color:rgba(248,248,248,1);
}
//下拉条
.avatar-uploader .el-upload {
border: 1px dashed #929292;
border-radius: 6px;
cursor: pointer;
position: relative;
overflow: hidden;
}
.avatar-uploader .el-upload:hover {
border-color: #409EFF;
}
.avatar-uploader-icon {
font-size: 28px;
color: #8c939d;
width: 120px;
height: 120px;
line-height: 120px;
text-align: center;
}
.avatar {
width: 120px;
height: 120px;
display: block;
}
//下拉菜单
.el-dropdown-menu {
background-color: #F7F7F7 !important;
.el-dropdown-menu__item:focus, .el-dropdown-menu__item:not(.is-disabled):hover {
background-color: #ffe8e6 !important;
color: #606266;
}
}
//步骤条
.el-step__head.is-process {
color: #DF3434;
border-color: #DF3434;
}
.el-step__title.is-process {
font-weight: 700;
color: #DF3434;
}
.el-step__description.is-process {
color: #DF3434;
}
//文字链接
.el-link {
vertical-align: unset;
}
.el-header{
position: relative;
width:100%;
padding: 0;
height:84px;
// background-color: #01496E;
z-index: 100;
}
//el-dialog样式
.el-dialog__title {
font-size: 16px;
}
.el-dialog__headerbtn {
font-size: 22px;
}
.el-dialog__footer {
text-align: center;
}
//el-message-box样式
.el-message-box__title {
font-size: 16px;
}
.el-message-box__headerbtn {
font-size: 22px;
}
// .el-upload {
// input[type="file"] {
// display: none !important;
// }
// }
// .el-upload__input {
// display: none;
// }
// //暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
// .el-dialog {
// transform: none;
// left: 0;
// position: relative;
// margin: 0 auto;
// }
// //element ui upload
// .upload-container {
// .el-upload {
// width: 100%;
// .el-upload-dragger {
// width: 100%;
// height: 200px;
// }
// }
// }
// //树形节点
// .custom-tree-node {
// flex: 1;
// display: flex;
// align-items: center;
// justify-content: space-between;
// font-size: 14px;
// padding-right: 8px;
// }

310
public/template/003/styles/index.scss

@ -1,310 +0,0 @@
@import './variables.scss';
// @import './mixin.scss';
// @import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
// @import './button.scss';
// @import './header.scss';
// @import './reset-el';//覆盖element 表单和表格样式
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
dl,
dt,
dd,
ul,
ol,
li,
p,
blockquote,
pre,
hr,
figure,
table,
caption,
th,
td,
form,
fieldset,
legend,
input,
button,
textarea,
menu {
margin: 0;
padding: 0;
}
body {
height: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, Arial, Microsoft Yahei, Hiragino Sans GB, Heiti SC, WenQuanYi Micro Hei, sans-serif;
}
label {
font-weight: 700;
}
html {
height: 100%;
box-sizing: border-box;
}
#app {
height: 100%;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
outline: none;
text-decoration: none;
}
div:focus {
outline: none;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
.flex-box {
display: -webkit-box;
display: -webkit-flex;
/* Safari */
display: flex;
justify-content: center;
align-items: center;
}
.flex-box-space-between {
display: -webkit-box;
display: -webkit-flex;
/* Safari */
display: flex;
justify-content: space-between;
align-items: center;
}
.flex-box-column {
display: -webkit-box;
display: -webkit-flex;
/* Safari */
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.flex-box-column-reverse {
display: -webkit-box;
display: -webkit-flex;
/* Safari */
display: flex;
justify-content: center;
align-items: center;
flex-direction: column-reverse;
}
.font-size-21 {
font-size: 21px;
}
.font-size-13 {
font-size: 13px;
}
.font-size-16 {
font-size: 16px;
}
.font-weight-bold {
font-weight: bold;
}
.line-height-2em {
line-height: 2em;
}
.text-center {
text-align: center;
}
.flex-1 {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
}
.color-success {
color: #5CB959;
}
.color-error {
color: #EA6356;
}
.color-wait {
color: #FFBF00;
}
.float-left {
float: left;
}
.float-right {
float: right;
}
// ul,ol,li{
// list-style: none;
// }
//main-container全局样式
.app-main {
min-height: 100%
}
.app-container {
padding: 20px;
background-color: #fff;
.input-suffix {
line-height: 60px;
display: inline;
margin: 0 1em;
}
.filter-container {
line-height: 50px;
text-align: right;
}
}
//处理浏览器输入框记住账号密码后的背景色
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
-webkit-text-fill-color: #333 !important;
-webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
background-color: transparent;
background-image: none;
transition: background-color 50000s ease-in-out 0s; //背景色透明 生效时长 过渡效果 启用时延迟的时间
}
input {
background-color: transparent;
}
// .container-box{
// .query-box{
// background: #fff;
// margin-bottom:20px;
// border-radius: 5px;
// .title{
// padding: 20px;
// font-size:18px;
// font-family:Microsoft YaHei;
// font-weight:400;
// color:rgba(52,123,229,1);
// border-bottom:1px solid #DEDEDE;
// }
// }
// .table-box{
// background: #fff;
// border-radius: 5px;
// padding-bottom: 50px;
// .title-box{
// .title{
// padding: 21px 0 21px 21px;
// p{
// font-size:18px;
// font-family:Microsoft YaHei;
// font-weight:400;
// color:rgba(68,138,231,1);
// border-left:3px solid #448AE7;
// padding-left: 8px;
// }
// }
// .btn{
// padding: 11px 54px 11px 0;
// }
// }
// }
// }
// input:-webkit-autofill {
// -webkit-box-shadow: 0 0 0 1000px white inset !important;
// }
.header-banner {
position: relative;
height: 600px;
width: 100%;
padding-left: 20%;
padding-top: 100px;
margin-bottom: -84px;
.header-bg1 {
top: -84px;
left: 0;
// margin-left: -952px;
// right: 0;
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
}
.header-title-cn {
font-size: 64px;
line-height: 100px;
font-family: Source Han Sans CN;
font-weight: bold;
color: #fff;
}
.header-title-en {
font-size: 24px;
line-height: 50px;
font-family: Microsoft YaHei UI;
font-weight: 400;
color: #fff;
font-style: italic;
}
.header-download {
position: absolute;
bottom: 207px;
width: 74px;
height: 74px;
}
}

232
public/template/003/styles/sidebar.scss

@ -1,232 +0,0 @@
@import './variables.scss';
#app {
// 主体区域
.main-container {
position: relative;
min-height: 100%;
width: calc(100% -180px);
background-color: #EFEFEF;
transition: margin-left .28s;
margin-left: 180px;
}
.main-content {
width: 1200px;
margin: 0 15px;
}
.header-content {
width: 100%;
padding: 0 20px;
background: rgba(255,255,255,.1);
}
// 顶边栏
.header-sidebar-container {
width: 100%;
// height: 60px;
position: fixed;
// background-color: #DF3434;
color: #fff;
top: 0;
left: 0;
font-size: 18px;
z-index: 1001;
overflow: hidden;
.svg-icon {
color: #000;
margin-right: 16px;
}
.el-menu {
display: inline-block;
border: none;
height: 84px;
vertical-align: bottom;
a,.el-submenu {
display: inline-block;
float: left;
}
.el-submenu__icon-arrow {
position: static;
vertical-align: middle;
margin-left: 8px;
margin-top: -3px;
}
.el-menu-item, .el-submenu__title {
i {
color: #ffffff;
}
height: 84px;
line-height: 84px;
font-size: 16px;
padding:0 25px;
&:hover {
background-color: $menuHover !important;
}
}
}
.is-active {
border-bottom: 3px solid #fff;
// border-bottom:0;
background-color: $menuHover !important;
}
// menu hover
// .submenu-title-noDropdown,
// .el-submenu__title {
// i {
// color: #ffffff;
// }
// &:hover {
// background-color: $menuHover !important;
// }
// }
// .is-active>.el-submenu__title {
// color: $subMenuActiveText !important;
// }
// & .nest-menu .el-submenu>.el-submenu__title,
// & .el-submenu .el-menu-item {
// min-width: $sideBarWidth !important;
// background-color: $subMenuBg !important;
// &:hover {
// background-color: $subMenuHover !important;
// }
// }
}
// 侧边栏
.sidebar-container {
transition: width 0.28s;
width: 180px !important;
height: calc(100% - 84px);
position: absolute;
font-size: 0px;
top: 84px;
bottom: 0;
left: 0;
z-index: 1001;
overflow: hidden;
//reset element-ui css
.horizontal-collapse-transition {
transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
}
.scrollbar-wrapper {
height: calc(100% + 15px);
.el-scrollbar__view {
height: 100%;
}
}
.is-horizontal {
display: none;
}
a {
display: inline-block;
width: 100%;
overflow: hidden;
}
.svg-icon {
margin-right: 16px;
}
.el-menu {
border: none;
height: 100%;
width: 100% !important;
// background-image: url("../../static/bg.png");
background-repeat: no-repeat;
background-size: 100% 100%;
li {
&:hover {
color: #DF3434;
background-color: #FFE8E6 !important;
}
}
}
.is-active {
border-left: 3px solid #DF3434;
color: #DF3434;
border-bottom:0;
background-color: #FFE8E6 !important;
}
}
.openSidebar {
height: calc(100% - 84px);
}
.hideSidebar {
height: calc(100% - 84px);
.sidebar-container {
width: 60px !important;
}
.main-container {
margin-left: 60px;
}
.submenu-title-noDropdown {
padding-left: 10px !important;
position: relative;
.el-tooltip {
padding: 0 10px !important;
}
}
.el-submenu {
overflow: hidden;
&>.el-submenu__title {
padding-left: 10px !important;
.el-submenu__icon-arrow {
display: none;
}
}
}
.el-menu--collapse {
.el-submenu {
&>.el-submenu__title {
&>span {
height: 0;
width: 0;
overflow: hidden;
visibility: hidden;
display: inline-block;
}
}
}
}
}
//适配移动端
.mobile {
.main-container {
margin-left: 0px;
}
.sidebar-container {
transition: transform .28s;
width: 180px !important;
}
&.hideSidebar {
.sidebar-container {
transition-duration: 0.3s;
transform: translate3d(-180px, 0, 0);
}
}
}
.withoutAnimation {
.main-container,
.sidebar-container {
transition: none;
}
}
}
.el-menu--horizontal {
// width: 100% !important;
// left: 0 !important;
background-color: #F7F7F7;
.el-menu--popup {
min-width: 120px;
.is-active {
// border-bottom: 2px solid #fff;
background-color: rgba(255,232,230,1) !important;
}
.el-menu-item {
color: #000 !important;
&:hover {
background-color: rgba(255,232,230,1) !important;
}
}
}
}

27
public/template/003/styles/variables.scss

@ -1,27 +0,0 @@
//sidebar
$menuText:#fff;
$menuText2:#212121;
$menuActiveText:#fff;
$menuActiveText2:rgb(217, 52, 223);
$subMenuActiveText:#4b4bce; //https://github.com/ElemeFE/element/issues/12951
$menuBg:rgba(0,0,0,0);
$menuHover: rgba(255,255,255,0.3);
$subMenuBg:#000;
$subMenuHover:#ffffff33;
$sideBarWidth: 200px;
// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
:export {
menuText: $menuText;
menuActiveText: $menuActiveText;
subMenuActiveText: $subMenuActiveText;
menuBg: $menuBg;
menuHover: $menuHover;
subMenuBg: $subMenuBg;
subMenuHover: $subMenuHover;
sideBarWidth: $sideBarWidth;
}

BIN
src/assets/home/about-bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
src/assets/home/about_bg.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 KiB

BIN
src/assets/home/benchmark-eg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
src/assets/home/carousel-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

BIN
src/assets/home/carousel-2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

BIN
src/assets/home/carousel-3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 KiB

BIN
src/assets/home/dongtai.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
src/assets/home/electronicMeetings-eg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
src/assets/home/ewm.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 70 KiB

BIN
src/assets/home/example-eg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
src/assets/home/forum-bg.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 176 KiB

BIN
src/assets/home/fruit01.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 61 KiB

BIN
src/assets/home/fruit02.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 KiB

After

Width:  |  Height:  |  Size: 103 KiB

BIN
src/assets/home/fruit03.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 75 KiB

BIN
src/assets/home/fruit04.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

After

Width:  |  Height:  |  Size: 138 KiB

BIN
src/assets/home/meeting-bg.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 186 KiB

BIN
src/assets/home/whitepaper-eg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
src/assets/home/zixun.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 989 B

BIN
src/assets/public/platform-1.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

After

Width:  |  Height:  |  Size: 159 KiB

BIN
src/assets/public/platform-2.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

After

Width:  |  Height:  |  Size: 112 KiB

BIN
src/assets/public/platform-3.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
src/assets/public/platform-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

9
src/components/banner/index.vue

@ -11,14 +11,17 @@ export default {
name:"banner",
data(){
return {
title:this.$route.query.title || this.$route.matched[1].meta.title
title:this.$route.matched[1].meta.title || this.$route.query.title
}
},
watch:{
'$route'(to,from){
this.title = this.$route.query.title || this.$route.matched[1].meta.title
this.title = this.$route.matched[1].meta.title || this.$route.query.title
}
}
},
// mounted() {
// console.log(this.$route);
// },
}
</script>
<style lang="scss" scoped>

39
src/router/index.js

@ -120,27 +120,48 @@ const routes = [
{
path: 'harvest',
name: 'harvest',
component: mytemplate,
meta: { title: '联盟成果', icon: 'register', noCache: true },
children: [
{
path: 'whitepaper',
name: 'whitepaper',
meta: {title: '白皮书', icon: 'register', noCache: true,typeId:'BPS'},
name: 'whitepaper',
components:{
banner: () => import('@/components/banner'),
default:() => import('@/views/harvest/whitepaper.vue')
},
meta: {title: '白皮书', icon: 'register', noCache: true},
},
{
path: 'benchmark',
name: 'benchmark',
meta: {title: '技术标准', icon: 'register', noCache: true,typeId:'JSBZ'},
name: 'benchmark',
components:{
banner: () => import('@/components/banner'),
default:() => import('@/views/harvest/benchmark.vue')
},
meta: {title: '技术标准', icon: 'register', noCache: true},
},
{
path: 'electronicMeetings ',
name: 'electronicMeetings ',
meta: {title: '电子会刊', icon: 'register', noCache: true,typeId:'DZHK'},
path: 'electronicMeetings',
name: 'electronicMeetings',
components:{
banner: () => import('@/components/banner'),
default:() => import('@/views/harvest/electronicMeetings.vue')
},
meta: {title: '电子会刊', icon: 'register', noCache: true},
},
{
path: 'example',
name: 'example',
meta: {title: '应用案例', icon: 'register', noCache: true,typeId:'YYAL'},
name: 'example',
components:{
banner: () => import('@/components/banner'),
default:() => import('@/views/harvest/example.vue')
},
meta: {title: '应用案例', icon: 'register', noCache: true},
}
]
},

45
src/views/forum/news.vue

@ -1,10 +1,16 @@
<template>
<div class="app-container">
<img class="banner-bg" :src="_getImage('转型升级论坛','top-banner.jpg')"/>
<div class="banner-box">
<img class="banner-bg" :src="_getImage('转型升级论坛','top-banner.jpg')"/>
<div class="banner-content">
<p class="mytitle">{{noticeList.length>0? noticeList[0].title :''}}</p>
<p class="description">{{noticeList.length>0? noticeList[0].description :''}}</p>
</div>
</div>
<br><br><br>
<span class="title">论坛新闻</span>
<el-divider></el-divider>
<div class="notice-list" v-for="(item,index) in noticeList.slice(0,4)" :key="index">
<div class="notice-list" v-for="(item,index) in noticeList" :key="index" @click="showNoticeDetail(item)">
<div class="content-block">
<p class="text-title" style="font-size:14px;"><span style="color:#01496E;"></span>{{item.title}}</p>
</div>
@ -13,6 +19,7 @@
<el-pagination
layout="prev, pager, next"
:current-page.sync="currentPage"
@current-change="handleCurrentChange"
:page-size="10"
:total="total">
</el-pagination>
@ -48,14 +55,46 @@ export default {
this.noticeList = res.data.list
this.total = res.data.count
})
},
showNoticeDetail(item){
this.$router.push({name:'noticeShow',query:{'id':item.id,'title':item.topicTypeText}})
},
//
handleCurrentChange(val) {
this.currentPage = val
this.initData()
}
}
};
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
.banner-bg {
.banner-box {
position: relative;
width: 100%;
height: 300px;
padding: 70px;
.banner-bg {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.banner-content {
position: relative;
margin: 10px;
color: #000;
text-align: center;
.mytitle {
font-size: 28px;
font-weight: 600;
line-height: 60px;
}
.description {
font-size: 16px;
line-height: 30px;
}
}
}
.title {
position: relative;

166
src/views/harvest/benchmark.vue

@ -0,0 +1,166 @@
<template>
<div class="app-container">
<div class="banner-box">
<img class="banner-bg" :src="_getImage('联盟成果','top-banner.jpg')"/>
<div class="banner-content">
<p class="mytitle">{{noticeList.length>0? noticeList[0].title :''}}</p>
<p class="description">{{noticeList.length>0? noticeList[0].description :''}}</p>
</div>
</div>
<br><br><br>
<span class="title">技术标准</span>
<el-divider></el-divider>
<div class="notice-list" v-for="(item,index) in noticeList" :key="index" @click="showNoticeDetail(item)">
<img :src="item.imgUrl ? item.imgUrl : require('../../assets/home/benchmark-eg.png')" alt="" class="img-block">
<div class="content-block">
<p class="text-title"><span style="color:#01496E;"></span>{{item.title}}</p>
<p class="text-content">{{item.description}}</p>
</div>
<span class="text-date">{{item.issueStartTime}}</span>
</div>
<el-pagination
layout="prev, pager, next"
:current-page.sync="currentPage"
@current-change="handleCurrentChange"
:page-size="10"
:total="total">
</el-pagination>
</div>
</template>
<script>
import {getNoticeList} from "@/api/notice"
export default {
name: "benchmark",
data() {
return {
noticeList:[],
currentPage:1,
total:0
};
},
mounted() {
this.initData()
},
methods:{
initData(){
let params = {
"pageNum": this.currentPage,
"pageSize": 10,
"search": {
"type": "JSBZ"
},
"sort": ""
}
getNoticeList(params).then(res => {
this.noticeList = res.data.list
this.total = res.data.count
})
},
showNoticeDetail(item){
this.$router.push({name:'noticeShow',query:{'id':item.id,'title':item.topicTypeText}})
},
//
handleCurrentChange(val) {
this.currentPage = val
this.initData()
}
}
};
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
.banner-box {
position: relative;
width: 100%;
height: 300px;
padding: 70px;
.banner-bg {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.banner-content {
position: relative;
margin: 10px;
color: #000;
text-align: center;
.mytitle {
font-size: 28px;
font-weight: 600;
line-height: 60px;
}
.description {
font-size: 16px;
line-height: 30px;
}
}
}
.title {
position: relative;
color: #1e50ae;
font-size: 18px;
padding: 0 10px;
font-weight: bold;
font-family: 微软雅黑;
&::before {
content: " ";
position: absolute;
left: 0;
bottom: -25px;
width: 100%;
height: 4px;
background: #1e50ae;
}
}
.notice-list {
position: relative;
background-color: rgba(255,255,255,0);
cursor: pointer;
color: #999999;
font-family:PingFang SC;
border-bottom: 1px dotted #dcdcdc;
margin: 0 30px;
.img-block {
position: relative;
display: inline-block;
vertical-align: top;
width: 120px;
height: 100px;
padding: 5px;
}
.content-block {
position: relative;
display: inline-block;
width: calc(100% - 200px);
height: 100px;
padding: 0 15px;
}
.text-date {
text-align: center;
font-size: 14px;
vertical-align: super;
}
.text-title {
font-size: 16px;
margin: 6px 0;
font-weight:600;
color: #666666;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.text-content {
font-size: 14px;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient: vertical;
}
&:hover {
.text-title {
color: #3893c7;
}
}
}
</style>

166
src/views/harvest/electronicMeetings.vue

@ -0,0 +1,166 @@
<template>
<div class="app-container">
<div class="banner-box">
<img class="banner-bg" :src="_getImage('联盟成果','top-banner.jpg')"/>
<div class="banner-content">
<p class="mytitle">{{noticeList.length>0? noticeList[0].title :''}}</p>
<p class="description">{{noticeList.length>0? noticeList[0].description :''}}</p>
</div>
</div>
<br><br><br>
<span class="title">电子会刊</span>
<el-divider></el-divider>
<div class="notice-list" v-for="(item,index) in noticeList" :key="index" @click="showNoticeDetail(item)">
<img :src="item.imgUrl ? item.imgUrl : require('../../assets/home/electronicMeetings-eg.png')" alt="" class="img-block">
<div class="content-block">
<p class="text-title"><span style="color:#01496E;"></span>{{item.title}}</p>
<p class="text-content">{{item.description}}</p>
</div>
<span class="text-date">{{item.issueStartTime}}</span>
</div>
<el-pagination
layout="prev, pager, next"
:current-page.sync="currentPage"
@current-change="handleCurrentChange"
:page-size="10"
:total="total">
</el-pagination>
</div>
</template>
<script>
import {getNoticeList} from "@/api/notice"
export default {
name: "electronicMeetings",
data() {
return {
noticeList:[],
currentPage:1,
total:0
};
},
mounted() {
this.initData()
},
methods:{
initData(){
let params = {
"pageNum": this.currentPage,
"pageSize": 10,
"search": {
"type": "DZHK"
},
"sort": ""
}
getNoticeList(params).then(res => {
this.noticeList = res.data.list
this.total = res.data.count
})
},
showNoticeDetail(item){
this.$router.push({name:'noticeShow',query:{'id':item.id,'title':item.topicTypeText}})
},
//
handleCurrentChange(val) {
this.currentPage = val
this.initData()
}
}
};
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
.banner-box {
position: relative;
width: 100%;
height: 300px;
padding: 70px;
.banner-bg {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.banner-content {
position: relative;
margin: 10px;
color: #000;
text-align: center;
.mytitle {
font-size: 28px;
font-weight: 600;
line-height: 60px;
}
.description {
font-size: 16px;
line-height: 30px;
}
}
}
.title {
position: relative;
color: #1e50ae;
font-size: 18px;
padding: 0 10px;
font-weight: bold;
font-family: 微软雅黑;
&::before {
content: " ";
position: absolute;
left: 0;
bottom: -25px;
width: 100%;
height: 4px;
background: #1e50ae;
}
}
.notice-list {
position: relative;
background-color: rgba(255,255,255,0);
cursor: pointer;
color: #999999;
font-family:PingFang SC;
border-bottom: 1px dotted #dcdcdc;
margin: 0 30px;
.img-block {
position: relative;
display: inline-block;
vertical-align: top;
width: 120px;
height: 100px;
padding: 5px;
}
.content-block {
position: relative;
display: inline-block;
width: calc(100% - 200px);
height: 100px;
padding: 0 15px;
}
.text-date {
text-align: center;
font-size: 14px;
vertical-align: super;
}
.text-title {
font-size: 16px;
margin: 6px 0;
font-weight:600;
color: #666666;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.text-content {
font-size: 14px;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient: vertical;
}
&:hover {
.text-title {
color: #3893c7;
}
}
}
</style>

166
src/views/harvest/example.vue

@ -0,0 +1,166 @@
<template>
<div class="app-container">
<div class="banner-box">
<img class="banner-bg" :src="_getImage('联盟成果','top-banner.jpg')"/>
<div class="banner-content">
<p class="mytitle">{{noticeList.length>0? noticeList[0].title :''}}</p>
<p class="description">{{noticeList.length>0? noticeList[0].description :''}}</p>
</div>
</div>
<br><br><br>
<span class="title">应用案例</span>
<el-divider></el-divider>
<div class="notice-list" v-for="(item,index) in noticeList" :key="index" @click="showNoticeDetail(item)">
<img :src="item.imgUrl ? item.imgUrl : require('../../assets/home/example-eg.png')" alt="" class="img-block">
<div class="content-block">
<p class="text-title"><span style="color:#01496E;"></span>{{item.title}}</p>
<p class="text-content">{{item.description}}</p>
</div>
<span class="text-date">{{item.issueStartTime}}</span>
</div>
<el-pagination
layout="prev, pager, next"
:current-page.sync="currentPage"
@current-change="handleCurrentChange"
:page-size="10"
:total="total">
</el-pagination>
</div>
</template>
<script>
import {getNoticeList} from "@/api/notice"
export default {
name: "example",
data() {
return {
noticeList:[],
currentPage:1,
total:0
};
},
mounted() {
this.initData()
},
methods:{
initData(){
let params = {
"pageNum": this.currentPage,
"pageSize": 10,
"search": {
"type": "YYAL"
},
"sort": ""
}
getNoticeList(params).then(res => {
this.noticeList = res.data.list
this.total = res.data.count
})
},
showNoticeDetail(item){
this.$router.push({name:'noticeShow',query:{'id':item.id,'title':item.topicTypeText}})
},
//
handleCurrentChange(val) {
this.currentPage = val
this.initData()
}
}
};
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
.banner-box {
position: relative;
width: 100%;
height: 300px;
padding: 70px;
.banner-bg {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.banner-content {
position: relative;
margin: 10px;
color: #000;
text-align: center;
.mytitle {
font-size: 28px;
font-weight: 600;
line-height: 60px;
}
.description {
font-size: 16px;
line-height: 30px;
}
}
}
.title {
position: relative;
color: #1e50ae;
font-size: 18px;
padding: 0 10px;
font-weight: bold;
font-family: 微软雅黑;
&::before {
content: " ";
position: absolute;
left: 0;
bottom: -25px;
width: 100%;
height: 4px;
background: #1e50ae;
}
}
.notice-list {
position: relative;
background-color: rgba(255,255,255,0);
cursor: pointer;
color: #999999;
font-family:PingFang SC;
border-bottom: 1px dotted #dcdcdc;
margin: 0 30px;
.img-block {
position: relative;
display: inline-block;
vertical-align: top;
width: 120px;
height: 100px;
padding: 5px;
}
.content-block {
position: relative;
display: inline-block;
width: calc(100% - 200px);
height: 100px;
padding: 0 15px;
}
.text-date {
text-align: center;
font-size: 14px;
vertical-align: super;
}
.text-title {
font-size: 16px;
margin: 6px 0;
font-weight:600;
color: #666666;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.text-content {
font-size: 14px;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient: vertical;
}
&:hover {
.text-title {
color: #3893c7;
}
}
}
</style>

166
src/views/harvest/whitepaper.vue

@ -0,0 +1,166 @@
<template>
<div class="app-container">
<div class="banner-box">
<img class="banner-bg" :src="_getImage('联盟成果','top-banner.jpg')"/>
<div class="banner-content">
<p class="mytitle">{{noticeList.length>0? noticeList[0].title :''}}</p>
<p class="description">{{noticeList.length>0? noticeList[0].description :''}}</p>
</div>
</div>
<br><br><br>
<span class="title">白皮书</span>
<el-divider></el-divider>
<div class="notice-list" v-for="(item,index) in noticeList" :key="index" @click="showNoticeDetail(item)">
<img :src="item.imgUrl ? item.imgUrl : require('../../assets/home/whitepaper-eg.png')" alt="" class="img-block">
<div class="content-block">
<p class="text-title"><span style="color:#01496E;"></span>{{item.title}}</p>
<p class="text-content">{{item.description}}</p>
</div>
<span class="text-date">{{item.issueStartTime}}</span>
</div>
<el-pagination
layout="prev, pager, next"
:current-page.sync="currentPage"
@current-change="handleCurrentChange"
:page-size="10"
:total="total">
</el-pagination>
</div>
</template>
<script>
import {getNoticeList} from "@/api/notice"
export default {
name: "whitepaper",
data() {
return {
noticeList:[],
currentPage:1,
total:0
};
},
mounted() {
this.initData()
},
methods:{
initData(){
let params = {
"pageNum": this.currentPage,
"pageSize": 10,
"search": {
"type": "BPS"
},
"sort": ""
}
getNoticeList(params).then(res => {
this.noticeList = res.data.list
this.total = res.data.count
})
},
showNoticeDetail(item){
this.$router.push({name:'noticeShow',query:{'id':item.id,'title':item.topicTypeText}})
},
//
handleCurrentChange(val) {
this.currentPage = val
this.initData()
}
}
};
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
.banner-box {
position: relative;
width: 100%;
height: 300px;
padding: 70px;
.banner-bg {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.banner-content {
position: relative;
margin: 10px;
color: #000;
text-align: center;
.mytitle {
font-size: 28px;
font-weight: 600;
line-height: 60px;
}
.description {
font-size: 16px;
line-height: 30px;
}
}
}
.title {
position: relative;
color: #1e50ae;
font-size: 18px;
padding: 0 10px;
font-weight: bold;
font-family: 微软雅黑;
&::before {
content: " ";
position: absolute;
left: 0;
bottom: -25px;
width: 100%;
height: 4px;
background: #1e50ae;
}
}
.notice-list {
position: relative;
background-color: rgba(255,255,255,0);
cursor: pointer;
color: #999999;
font-family:PingFang SC;
border-bottom: 1px dotted #dcdcdc;
margin: 0 30px;
.img-block {
position: relative;
display: inline-block;
vertical-align: top;
width: 120px;
height: 100px;
padding: 5px;
}
.content-block {
position: relative;
display: inline-block;
width: calc(100% - 200px);
height: 100px;
padding: 0 15px;
}
.text-date {
text-align: center;
font-size: 14px;
vertical-align: super;
}
.text-title {
font-size: 16px;
margin: 6px 0;
font-weight:600;
color: #666666;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.text-content {
font-size: 14px;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient: vertical;
}
&:hover {
.text-title {
color: #3893c7;
}
}
}
</style>

335
src/views/home/index.vue

@ -1,16 +1,16 @@
<template>
<div class="main-content">
<div class="block1">
<div class="block-content">
<div class="block-content" style="padding:50px 20px;background-color:#0077A2;">
<div class="block1-carousel">
<el-carousel height="450px">
<el-carousel-item v-for="(item,index) in carouselPicList" :key="index">
<img style="height:450px;width:100%;" :src="item.imgUrl" />
<div class="carousel-bg">
<span class="font-size-16">{{item.title}}</span>
<p class="font-size-18 line-height-2em font-weight-bold">{{item.title}}</p>
<p class="content">{{item.description}}</p>
<br><br><br>
<a class="color-white mybutton-1">查看更多 >></a>
<a class="color-white mybutton-1" @click="showNoticeDetail(item)">查看更多 >></a>
</div>
</el-carousel-item>
</el-carousel>
@ -21,12 +21,16 @@
联盟介绍
<span class="font-size-16">about ></span>
</span>
<p class="content">在工业和信息化部的大力支持和指导下由中国信息通信研究院联合制造业通信业互联网等企业于2016年2月1日共同发起成立..</p>
<p class="content">由一线食品生产装备解决方案提供商等共同发起成立的中国食品工业互联网产业联盟旨在更好的引导食品工业企业加强智能装备智能工厂云计算物联网移动互联网大数据等...</p>
<br><br><br>
<a style="color:#01496E;" class="mybutton-1">查看更多 >></a>
<router-link :to="{name:'noticeShow',query:{'type':'LMJS','title':'关于联盟'}}">
<a class="mybutton-1 color-white">查看更多 >></a>
</router-link>
</div>
<div class="other-box flex-box">
<div class="button flex-1" style="background:#004471;"><i class="el-icon-user"></i>加入联盟</div>
<div class="other-box">
<router-link :to="{name:'register'}">
<div class="button" style="background:#004471;"><i class="el-icon-user"></i>加入联盟</div>
</router-link>
</div>
<!-- <div class="other-box flex-box">
<div class="button flex-1"><i class="el-icon-document"></i>章程</div>
@ -40,94 +44,107 @@
<div class="block2">
<el-row class="block-content" style="padding-bottom:30px;">
<div class="left-box">
<div class="title-box is-active" name="title-box" @click="changeTitleBox($event,'LMDTLX')">
<span class="color-white title-2">联盟动态 <br><span class="font-size-21" style="opacity: 0.4;">NEWS</span></span>
<div class="title-box is-active" name="title-box" @click="changeTitleBox($event,'LMDTLX')">
<div class="dongtai">
<span class="color-white title-2">联盟动态 <br><span class="font-size-21" style="opacity: 0.8;">NEWS</span></span>
</div>
</div>
<div class="title-box" name="title-box" @click="changeTitleBox($event,'HYZXLX')">
<span class="color-white title-2">行业资讯 <br><span class="font-size-21" style="opacity: 0.4;">INFORMATION</span></span>
<div class="title-box " name="title-box" @click="changeTitleBox($event,'HYZXLX')">
<div class="zixun">
<span class="color-white title-2">行业资讯 <br><span class="font-size-21" style="opacity: 0.8;">INFORMATION</span></span>
</div>
</div>
</div>
<div class="center-box">
<el-row>
<el-col :span="12">
<div class="notice-list" v-for="(item,index) in noticeList.slice(0,6)" :key="index">
<div class="content-block-first" v-if="index == 0">
<el-col :span="24">
<div class="notice-list" v-for="(item,index) in noticeList.slice(0,8)" :key="index" @click="showNoticeDetail(item)">
<!-- <div class="content-block-first" v-if="index == 0">
<p class="text-title">{{item.title}}</p>
<p class="text-content">{{item.description}}</p>
</div>
<div v-else class="content-block">
</div> -->
<div class="content-block">
<p class="text-title" style="font-size:14px;">{{item.title}}</p>
</div>
<span class="text-date">{{item.issueStartTime}}</span>
<div class="text-date">{{item.issueStartTime}}</div>
</div>
</el-col>
<el-col :span="12">
<div class="notice-list" v-for="(item,index) in noticeList.slice(7,13)" :key="index">
<!-- <el-col :span="12">
<div class="notice-list" v-for="(item,index) in noticeList.slice(7,13)" :key="index" @click="showNoticeDetail(item)">
<div class="content-block">
<p class="text-title" style="font-size:14px;">{{item.title}}</p>
</div>
<span class="text-date">{{item.issueStartTime}}</span>
<p class="text-date">{{item.issueStartTime}}</p>
</div>
</el-col>
</el-col> -->
</el-row>
</div>
</el-row>
<el-row class="block-content" style="padding-top:0;">
<div class="meeting meeting-bg">
<router-link :to="{name:'newsMeeting'}" class="meeting meeting-bg">
<span class="title-1" style="z-index:10;">2020年互联网大会</span>
</div>
<div class="meeting forum-bg">
</router-link>
<router-link :to="{name:'newsForum'}" class="meeting forum-bg">
<span class="title-1" style="z-index:10;">2020年转型升级论坛</span>
</div>
</router-link>
</el-row>
</div>
<div class="block3">
<div class="block-content">
<h1 class="title-0">成果发布
<span class="bottom-line" style="color:#01496E;"></span>
<p class="title-0-en">RESULTS</p>
</h1>
<el-divider></el-divider>
<p class="font-size-18" style="opacity: 0.4;text-align: center;">RESULTS</p>
<br><br><br>
<div>
<div class="tab-box fruit02-bg">
<p class="title-1" style="z-index:10;">技术标准</p>
<br><br>
<a class="content" style="z-index:10;">查看更多 >></a>
<router-link :to="{name:'benchmark'}" class="content" style="z-index:10;">
查看更多 >>
</router-link>
</div>
<div class="tab-box fruit01-bg">
<p class="title-1" style="z-index:10;">白皮书</p>
<br><br>
<a class="content" style="z-index:10;">查看更多 >></a>
<router-link :to="{name:'whitepaper'}" class="content" style="z-index:10;">
查看更多 >>
</router-link>
</div>
<div class="tab-box fruit04-bg">
<p class="title-1" style="z-index:10;">应用案例</p>
<br><br>
<a class="content" style="z-index:10;">查看更多 >></a>
<router-link :to="{name:'example'}" class="content" style="z-index:10;">
查看更多 >>
</router-link>
</div>
<div class="tab-box fruit03-bg">
<p class="title-1" style="z-index:10;">电子会刊</p>
<br><br>
<a class="content" style="z-index:10;">查看更多 >></a>
<router-link :to="{name:'electronicMeetings'}" class="content" style="z-index:10;">
查看更多 >>
</router-link>
</div>
</div>
<br><br>
<el-row>
<el-col :span="12">
<div class="notice-list" v-for="(item,index) in informationList.slice(0,4)" :key="index">
<div class="notice-list2" v-for="(item,index) in informationList.slice(0,4)" :key="index" @click="showNoticeDetail(item)">
<div class="content-block">
<p class="text-title" style="font-size:14px;"><span style="color:#01496E;">白皮书</span>{{item.title}}</p>
<p class="text-title" style="font-size:14px;"><span class="content-type-box">{{item.typeName}}</span>{{item.title}}</p>
</div>
<span class="text-date">{{item.sendtime}}</span>
<span class="text-date">{{item.issueStartTime}}</span>
</div>
</el-col>
<el-col :span="12">
<div class="notice-list" v-for="(item,index) in informationList.slice(4,8)" :key="index">
<div class="notice-list2" v-for="(item,index) in informationList.slice(4,8)" :key="index" @click="showNoticeDetail(item)">
<div class="content-block">
<p class="text-title" style="font-size:14px;"><span style="color:#01496E;">白皮书</span>{{item.title}}</p>
<p class="text-title" style="font-size:14px;"><span class="content-type-box">{{item.typeName}}</span>{{item.title}}</p>
</div>
<span class="text-date">{{item.sendtime}}</span>
<span class="text-date">{{item.issueStartTime}}</span>
</div>
</el-col>
</el-row>
@ -137,39 +154,31 @@
<div class="block-content">
<h1 class="title-0">公共服务
<span class="bottom-line" style="color:#01496E;"></span>
<p class="title-0-en">PUBLIC SERVICE</p>
</h1>
<el-divider></el-divider>
<p class="font-size-18" style="opacity: 0.4;text-align: center;">PUBLIC SERVICE</p>
<br><br><br>
<div>
<div class="tab-box">
<div class="flex-box">
<a class="tab-box" target="_blank" href="http://www.ftiia.com/">
<img class="box-pic" src="../../assets/home/gongyehulianwangzhuanqu.png">
<p>5G+工业互联网<br>项目库</p>
</div>
<div class="tab-box">
<img class="box-pic" src="../../assets/home/ziyuanchi.png">
<p>工业互联网<br>资源池</p>
</div>
<div class="tab-box">
<p>工业互联网标识解析<br>食品行业二级节点</p>
</a>
<a class="tab-box">
<img class="box-pic" src="../../assets/home/fuwupingtai.png">
<p>工业互联网信息模型<br>综合服务平台</p>
</div>
<div class="tab-box">
<img class="box-pic" src="../../assets/home/pinggu.png">
<p>可信服务评估评测</p>
</div>
<div class="tab-box">
<p>食品工业智能<br>制造平台</p>
</a>
<a class="tab-box" target="_blank" href="http://platform.ftiia.com/">
<img class="box-pic" src="../../assets/home/data-platform-s.png">
<p>工业大数据<br>产业创新平台</p>
</div>
<div class="tab-box">
<p>食品工业互联网<br>公共服务平台</p>
</a>
<a class="tab-box" href="#/public/platform">
<div class="box-pic">
<img style="margin-top:15px;" src="../../assets/home/gengduo.png">
</div>
<p>更多</p>
</div>
</a>
</div>
<br><br><br>
</div>
</div>
</div>
@ -180,22 +189,10 @@ export default {
name:'home',
data(){
return {
carouselPicList:[
// require('../../assets/home/carousel-1.png'),
// require('../../assets/home/carousel-2.png'),
// require('../../assets/home/carousel-3.png'),
],
carouselPicList:[],
newsList:[],
informationList:[],
noticeList:[ //
// {sendtime:'2020-05-10',title:'',content:' '},
// {sendtime:'2020-05-09',title:'20192019',content:' '},
// {sendtime:'2020-05-08',title:'2020',content:'2020 '},
// {sendtime:'2020-05-07',title:' 5G+',content:' 广'},
// {sendtime:'2020-05-08',title:'',content:' '},
// {sendtime:'2020-05-07',title:' 2018',content:'2019 2019772019'},
// {sendtime:'2020-06-07',title:'ssssssssssssssss 2018',content:'2019 2019772019'},
],
noticeList:[],
}
},
mounted(){
@ -221,9 +218,9 @@ export default {
initNewsOrInformation(type){
let newsParams = {
"pageNum": 1,
"pageSize": 13,
"pageSize": 8,
"search": {
"type": type //
"type": type // or
},
"sort": ""
}
@ -246,6 +243,9 @@ export default {
this.informationList = res.data.list
})
},
showNoticeDetail(item){
this.$router.push({name:'noticeShow',query:{'id':item.id,'title':item.topicTypeText}})
},
changeTitleBox(e,type){
let aDoc = document.getElementsByName("title-box")
for (let i = 0; i < aDoc.length; i++) {
@ -255,6 +255,9 @@ export default {
e.currentTarget.className = "title-box is-active"
// e.target.className = "title-box is-active"
this.initNewsOrInformation(type)
},
jump(){
this.$router.push({name:'electronicMeetings'})
}
}
@ -265,12 +268,13 @@ export default {
position: relative;
width: 1200px;
margin: 0 auto;
padding: 30px 0;
padding: 40px 0 0;
}
.block1 {
position: relative;
width:100%;
background: linear-gradient(180deg, #01496E, #1B5C7D);
// background: linear-gradient(180deg, #01496E, #1B5C7D);
background-color:#F3F3F3;
.block1-carousel {
position: relative;
display: inline-block;
@ -283,7 +287,7 @@ export default {
height: 100%;
left: 0;
top: 0;
padding: 230px 80px 20px;
padding: 200px 80px 20px;
color: #fff;
background: rgba(0,0,0,.5);
}
@ -299,8 +303,8 @@ export default {
width: 100%;
padding: 20px;
height: 394px;
color: #646464;
background: #fff;
color: #fff;
background: url('../../assets/home/about-bg.png')
}
.other-box {
position: relative;
@ -333,12 +337,12 @@ export default {
.block2 {
position: relative;
width: 100%;
background: #F3F3F3;
background-color:#F3F3F3;
.left-box {
position: relative;
display: inline-block;
vertical-align: top;
width: 200px;
width: 240px;
height: 400px;
z-index: 10;
}
@ -346,7 +350,7 @@ export default {
position: relative;
vertical-align: top;
display: inline-block;
width: 1000px;
width: 960px;
height: 400px;
background: #fff;
z-index: 5;
@ -362,12 +366,12 @@ export default {
.title-box {
position: relative;
cursor: pointer;
text-align: center;
// text-align: center;
padding: 15px;
width: 200px;
width: 100%;
height: 200px;
color: #FFFFFF;
background: #8D8D8D;
background-color: #8D8D8D;
&::after {
content: " ";
position: absolute;
@ -375,12 +379,28 @@ export default {
height: 15px;
right: -8px;
top: 50%;
background: #8D8D8D;
background-color: #8D8D8D;
transform: translateY(-50%) rotate(45deg);
}
}
.dongtai {
position: relative;
width: 100%;
height: 100%;
background-image: url('../../assets/home/dongtai.png');
background-repeat: no-repeat;
background-position: 100% 100%;
}
.zixun {
position: relative;
width: 100%;
height: 100%;
background-image: url('../../assets/home/zixun.png');
background-repeat: no-repeat;
background-position: 100% 100%;
}
.is-active {
background: #01496E !important;
background-color: #01496E !important;
&::after {
content: " ";
position: absolute;
@ -389,12 +409,13 @@ export default {
right: -8px;
top: 50%;
transform: translateY(-50%) rotate(45deg);
background: #01496E !important;
background-color: #01496E !important;
}
}
.meeting {
position: relative;
display: inline-block;
cursor: pointer;
width: calc(50% - 15px);
height: 220px;
color: #fff;
@ -409,11 +430,11 @@ export default {
top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
background: rgba(0,0,0,0.2);
}
&:hover {
&:after {
background: rgba(0,0,0,0.2);
background: rgba(0,0,0,0);
}
}
}
@ -429,11 +450,12 @@ export default {
.block3 {
position: relative;
width: 100%;
background-color:#F3F3F3;
.tab-box {
position: relative;
display: inline-block;
width: calc(25% - 15px);
height: 175px;
height: 245px;
margin-right: 20px;
padding: 15px 40px;
color: #fff;
@ -445,15 +467,17 @@ export default {
position: absolute;
left: 0;
top: 0;
width: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
background: rgba(0,0,0,0.6);
transition:none;
// z-index: 5;
}
&:hover {
&:after {
width: 100%;
// width: 0;
background: rgba(0,0,0,0.4);
transition: All 0.3s ease-in-out;
}
}
@ -484,11 +508,12 @@ export default {
.block4 {
position: relative;
width: 100%;
background-color:#F3F3F3;
.tab-box {
position: relative;
display: inline-block;
vertical-align: top;
width:200px;
width:300px;
height: 200px;
padding:40px 20px;
color: #fff;
@ -520,12 +545,19 @@ export default {
}
.title-0 {
position: relative;
text-align: center;
text-align: left;
font-size: 34px;
font-family: Microsoft YaHei;
font-weight: bold;
line-height: 51px;
}
.title-0-en {
position: absolute;
right: 0;
bottom: 0;
font-size: 22px;
opacity: 0.4;
}
.title-1 {
position: relative;
display: inline-block;
@ -542,7 +574,7 @@ export default {
bottom: 0px;
width: 50px;
height: 4px;
background: #d1d1d1;
background: #fff;
transition: All 0.3s ease-in-out;
}
&:hover {
@ -553,8 +585,8 @@ export default {
}
.content {
position: relative;
line-height: 30px;
font-size: 14px;
line-height: 25px;
font-size: 12px;
// color: rgba(255,255,255,0.8);
}
.mybutton-1 {
@ -576,9 +608,9 @@ export default {
.bottom-line {
position: absolute;
bottom: -26px;
left: 50%;
transform: translateX(-50%);
width: 50px;
left: 0;
// transform: translateX(-50%);
width: 140px;
height: 4px;
border: 2px solid;
z-index: 10;
@ -590,7 +622,8 @@ export default {
color: #999999;
font-family:PingFang SC;
border-bottom: 1px dotted #dcdcdc;
margin: 10px 30px;
// margin: 10px 30px;
margin: 0 30px;
.date-block {
position: relative;
display: inline-block;
@ -607,15 +640,26 @@ export default {
width: calc(100% - 90px);
height: 46px;
padding: 0 15px;
&::before {
content: " ";
position: absolute;
top: 28%;
left: -10px;
width: 6px;
height: 6px;
background: #8D8D8D;
border-radius: 50%;
// &::before {
// content: " ";
// position: absolute;
// top: 28%;
// left: -10px;
// width: 6px;
// height: 6px;
// background: #8D8D8D;
// border-radius: 50%;
// }
.content-type-box {
position: relative;
display: inline-block;
width: 70px;
text-align: center;
background-color: #0077A2;
padding: 2px 9px;
margin-right: 10px;
color: #fff;
font-size: 12px;
}
}
.content-block-first {
@ -626,13 +670,17 @@ export default {
padding: 0 15px;
}
.text-date {
position: relative;
display: inline-block;
height: 46px;
line-height: 46px;
text-align: center;
font-size: 14px;
vertical-align: super;
vertical-align: top;
}
.text-title {
font-size: 18px;
margin: 6px 0;
padding: 13px 0;
font-weight:500;
color: #666666;
white-space: nowrap;
@ -647,8 +695,59 @@ export default {
-webkit-box-orient: vertical;
}
&:hover {
.text-title {
color: #3893c7;
background: #01496E;
.text-title,.text-content,.text-date {
color: #fff;
}
}
}
.notice-list2 {
position: relative;
background-color: rgba(255,255,255,0);
cursor: pointer;
color: #999999;
font-family:PingFang SC;
border-bottom: 1px dotted #dcdcdc;
margin: 0 10px;
.content-block {
position: relative;
display: inline-block;
width: calc(100% - 90px);
height: 46px;
// padding: 0 15px;
.content-type-box {
position: relative;
display: inline-block;
width: 70px;
text-align: center;
background-color: #0077A2;
padding: 2px 9px;
margin-right: 10px;
color: #fff;
font-size: 12px;
}
}
.text-date {
position: relative;
display: inline-block;
height: 46px;
line-height: 46px;
text-align: center;
font-size: 14px;
vertical-align: top;
}
.text-title {
font-size: 18px;
padding: 13px 0;
font-weight:500;
color: #666666;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&:hover {
.text-title,.text-date {
color: #0077A2;
}
}
}

14
src/views/layout/components/footer.vue

@ -38,18 +38,20 @@
<el-col :span="3">
<br>
</el-col>
<el-col :span="3">
<!-- <el-col :span="3">
<p class="content">AII头条号</p>
<img class="box-pic" src="../../../assets/home/tt.png">
</el-col>
</el-col> -->
<el-col :span="3">
<p class="content">AII微信公众号</p>
<p class="content">CFIIS微信公众号</p>
<img class="box-pic" src="../../../assets/home/ewm.png">
</el-col>
</el-row>
</div>
<p class="copyright">
京ICP备09013372号-15 工业互联网产业联盟版权所有 技术支持福通互联
京ICP备09014127号-2 中国食品工业互联网产业联盟版权所有 技术支持
<a target="_bank" href="http://www.fatoan.com/">福通互联</a>
</p>
</div>
</template>
@ -59,6 +61,10 @@ export default {
}
</script>
<style lang="scss" scoped>
.box-pic {
width: 100px;
height: 100px;
}
.footer-block {
position: relative;
padding: 0;

9
src/views/layout/components/header.vue

@ -70,7 +70,7 @@
<div v-else style="width:100%;box-shadow: 0px 3px 7px 0px #DADADA;">
<div class="header-content">
<a class="el-icon-search" style="line-height: 84px;" title="文章查询" @click="search"></a>
<el-input placeholder="请输入内容" v-model="sSearch" style="width:calc(100% - 40px);padding:0 30px;" @keyup.enter.native="search"></el-input>
<el-input placeholder="请输入标题内容" v-model="sSearch" style="width:calc(100% - 40px);padding:0 30px;" @keyup.enter.native="search"></el-input>
<a class="el-icon-close" title="关闭" @click="closeSearch"></a>
</div>
</div>
@ -115,13 +115,16 @@ export default {
},
methods:{
search(){
if(this.sSearch != '')
{
this.$router.push({name:'search',query:{'s':this.sSearch}})
}
},
jumpRouter(item,title)
{
if(item.meta.typeId)
{
this.$router.push({name:'noticeShow',query:{'id':item.meta.typeId,'title':title}})
this.$router.push({name:'noticeShow',query:{'type':item.meta.typeId,'title':title}})
} else {
this.$router.push({name:item.name})
}

2
src/views/login/register.vue

@ -535,7 +535,7 @@ export default {
let param = JSON.parse(JSON.stringify(this.form))
param.password = this.$md5(param.password)
param.confirmPassword = this.$md5(param.confirmPassword)
registerUser(this.form).then(res => {
registerUser(param).then(res => {
this.$message({
message: '注册成功!',
type: 'success'

47
src/views/meeting/news.vue

@ -1,10 +1,17 @@
<template>
<div class="app-container">
<img class="banner-bg" :src="_getImage('互联网大会','top-banner.jpg')"/>
<div class="banner-box">
<img class="banner-bg" :src="_getImage('互联网大会','top-banner.jpg')"/>
<div class="banner-content">
<p class="mytitle">{{noticeList.length>0? noticeList[0].title :''}}</p>
<p class="description">{{noticeList.length>0? noticeList[0].description :''}}</p>
</div>
</div>
<br><br><br>
<span class="title">大会新闻</span>
<el-divider></el-divider>
<div class="notice-list" v-for="(item,index) in noticeList.slice(0,4)" :key="index">
<div class="notice-list" v-for="(item,index) in noticeList" :key="index" @click="showNoticeDetail(item)">
<div class="content-block">
<p class="text-title" style="font-size:14px;"><span style="color:#01496E;"></span>{{item.title}}</p>
</div>
@ -13,6 +20,7 @@
<el-pagination
layout="prev, pager, next"
:current-page.sync="currentPage"
@current-change="handleCurrentChange"
:page-size="10"
:total="total">
</el-pagination>
@ -48,15 +56,48 @@ export default {
this.noticeList = res.data.list
this.total = res.data.count
})
},
showNoticeDetail(item){
this.$router.push({name:'noticeShow',query:{'id':item.id,'title':item.topicTypeText}})
},
//
handleCurrentChange(val) {
this.currentPage = val
this.initData()
}
}
};
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
.banner-bg {
.banner-box {
position: relative;
width: 100%;
height: 300px;
padding: 70px;
.banner-bg {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.banner-content {
position: relative;
margin: 10px;
color: #000;
text-align: center;
.mytitle {
font-size: 28px;
font-weight: 600;
line-height: 60px;
}
.description {
font-size: 16px;
line-height: 30px;
}
}
}
.title {
position: relative;
color: #1e50ae;

21
src/views/notice/noticeShow.vue

@ -5,7 +5,8 @@
<div class="app-container">
<h2 class="text-center">{{noticeTitle}}</h2>
<p v-if="source" class="text-center font-size-13"><br>
<span style="margin-right:30px;">发布于{{issueStartTime}}</span>来源
<span style="margin-right:30px;">发布于{{issueStartTime}}</span>
来源
<span style="color:#8a8a8a;">{{source}}</span>
</p>
<el-divider></el-divider>
@ -24,6 +25,7 @@ export default {
data(){
return {
ID: this.$route.query.id || '',
titleType: this.$route.query.type || '',
content:``,
// title:this.$route.query.title || '',
noticeTitle:'',
@ -44,15 +46,15 @@ export default {
this.initData()
},
methods:{
//id
//type
initData() {
if(this.ID)
if(this.titleType)
{
let params = {
"pageNum": 1,
"pageSize": 1,
"search": {
"type": this.ID
"type": this.titleType
},
"sort": ""
}
@ -69,13 +71,22 @@ export default {
})
}
})
} else if (this.ID) {
getNoticeInfo(this.ID).then(res => {
if (res.data) {
this.content = res.data.content
this.noticeTitle = res.data.title
this.source = res.data.source
this.issueStartTime = res.data.issueStartTime
}
})
}
},
resetDara(){
this.ID = this.$route.query.id || '',
this.content = ``,
// this.title = this.$route.query.title || '',
this.titleType = this.$route.query.type || '',
this.noticeTitle = '',
this.source = ''
this.issueStartTime = ""

48
src/views/public/platform.vue

@ -1,15 +1,15 @@
<template>
<div class="app-container">
<p class="title">平台</p>
<div class="platform-box platform-bg-1">
<a class="title-1" style="z-index:1000;" target="_blank" href="http://wwww.ftiia.com/">食品行业工业互联网标识解析二级节点</a>
</div>
<div class="platform-box platform-bg-2">
<a class="title-1" style="z-index:1000;" target="_blank" href="">食品工业智能制造平台</a>
</div>
<div class="platform-box platform-bg-1">
<a class="title-1" style="z-index:1000;" target="_blank" href="http://platform.ftiia.com/">工业互联网公共服务平台</a>
</div>
<a class="platform-box platform-bg-1" target="_blank" href="http://www.ftiia.com/">
<a class="title-1" style="z-index:1000;">工业互联网标识解析食品行业二级节点</a>
</a>
<a class="platform-box platform-bg-2">
<a class="title-1" style="z-index:1000;">食品工业智能制造平台</a>
</a>
<a class="platform-box platform-bg-3" target="_blank" href="http://platform.ftiia.com/">
<a class="title-1" style="z-index:1000;">食品工业互联网公共服务平台</a>
</a>
</div>
</template>
<script>
@ -34,13 +34,26 @@ export default {
margin: 15px 0;
font-size: 28px;
color: #000;
font-weight: 600;
padding-left: 70px;
&::before {
content: " ";
position: absolute;
display: inline-block;
left: 0;
top: 5px;
width: 50px;
height:50px;
background: url('../../assets/public/platform-logo.png') no-repeat;
background-size: 100% 100%;
}
}
.title-1 {
position: relative;
display: inline-block;
cursor: pointer;
height: 60px;
line-height: 60px;
line-height: 40px;
margin: 15px 0;
font-size: 24px;
// color: #fff;
@ -50,9 +63,10 @@ export default {
display: inline-block;
cursor: pointer;
vertical-align: top;
width: 320px;
width: 350px;
height: 330px;
margin-right: 20px;
margin-bottom: 20px;
padding: 15px 40px;
color: #fff;
&:last-child {
@ -63,7 +77,7 @@ export default {
position: absolute;
left: 0;
top: 0;
width: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
transition:none;
@ -71,17 +85,21 @@ export default {
}
&:hover {
&:after {
width: 100%;
background: rgba(0,0,0,0.2);
transition: All 0.3s ease-in-out;
}
}
}
.platform-bg-1 {
background: url('../../assets/public/platform-1.jpg') no-repeat;
background-size: 100% 100%;
background-size: auto 100%;
}
.platform-bg-2 {
background: url('../../assets/public/platform-2.jpg') no-repeat;
background-size: 100% 100%;
background-size: auto 100%;
}
.platform-bg-3 {
background: url('../../assets/public/platform-3.jpg') no-repeat;
background-size: auto 100%;
}
</style>

55
src/views/search/index.vue

@ -3,15 +3,16 @@
<div class="app-main">
<p class="font-size-24 font-weight-bold line-height-2em">查询结果</p>
<el-divider></el-divider>
<div class="notice-list" v-for="(item,index) in noticeList.slice(0,10)" :key="index">
<div class="notice-list" v-for="(item,index) in noticeList" :key="index" @click="showNoticeDetail(item)">
<div class="content-block">
<p class="text-title" style="font-size:14px;"><span style="color:#01496E;">白皮书</span>{{item.title}}</p>
<p class="text-title" style="font-size:14px;"><span style="color:#01496E;"></span>{{item.title}}</p>
</div>
<span class="text-date">{{item.sendtime}}</span>
</div>
<el-pagination
layout="prev, pager, next"
:current-page.sync="currentPage"
@current-change="handleCurrentChange"
:page-size="10"
:total="total">
</el-pagination>
@ -19,28 +20,56 @@
</div>
</template>
<script>
import {getNoticeList} from "@/api/notice.js"
export default {
name:"search",
data(){
return {
noticeList:[
{sendtime:'2020-05-10',title:'工业和信息化部办公厅关于推动工业互联网加快发展工业和信息化部办公厅关于推动工业互联网加快发展',content:'各省、自治区、直辖市及计划单列市、新疆生产建设兵团工业和信息化主 管部门,各省、自治区、直辖市通信管理局,中国电信集团有限公司。'},
{sendtime:'2020-05-09',title:'工业和信息化部办公厅关于公布2019年工业互联网试2019年工业互联网试',content:'各省、自治区、直辖市及计划单列市工业和信息化主管部门,各省、自治区 、直辖市通信管理局,各有关单位。'},
{sendtime:'2020-05-08',title:'北京市经济和信息化局关于开展2020年工信部工业互',content:'各有关单位:根据工信部及我局工作安排,现将2020年工信部工业互联网 创新发展工程项目(以下简称“项目”)有关工作通知如下。'},
{sendtime:'2020-05-07',title:'江门市工业和信息化局转发关于组织推进 “5G+工业”',content:'各市(含定州、辛集市)工业和信息化局、通信发展管理办公室,中国联通 河北分公司、中国电信河北分公司、中国移动河北分公司、河北广电网络。'},
{sendtime:'2020-05-08',title:'关于进一步加快工业互联网发展的通知',content:'各省、自治区、直辖市及计划单列市工业和信息化主管部门,各省、自治区 、直辖市通信管理局,各有关单位。'},
{sendtime:'2020-05-07',title:'关于天津市钢铁、水泥企业 2018年度工序单位产品',content:'按照工业和信息化部《2019年工业节能监察重点工作计划》(工信部节函 〔2019〕77号)和《关于下达2019年国家重大工业节能监察任务及经费。'},
{sendtime:'2020-06-07',title:'ssssssssssssssss 2018年度工序单位产品',content:'按照工业和信息化部《2019年工业节能监察重点工作计划》(工信部节函 〔2019〕77号)和《关于下达2019年国家重大工业节能监察任务及经费。'},
],
sSearch:this.$route.query.s || '',
noticeList:[],
currentPage:1,
total:0
}
},
watch:{
'$route'(to,from){
this.resetDara()
this.initSearchList()
}
},
mounted(){
this.initSearchList()
},
methods:{
initSearchList(type){
let params = {
"pageNum": this.currentPage,
"pageSize": 10,
"search": {
'title':this.sSearch.trim()
},
"sort": ""
}
getNoticeList(params).then(res => {
if(res.data && res.data.list.length > 0)
this.noticeList = res.data.list
this.total = res.data.count
})
},
showNoticeDetail(item){
this.$router.push({name:'noticeShow',query:{'id':item.id,'title':item.topicTypeText}})
},
resetDara(){
this.sSearch = this.$route.query.s || '',
this.noticeList = [],
this.currentPage = 1,
this.total = 0
},
//
handleCurrentChange(val) {
this.currentPage = val
this.initSearchList()
}
}
}
</script>

Loading…
Cancel
Save