modified
46
src/assets/css/normalize.css
vendored
Executable file
@@ -0,0 +1,46 @@
|
||||
*{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
color: #555;
|
||||
font-family: '微软雅黑';
|
||||
font-weight: 400;
|
||||
}
|
||||
body {
|
||||
margin: 0 auto;
|
||||
/* 最小宽度 */
|
||||
min-width: 320px;
|
||||
/* 最大宽度因为原稿为750px需要把宽度直接限定死*/
|
||||
max-width: 749px;
|
||||
/* 原稿750px flexible把屏幕给我们划分为10等份,转为rem所以是10rem */
|
||||
/* width: 10rem; */
|
||||
}
|
||||
|
||||
/* 如果屏幕超过了750px,那么我们就让他默认为750px,不能超过750px。 */
|
||||
@media screen and (min-width: 750px) {
|
||||
html {
|
||||
font-size: 75px !important;
|
||||
}
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
}
|
||||
ol,ul{
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
/* 单行省略 */
|
||||
.oneEllipsis{
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
word-break: break-all;
|
||||
}
|
||||
/* 多行省略(2行) */
|
||||
.moreEllipsis{
|
||||
word-break: break-all;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
314
src/assets/css/public.scss
Executable file
@@ -0,0 +1,314 @@
|
||||
// 热门版块标签
|
||||
.hot-box {
|
||||
padding: .34rem 0 0.3rem;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
margin: 0 0.35rem;
|
||||
|
||||
.hot-label {
|
||||
border: 0.013333rem solid rgba(215, 215, 215, 1);
|
||||
border-radius: 0.16rem;
|
||||
font-size: 0.3rem;
|
||||
margin: 0 .16rem .24rem 0;
|
||||
padding: 0 0.15rem;
|
||||
height: 0.72rem;
|
||||
line-height: 0.72rem;
|
||||
text-align: center;
|
||||
|
||||
&.active {
|
||||
border: 0.02rem solid #62B1FF;
|
||||
color: #62B1FF;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//路径
|
||||
.path-box {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 1.28rem;
|
||||
line-height: 1.28rem;
|
||||
margin: 0.2rem 0.35rem 0;
|
||||
padding: 0 0.25rem;
|
||||
border-radius: 1.68rem 1.68rem 0 1.68rem;
|
||||
background-color: #fff;
|
||||
font-size: 0.32rem;
|
||||
-webkit-box-shadow: 0 0 0.16rem rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 0 0.16rem rgba(0, 0, 0, 0.1);
|
||||
position: relative;
|
||||
|
||||
div {
|
||||
color: #7F7F7F;
|
||||
max-width: 2.5rem;
|
||||
|
||||
&::before {
|
||||
content: "/";
|
||||
width: 0.2rem;
|
||||
padding: 0 0.07rem;
|
||||
color: #7F7F7F;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
max-width: 50%;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
&:first-child::before {
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
border-top: 0.24rem solid rgba(98, 177, 255, 1);
|
||||
border-left: 0.24rem solid transparent;
|
||||
transform: rotateX(180deg);
|
||||
margin: 0 0.09rem 0.09rem 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//内容层
|
||||
section {
|
||||
padding-top: 0.45rem;
|
||||
margin: 0 0.35rem;
|
||||
}
|
||||
|
||||
//帖子内容层
|
||||
.card-box {
|
||||
background-color: #fff;
|
||||
padding: 0.4rem;
|
||||
border-radius: 0.32rem;
|
||||
box-shadow: 0 0 0.16rem rgba(0, 0, 0, 0.1);
|
||||
margin-bottom: 0.32rem;
|
||||
position: relative;
|
||||
|
||||
// 帖子标题
|
||||
.top {
|
||||
width: 95%;
|
||||
max-height: 1.31rem;
|
||||
text-align: left;
|
||||
|
||||
.top-label {
|
||||
display: inline-block;
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
height: 0.52rem;
|
||||
line-height: 0.52rem;
|
||||
font-size: 0.28rem;
|
||||
border-radius: 0.16rem;
|
||||
padding: 0 0.12rem;
|
||||
margin-right: 0.11rem;
|
||||
}
|
||||
|
||||
.top-title {
|
||||
display: inline;
|
||||
font-size: 0.373333rem;
|
||||
line-height: 0.65rem;
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
|
||||
// 帖子内容
|
||||
.center {
|
||||
padding: 0.3rem 0 0.6rem;
|
||||
|
||||
.center-text {
|
||||
font-size: 0.3rem;
|
||||
color: #7F7F7F;
|
||||
max-height: 1rem;
|
||||
line-height: 0.53rem;
|
||||
}
|
||||
|
||||
// 回复可见
|
||||
.center-text-visible {
|
||||
border-radius: 0.16rem;
|
||||
background-color: rgba(242, 242, 242, 0.7);
|
||||
padding: 0.28rem;
|
||||
text-align: center;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
// 帖子头像、消息、浏览量
|
||||
.bottom {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
|
||||
.bottom-box {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
|
||||
.icon-head {
|
||||
width: 0.64rem;
|
||||
height: 0.64rem;
|
||||
border-radius: 0.32rem;
|
||||
}
|
||||
|
||||
.bottom-name {
|
||||
margin-left: 0.15rem;
|
||||
font-size: 0.32rem;
|
||||
}
|
||||
|
||||
.bottom-right {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
padding-left: 0.25rem;
|
||||
|
||||
&:last-child {
|
||||
margin-left: 0.133333rem;
|
||||
}
|
||||
|
||||
div {
|
||||
margin-left: 0.1rem;
|
||||
font-size: 0.28rem;
|
||||
}
|
||||
|
||||
.icon-look {
|
||||
width: 0.32rem;
|
||||
height: 0.3rem;
|
||||
}
|
||||
|
||||
.icon-msg {
|
||||
width: 0.32rem;
|
||||
height: 0.28rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 精华
|
||||
.rightTop {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
display: block;
|
||||
border-radius: 0.8rem 0.8rem 0 0;
|
||||
width: 0.24rem;
|
||||
height: 0.053333rem;
|
||||
position: absolute;
|
||||
top: -0.053333rem;
|
||||
right: 0.98rem;
|
||||
background: #7474ff;
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
display: block;
|
||||
border-radius: 0 0.11rem 0.11rem 0;
|
||||
width: 0.053333rem;
|
||||
height: 0.24rem;
|
||||
position: absolute;
|
||||
right: -0.053333rem;
|
||||
top: 0.98rem;
|
||||
background: #7474ff;
|
||||
}
|
||||
|
||||
div {
|
||||
overflow: hidden;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
position: absolute;
|
||||
top: -0.09rem;
|
||||
right: -0.09rem;
|
||||
}
|
||||
|
||||
// 丝带
|
||||
span {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
width: 2.5rem;
|
||||
height: 0.45rem;
|
||||
line-height: 0.45rem;
|
||||
font-size: 0.3rem;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
top: 0.25rem;
|
||||
right: -0.8rem;
|
||||
z-index: 2;
|
||||
overflow: hidden;
|
||||
transform: rotate(45deg);
|
||||
-ms-transform: rotate(45deg);
|
||||
-moz-transform: rotate(45deg);
|
||||
-webkit-transform: rotate(45deg);
|
||||
-o-transform: rotate(45deg);
|
||||
box-shadow: 0 0 0.09rem rgba(151, 151, 255, 0.5);
|
||||
background-image: linear-gradient(to bottom right, #7474ff, rgba(190, 190, 255, 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 广告
|
||||
.banner-box {
|
||||
border-radius: 0.32rem;
|
||||
margin-bottom: 0.2rem;
|
||||
|
||||
// 广告图
|
||||
.banner {
|
||||
width: 100%;
|
||||
display: block;
|
||||
border-radius: 0.32rem;
|
||||
}
|
||||
}
|
||||
|
||||
// 分页
|
||||
.paging-box {
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 0.4rem;
|
||||
|
||||
// element组件修改
|
||||
.el-pagination {
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
button {
|
||||
&:disabled {
|
||||
background-color: transparent;
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-next,
|
||||
.btn-prev {
|
||||
background-color: transparent;
|
||||
|
||||
.el-icon {
|
||||
font-size: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.el-pager li {
|
||||
background-color: transparent;
|
||||
font-weight: lighter;
|
||||
min-width: 0.48rem;
|
||||
height: 0.48rem;
|
||||
line-height: 0.48rem;
|
||||
border-radius: 0.4rem;
|
||||
|
||||
&.active {
|
||||
color: #fff;
|
||||
background-color: rgba(98, 177, 255, 1) !important;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
BIN
src/assets/img/allSections/nullStar.png
Executable file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
src/assets/img/allSections/star.png
Executable file
|
After Width: | Height: | Size: 910 B |
BIN
src/assets/img/collect/notCollect.png
Executable file
|
After Width: | Height: | Size: 82 KiB |
6
src/assets/img/headerNav/addyellow.svg
Executable file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="12px" height="12px" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="matrix(1 0 0 1 -3701 -968 )">
|
||||
<path d="M 11.7613636363636 4.60227272727273 C 11.9204545454545 4.76136363636363 12 4.95454545454545 12 5.18181818181818 L 12 6.81818181818182 C 12 7.04545454545455 11.9204545454545 7.23863636363636 11.7613636363636 7.39772727272727 C 11.6022727272727 7.55681818181818 11.4090909090909 7.63636363636364 11.1818181818182 7.63636363636364 L 7.63636363636364 7.63636363636364 L 7.63636363636364 11.1818181818182 C 7.63636363636364 11.4090909090909 7.55681818181818 11.6022727272727 7.39772727272727 11.7613636363636 C 7.23863636363637 11.9204545454545 7.04545454545455 12 6.81818181818182 12 L 5.18181818181818 12 C 4.95454545454546 12 4.76136363636364 11.9204545454545 4.60227272727273 11.7613636363636 C 4.44318181818182 11.6022727272727 4.36363636363636 11.4090909090909 4.36363636363636 11.1818181818182 L 4.36363636363636 7.63636363636364 L 0.818181818181818 7.63636363636364 C 0.590909090909091 7.63636363636364 0.397727272727273 7.55681818181818 0.238636363636364 7.39772727272727 C 0.0795454545454545 7.23863636363636 0 7.04545454545455 0 6.81818181818182 L 0 5.18181818181818 C 0 4.95454545454545 0.0795454545454545 4.76136363636363 0.238636363636364 4.60227272727273 C 0.397727272727273 4.44318181818182 0.590909090909091 4.36363636363636 0.818181818181818 4.36363636363636 L 4.36363636363636 4.36363636363636 L 4.36363636363636 0.818181818181819 C 4.36363636363636 0.59090909090909 4.44318181818182 0.397727272727272 4.60227272727273 0.238636363636364 C 4.76136363636364 0.0795454545454541 4.95454545454546 0 5.18181818181818 0 L 6.81818181818182 0 C 7.04545454545455 0 7.23863636363637 0.0795454545454541 7.39772727272727 0.238636363636364 C 7.55681818181818 0.397727272727272 7.63636363636364 0.59090909090909 7.63636363636364 0.818181818181819 L 7.63636363636364 4.36363636363636 L 11.1818181818182 4.36363636363636 C 11.4090909090909 4.36363636363636 11.6022727272727 4.44318181818182 11.7613636363636 4.60227272727273 Z " fill-rule="nonzero" fill="#000000" stroke="none" transform="matrix(1 0 0 1 3701 968 )" />
|
||||
</g>
|
||||
</svg>
|
||||
11
src/assets/img/headerNav/cross.svg
Executable file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="16px" height="16px" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<filter x="-50.00%" y="-50.00%" width="200.00%" height="200.00%" filterUnits="objectBoundingBox" id="filter207">
|
||||
<feColorMatrix type="matrix" values="1 0 0 0 0.355555555555556 0 1 0 0 0.355555555555556 0 0 1 0 0.355555555555556 0 0 0 1 0 " in="SourceGraphic" />
|
||||
</filter>
|
||||
</defs>
|
||||
<g transform="matrix(1 0 0 1 -4640 -1136 )">
|
||||
<image preserveAspectRatio="none" style="overflow:visible" width="16" height="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAJBQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwyGIIwAAAC90Uk5TABNKPQQKSVMVTO/OIjDc4iMx7esMS+Mk7CrMvgHWGB/f2BoZF8sDIFI7Cbw6PCsDqUolAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAAASAAAAEgARslrPgAAAX9JREFUWMPtlttWwjAQRSOFilVpK1i8gHgDFdH5/78zNaRNmzTJmeWjeZp0rb2TQpM5QvzBOBklY5yapKdTVZ1lROcXKH85I8rS3/UlT5QXGF9e1dR8IctrItygeKJE1okqqVoC+785QrdyMr6DDQ1/v6qnRU7YW+j90/pBPdg8Qnto1n961o8gg4OHDE4eMAzw0YZBPtLg4aMMXj7CEOCDhiAfMETwXkMU7zFE8oOGln8RgmEAeKcB4h0GkLcMMN8zMPiOgcXLe7LShv79B++Btb5twPmugcMbvwOtXzl8+/9BXc/F8wwmzzF0edzQ9s/8WGD5wfh+wc5r8XDvtniGwTp/7PzQfL/M/GB8/6z80Dk/jPzQO39wfrDOL5gfHOcfyg/O+wPIDwP3z39+8Bqi+WB+CPKB/BDBu/ID2j+XTect6ulkBvKGYbuTsxG0fzXe9FuUcvKOrm/u4UPW0wzntaHa13U6J/oEedm7t5I/qHrx9b1CeSF25WGPU/b4AazFu1v2/ZorAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTExLTE0VDE5OjI3OjEzKzA4OjAwWwLoYgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMS0xNFQxOToyNzoxMyswODowMCpfUN4AAABJdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uXzZibmxndG1jdXh0L2d1YW5iaS5zdmeJnhE5AAAAAElFTkSuQmCC" x="4640px" y="1136px" filter="url(#filter207)" />
|
||||
</g>
|
||||
</svg>
|
||||
BIN
src/assets/img/headerNav/information.png
Executable file
|
After Width: | Height: | Size: 1011 B |
BIN
src/assets/img/headerNav/search.png
Executable file
|
After Width: | Height: | Size: 2.4 KiB |
6
src/assets/img/headerNav/threeAcross.svg
Executable file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="20px" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="matrix(1 0 0 1 -460 -76 )">
|
||||
<path d="M 23.703125 16.296875 C 23.9010416666667 16.4947916666667 24 16.7291666666667 24 17 L 24 19 C 24 19.2708333333333 23.9010416666667 19.5052083333333 23.703125 19.703125 C 23.5052083333333 19.9010416666667 23.2708333333333 20 23 20 L 1 20 C 0.729166666666667 20 0.494791666666667 19.9010416666667 0.296875 19.703125 C 0.0989583333333333 19.5052083333333 0 19.2708333333333 0 19 L 0 17 C 0 16.7291666666667 0.0989583333333333 16.4947916666667 0.296875 16.296875 C 0.494791666666667 16.0989583333333 0.729166666666667 16 1 16 L 23 16 C 23.2708333333333 16 23.5052083333333 16.0989583333333 23.703125 16.296875 Z M 23.703125 8.296875 C 23.9010416666667 8.49479166666667 24 8.72916666666667 24 9 L 24 11 C 24 11.2708333333333 23.9010416666667 11.5052083333333 23.703125 11.703125 C 23.5052083333333 11.9010416666667 23.2708333333333 12 23 12 L 1 12 C 0.729166666666667 12 0.494791666666667 11.9010416666667 0.296875 11.703125 C 0.0989583333333333 11.5052083333333 0 11.2708333333333 0 11 L 0 9 C 0 8.72916666666667 0.0989583333333333 8.49479166666667 0.296875 8.296875 C 0.494791666666667 8.09895833333334 0.729166666666667 8 1 8 L 23 8 C 23.2708333333333 8 23.5052083333333 8.09895833333334 23.703125 8.296875 Z M 23.703125 0.296875000000001 C 23.9010416666667 0.494791666666665 24 0.729166666666665 24 1 L 24 3 C 24 3.27083333333333 23.9010416666667 3.50520833333333 23.703125 3.703125 C 23.5052083333333 3.90104166666666 23.2708333333333 4 23 4 L 1 4 C 0.729166666666667 4 0.494791666666667 3.90104166666666 0.296875 3.703125 C 0.0989583333333333 3.50520833333333 0 3.27083333333333 0 3 L 0 1 C 0 0.729166666666665 0.0989583333333333 0.494791666666665 0.296875 0.296875000000001 C 0.494791666666667 0.0989583333333321 0.729166666666667 0 1 0 L 23 0 C 23.2708333333333 0 23.5052083333333 0.0989583333333321 23.703125 0.296875000000001 Z " fill-rule="nonzero" fill="#000000" stroke="none" transform="matrix(1 0 0 1 460 76 )" />
|
||||
</g>
|
||||
</svg>
|
||||
BIN
src/assets/img/icon/clear.png
Executable file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
src/assets/img/icon/email.png
Executable file
|
After Width: | Height: | Size: 1011 B |
BIN
src/assets/img/icon/search.png
Executable file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
src/assets/img/icon/setting.png
Executable file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
src/assets/logo.png
Executable file
|
After Width: | Height: | Size: 6.7 KiB |