Files
mini-programs/src/game_pages/detail/components/SharePopup/index.module.scss

177 lines
3.4 KiB
SCSS

.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;
// text-align: center;
font-family: "PingFang SC";
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: 28px;
display: flex;
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";
font-size: 18px;
font-style: normal;
font-weight: 900;
line-height: 28px;
}
.closeIconWrap {
display: flex;
width: 40px;
height: 40px;
justify-content: center;
align-items: center;
gap: 6px;
flex-shrink: 0;
border-radius: 999px;
border: 1px solid rgba(0, 0, 0, 0.06);
background: #fff;
box-shadow: 0 4px 36px 0 rgba(0, 0, 0, 0.06);
.closeIcon {
width: 24px;
height: 24px;
}
}
}
.shareTip {
padding: 0 24px 24px;
color: #2a4d44;
font-family: "Noto Sans SC";
font-size: 28px;
font-style: normal;
font-weight: 900;
line-height: 40px;
.specialCount {
color: #00e5ad;
}
}
.shareItems {
display: flex;
align-items: center;
justify-content: space-around;
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;
align-items: center;
justify-content: space-between;
gap: 12px;
color: rgba(0, 0, 0, 0.85);
font-feature-settings: "liga" off, "clig" off;
font-family: "PingFang SC";
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
// background-color: #fff;
border: none;
padding: 0;
margin: 0;
line-height: normal;
font-size: inherit;
color: inherit;
&:after {
border: none;
background: transparent;
}
.icon {
width: 64px;
height: 64px;
border-radius: 50%;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid rgba(0, 0, 0, 0.06);
box-shadow: 0 8px 64px 0 rgba(0, 0, 0, 0.1);
&.wechatIcon {
background-color: #07c160;
}
.download {
width: 28px;
height: 28px;
}
.wechat {
width: 36px;
height: 30px;
}
.linkIcon {
width: 28px;
height: 28px;
}
}
}
}
}