min-project/component/indexSidebar/indexSidebar.less
2024-12-12 12:14:09 +08:00

326 lines
7.7 KiB
Plaintext

.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;
}
.sidebar-box {
position: fixed;
right: 15rpx;
bottom: 200rpx;
width: 72rpx;
background-color: rgb(246, 246, 246);
border-radius: 18rpx;
box-shadow: rgba(0, 0, 0, 0.24) 0 0 12rpx;
transition: all .3s;
&.sidebar-hide-box {
right: 0;
transform: translateX(50%);
}
.sidebar-item {
&:not(:last-of-type) {
border-bottom: 1rpx solid #ebebeb;
}
&.toTop {
width: 100%;
padding-top: 30rpx;
padding-bottom: 24rpx;
.toTop-icon {
width: 36rpx;
height: 36rpx;
}
}
&.offerBtn {
flex-direction: column;
padding-top: 31.5rpx;
padding-bottom: 19.5rpx;
.offerBtn-icon {
width: 48rpx;
height: 48rpx;
border-radius: 50%;
background-color: #fff;
box-shadow: 0px 0px 10rpx rgba(0, 0, 0, 0.349019607843137);
margin-bottom: 7.5rpx;
.offerBtn-img {
width: 30rpx;
height: 30rpx;
}
.zufang-img {
width: 33rpx;
height: 33rpx;
}
.wx-img {
width: 40rpx;
height: 40rpx;
}
}
.offerBtn-text {
text-align: center;
color: rgba(51, 51, 51, 1);
font-size: 21rpx;
white-space: break-spaces;
}
}
&.applyFor {
flex-direction: column;
padding-top: 31.5rpx;
padding-bottom: 28.5rpx;
.applyFor-icon {
width: 63rpx;
height: 63rpx;
}
.applyFor-text {
text-align: center;
color: rgba(51, 51, 51, 1);
font-size: 21rpx;
.applyFor-text-text {
display: block;
}
}
}
}
}
@keyframes slideUp {
0% {
top: 100%;
}
100% {
top: 0;
}
}
.opinion-box {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.705882352941177);
display: flex;
align-items: flex-end;
animation: slidebj 0.5s forwards;
.box {
width: 100vw;
height: 960rpx;
background: linear-gradient(180deg, rgba(245, 246, 242, 1) 1%, rgba(255, 246, 223, 1) 35%, rgba(242, 175, 28, 1) 100%);
border: none;
border-radius: 30rpx 30rpx 0 0;
box-shadow: 0 0 22.5rpx rgba(0, 0, 0, 0.101960784313725);
padding: 45rpx 48rpx 0;
animation: slideUp 0.5s forwards;
position: relative;
.sun {
width: 180rpx;
height: 159rpx;
position: absolute;
top: 30rpx;
right: 30rpx;
}
.title {
font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif;
font-weight: 650;
font-style: normal;
font-size: 54rpx;
color: #000000;
margin-bottom: 30rpx;
}
.hint {
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
font-weight: 400;
font-style: normal;
font-size: 28rpx;
color: #555555;
line-height: 45rpx;
white-space: pre;
margin-bottom: 42rpx;
}
.case {
width: 654rpx;
height: 603rpx;
background-color: rgba(246, 246, 246, 1);
border-radius: 30rpx;
box-shadow: 0 0 22.5rpx rgba(0, 0, 0, 0.101960784313725);
flex-direction: column;
.QRcode {
width: 360rpx;
height: 360rpx;
background-color: rgba(255, 255, 255, 1);
border: 1rpx solid rgba(242, 242, 242, 1);
border-radius: 9rpx;
margin-bottom: 24rpx;
.img {
width: 327rpx;
height: 327rpx;
}
}
.prompt {
font-size: 24rpx;
letter-spacing: 1.5rpx;
color: #555555;
text-align: center;
line-height: 42rpx;
}
}
}
}
.huddle-box {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.705882352941177);
display: flex;
align-items: flex-end;
animation: slidebj 0.5s forwards;
.box {
width: 100vw;
height: 1078.5rpx;
border-radius: 45rpx 45rpx 0 0;
box-shadow: 0 0 22.5rpx rgba(0, 0, 0, 0.101960784313725);
animation: slideUp 0.5s forwards;
background: linear-gradient(0.079688098148992deg, rgba(51, 50, 117, 1) 0%, rgba(66, 0, 128, 1) 100%);
position: relative;
flex-direction: column;
align-items: center;
padding-top: 48rpx;
z-index: 1;
.code {
width: 100vw;
}
.bj {
width: 750rpx;
height: 1078.5rpx;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
z-index: -1;
}
.bj-bottom {
width: 189rpx;
height: 201rpx;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
.top {
width: 298.5rpx;
height: 54rpx;
margin-bottom: 19.5rpx;
}
.title {
width: 466.5rpx;
height: 129rpx;
margin-bottom: 6rpx;
}
.text {
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
font-weight: 400;
font-style: normal;
font-size: 30rpx;
color: #FFFFFF;
text-align: center;
line-height: 45rpx;
margin-bottom: 37.5rpx;
}
.case {
width: 540rpx;
height: 600rpx;
background: linear-gradient(180deg, rgba(242, 242, 242, 1) 0%, rgba(235, 235, 235, 1) 100%);
border-radius: 22.5rpx;
flex-direction: column;
align-items: center;
padding-top: 75rpx;
margin: 0 auto;
.QRcode {
width: 360rpx;
height: 360rpx;
background-color: rgba(255, 255, 255, 1);
border-color: rgba(242, 242, 242, 1);
border-radius: 15rpx;
box-shadow: 0 0 7.5rpx rgba(0, 0, 0, 0.184313725490196);
margin-bottom: 39rpx;
.img {
width: 327rpx;
height: 327rpx;
}
}
.hint {
.img {
width: 48rpx;
height: 48rpx;
&.img-left {
transform: rotate(180deg);
}
}
.hint-text {
font-size: 27rpx;
color: #000000;
text-align: center;
line-height: 42rpx;
margin: 0 22.5rpx;
}
}
}
}
}