feat(论坛页面): 新增论坛首页板块和签到功能

添加论坛首页板块布局和样式,包括导航栏、签到功能、板块列表和精选内容展示
实现签到状态管理,添加签到按钮和已签到状态显示
新增多个图标资源文件用于界面展示
优化CSS样式结构,删除冗余代码文件
This commit is contained in:
A1300399510
2025-10-21 01:42:38 +08:00
parent 08760739d0
commit acb96969d7
12 changed files with 1538 additions and 717 deletions

View File

@@ -1,354 +0,0 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
}
body {
padding: 10px;
background-color: #eef2f5;
}
/* 公共的 css 样式 */
.flexflex {
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexjcenter {
display: flex;
justify-content: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flex1 {
flex: 1;
}
.flexcolumn {
display: flex;
flex-direction: column;
}
.one-line-display {
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.topic-and-selectives .head-top {
width: 64px;
height: 24px;
border-radius: 20px 20px 20px 0;
margin-bottom: 10px;
}
.topic-and-selectives .head-top .icon {
width: 15px;
height: 12px;
margin-right: 3px;
}
.topic-and-selectives .head-top .text {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #ffffff;
font-size: 14px;
}
.topic-and-selectives .topic-box {
width: 308px;
height: 320px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding: 10px;
margin-right: 12px;
}
.topic-and-selectives .topic-box .head-top {
background-color: #f4ae38;
}
.topic-and-selectives .topic-box .topic-head {
height: 109px;
background-color: #f6f6f6;
border-radius: 8px;
flex-direction: column;
justify-content: space-between;
padding: 12px 16px;
margin-bottom: 12px;
}
.topic-and-selectives .topic-box .topic-head .title {
font-size: 16px;
color: #000000;
line-height: 23px;
}
.topic-and-selectives .topic-box .topic-head .hint {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 16px;
color: #7f7f7f;
}
.topic-and-selectives .topic-box .topic-head .people {
position: relative;
justify-content: space-between;
}
.topic-and-selectives .topic-box .topic-head .people::after {
content: "";
position: absolute;
top: 0;
left: 0;
transform: translateY(-100%);
width: 30px;
height: 4px;
background-color: #f4ae38;
border-radius: 150px;
}
.topic-and-selectives .topic-box .topic-head .people .left {
color: #aaaaaa;
font-size: 13px;
}
.topic-and-selectives .topic-box .topic-head .people .left .number {
color: #333333;
margin-right: 3px;
}
.topic-and-selectives .topic-box .topic-head .people .right .item {
width: 26px;
height: 26px;
border-radius: 50%;
}
.topic-and-selectives .topic-box .topic-head .people .right .item .img {
width: 26px;
height: 26px;
border-radius: 50%;
}
.topic-and-selectives .topic-box .topic-head .people .right .item:nth-child(6) {
margin-right: -9px;
}
.topic-and-selectives .topic-box .topic-head .people .right .item:nth-child(5) {
margin-right: -9px;
}
.topic-and-selectives .topic-box .topic-head .people .right .item:nth-child(4) {
margin-right: -7px;
}
.topic-and-selectives .topic-box .topic-list .item:hover {
color: #000000;
}
.topic-and-selectives .topic-box .topic-list .item:not(:last-child) {
margin-bottom: 1px;
}
.topic-and-selectives .topic-box .topic-list .item .img {
width: 12px;
height: 10px;
margin-right: 9px;
}
.topic-and-selectives .topic-box .topic-list .item .text {
font-size: 14px;
color: #555555;
line-height: 28px;
}
.topic-and-selectives .selectives-box {
width: 628px;
height: 320px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding: 10px;
}
.topic-and-selectives .selectives-box .head-top {
background-color: #f68251;
margin-bottom: 22px;
}
.topic-and-selectives .selectives-box .list {
flex-wrap: wrap;
padding: 0 5px;
justify-content: space-between;
}
.topic-and-selectives .selectives-box .list .item {
font-size: 14px;
color: #555555;
line-height: 20px;
margin-bottom: 12px;
position: relative;
}
.topic-and-selectives .selectives-box .list .item .dot {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #f68251;
margin-right: 10px;
}
.topic-and-selectives .selectives-box .list .item .text {
width: 265px;
}
.forum-sections-list {
position: relative;
width: 897px;
height: 240px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding-left: 70px;
padding-top: 20px;
}
.forum-sections-list .img {
position: absolute;
top: -1px;
left: -1px;
width: 60px;
height: 240px;
}
.forum-sections-list .title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: #000000;
margin-bottom: 16px;
}
.forum-sections-list .list .line:not(:last-child) {
margin-bottom: 10px;
}
.forum-sections-list .list .line .item {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
color: #333;
padding: 0 18px;
height: 32px;
background-color: #f6f6f6;
border: 1px solid #f2f2f2;
border-radius: 16px;
cursor: pointer;
}
.forum-sections-list .list .line .item:not(:last-child) {
margin-right: 10px;
}
.item-box {
width: 897px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding: 18px 20px 0;
}
.item-box .item-head {
margin-bottom: 14px;
}
.item-box .item-head .avatar {
width: 28px;
height: 28px;
border-radius: 50%;
margin-right: 8px;
}
.item-box .item-head .name {
font-style: normal;
color: #555555;
font-size: 14px;
margin-right: 8px;
}
.item-box .item-head .group {
height: 15px;
margin-right: 8px;
}
.item-box .item-head .time {
font-size: 13px;
color: #aaaaaa;
}
.item-box .item-head .view {
font-size: 12px;
color: #aaaaaa;
margin-right: 15px;
}
.item-box .item-head .view .icon {
width: 13px;
height: 8px;
margin-right: 5px;
}
.item-box .item-head .btn {
width: 24px;
height: 16px;
background-color: #f2f2f2;
border-radius: 150px;
}
.item-box .item-head .btn .icon {
width: 18px;
height: 18px;
}
.item-box .label {
margin-bottom: 10px;
}
.item-box .label .item {
font-size: 14px;
color: #555555;
padding: 0 9px;
height: 24px;
line-height: 24px;
background-color: #f2f2f2;
border-radius: 6px;
}
.item-box .label .item.icon {
padding: 0;
}
.item-box .label .item:not(:last-child) {
margin-right: 10px;
}
.item-box .label .item.blue {
color: #ffffff;
background-color: #04b0d5;
}
.item-box .title {
font-weight: 650;
font-size: 20px;
color: #000000;
line-height: 36px;
margin-bottom: 7px;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
}
.item-box .message {
font-size: 14px;
color: #555555;
white-space: pre-wrap;
margin-bottom: 15px;
}
.item-box .comment {
height: 40px;
background-color: #f6f6f6;
border-radius: 10px;
padding: 0 10px;
}
.item-box .comment .icon {
width: 20px;
height: 20px;
border-radius: 50%;
margin-right: 10px;
}
.item-box .comment .text {
font-size: 14px;
color: #7f7f7f;
}
.item-box .bottom {
height: 55px;
justify-content: flex-end;
}
.item-box .bottom .bottom-item {
cursor: pointer;
}
.item-box .bottom .bottom-item:not(:last-child) {
margin-right: 60px;
}
.item-box .bottom .bottom-item .icon {
width: 20px;
height: 20px;
margin-right: 8px;
}
.item-box .bottom .bottom-item .text {
color: #aaaaaa;
font-size: 13px;
}
.item-box .bottom .bottom-item.like .icon {
width: 18px;
height: 18px;
}

View File

@@ -40,7 +40,315 @@ body {
overflow: hidden;
text-overflow: ellipsis;
}
#sectionIndex .head .logo {
width: 136px;
height: 68px;
.topic-and-selectives .head-top {
width: 64px;
height: 24px;
border-radius: 20px 20px 20px 0;
margin-bottom: 10px;
}
.topic-and-selectives .head-top .icon {
width: 15px;
height: 12px;
margin-right: 3px;
}
.topic-and-selectives .head-top .text {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #ffffff;
font-size: 14px;
}
.topic-and-selectives .topic-box {
width: 308px;
height: 320px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding: 10px;
margin-right: 12px;
}
.topic-and-selectives .topic-box .head-top {
background-color: #f4ae38;
}
.topic-and-selectives .topic-box .topic-head {
height: 109px;
background-color: #f6f6f6;
border-radius: 8px;
flex-direction: column;
justify-content: space-between;
padding: 12px 16px;
margin-bottom: 12px;
}
.topic-and-selectives .topic-box .topic-head .title {
font-size: 16px;
color: #000000;
line-height: 23px;
}
.topic-and-selectives .topic-box .topic-head .hint {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 16px;
color: #7f7f7f;
}
.topic-and-selectives .topic-box .topic-head .people {
position: relative;
justify-content: space-between;
}
.topic-and-selectives .topic-box .topic-head .people::after {
content: "";
position: absolute;
top: 0;
left: 0;
transform: translateY(-100%);
width: 30px;
height: 4px;
background-color: #f4ae38;
border-radius: 150px;
}
.topic-and-selectives .topic-box .topic-head .people .left {
color: #aaaaaa;
font-size: 13px;
}
.topic-and-selectives .topic-box .topic-head .people .left .number {
color: #333333;
margin-right: 3px;
}
.topic-and-selectives .topic-box .topic-head .people .right .item {
width: 26px;
height: 26px;
border-radius: 50%;
}
.topic-and-selectives .topic-box .topic-head .people .right .item .img {
width: 26px;
height: 26px;
border-radius: 50%;
}
.topic-and-selectives .topic-box .topic-head .people .right .item:nth-child(6) {
margin-right: -9px;
}
.topic-and-selectives .topic-box .topic-head .people .right .item:nth-child(5) {
margin-right: -9px;
}
.topic-and-selectives .topic-box .topic-head .people .right .item:nth-child(4) {
margin-right: -7px;
}
.topic-and-selectives .topic-box .topic-list .item:hover {
color: #000000;
}
.topic-and-selectives .topic-box .topic-list .item:not(:last-child) {
margin-bottom: 1px;
}
.topic-and-selectives .topic-box .topic-list .item .img {
width: 12px;
height: 10px;
margin-right: 9px;
}
.topic-and-selectives .topic-box .topic-list .item .text {
font-size: 14px;
color: #555555;
line-height: 28px;
}
.topic-and-selectives .selectives-box {
width: 628px;
height: 320px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding: 10px;
}
.topic-and-selectives .selectives-box .head-top {
background-color: #f68251;
margin-bottom: 22px;
}
.topic-and-selectives .selectives-box .list {
flex-wrap: wrap;
padding: 0 5px;
justify-content: space-between;
}
.topic-and-selectives .selectives-box .list .item {
font-size: 14px;
color: #555555;
line-height: 20px;
margin-bottom: 12px;
position: relative;
}
.topic-and-selectives .selectives-box .list .item .dot {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #f68251;
margin-right: 10px;
}
.topic-and-selectives .selectives-box .list .item .text {
width: 265px;
}
.forum-sections-list {
position: relative;
width: 897px;
height: 240px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding-left: 70px;
padding-top: 20px;
}
.forum-sections-list .img {
position: absolute;
top: -1px;
left: -1px;
width: 60px;
height: 240px;
}
.forum-sections-list .title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: #000000;
margin-bottom: 16px;
}
.forum-sections-list .list .line:not(:last-child) {
margin-bottom: 10px;
}
.forum-sections-list .list .line .item {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
color: #333;
padding: 0 18px;
height: 32px;
background-color: #f6f6f6;
border: 1px solid #f2f2f2;
border-radius: 16px;
cursor: pointer;
}
.forum-sections-list .list .line .item:not(:last-child) {
margin-right: 10px;
}
.item-box {
width: 897px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding: 18px 20px 0;
}
.item-box .item-head {
margin-bottom: 14px;
}
.item-box .item-head .avatar {
width: 28px;
height: 28px;
border-radius: 50%;
margin-right: 8px;
}
.item-box .item-head .name {
font-style: normal;
color: #555555;
font-size: 14px;
margin-right: 8px;
}
.item-box .item-head .group {
height: 15px;
margin-right: 8px;
}
.item-box .item-head .time {
font-size: 13px;
color: #aaaaaa;
}
.item-box .item-head .view {
font-size: 12px;
color: #aaaaaa;
margin-right: 15px;
}
.item-box .item-head .view .icon {
width: 13px;
height: 8px;
margin-right: 5px;
}
.item-box .item-head .btn {
width: 24px;
height: 16px;
background-color: #f2f2f2;
border-radius: 150px;
}
.item-box .item-head .btn .icon {
width: 18px;
height: 18px;
}
.item-box .label {
margin-bottom: 10px;
}
.item-box .label .item {
font-size: 14px;
color: #555555;
padding: 0 9px;
height: 24px;
line-height: 24px;
background-color: #f2f2f2;
border-radius: 6px;
}
.item-box .label .item.icon {
padding: 0;
}
.item-box .label .item:not(:last-child) {
margin-right: 10px;
}
.item-box .label .item.blue {
color: #ffffff;
background-color: #04b0d5;
}
.item-box .title {
font-weight: 650;
font-size: 20px;
color: #000000;
line-height: 36px;
margin-bottom: 7px;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
}
.item-box .message {
font-size: 14px;
color: #555555;
white-space: pre-wrap;
margin-bottom: 15px;
}
.item-box .comment {
height: 40px;
background-color: #f6f6f6;
border-radius: 10px;
padding: 0 10px;
}
.item-box .comment .icon {
width: 20px;
height: 20px;
border-radius: 50%;
margin-right: 10px;
}
.item-box .comment .text {
font-size: 14px;
color: #7f7f7f;
}
.item-box .bottom {
height: 55px;
justify-content: flex-end;
}
.item-box .bottom .bottom-item {
cursor: pointer;
}
.item-box .bottom .bottom-item:not(:last-child) {
margin-right: 60px;
}
.item-box .bottom .bottom-item .icon {
width: 20px;
height: 20px;
margin-right: 8px;
}
.item-box .bottom .bottom-item .text {
color: #aaaaaa;
font-size: 13px;
}
.item-box .bottom .bottom-item.like .icon {
width: 18px;
height: 18px;
}

View File

@@ -49,11 +49,382 @@ body {
text-overflow: ellipsis;
}
#sectionIndex {
.head {
.logo {
width: 136px;
height: 68px;
.topic-and-selectives {
.head-top {
width: 64px;
height: 24px;
border-radius: 20px 20px 20px 0;
margin-bottom: 10px;
.icon {
width: 15px;
height: 12px;
margin-right: 3px;
}
.text {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #ffffff;
font-size: 14px;
}
}
.topic-box {
width: 308px;
height: 320px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
padding: 10px;
margin-right: 12px;
.head-top {
background-color: rgba(244, 174, 56, 1);
}
.topic-head {
height: 109px;
background-color: rgba(246, 246, 246, 1);
border-radius: 8px;
flex-direction: column;
justify-content: space-between;
padding: 12px 16px;
margin-bottom: 12px;
.title {
font-size: 16px;
color: #000000;
line-height: 23px;
}
.hint {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 16px;
color: #7f7f7f;
}
.people {
position: relative;
justify-content: space-between;
&::after {
content: "";
position: absolute;
top: 0;
left: 0;
transform: translateY(-100%);
width: 30px;
height: 4px;
background-color: rgba(244, 174, 56, 1);
border-radius: 150px;
}
.left {
color: #aaaaaa;
font-size: 13px;
.number {
color: #333333;
margin-right: 3px;
}
}
.right {
.item {
width: 26px;
height: 26px;
border-radius: 50%;
.img {
width: 26px;
height: 26px;
border-radius: 50%;
}
&:nth-child(6) {
margin-right: -9px;
}
&:nth-child(5) {
margin-right: -9px;
}
&:nth-child(4) {
margin-right: -7px;
}
}
}
}
}
.topic-list {
.item {
&:hover {
color: #000000;
}
&:not(:last-child) {
margin-bottom: 1px;
}
.img {
width: 12px;
height: 10px;
margin-right: 9px;
}
.text {
font-size: 14px;
color: #555555;
line-height: 28px;
}
}
}
}
.selectives-box {
width: 628px;
height: 320px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding: 10px;
.head-top {
background-color: rgba(246, 130, 81, 1);
margin-bottom: 22px;
}
.list {
flex-wrap: wrap;
padding: 0 5px;
justify-content: space-between;
.item {
font-size: 14px;
color: #555555;
line-height: 20px;
margin-bottom: 12px;
position: relative;
.dot {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #f68251;
margin-right: 10px;
}
.text {
width: 265px;
}
}
}
}
}
.forum-sections-list {
position: relative;
width: 897px;
height: 240px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
padding-left: 70px;
padding-top: 20px;
.img {
position: absolute;
top: -1px;
left: -1px;
width: 60px;
height: 240px;
}
.title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: #000000;
margin-bottom: 16px;
}
.list {
.line {
&:not(:last-child) {
margin-bottom: 10px;
}
.item {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
color: #333;
padding: 0 18px;
height: 32px;
background-color: rgba(246, 246, 246, 1);
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 16px;
cursor: pointer;
&:not(:last-child) {
margin-right: 10px;
}
}
}
}
}
.item-box {
width: 897px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
padding: 18px 20px 0;
.item-head {
margin-bottom: 14px;
.avatar {
width: 28px;
height: 28px;
border-radius: 50%;
margin-right: 8px;
}
.name {
font-style: normal;
color: #555555;
font-size: 14px;
margin-right: 8px;
}
.group {
height: 15px;
margin-right: 8px;
}
.time {
font-size: 13px;
color: #aaaaaa;
}
.view {
font-size: 12px;
color: #aaaaaa;
margin-right: 15px;
.icon {
width: 13px;
height: 8px;
margin-right: 5px;
}
}
.btn {
width: 24px;
height: 16px;
background-color: rgba(242, 242, 242, 1);
border-radius: 150px;
.icon {
width: 18px;
height: 18px;
}
}
}
.label {
margin-bottom: 10px;
.item {
font-size: 14px;
color: #555555;
padding: 0 9px;
height: 24px;
line-height: 24px;
background-color: rgba(242, 242, 242, 1);
border-radius: 6px;
&.icon {
padding: 0;
}
&:not(:last-child) {
margin-right: 10px;
}
&.blue {
color: #ffffff;
background-color: #04b0d5;
}
}
}
.title {
font-weight: 650;
font-size: 20px;
color: #000000;
line-height: 36px;
margin-bottom: 7px;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
}
.message {
font-size: 14px;
color: #555555;
white-space: pre-wrap;
margin-bottom: 15px;
}
.comment {
height: 40px;
background-color: rgba(246, 246, 246, 1);
border-radius: 10px;
padding: 0 10px;
.icon {
width: 20px;
height: 20px;
border-radius: 50%;
margin-right: 10px;
}
.text {
font-size: 14px;
color: #7f7f7f;
}
}
.bottom {
height: 55px;
justify-content: flex-end;
.bottom-item {
cursor: pointer;
&:not(:last-child) {
margin-right: 60px;
}
.icon {
width: 20px;
height: 20px;
margin-right: 8px;
}
.text {
color: #aaaaaa;
font-size: 13px;
}
&.like {
.icon {
width: 18px;
height: 18px;
}
}
}
}
}

383
css/sectionIndex.css Normal file
View File

@@ -0,0 +1,383 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
}
body {
background-color: #eef2f5;
}
/* 公共的 css 样式 */
.flexflex {
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexjcenter {
display: flex;
justify-content: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flex1 {
flex: 1;
}
.flexcolumn {
display: flex;
flex-direction: column;
}
.one-line-display {
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#sectionIndex {
width: 1200px;
margin: 0 auto;
}
#sectionIndex .head-top {
margin-bottom: 30px;
}
#sectionIndex .head-top .logo {
height: 52px;
}
#sectionIndex .head-top .input-box {
width: 370px;
height: 40px;
background-color: #ebebeb;
border: 2px solid #d7d7d7;
border-radius: 11px;
padding: 0 15px;
justify-content: space-between;
margin-right: 20px;
}
#sectionIndex .head-top .input-box .input {
border: none;
outline: none;
height: 100%;
background-color: transparent;
}
#sectionIndex .head-top .input-box .icon {
width: 18px;
height: 18px;
margin-left: 15rpx;
cursor: pointer;
}
#sectionIndex .head-top .sign-in {
width: 192px;
height: 40px;
border-radius: 83px;
cursor: pointer;
}
#sectionIndex .head-top .sign-in.sign-in-already {
background-color: #ffffff;
font-size: 14px;
color: #333;
}
#sectionIndex .head-top .sign-in.sign-in-already .sign-icon {
width: 20px;
height: 20px;
margin-right: 10px;
}
#sectionIndex .head-top .sign-in.sign-in-no {
position: relative;
z-index: 1;
padding-right: 8px;
}
#sectionIndex .head-top .sign-in.sign-in-no .sign-in-bj {
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 190px;
height: 40px;
}
#sectionIndex .head-top .sign-in.sign-in-no .coin-bj {
position: absolute;
width: 157px;
height: 33px;
top: 4px;
left: 29px;
}
#sectionIndex .head-top .sign-in.sign-in-no .coin-icon {
width: 43px;
height: 51px;
align-self: flex-end;
z-index: 1;
margin-left: -2px;
}
#sectionIndex .head-top .sign-in.sign-in-no .text {
text-align: center;
text-shadow: 1px 1px 2px #a63603;
-webkit-text-shadow: 1px 1px 2px #a63603;
-moz-text-shadow: 1px 1px 2px #a63603;
font-size: 15px;
color: #fff;
}
#sectionIndex .head-top .sign-in.sign-in-no .sign-go {
width: 30px;
height: 30px;
font-family: "Arial-BoldMT", "Arial Bold", "Arial", sans-serif;
font-weight: 700;
font-size: 12px;
color: #710600;
position: relative;
}
#sectionIndex .head-top .sign-in.sign-in-no .sign-go .sign-go-bj {
width: 100%;
height: 100%;
position: absolute;
z-index: -1;
}
#sectionIndex .head-top .sign-in.sign-in-no .petal1,
#sectionIndex .head-top .sign-in.sign-in-no .petal2,
#sectionIndex .head-top .sign-in.sign-in-no .petal3 {
position: absolute;
}
#sectionIndex .head-top .sign-in.sign-in-no .petal1 {
width: 24px;
height: 10px;
top: 3px;
left: 55px;
}
#sectionIndex .head-top .sign-in.sign-in-no .petal2 {
width: 16px;
height: 14px;
top: 25px;
left: 92px;
}
#sectionIndex .head-top .sign-in.sign-in-no .petal3 {
width: 17px;
height: 12px;
top: 25px;
left: 136px;
}
#sectionIndex .head-navigation {
margin-bottom: 20px;
}
#sectionIndex .head-navigation .icon {
width: 16px;
height: 16px;
}
#sectionIndex .head-navigation .arrows {
width: 7px;
height: 12px;
margin: 0 5px;
}
#sectionIndex .head-navigation .text {
padding: 0 5px;
font-size: 14px;
color: #000000;
cursor: pointer;
}
#sectionIndex .head-navigation .text:hover {
text-decoration: underline;
}
#sectionIndex .matter .sidebar {
width: 150px;
height: 1225px;
background-color: #08353e;
border: 1px solid #e9eef2;
border-radius: 10px;
margin-right: 15px;
}
#sectionIndex .matter .sidebar .title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 17px;
color: #badee6;
padding-top: 29px;
padding-bottom: 27px;
border-bottom: 1px solid rgba(255, 255, 255, 0.24705882);
margin-left: 20px;
margin-right: 20px;
}
#sectionIndex .matter .sidebar .list {
padding-top: 10px;
padding-bottom: 10px;
margin-left: 20px;
margin-right: 20px;
}
#sectionIndex .matter .sidebar .list:not(:last-child) {
border-bottom: 1px solid rgba(255, 255, 255, 0.24705882);
}
#sectionIndex .matter .sidebar .list .item {
height: 50px;
font-size: 14px;
color: rgba(255, 255, 255, 0.8);
z-index: 1;
}
#sectionIndex .matter .sidebar .list .item .text {
z-index: 1;
position: relative;
}
#sectionIndex .matter .sidebar .list .item.pitch {
position: relative;
}
#sectionIndex .matter .sidebar .list .item.pitch .text {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 14px;
color: #08353e;
}
#sectionIndex .matter .sidebar .list .item.pitch::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: calc(100% + 20px);
height: 32px;
background: inherit;
background-color: #ecf9fa;
border: none;
border-radius: 16px;
z-index: -1;
}
#sectionIndex .matter .matter-content .info {
width: 1035px;
background: -webkit-linear-gradient(270.53908529deg, #ffffff 2%, #ebf8f9 98%);
background: -moz-linear-gradient(179.46091471deg, #ffffff 2%, #ebf8f9 98%);
background: linear-gradient(179.46091471deg, #ffffff 2%, #ebf8f9 98%);
border: 1px solid #e9eef2;
border-radius: 10px;
padding-left: 30px;
padding-top: 30px;
padding-bottom: 34px;
margin-bottom: 20px;
}
#sectionIndex .matter .matter-content .info .img {
width: 80px;
height: 80px;
border-radius: 10px;
margin-right: 20px;
}
#sectionIndex .matter .matter-content .info .right .title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 24px;
color: #000000;
margin-bottom: 15px;
margin-top: 4px;
}
#sectionIndex .matter .matter-content .info .right .link {
flex-wrap: wrap;
border-top: 1px dotted #d7d7d7;
border-bottom: 1px dotted #d7d7d7;
margin-right: 20px;
margin-bottom: 28px;
width: fit-content;
}
#sectionIndex .matter .matter-content .info .right .link .item {
padding: 12px 0;
}
#sectionIndex .matter .matter-content .info .right .link .item:not(:last-child) {
margin-right: 72px;
}
#sectionIndex .matter .matter-content .info .right .link .item .text {
font-size: 14px;
color: #333333;
margin-right: 8px;
}
#sectionIndex .matter .matter-content .info .right .link .item .icon {
width: 12px;
height: 12px;
}
#sectionIndex .matter .matter-content .info .right .bottom {
justify-content: space-between;
margin-right: 20px;
}
#sectionIndex .matter .matter-content .info .right .bottom .data {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
color: #555555;
font-size: 13px;
}
#sectionIndex .matter .matter-content .info .right .bottom .data .sum {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
color: #000000;
margin: 0 5px;
}
#sectionIndex .matter .matter-content .info .right .bottom .btn {
width: 125px;
height: 32px;
background-color: #50e3c2;
border-radius: 8px;
font-size: 14px;
color: #333;
}
#sectionIndex .matter .matter-content .info .right .bottom .btn .icon {
width: 16px;
height: 16px;
margin-right: 3px;
}
#sectionIndex .matter .matter-content .details-box .content-box {
margin-right: 12px;
}
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box {
width: 100%;
height: 320px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding: 19px 14px;
}
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .head-top {
width: 64px;
height: 24px;
border-radius: 20px 20px 20px 0;
margin-bottom: 22px;
background-color: #f68251;
}
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .head-top .icon {
width: 15px;
height: 12px;
margin-right: 3px;
}
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .head-top .text {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #ffffff;
font-size: 14px;
}
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .list {
flex-wrap: wrap;
padding: 0 5px;
justify-content: space-between;
}
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .list .item {
font-size: 14px;
color: #555555;
line-height: 20px;
margin-bottom: 12px;
position: relative;
}
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .list .item .dot {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #f68251;
margin-right: 10px;
}
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .list .item .text {
width: 265px;
}
#sectionIndex .matter .matter-content .details-box .side-box {
width: 291px;
height: 300px;
background-color: #ecf9fa;
border-radius: 10px;
}

