feat: 新增编辑页面和分享功能,优化链接跳转和样式

- 添加edit.html编辑页面及相关CSS样式
- 实现内容编辑区的富文本功能
- 为item-bottom组件添加分享功能,包括复制链接和微信转发
- 更新多个组件的链接跳转地址
- 优化CSS样式,包括圆角、阴影和hover效果
- 修复部分样式问题和布局错位
- 移除不再使用的section-index.html文件
This commit is contained in:
A1300399510
2025-11-03 00:42:30 +08:00
parent 38028167c0
commit 7bdeff17f6
51 changed files with 2414 additions and 481 deletions

View File

@@ -6,6 +6,9 @@
font-weight: 400;
font-style: normal;
}
a {
text-decoration: none;
}
body {
background-color: #eef2f5;
}
@@ -53,6 +56,7 @@ body {
border: 1px solid #e9eef2;
border-radius: 10px;
padding: 18px 20px 0;
display: block;
}
.item-box .item-head {
margin-bottom: 14px;
@@ -529,7 +533,9 @@ body {
justify-content: flex-end;
}
.item-box .bottom .bottom-item {
height: 100%;
cursor: pointer;
position: relative;
}
.item-box .bottom .bottom-item:not(:last-child) {
margin-right: 60px;
@@ -547,6 +553,63 @@ body {
width: 18px;
height: 18px;
}
.item-box .bottom .bottom-item.share:hover .share-box {
display: flex;
}
.item-box .bottom .bottom-item .share-box {
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 42px;
width: 130px;
height: 100px;
background-color: #ffffff;
border-radius: 6px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.16862745);
flex-direction: column;
display: none;
}
.item-box .bottom .bottom-item .share-box .share-item {
width: 100%;
height: 40px;
color: #555555;
font-size: 14px;
}
.item-box .bottom .bottom-item .share-box .share-item:hover {
background-color: #f0fafd;
}
.item-box .bottom .bottom-item .share-box .share-item .share-icon {
width: 18px;
height: 18px;
margin-right: 13px;
}
.item-box .bottom .bottom-item .share-box .share-item.wenxin:hover .QRcode-box {
display: flex;
}
.item-box .bottom .bottom-item .share-box .share-item .QRcode-box {
z-index: 1;
display: none;
position: absolute;
top: 48px;
left: 100%;
width: 140px;
height: 166px;
background-color: #ffffff;
border-radius: 6px;
padding: 20px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.16862745);
flex-direction: column;
}
.item-box .bottom .bottom-item .share-box .share-item .QRcode-box .QRcode {
width: 100px;
height: 100px;
margin-bottom: 4px;
}
.item-box .bottom .bottom-item .share-box .share-item .QRcode-box .text {
color: #555555;
font-size: 14px;
}
/* offer 录取结果 */
.results.r1 {
background-color: #76c45e;
@@ -1200,6 +1263,27 @@ body {
.box-interviewexperience .slideshow-box .tab-list .tab-item.pitch::before {
background-color: #789feb;
}
.posts-box .box-newest-head {
font-weight: 650;
font-size: 16px;
color: #000000;
padding: 0;
height: auto;
line-height: normal;
padding: 20px 16px 0;
}
.posts-box .box-newest-head .icon {
width: 22px;
height: 22px;
margin-right: 8px;
}
.posts-box .slideshow-content {
margin-left: 10px;
transition: all 0.3s;
}
.posts-box.box-essence .slideshow-content {
margin-left: -263px;
}
.box-newest .slideshow-box .tab-list .tab-item.pitch::before {
background: linear-gradient(to right, #6ac83e, #6ad2cb);
}
@@ -1227,6 +1311,7 @@ body {
background: #ffffff;
position: relative;
margin-bottom: 12px;
overflow: hidden;
}
.box-essence .newest-side-box .bounding,
.box-newest .essence-side-box .bounding {