@@ -13,7 +13,7 @@ | |||||
left: 50%; | left: 50%; | ||||
transform: translate(-50%, -50%); | transform: translate(-50%, -50%); | ||||
font-size: 40px; | font-size: 40px; | ||||
font-style: italic; | |||||
// font-style: italic; | |||||
font-weight: 600; | font-weight: 600; | ||||
background: linear-gradient(180deg, #FFFFFF 38.330078125%, #99BAEC 100%); | background: linear-gradient(180deg, #FFFFFF 38.330078125%, #99BAEC 100%); | ||||
-webkit-background-clip: text; | -webkit-background-clip: text; | ||||
@@ -0,0 +1,17 @@ | |||||
export default [ | |||||
{ | |||||
icon: require('./1.png'), | |||||
path: '/capital', | |||||
name: '资金一张图' | |||||
}, | |||||
{ | |||||
icon: require('./3.png'), | |||||
path: '/property', | |||||
name: '资产一张图' | |||||
}, | |||||
{ | |||||
icon: require('./2.png'), | |||||
path: '/resources', | |||||
name: '资源一张图' | |||||
} | |||||
] |
@@ -1,3 +1,12 @@ | |||||
<div class="page bk"> | <div class="page bk"> | ||||
导航 | |||||
<Header title="西峡县集体资产监管一张图"> | |||||
</Header> | |||||
<div class="main"> | |||||
<div v-for="item in data" class="item hover_pointer" @click="jump(item)"> | |||||
<img :src="item.icon" alt=""> | |||||
<p class="name">{{item.name}}</p> | |||||
</div> | |||||
</div> | |||||
<div class="left_light"></div> | |||||
<div class="right_light"></div> | |||||
</div> | </div> |
@@ -1,9 +1,12 @@ | |||||
import data from './data.js'; | |||||
import Header from '@/components/header/index.vue'; | |||||
export default { | export default { | ||||
components: { | components: { | ||||
Header | |||||
}, | }, | ||||
data () { | data () { | ||||
return { | return { | ||||
data | |||||
}; | }; | ||||
}, | }, | ||||
computed: { | computed: { | ||||
@@ -13,5 +16,9 @@ export default { | |||||
mounted () { | mounted () { | ||||
}, | }, | ||||
methods: { | methods: { | ||||
jump (info) { | |||||
const { path } = info | |||||
this.$router.push({ path }); | |||||
} | |||||
} | } | ||||
}; | }; |
@@ -0,0 +1,61 @@ | |||||
.bk { | |||||
background: url('./bk.png'); | |||||
background-size: 100% 100%; | |||||
} | |||||
.left_light { | |||||
width: 226px; | |||||
height: 820px; | |||||
position: absolute; | |||||
top: 50%; | |||||
transform: translateY(-50%); | |||||
left: 20px; | |||||
background: url('./left.png'); | |||||
background-size: 100% 100%; | |||||
} | |||||
.right_light { | |||||
width: 226px; | |||||
height: 820px; | |||||
position: absolute; | |||||
top: 50%; | |||||
transform: translateY(-50%) rotate(180deg); | |||||
right: 20px; | |||||
background: url('./left.png'); | |||||
background-size: 100% 100%; | |||||
} | |||||
.main { | |||||
position: absolute; | |||||
left: 50%; | |||||
top: 26%; | |||||
transform: translateX(-50%); | |||||
display: flex; | |||||
} | |||||
.item { | |||||
background: url('./item_bk.png'); | |||||
background-size: 100% 100%; | |||||
width: 421px; | |||||
height: 540px; | |||||
display: flex; | |||||
flex-direction: column; | |||||
align-items: center; | |||||
justify-content: space-evenly; | |||||
img { | |||||
width: 300px; | |||||
height: 320px; | |||||
} | |||||
.name { | |||||
text-shadow: 1px 1px 1px rgba(0, 17, 45, 0.1); | |||||
background: linear-gradient(180deg, #FFFFFF 38.330078125%, #99BAEC 100%); | |||||
-webkit-background-clip: text; | |||||
-webkit-text-fill-color: transparent; | |||||
font-family: Source Han Sans SC; | |||||
font-weight: bold; | |||||
font-size: 36px; | |||||
margin-bottom: 50px; | |||||
} | |||||
} |