Skip to content

Commit

Permalink
feat: update home_ui
Browse files Browse the repository at this point in the history
  • Loading branch information
puppetsheep committed Sep 20, 2019
1 parent 134cc5d commit abab6eb
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
Binary file added src/assets/rain_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/layout/components/Footer.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>footer</div>
<div />
</template>
<script>
export default {
Expand Down
2 changes: 1 addition & 1 deletion src/layout/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default {
height: $height;
display: flex;
justify-content: space-between;
background-color: #333;
// background-color: #333;
.ds-logo {
padding: 5px;
.ds-logo-img {
Expand Down
6 changes: 2 additions & 4 deletions src/layout/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="ds-layout">
<div>
<ds-header />
<ds-main />
<ds-footer />
Expand All @@ -23,7 +23,5 @@ export default {
}
</script>
<style lang="scss" scoped>
.ds-layout {
background-color: #333;
}
</style>
3 changes: 2 additions & 1 deletion src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ body {
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
background-color: #333;
// background-color: #333;
background-image: url(../assets/rain_bg.png);
}

label {
Expand Down
6 changes: 3 additions & 3 deletions src/views/home/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ export default {
<style lang="scss" scoped>
@import '@/styles/mixin.scss';
$bgColor: rgb(51, 51, 51);
// $bgColor: rgba(51, 51, 51, 0.1);
$fontColor1: rgb(56, 186, 238);
$fontColor2: rgb(255, 240, 1);
$poemColor: #bbb;
$poemColor: #cccccc;
.content {
padding-top: 100px;
background: $bgColor;
// background: $bgColor;
display: flex;
flex-direction: column;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion src/views/team/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>Team</div>
<div />
</template>
<script>
export default {
Expand Down

0 comments on commit abab6eb

Please sign in to comment.