diff --git a/src/assets/images/about/1.png b/src/assets/images/about/1.png new file mode 100644 index 0000000..d6c4bab Binary files /dev/null and b/src/assets/images/about/1.png differ diff --git a/src/assets/images/about/10.png b/src/assets/images/about/10.png new file mode 100644 index 0000000..a617279 Binary files /dev/null and b/src/assets/images/about/10.png differ diff --git a/src/assets/images/about/11.png b/src/assets/images/about/11.png new file mode 100644 index 0000000..afc900d Binary files /dev/null and b/src/assets/images/about/11.png differ diff --git a/src/assets/images/about/12.png b/src/assets/images/about/12.png new file mode 100644 index 0000000..4f68fe3 Binary files /dev/null and b/src/assets/images/about/12.png differ diff --git a/src/assets/images/about/2.png b/src/assets/images/about/2.png new file mode 100644 index 0000000..100e662 Binary files /dev/null and b/src/assets/images/about/2.png differ diff --git a/src/assets/images/about/3.png b/src/assets/images/about/3.png new file mode 100644 index 0000000..9ed56da Binary files /dev/null and b/src/assets/images/about/3.png differ diff --git a/src/assets/images/about/4.png b/src/assets/images/about/4.png new file mode 100644 index 0000000..7982688 Binary files /dev/null and b/src/assets/images/about/4.png differ diff --git a/src/assets/images/about/5.png b/src/assets/images/about/5.png new file mode 100644 index 0000000..d9d1dad Binary files /dev/null and b/src/assets/images/about/5.png differ diff --git a/src/assets/images/about/6.png b/src/assets/images/about/6.png new file mode 100644 index 0000000..3c8389b Binary files /dev/null and b/src/assets/images/about/6.png differ diff --git a/src/assets/images/about/7.png b/src/assets/images/about/7.png new file mode 100644 index 0000000..2034a43 Binary files /dev/null and b/src/assets/images/about/7.png differ diff --git a/src/assets/images/about/8.png b/src/assets/images/about/8.png new file mode 100644 index 0000000..9d7376a Binary files /dev/null and b/src/assets/images/about/8.png differ diff --git a/src/assets/images/about/9.png b/src/assets/images/about/9.png new file mode 100644 index 0000000..68dc21b Binary files /dev/null and b/src/assets/images/about/9.png differ diff --git a/src/assets/images/arrow-white.png b/src/assets/images/arrow-white.png new file mode 100644 index 0000000..9cfaa21 Binary files /dev/null and b/src/assets/images/arrow-white.png differ diff --git a/src/assets/images/channel/arrow.png b/src/assets/images/arrow.png similarity index 100% rename from src/assets/images/channel/arrow.png rename to src/assets/images/arrow.png diff --git a/src/assets/images/page/about.png b/src/assets/images/page/about.png new file mode 100644 index 0000000..408f83e Binary files /dev/null and b/src/assets/images/page/about.png differ diff --git a/src/assets/images/page/careers.png b/src/assets/images/page/careers.png new file mode 100644 index 0000000..f6383a6 Binary files /dev/null and b/src/assets/images/page/careers.png differ diff --git a/src/assets/images/page/home.png b/src/assets/images/page/home.png new file mode 100644 index 0000000..2b3c4d4 Binary files /dev/null and b/src/assets/images/page/home.png differ diff --git a/src/components/modules/content.vue b/src/components/modules/content.vue index 0642fb2..5855307 100644 --- a/src/components/modules/content.vue +++ b/src/components/modules/content.vue @@ -39,12 +39,13 @@ 确定 - + + + \ No newline at end of file diff --git a/src/pages/column/page/index.vue b/src/pages/column/page/home.vue similarity index 79% rename from src/pages/column/page/index.vue rename to src/pages/column/page/home.vue index 855e817..93bc8a3 100644 --- a/src/pages/column/page/index.vue +++ b/src/pages/column/page/home.vue @@ -31,7 +31,7 @@
{{ modules[2].form.title || 'Shenzhen Innovation Lightsource Facility ' }}

{{ modules[2].form.des || 'The Shenzhen synchrotron radiation facility has a fourth-generation diffraction-limited storage ring with an electron energy of 3 GeV at a low emittance of 50-150 pm·rad, and it provides photons with broad range energy from 4 meV to 160 keV.' }}

- +
点击更改图片、标题概述与链接
@@ -40,7 +40,7 @@
{{ modules[3].form.title || 'Shenzhen Innovation Lightsource Facility ' }}

{{ modules[3].form.des || 'The Shenzhen synchrotron radiation facility has a fourth-generation diffraction-limited storage ring with an electron energy of 3 GeV at a low emittance of 50-150 pm·rad, and it provides photons with broad range energy from 4 meV to 160 keV.' }}

- +
点击更改图片、标题概述与链接
@@ -122,7 +122,7 @@
{{ item.title || 'Shenzhen Innovation Lightsource Facility ' }}

{{ item.des || 'The Shenzhen synchrotron radiation facility has a fourth-generation diffraction-limited storage ring with an electron energy of 3 GeV at a low emittance of 50-150 pm·rad, and it provides photons with broad range energy from 4 meV to 160 keV.' }}

