class name update

Former-commit-id: 6575dff60ef12539623ca10538a4c1d318b2d0c2 [formerly 6575dff60ef12539623ca10538a4c1d318b2d0c2 [formerly 6575dff60ef12539623ca10538a4c1d318b2d0c2 [formerly 6575dff60ef12539623ca10538a4c1d318b2d0c2 [formerly 737e1689b63b77e9bdd5969127a5ba6a8492f1d6 [formerly 6d42030028bce82305343d2187730d6991346280]]]]]
Former-commit-id: c5da9af0c5d5794f73c1af3b2133511bf9c18a9d
Former-commit-id: d86c72fa624959de62e73e4042bd9005bd41c741
Former-commit-id: 39d4feab712a438e88397c49d982663a58e4622b [formerly 002a51c90ed72ed063c09fe49db2f13442653a18]
Former-commit-id: 971ed6ed1c8c3143120b3ee7d73f51ea6506ebe9
Former-commit-id: 44748c7f2df42c5573c94e591e4795291558730b
Former-commit-id: 657443430f9ffba9a40a742ddd9d3654efe66e5d
Former-commit-id: b266ca835f80015b5774b534db55eca0a8f54673
Former-commit-id: e654a18e1597499179b6e4b3a42bb620b4b781e5
This commit is contained in:
liyang
2018-08-12 21:46:01 +08:00
parent 6cb06bc648
commit 1e552a8199
5 changed files with 29 additions and 39 deletions

View File

@@ -1,10 +1,10 @@
<template>
<div class="page-cover">
<div class="page-cover__logo">
<div class="d2-page-cover">
<div class="d2-page-cover__logo">
<slot/>
</div>
<p class="page-cover__title">{{title}}</p>
<p class="page-cover__sub-title d2-mt-0">{{subTitle}}</p>
<p class="d2-page-cover__title">{{title}}</p>
<p class="d2-page-cover__sub-title d2-mt-0">{{subTitle}}</p>
<slot name="footer"/>
<a target="blank" href="https://github.com/d2-projects/d2-admin">
<img
@@ -34,29 +34,22 @@ export default {
<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-cover {
.d2-page-cover {
@extend %full;
@extend %unable-select;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
.page-cover__logo {
.d2-page-cover__logo {
img {
width: 200px;
}
}
.page-cover__title {
.d2-page-cover__title {
color: $color-text-main;
}
.page-cover__sub-title {
.d2-page-cover__sub-title {
color: $color-text-sub;
}
}