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

@@ -7,6 +7,10 @@
font-style: normal;
}
a {
text-decoration: none;
}
body {
background-color: rgba(238, 242, 245, 1);
}
@@ -63,6 +67,7 @@ body {
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
padding: 18px 20px 0;
display: block;
.item-head {
margin-bottom: 14px;
@@ -633,6 +638,7 @@ body {
justify-content: flex-end;
.bottom-item {
height: 100%;
cursor: pointer;
&:not(:last-child) {
margin-right: 60px;
@@ -655,6 +661,80 @@ body {
height: 18px;
}
}
position: relative;
&.share {
&:hover {
.share-box {
display: flex;
}
}
}
.share-box {
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 42px;
width: 130px;
height: 100px;
background-color: rgba(255, 255, 255, 1);
border-radius: 6px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.168627450980392);
flex-direction: column;
display: none;
.share-item {
width: 100%;
height: 40px;
color: #555555;
font-size: 14px;
&:hover {
background-color: rgba(240, 250, 253, 1);
}
.share-icon {
width: 18px;
height: 18px;
margin-right: 13px;
}
&.wenxin:hover {
.QRcode-box {
display: flex;
}
}
.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;
.QRcode {
width: 100px;
height: 100px;
margin-bottom: 4px;
}
.text {
color: #555555;
font-size: 14px;
}
}
}
}
}
}
}
@@ -1426,6 +1506,34 @@ body {
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;
.icon {
width: 22px;
height: 22px;
margin-right: 8px;
}
}
.slideshow-content {
margin-left: 10px;
transition: all 0.3s;
}
&.box-essence {
.slideshow-content {
margin-left: -263px;
}
}
}
.box-newest .slideshow-box .tab-list .tab-item.pitch::before {
background: linear-gradient(to right, #6ac83e, #6ad2cb);
}
@@ -1458,6 +1566,7 @@ body {
background: #ffffff;
position: relative;
margin-bottom: 12px;
overflow: hidden;
}
.box-essence .newest-side-box .bounding,