View File

@@ -8,7 +8,6 @@
}
body {
padding: 10px;
background-color: rgba(238, 242, 245, 1);
}
@@ -49,380 +48,389 @@ body {
text-overflow: ellipsis;
}
.topic-and-selectives {
#sectionIndex {
width: 1200px;
margin: 0 auto;
.head-top {
width: 64px;
height: 24px;
border-radius: 20px 20px 20px 0;
margin-bottom: 10px;
.icon {
width: 15px;
height: 12px;
margin-right: 3px;
margin-bottom: 30px;
.logo {
height: 52px;
}
.text {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #ffffff;
font-size: 14px;
}
}
.topic-box {
width: 308px;
height: 320px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
padding: 10px;
margin-right: 12px;
.head-top {
background-color: rgba(244, 174, 56, 1);
}
.topic-head {
height: 109px;
background-color: rgba(246, 246, 246, 1);
border-radius: 8px;
flex-direction: column;
.input-box {
width: 370px;
height: 40px;
background-color: rgba(235, 235, 235, 1);
border: 2px solid rgba(215, 215, 215, 1);
border-radius: 11px;
padding: 0 15px;
justify-content: space-between;
padding: 12px 16px;
margin-bottom: 12px;
margin-right: 20px;
.title {
font-size: 16px;
color: #000000;
line-height: 23px;
.input {
border: none;
outline: none;
height: 100%;
background-color: transparent;
}
.hint {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 16px;
color: #7f7f7f;
}
.people {
position: relative;
justify-content: space-between;
&::after {
content: "";
position: absolute;
top: 0;
left: 0;
transform: translateY(-100%);
width: 30px;
height: 4px;
background-color: rgba(244, 174, 56, 1);
border-radius: 150px;
}
.left {
color: #aaaaaa;
font-size: 13px;
.number {
color: #333333;
margin-right: 3px;
}
}
.right {
.item {
width: 26px;
height: 26px;
border-radius: 50%;
.img {
width: 26px;
height: 26px;
border-radius: 50%;
}
&:nth-child(6) {
margin-right: -9px;
}
&:nth-child(5) {
margin-right: -9px;
}
&:nth-child(4) {
margin-right: -7px;
}
}
}
}
}
.topic-list {
.item {
&:hover {
color: #000000;
}
&:not(:last-child) {
margin-bottom: 1px;
}
.img {
width: 12px;
height: 10px;
margin-right: 9px;
}
.text {
font-size: 14px;
color: #555555;
line-height: 28px;
}
}
}
}
.selectives-box {
width: 628px;
height: 320px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding: 10px;
.head-top {
background-color: rgba(246, 130, 81, 1);
margin-bottom: 22px;
}
.list {
flex-wrap: wrap;
padding: 0 5px;
justify-content: space-between;
.item {
font-size: 14px;
color: #555555;
line-height: 20px;
margin-bottom: 12px;
position: relative;
.dot {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #f68251;
margin-right: 10px;
}
.text {
width: 265px;
}
}
}
}
}
.forum-sections-list {
position: relative;
width: 897px;
height: 240px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
padding-left: 70px;
padding-top: 20px;
.img {
position: absolute;
top: -1px;
left: -1px;
width: 60px;
height: 240px;
}
.title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: #000000;
margin-bottom: 16px;
}
.list {
.line {
&:not(:last-child) {
margin-bottom: 10px;
}
.item {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
color: #333;
padding: 0 18px;
height: 32px;
background-color: rgba(246, 246, 246, 1);
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 16px;
cursor: pointer;
&:not(:last-child) {
margin-right: 10px;
}
}
}
}
}
.item-box {
width: 897px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
padding: 18px 20px 0;
.item-head {
margin-bottom: 14px;
.avatar {
width: 28px;
height: 28px;
border-radius: 50%;
margin-right: 8px;
}
.name {
font-style: normal;
color: #555555;
font-size: 14px;
margin-right: 8px;
}
.group {
height: 15px;
margin-right: 8px;
}
.time {
font-size: 13px;
color: #aaaaaa;
}
.view {
font-size: 12px;
color: #aaaaaa;
margin-right: 15px;
.icon {
width: 13px;
height: 8px;
margin-right: 5px;
}
}
.btn {
width: 24px;
height: 16px;
background-color: rgba(242, 242, 242, 1);
border-radius: 150px;
.icon {
width: 18px;
height: 18px;
margin-left: 15rpx;
cursor: pointer;
}
}
.sign-in {
width: 192px;
height: 40px;
border-radius: 83px;
cursor: pointer;
&.sign-in-already {
background-color: #ffffff;
font-size: 14px;
color: #333;
.sign-icon {
width: 20px;
height: 20px;
margin-right: 10px;
}
}
&.sign-in-no {
position: relative;
z-index: 1;
padding-right: 8px;
.sign-in-bj {
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 190px;
height: 40px;
}
.coin-bj {
position: absolute;
width: 157px;
height: 33px;
top: 4px;
left: 29px;
}
.coin-icon {
width: 43px;
height: 51px;
align-self: flex-end;
z-index: 1;
margin-left: -2px;
}
.text {
text-align: center;
text-shadow: 1px 1px 2px #a63603;
-webkit-text-shadow: 1px 1px 2px #a63603;
-moz-text-shadow: 1px 1px 2px #a63603;
font-size: 15px;
color: #fff;
}
.sign-go {
width: 30px;
height: 30px;
font-family: "Arial-BoldMT", "Arial Bold", "Arial", sans-serif;
font-weight: 700;
font-size: 12px;
color: #710600;
position: relative;
.sign-go-bj {
width: 100%;
height: 100%;
position: absolute;
z-index: -1;
}
}
.petal1,
.petal2,
.petal3 {
position: absolute;
}
.petal1 {
width: 24px;
height: 10px;
top: 3px;
left: 55px;
}
.petal2 {
width: 16px;
height: 14px;
top: 25px;
left: 92px;
}
.petal3 {
width: 17px;
height: 12px;
top: 25px;
left: 136px;
}
}
}
}
.label {
margin-bottom: 10px;
.item {
font-size: 14px;
color: #555555;
padding: 0 9px;
height: 24px;
line-height: 24px;
background-color: rgba(242, 242, 242, 1);
border-radius: 6px;
&.icon {
padding: 0;
}
&:not(:last-child) {
margin-right: 10px;
}
&.blue {
color: #ffffff;
background-color: #04b0d5;
}
}
}
.title {
font-weight: 650;
font-size: 20px;
color: #000000;
line-height: 36px;
margin-bottom: 7px;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
}
.message {
font-size: 14px;
color: #555555;
white-space: pre-wrap;
margin-bottom: 15px;
}
.comment {
height: 40px;
background-color: rgba(246, 246, 246, 1);
border-radius: 10px;
padding: 0 10px;
.head-navigation {
margin-bottom: 20px;
.icon {
width: 20px;
height: 20px;
border-radius: 50%;
margin-right: 10px;
width: 16px;
height: 16px;
}
.arrows {
width: 7px;
height: 12px;
margin: 0 5px;
}
.text {
padding: 0 5px;
font-size: 14px;
color: #7f7f7f;
color: #000000;
cursor: pointer;
&:hover {
text-decoration: underline;
}
}
}
.bottom {
height: 55px;
justify-content: flex-end;
.matter {
.sidebar {
width: 150px;
height: 1225px;
background-color: rgba(8, 53, 62, 1);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
margin-right: 15px;
.bottom-item {
cursor: pointer;
&:not(:last-child) {
margin-right: 60px;
.title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 17px;
color: #badee6;
padding-top: 29px;
padding-bottom: 27px;
border-bottom: 1px solid rgba(255, 255, 255, 0.247058823529412);
margin-left: 20px;
margin-right: 20px;
}
.icon {
width: 20px;
height: 20px;
margin-right: 8px;
.list {
padding-top: 10px;
padding-bottom: 10px;
margin-left: 20px;
margin-right: 20px;
&:not(:last-child) {
border-bottom: 1px solid rgba(255, 255, 255, 0.24705882);
}
.item {
height: 50px;
font-size: 14px;
color: rgba(255, 255, 255, 0.8);
z-index: 1;
.text {
z-index: 1;
position: relative;
}
&.pitch {
position: relative;
.text {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 14px;
color: #08353e;
}
&::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: calc(100% + 20px);
height: 32px;
background: inherit;
background-color: rgba(236, 249, 250, 1);
border: none;
border-radius: 16px;
z-index: -1;
}
}
}
}
}
.matter-content {
.info {
width: 1035px;
background: -webkit-linear-gradient(270.539085289936deg, rgba(255, 255, 255, 1) 2%, rgba(235, 248, 249, 1) 98%);
background: -moz-linear-gradient(179.460914710064deg, rgba(255, 255, 255, 1) 2%, rgba(235, 248, 249, 1) 98%);
background: linear-gradient(179.460914710064deg, rgba(255, 255, 255, 1) 2%, rgba(235, 248, 249, 1) 98%);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
padding-left: 30px;
padding-top: 30px;
padding-bottom: 34px;
margin-bottom: 20px;
.img {
width: 80px;
height: 80px;
border-radius: 10px;
margin-right: 20px;
}
.right {
.title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 24px;
color: #000000;
margin-bottom: 15px;
margin-top: 4px;
}
.link {
flex-wrap: wrap;
border-top: 1px dotted #d7d7d7;
border-bottom: 1px dotted #d7d7d7;
margin-right: 20px;
margin-bottom: 28px;
width: fit-content;
.item {
padding: 12px 0;
&:not(:last-child) {
margin-right: 72px;
}
.text {
font-size: 14px;
color: #333333;
margin-right: 8px;
}
.icon {
width: 12px;
height: 12px;
}
}
}
.bottom {
justify-content: space-between;
margin-right: 20px;
.data {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
color: #555555;
font-size: 13px;
.sum {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
color: #000000;
margin: 0 5px;
}
}
.btn {
width: 125px;
height: 32px;
background-color: rgba(80, 227, 194, 1);
border-radius: 8px;
font-size: 14px;
color: #333;
.icon {
width: 16px;
height: 16px;
margin-right: 3px;
}
}
}
}
}
.text {
color: #aaaaaa;
font-size: 13px;
}
.details-box {
.content-box {
margin-right: 12px;
&.like {
.icon {
width: 18px;
height: 18px;
.selectives-box {
width: 100%;
height: 320px;
background-color: #ffffff;
border: 1px solid #e9eef2;
border-radius: 10px;
padding: 19px 14px;
.head-top {
width: 64px;
height: 24px;
border-radius: 20px 20px 20px 0;
margin-bottom: 22px;
background-color: rgba(246, 130, 81, 1);
.icon {
width: 15px;
height: 12px;
margin-right: 3px;
}
.text {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #ffffff;
font-size: 14px;
}
}
.list {
flex-wrap: wrap;
padding: 0 5px;
justify-content: space-between;
.item {
font-size: 14px;
color: #555555;
line-height: 20px;
margin-bottom: 12px;
position: relative;
.dot {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #f68251;
margin-right: 10px;
}
.text {
width: 265px;
}
}
}
}
}
.side-box {
width: 291px;
height: 300px;
background-color: rgba(236, 249, 250, 1);
border-radius: 10px;
}
}
}

View 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 -1120 -306 )">
<path d="M 5.25 10.046875 C 5.38541666666667 10.046875 5.50260416666667 9.99739583333333 5.6015625 9.8984375 L 9.1484375 6.3515625 C 9.24739583333333 6.25260416666667 9.296875 6.13541666666667 9.296875 6 C 9.296875 5.86458333333333 9.24739583333333 5.74739583333333 9.1484375 5.6484375 L 5.6015625 2.1015625 C 5.50260416666667 2.00260416666667 5.38541666666667 1.953125 5.25 1.953125 C 5.11458333333333 1.953125 4.99739583333333 2.00260416666667 4.8984375 2.1015625 L 4.1015625 2.8984375 C 4.00260416666667 2.99739583333333 3.953125 3.11458333333333 3.953125 3.25 C 3.953125 3.38541666666667 4.00260416666667 3.50260416666667 4.1015625 3.6015625 L 6.5 6 L 4.1015625 8.3984375 C 4.00260416666667 8.49739583333333 3.953125 8.61458333333333 3.953125 8.75 C 3.953125 8.88541666666667 4.00260416666667 9.00260416666667 4.1015625 9.1015625 L 4.8984375 9.8984375 C 4.99739583333333 9.99739583333333 5.11458333333333 10.046875 5.25 10.046875 Z M 11.1953125 2.98828125 C 11.7317708333333 3.90755208333333 12 4.91145833333333 12 6 C 12 7.08854166666667 11.7317708333333 8.09244791666666 11.1953125 9.01171875 C 10.6588541666667 9.93098958333333 9.93098958333333 10.6588541666667 9.01171875 11.1953125 C 8.09244791666667 11.7317708333333 7.08854166666667 12 6 12 C 4.91145833333333 12 3.90755208333333 11.7317708333333 2.98828125 11.1953125 C 2.06901041666667 10.6588541666667 1.34114583333333 9.93098958333333 0.8046875 9.01171875 C 0.268229166666667 8.09244791666666 0 7.08854166666667 0 6 C 0 4.91145833333333 0.268229166666667 3.90755208333333 0.8046875 2.98828125 C 1.34114583333333 2.06901041666667 2.06901041666667 1.34114583333333 2.98828125 0.8046875 C 3.90755208333333 0.268229166666666 4.91145833333333 0 6 0 C 7.08854166666667 0 8.09244791666667 0.268229166666666 9.01171875 0.8046875 C 9.93098958333333 1.34114583333333 10.6588541666667 2.06901041666667 11.1953125 2.98828125 Z " fill-rule="nonzero" fill="#f95d5d" stroke="none" transform="matrix(1 0 0 1 1120 306 )" />
</g>
</svg>

6
img/arrows-gray.svg Normal file
View 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="7px" height="12px" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1 0 0 1 -420 -171 )">
<path d="M 6.87972508591065 5.72344689378758 C 6.95990836197022 5.80360721442886 7 5.89579158316633 7 6 C 7 6.10420841683367 6.95990836197022 6.19639278557114 6.87972508591065 6.27655310621242 L 1.27491408934708 11.8797595190381 C 1.19473081328751 11.9599198396794 1.10252004581901 12 0.998281786941581 12 C 0.894043528064147 12 0.801832760595647 11.9599198396794 0.721649484536082 11.8797595190381 L 0.120274914089347 11.2785571142285 C 0.0400916380297824 11.1983967935872 0 11.1062124248497 0 11.002004008016 C 0 10.8977955911824 0.0400916380297824 10.8056112224449 0.120274914089347 10.7254509018036 L 4.84707903780069 6 L 0.120274914089347 1.27454909819639 C 0.0400916380297824 1.19438877755511 0 1.10220440881763 0 0.997995991983968 C 0 0.893787575150299 0.0400916380297824 0.801603206412824 0.120274914089347 0.721442885771542 L 0.721649484536082 0.120240480961924 C 0.801832760595647 0.0400801603206409 0.894043528064147 0 0.998281786941581 0 C 1.10252004581901 0 1.19473081328751 0.0400801603206409 1.27491408934708 0.120240480961924 L 6.87972508591065 5.72344689378758 Z " fill-rule="nonzero" fill="#aaaaaa" stroke="none" transform="matrix(1 0 0 1 420 171 )" />
</g>
</svg>

BIN
img/index-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 890 B

BIN
img/pen-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -11,7 +11,7 @@
<body>
<div class="container" id="appIndex">
<!-- 话题和精选 -->
<div v-if="false" class="topic-and-selectives flexflex">
<div v-if="true" class="topic-and-selectives flexflex">
<div class="topic-box">
<div class="head-top flexcenter">
<img class="icon" src="https://app.gter.net/image/miniApp/offer/well-white.svg" />
@@ -54,7 +54,7 @@
</div>
</div>
<!-- 论坛板块列表 -->
<div v-if="false" class="forum-sections-list">
<div v-if="true" class="forum-sections-list">
<img class="img" src="./img/sections-left.svg" />
<div class="title">论坛版块</div>
<div class="list">

View File

@@ -2,8 +2,8 @@ const { createApp, ref, onMounted, nextTick, onUnmounted, computed, watch } = Vu
createApp({
setup() {
let signInAlreadyState = ref(false);
return { };
return { signInAlreadyState };
},
}).mount("#appIndex");
}).mount("#sectionIndex");

View File

@@ -10,13 +10,106 @@
<body>
<div class="container" id="sectionIndex">
<div class="head">
<div class="head-top flexacenter">
<img class="logo" src="https://oss.gter.net/logo" alt="" />
<div class="flex1"></div>
<div class="input-box">
<input type="text" placeholder="大家都在搜:屯特" />
<div class="input-box flexacenter">
<input class="input flex1" type="text" placeholder="大家都在搜:屯特" />
<img class="icon" />
</div>
<div class="sign-in sign-in-already flexcenter" v-if="signInAlreadyState" v-cloak onclick="showWindow('dsu_paulsign', 'https://bbs.gter.net/plugin.php?id=dsu_paulsign:sign&show=sign')">
<img class="sign-icon" src="//framework.x-php.com/gter/image/gter/forum/assets/forum/sign-icon.png" />
<span>已签到,明天再来</span>
</div>
<div class="sign-in sign-in-no flexacenter" v-else onclick="showWindow('dsu_paulsign', 'https://bbs.gter.net/plugin.php?id=dsu_paulsign:sign&show=sign')" v-cloak>
<img class="sign-in-bj" src="//framework.x-php.com/gter/image/gter/forum/assets/forum/sign-in-bj.svg" />
<img class="coin-bj" src="//framework.x-php.com/gter/image/gter/forum/assets/forum/coin-bj.svg" />
<img class="coin-icon" src="//framework.x-php.com/gter/image/gter/forum/assets/forum/coin-icon.png" />
<span class="text flex1">签到领寄托币</span>
<div class="sign-go flexcenter">
<img class="sign-go-bj" src="//framework.x-php.com/gter/image/gter/forum/assets/forum/sign-go.svg" />
GO
</div>
<img class="petal1" src="//framework.x-php.com/gter/image/gter/forum/assets/forum/petal1.png" />
<img class="petal2" src="//framework.x-php.com/gter/image/gter/forum/assets/forum/petal2.png" />
<img class="petal3" src="//framework.x-php.com/gter/image/gter/forum/assets/forum/petal3.png" />
</div>
</div>
<div class="head-navigation flexacenter">
<img class="icon" src="./img/index-icon.png" />
<div class="text">首页</div>
<img class="arrows" src="./img/arrows-gray.svg" />
<div class="text">首页</div>
</div>
<div class="matter flexflex">
<div class="sidebar">
<div class="title">论坛版块</div>
<div class="list">
<div v-for="item in 8" :key="item" class="item flexacenter" :class="{'pitch' : item == 1}">
<span class="text">香港</span>
</div>
</div>
<div class="list">
<div v-for="item in 5" :key="item" class="item flexacenter" :class="{'pitch' : item == 1}">
<span class="text">香港</span>
</div>
</div>
<div class="list">
<div v-for="item in 5" :key="item" class="item flexacenter" :class="{'pitch' : item == 1}">
<span class="text">香港</span>
</div>
</div>
<div class="list">
<div v-for="item in 3" :key="item" class="item flexacenter" :class="{'pitch' : item == 1}">
<span class="text">香港</span>
</div>
</div>
</div>
<div class="matter-content flex1">
<div class="info flexflex">
<img class="img" src="https://o.x-php.com/Zvt57TuJSUvkyhw-xG_Y2l-U_pood3-H1NFX9ddrB_WbUGy8P79gQxdBFebGtpgV7NkzNDQyOQ~~" />
<div class="right flex1">
<div class="title">香港留学</div>
<div class="link flexacenter">
<div class="item flexacenter" v-for="item in 4" :key="item">
<div class="text">申港超强资料包</div>
<img class="icon" src="./img/arrows-circle-red.svg" />
</div>
</div>
<div class="bottom flexacenter">
<div class="data flexacenter">
<div class="sum">124,098</div>
个帖子
</div>
<div class="btn flexcenter">
<img class="icon" src="./img/pen-icon.png" />
<div class="text">发帖</div>
</div>
</div>
</div>
</div>
<div class="details-box flexflex">
<div class="content-box flex1">
<div class="selectives-box">
<div class="head-top flexcenter">
<img class="icon" src="https://app.gter.net/image/miniApp/offer/handpick-icon.png" />
<div class="text">精选</div>
</div>
<div class="list flexflex">
<div class="item flexacenter" v-for="(item, index) in 16" :key="index">
<div class="dot"></div>
<div class="text one-line-display">美国各院校申请时间汇总(一)美国各院校申请时间汇总(一)美国各院校申请时间汇总(一)</div>
</div>
</div>
</div>
</div>
<div class="side-box"></div>
</div>
</div>
</div>
</div>
<script src="./js/sectionIndex.js"></script>