feat: 发布分享弹窗样式修改,增加预览消息卡片

This commit is contained in:
2025-12-29 15:05:29 +08:00
parent d5662e5810
commit 29094c7e6a
2 changed files with 151 additions and 41 deletions

View File

@@ -1,4 +1,32 @@
.shareContainer {
.opacityContainer {
height: 140px;
width: 100%;
}
.shareImageContainer {
position: absolute;
top: 10px;
left: 50%;
width: 220px;
height: 180px;
padding: 6px;
background-color: #fafafa;
border-radius: 16px;
transform: rotateZ(-5deg) translateX(-50%);
box-shadow: 0 3px 32px 0 rgba(0, 0, 0, 0.16);
.shareImage {
width: 100%;
height: 100%;
border-radius: 12px;
}
}
.contentContainer {
background-color: #fafafa;
border-top-left-radius: 16px;
border-top-right-radius: 16px;
}
.title {
padding: 20px 20px 16px;
color: #000;
@@ -12,6 +40,18 @@
align-items: center;
justify-content: space-between;
&.publishTitle {
height: 100px;
.publishText {
align-self: flex-end;
}
.closeIconWrap {
align-self: flex-start;
}
}
.publishText {
color: #2a4d44;
font-family: "Noto Sans SC";
@@ -62,6 +102,21 @@
padding-top: 12px;
padding-bottom: 60px;
.customBtnWrapper {
position: relative;
}
.button {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
opacity: 0;
z-index: 1;
}
.customButton,
.button {
display: flex;
flex-direction: column;
@@ -76,7 +131,7 @@
font-weight: 600;
line-height: normal;
background-color: #fff;
// background-color: #fff;
border: none;
padding: 0;
margin: 0;