diff --git a/src/assets/reception/department-bkg.png b/src/assets/reception/department-bkg.png new file mode 100644 index 0000000..6797c00 Binary files /dev/null and b/src/assets/reception/department-bkg.png differ diff --git a/src/assets/reception/department-item1.png b/src/assets/reception/department-item1.png new file mode 100644 index 0000000..eb43d72 Binary files /dev/null and b/src/assets/reception/department-item1.png differ diff --git a/src/assets/reception/history-icon.png b/src/assets/reception/history-icon.png new file mode 100644 index 0000000..e218bcc Binary files /dev/null and b/src/assets/reception/history-icon.png differ diff --git a/src/assets/reception/icon-light.png b/src/assets/reception/icon-light.png new file mode 100644 index 0000000..3424395 Binary files /dev/null and b/src/assets/reception/icon-light.png differ diff --git a/src/components/Reception/Footer.vue b/src/components/Reception/Footer.vue index 5bf9f57..8fa7850 100644 --- a/src/components/Reception/Footer.vue +++ b/src/components/Reception/Footer.vue @@ -29,8 +29,6 @@ export default { flex-direction: column; justify-content: center; - - &__copyright { font-size: 13px; line-height: 20px; diff --git a/src/components/Reception/Search.vue b/src/components/Reception/Search.vue index 783981f..8de0abb 100644 --- a/src/components/Reception/Search.vue +++ b/src/components/Reception/Search.vue @@ -1,19 +1,45 @@ @@ -43,7 +86,7 @@ export default { data() { return { selectValue: '搜索内部资料', - inputValue: '' + inputValue: '', } }, methods: {}, @@ -54,7 +97,6 @@ export default { - diff --git a/src/router/index.js b/src/router/index.js index 5919949..04daedf 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -63,6 +63,10 @@ export const constantRoutes = [ { path: 'home', component: () => import('@/views/reception/home') + }, + { + path: 'department', + component: () => import('@/views/reception/department') } ], hidden: true diff --git a/src/views/reception/department/index.vue b/src/views/reception/department/index.vue new file mode 100644 index 0000000..0df43e9 --- /dev/null +++ b/src/views/reception/department/index.vue @@ -0,0 +1,72 @@ + + + + + diff --git a/src/views/reception/home/index.vue b/src/views/reception/home/index.vue index d81d697..e49fadf 100644 --- a/src/views/reception/home/index.vue +++ b/src/views/reception/home/index.vue @@ -9,11 +9,26 @@ @@ -24,21 +39,111 @@ + +
+
+
+
+
部门
+
Department
+
+
+
+ +
+
+
{{item}}
+
+
+
更多...
+
+
+
+ +
+
+ +
标签
+
+ +
+
+
+

{{ item }}

+
+
+ +
+

{{ group.right }}

+
+
+
@@ -95,5 +200,237 @@ export default { margin-left: 10px; } } + + + &__list { + + padding: 34px 0 0 26px; + + &--item { + list-style: none; + display: flex; + align-items: center; + justify-content: space-between; + cursor: pointer; + transition: all .2ms; + + position: relative; + + &:hover { + color: #3c7ac0; + } + & > div { + font-size: 13px; + + &:nth-child(2) { + color: #999999; + } + } + &::before { + content: ""; + width: 6px; + height: 6px; + border-radius: 6px; + background: #cad8e4; + + position: absolute; + top: calc(50% - 3px); + left: -12px; + } + + & + li { + + margin-top: 20px; + } + } + } +} + +.department { + background: url("../../../assets/reception/department-bkg.png") no-repeat center; + background-size: cover; + + margin-top: 37px; + padding: 32px 18.7% 19px 18.7%; + + &__title { + display: flex; + align-items: center; + + + &--linear { + background: #fff; + height: 2px; + flex: 1; + } + &--center { + font-weight: 500; + font-size: 21px; + line-height: 21px; + color: #fff; + text-align: center; + width: 144px; + + margin: 0 14px; + position: relative; + & > div:nth-child(1) { + padding: 2px 0 7px 0; + } + & > div:nth-child(2) { + font-size: 13px; + line-height: 13px; + color: #B6CEF0; + + } + + &::before { + content: ""; + width: 20px; + height: 24px; + border-top: 3px solid #fff; + border-left: 3px solid #fff; + + position: absolute; + top: -3px; + left: -3px; + } + &::after { + content: ""; + width: 20px; + height: 24px; + border-bottom: 3px solid #fff; + border-right: 3px solid #fff; + + position: absolute; + bottom: -3px; + right: -3px; + } + } + } + + &__list { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-items: center; + + margin-top: 41px; + + &--item { + background: #fff; + width: 176px; + height: 80px; + color: #1A5CA3; + font-size: 16px; + line-height: 80px; + text-align: center; + font-weight: 500; + cursor: pointer; + transition: all .2ms; + + margin-bottom: 20px; + + &:hover { + color: #fff; + background: url("../../../assets/reception/department-item1.png") no-repeat 0 0; + background-size: cover; + } + } + } +} + +.label { + display: flex; + justify-content: space-between; + + padding: 42px 18.7% 39px 18.7%; + + & > div:nth-child(1) { + height: 161px; + width: 140px; + background: #F29D5B; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + + & > div { + color: #fff; + font-size: 16px; + font-weight: 500; + + } + } + + &-group { + flex: 1; + display: flex; + + .label-item { + flex: 1; + color: #fff; + font-size: 16px; + text-align: center; + display: flex; + align-items: center; + justify-content: center; + } + &__left--single { + flex: 2.2; + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-content: space-between; + + .single-item { + height: calc(50% - 6px); + + margin-left: 12px; + } + & > div:only-child { + height: 100%; + } + & > div:nth-last-child(1) { + flex-basis: 100%; + + } + } + &__left--complex { + flex: 2.2; + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-content: space-between; + + .complex-item { + height: calc(50% - 6px); + + margin-left: 12px; + } + & > div:only-child { + height: 100%; + } + & > div:nth-child(1) { + flex-basis: 100%; + + } + } + + + &__right { + + margin-left: 12px; + } + } +} + +@media screen and (max-width: 900px) { + .label-item > p { + font-size: 12px; + width: 20px; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + } } diff --git a/src/views/reception/index.vue b/src/views/reception/index.vue index c7afd0c..08d619f 100644 --- a/src/views/reception/index.vue +++ b/src/views/reception/index.vue @@ -1,5 +1,5 @@