add show page

This commit is contained in:
jiaming 2018-12-19 10:33:51 +08:00
parent 0d9ee04e9c
commit 47a70c4c4c
1 changed files with 56 additions and 0 deletions

56
src/views/demo/show.vue Normal file
View File

@ -0,0 +1,56 @@
<template>
<div id="show">
<border-box-7 class="show-item" v-for="show in showData" :key="show.title">
<a :href="show.href" target="_BLANK">{{ show.title }}</a>
</border-box-7>
</div>
</template>
<script>
export default {
name: 'Show',
data () {
return {
showData: [
{
title: '运维管理台',
href: 'http://datav.jiaminghi.com/demo/manage-desk'
},
{
title: '运维电子档案',
href: 'http://datav.jiaminghi.com/demo/electronic-file'
}
]
}
}
}
</script>
<style lang="less">
#show {
.show-item {
width: 60%;
height: 300px;
margin-left: 20%;
margin-bottom: 20px;
text-align: center;
font-size: 100px;
line-height: 300px;
}
a {
position: relative;
color: #fff;
text-decoration: none;
text-shadow: 0 0 10px gray;
z-index: 9;
&:hover,
&:active,
&:visited {
color: #fff;
}
}
}
</style>