- +
点击更改图片、标题概述与链接
@@ -186,16 +186,11 @@ \ No newline at end of file diff --git a/src/router/modules/column.js b/src/router/modules/column.js index 9b20a3c..df4f9bf 100644 --- a/src/router/modules/column.js +++ b/src/router/modules/column.js @@ -5,31 +5,37 @@ const meta = {} const pre = 'column-' export default { - path: '/column', - name: 'column', - redirect: { - name: `${pre}list` + path: '/column', + name: 'column', + redirect: { + name: `${pre}list` + }, + meta, + component: BasicLayout, + children: [ + { + name: `${pre}list`, + path: `list`, + component: () => import('@/pages/column/list'), + meta: { title: '栏目管理' } }, - meta, - component: BasicLayout, - children: [ - { - name: `${pre}list`, - path: `list`, - component: () => import('@/pages/column/list'), - meta: { title: '栏目管理' } - }, - { - name: `${pre}add`, - path: `add`, - component: () => import('@/pages/column/add/index.vue'), - meta: { title: '添加栏目' } - }, - { - name: `${pre}page`, - path: `page`, - component: () => import('@/pages/column/page/index.vue'), - meta: { title: '页面管理' } - } - ] + { + name: `${pre}add`, + path: `add`, + component: () => import('@/pages/column/add'), + meta: { title: '添加栏目' } + }, + { + name: `${pre}home`, + path: `home`, + component: () => import('@/pages/column/page/home'), + meta: { title: 'HOME' } + }, + { + name: `${pre}about`, + path: `about`, + component: () => import('@/pages/column/page/about'), + meta: { title: 'ABOUT' } + } + ] } diff --git a/src/router/modules/page.js b/src/router/modules/page.js deleted file mode 100644 index 8373090..0000000 --- a/src/router/modules/page.js +++ /dev/null @@ -1,29 +0,0 @@ -import BasicLayout from '@/layouts/home' - -const meta = {} - -const pre = 'page-' - -export default { - path: '/page', - name: 'page', - redirect: { - name: `${pre}list` - }, - meta, - component: BasicLayout, - children: [ - { - name: `${pre}list`, - path: `list`, - component: () => import('@/pages/page/list'), - meta: { title: '页面管理' } - }, - { - name: `${pre}add`, - path: `add`, - component: () => import('@/pages/page/add/index.vue'), - meta: { title: '添加页面' } - } - ] -} diff --git a/src/styles/page/page.scss b/src/styles/page/page.scss new file mode 100644 index 0000000..6d280b1 --- /dev/null +++ b/src/styles/page/page.scss @@ -0,0 +1,157 @@ +.block { + padding: 118px 0; + .b-title { + position: relative; + margin-bottom: 50px; + font-size: 50px; + line-height: 59px; + text-align: center; + color: #1F1F1F; + &:after { + content: ''; + position: absolute; + top: 70px; + left: 50%; + width: 136px; + height: 4px; + transform: translateX(-50%); + background: #1583FF; + } + } + .intro { + margin-bottom: 80px; + font-size: 30px; + text-align: center; + color: #5B5B5E; + line-height: 40px; + } +} +.inner { + width: 1400px; + margin: 0 auto; + &.lg { + width: 1505px; + } +} +.gray { + background-color: #F2F6F8; +} + +.actions { + margin-bottom: 20px; + text-align: right; +} +.c-wrap { + position: relative; +} +.cover { + z-index: 2; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + display: flex; + justify-content: center; + align-items: center; + color: #fff; + background-color: rgba(0, 0, 0, .5); + cursor: pointer; + &:hover { + background-color: rgba(0, 0, 0, .7); + } +} +/deep/.module { + .el-table.module-table td { + .cell { + padding-top: 10px; + } + .link-wrap { + display: flex; + justify-content: space-between; + align-items: center; + } + .set-link { + margin-left: 10px; + } + .del { + margin-left: 5px; + font-size: 18px; + color: #333; + cursor: pointer; + } + } + .plus { + margin-top: 10px; + font-size: 20px; + text-align: center; + color: $main-color; + cursor: pointer; + } +} +$avatar-width: 140px; +$avatar-height: 80px; +/deep/.upload-pic, /deep/.upload-none { + width: $avatar-width; + height: $avatar-height; + margin-bottom: 10px; +} +/deep/.upload-none { + display: flex; + justify-content: center; + align-items: center; + background-color: rgba(0, 0, 0, 0.04); + i { + font-size: 20px; + color: #8c939d; + } +} +/deep/ .uploader { + .el-upload { + position: relative; + width: $avatar-width; + border: 1px dashed #d9d9d9; + border-radius: 2px; + cursor: pointer; + overflow: hidden; + &:hover { + border-color: #409EFF; + } + .uploader-default { + display: flex; + flex-direction: column; + justify-content: center; + width: $avatar-width !important; + height: $avatar-height; + text-align: center; + background: rgba(0, 0, 0, 0.04); + i { + font-size: 20px; + font-weight: bold; + color: #8c939d; + } + p { + margin-top: 10px; + font-size: 14px; + color: rgba(0, 0, 0, 0.65); + line-height: 1; + } + } + .avatar { + display: block; + width: $avatar-width; + height: $avatar-height; + } + } + .el-upload__tip { + margin-top: 0; + p { + font-size: 14px; + color: rgba(0, 0, 0, 0.45); + line-height: 1; + &:first-child { + margin-bottom: 5px; + } + } + } +} \ No newline at end of file