-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
244 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
<template> | ||
<div> | ||
<article class="artsColle-item"> | ||
<header> | ||
<div class="info"> | ||
<span>dimpurr</span> | ||
<span>123 篇文章</span> | ||
</div> | ||
<h4>AVG 幕后</h4> | ||
</header> | ||
<ul> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
</ul> | ||
</article> | ||
<article class="artsColle-item"> | ||
<header> | ||
<div class="info"> | ||
<span>dimpurr</span> | ||
<span>123 篇文章</span> | ||
</div> | ||
<h4>AVG 幕后</h4> | ||
</header> | ||
<ul> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
</ul> | ||
</article> | ||
<article class="artsColle-item"> | ||
<header> | ||
<div class="info"> | ||
<span>dimpurr</span> | ||
<span>123 篇文章</span> | ||
</div> | ||
<h4>AVG 幕后</h4> | ||
</header> | ||
<ul> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
</ul> | ||
</article> | ||
<article class="artsColle-item"> | ||
<header> | ||
<div class="info"> | ||
<span>dimpurr</span> | ||
<span>123 篇文章</span> | ||
</div> | ||
<h4>AVG 幕后</h4> | ||
</header> | ||
<ul> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
<li><a href="#">【充满了爱】原创概念性AVG《意识流》中篇标题尽可能的长测试<span class="origin-tag">KeyFC</span></a></li> | ||
</ul> | ||
</article> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
module.exports = { | ||
data: function() { | ||
return { | ||
vue_name: 'm component' | ||
}; | ||
} | ||
}; | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
@import "../../../vars.scss"; | ||
.artsColle-item { | ||
display: inline-block; | ||
width: 300px; | ||
overflow: hidden; | ||
margin: 0 12px; | ||
border: 1px solid $c-border; | ||
box-shadow: 0 0 $size-shadow-item $c-shadow; | ||
background-color: $c-bg-item; | ||
ul { | ||
@include flat-list-ul; | ||
li { | ||
a { | ||
display: block; | ||
max-width: 100%; | ||
box-sizing: border-box; | ||
padding: 10px 6px; | ||
font-size: $size-text-item; | ||
text-decoration: none; | ||
text-overflow: ellipsis; | ||
color: $c-text-item; | ||
border-top: 1px solid $c-border; | ||
&:hover { | ||
background-color: $c-bg-item-hover; | ||
} | ||
.origin-tag { | ||
float: right; | ||
padding: 2px 4px; | ||
background-color: $c-bg-tag; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<template> | ||
<p>I'm {{ vue_name }} !</p> | ||
</template> | ||
|
||
<script> | ||
module.exports = { | ||
data: function() { | ||
return { | ||
vue_name: 'm component' | ||
}; | ||
} | ||
}; | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
p { | ||
color: #00F; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
module.exports = { | ||
data: function() { | ||
return { | ||
vue_name: 'component' | ||
vue_name: 'w component' | ||
}; | ||
} | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,22 @@ | ||
@import "./vars.scss"; | ||
|
||
body { | ||
max-width: 100vw; | ||
overflow-x: hidden; | ||
} | ||
|
||
.ctn { | ||
margin: 0 auto; | ||
padding: 0 10px; | ||
max-width: 900px; | ||
} | ||
|
||
.hor { | ||
overflow-x: scroll; | ||
overflow-y: hidden; | ||
white-space: nowrap; | ||
} | ||
|
||
a { | ||
color: #777; | ||
color: $c-link; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
$c-link: #777; | ||
$c-link-dark: #333; | ||
$c-border: #DDD; | ||
$c-border-light: #EEE; | ||
$c-shadow: #DDD; | ||
$c-text-item: #666; | ||
$c-text-light: #777; | ||
$c-text-lighter: #AAA; | ||
$c-bg-item: #FAFAFA; | ||
$c-bg-item-hover: #FFF; | ||
$c-bg-tag: #DDD; | ||
$size-shadow-item: 20px; | ||
$size-text-item: 14px; | ||
|
||
@mixin flat-list-ul { | ||
// ul { | ||
margin: 0; | ||
padding: 0; | ||
li { | ||
list-style: none; | ||
} | ||
// } | ||
} |