wangqing 4 years ago
parent
commit
fb2a80ff99
  1. BIN
      src/assets/images/official/heade-background.png
  2. 2
      src/router/modules/root.js
  3. 25
      src/views/official/index.vue
  4. 2
      src/views/official/oldIndex.vue
  5. 11510
      yarn.lock

BIN
src/assets/images/official/heade-background.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 488 KiB

After

Width:  |  Height:  |  Size: 536 KiB

2
src/router/modules/root.js

@ -17,7 +17,7 @@ export default [
{ {
path: '/', path: '/',
meta: {requireLogin: false}, meta: {requireLogin: false},
component: () => import(/* webpackChunkName: 'root' */ '@/views/official/index.vue'), component: () => import(/* webpackChunkName: 'root' */ '@/views/official/oldIndex.vue'),
children: [ children: [
{ {
path: '', path: '',

25
src/views/official/index.vue

@ -31,14 +31,25 @@ export default {
} }
.header-container { .header-container {
position: relative; position: relative;
height: 500px;
width: 100%;
background: url(~@/assets/images/official/heade-background.png);
background-size: percentage;
//transform: rotate(337deg);
//background: linear-gradient(90deg, #2054f1, #224ef3, #38eaff);
//border-radius: 0 5px 5px 267px;
//background-size: cover;
} }
.background { .background {
position: absolute; //position: absolute;
bottom: -375px; //bottom: -375px;
width: 1920px; //width: 1920px;
height: 847px; //height: 847px;
transform: rotate(337deg); //height: 500px;
background: linear-gradient(90deg, #2054f1, #224ef3, #38eaff); //width: 100%;
border-radius: 0 5px 5px 267px; //transform: rotate(337deg);
//background: linear-gradient(90deg, #2054f1, #224ef3, #38eaff);
//border-radius: 0 5px 5px 267px;
//background-size: cover;
} }
</style> </style>

2
src/views/official/oldIndex.vue

@ -11,7 +11,7 @@
active-text-color="#205BB5" active-text-color="#205BB5"
@select="activeMenuHandle" @select="activeMenuHandle"
> >
<el-menu-item v-for="(item, index) in menuRouters" :key="oldIndex" :index="item.routerPath" <el-menu-item v-for="(item, index) in menuRouters" :key="index" :index="item.routerPath"
:route="item.routerPath" class="menu-item" :route="item.routerPath" class="menu-item"
> >
{{ item.title }} {{ item.title }}

11510
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save