Former-commit-id: e2bfcb0f40765724b17e13056e8293ec271efefb [formerly e2bfcb0f40765724b17e13056e8293ec271efefb [formerly e2bfcb0f40765724b17e13056e8293ec271efefb [formerly e2bfcb0f40765724b17e13056e8293ec271efefb [formerly 5793d72d458b7eeaf28a097d026168cebc9fc256 [formerly 9c8de3644bd40a55711e618742e29cce390e4c5f]]]]]
Former-commit-id: 05ca3c8da65f8583c142720628aa6ea71d2dbf45
Former-commit-id: 7a4d2fba696e901db86071ea2810e9c932c976ad
Former-commit-id: c18d3689200ca0e528fbf9bf171f6e1b50131bc3 [formerly 455e9952ca890cd8ad882250cfb9eabd944d44ee]
Former-commit-id: 021fa8191681fe4f22e9a9f40389831a847e9066
Former-commit-id: 1022b7792417ce366901b9d5284762a015dd6d26
Former-commit-id: bed799410be508713cac76b7c8cf02d4457fe996
Former-commit-id: f6787cfaac3404132ad1011e2707e08484708ca9
Former-commit-id: 7a8a3baca9ef30393744fd56def6d608b51dcddd
This commit is contained in:
liyang
2018-07-16 10:43:14 +08:00
parent c53973a35f
commit 1d310c9c7d
496 changed files with 3 additions and 23673 deletions

View File

@@ -1,32 +0,0 @@
<template>
<el-button-group>
<el-button v-if="title" size="mini" @click="$open(link)">{{title}}</el-button>
<el-button size="mini" @click="$open(link)">
<d2-icon :name="icon"/>
{{link}}
</el-button>
</el-button-group>
</template>
<script>
export default {
name: 'd2-demo-link-btn',
props: {
title: {
type: String,
required: false,
default: ''
},
icon: {
type: String,
required: false,
default: 'link'
},
link: {
type: String,
required: false,
default: 'https://github.com/d2-projects'
}
}
}
</script>

View File

@@ -1,61 +0,0 @@
<template>
<div class="page-index-article-body">
<div class="page-index-article-body__logo">
<slot/>
</div>
<p class="page-index-article-body__title">{{title}}</p>
<p class="page-index-article-body__sub-title d2-mt-0">{{subTitle}}</p>
<a target="blank" href="https://github.com/d2-projects/d2-admin">
<img
style="position: absolute; top: 0; right: 0; border: 0; width: 130px;"
:src="`${$assetsPublicPath}static/image/icon/github/forkme@2x.png`"
alt="Fork me on GitHub">
</a>
</div>
</template>
<script>
export default {
props: {
title: {
type: String,
required: false,
default: 'Title'
},
subTitle: {
type: String,
required: false,
default: 'subTitle'
}
}
}
</script>
<style lang="scss" scoped>
@import '~@/assets/style/public.scss';
.page-index-article-header {
overflow: hidden;
.page-index-article-header__title {
display: inline-block;
padding: 12px 20px;
}
}
.page-index-article-body {
@extend %full;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
.page-index-article-body__logo {
img {
width: 200px;
}
}
.page-index-article-body__title {
color: $color-text-main;
}
.page-index-article-body__sub-title {
color: $color-text-sub;
}
}
</style>

View File

@@ -1,19 +0,0 @@
<template>
<div class="d2-clearfix">
<span v-if="title" class="d2-fl">{{title}}</span>
<span class="d2-fr"></span>
</div>
</template>
<script>
export default {
name: 'd2-demo-page-header',
props: {
title: {
type: String,
required: false,
default: ''
}
}
}
</script>

View File

@@ -1,7 +0,0 @@
import Vue from 'vue'
import d2DemoLinkBtn from '@/components/demo/d2-demo-link-btn'
Vue.component('d2-demo-link-btn', d2DemoLinkBtn)
Vue.component('d2-demo-page-header', () => import('@/components/demo/d2-demo-page-header'))
Vue.component('d2-demo-page-cover', () => import('@/components/demo/d2-demo-page-cover'))