bk-shop/src/subpages/member/index.scss

414 lines
8.2 KiB
SCSS
Executable File

.sp-page-body {
// padding-top: var(--status-bar-height);
// margin-top: 0 !important;
}
.pages-member-index {
padding-bottom: $tabbar-height;
&.has-navbar {
padding-top: calc($navigate-height + 20px);
}
.header-block {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
padding-top: calc(var(--status-bar-height) + 30px);
position: relative;
}
.usericon {
border: 4px solid #fff;
// border: none;
width: 110px;
height: 110px;
border-radius: 50%;
margin-right: 20px;
overflow: hidden;
}
.icon-style {
width: 70px;
height: 70px;
}
.header-hd {
padding: 24px 38px 100px 38px;
display: flex;
align-items: center;
&__header {
.sp-image {
}
}
&__body {
height: 110px;
line-height: 40px;
width: 80%;
display: flex;
align-items: center;
justify-content: space-between;
/* #ifdef h5 */
margin-top: 20px;
/* #endif */
.sp-login {
color: #fff !important;
.box {
display: flex;
flex-direction: column;
font-size: 32px;
font-weight: bold;
.ws_info {
margin-top: 20px;
font-weight: normal;
font-size: 26px;
display: flex;
align-items: center;
.img {
width: 26px;
height: 26px;
}
}
}
}
}
&__footer {
.user-info__link {
margin-top: 20px;
display: inline-block;
}
.icon-qianwang-01 {
font-size: 28px;
}
}
.username-wrap {
}
.user-grade-name {
line-height: 35px;
}
.username {
font-size: 32px;
color: #222;
// width: 90%;
font-weight: bold;
// @include multi-ellipsis(1);
}
.gradename {
display: inline-block;
position: relative;
// padding: 0 20px;
z-index: 1;
font-size: 24px;
text-align: center;
color: #777;
// background: linear-gradient(to right bottom, #fca280, #e75fa9);
// border-radius: 50px;
}
.icon-erweima-01 {
color: var(--color-primary);
font-size: 38px;
}
.join-us-txt {
// color: var(--color-primary);
// font-size: 28px;
font-size: 32px;
// color: #222;
}
}
.header-bd {
display: flex;
align-items: center;
justify-content: center;
.bd-item {
flex: 1;
text-align: center;
}
.deposit-item {
.sp-price__int {
font-size: 36px;
}
}
.bd-item-label {
color: #666;
font-size: 24px;
}
.bd-item-value {
color: #333;
font-size: 36px;
}
}
.header-ft {
height: 110px;
}
.header-code {
margin: 0 26px;
border-radius: 10rpx 10rpx 0rpx 0rpx;
opacity: 0.9;
box-sizing: border-box;
background: #ffffff;
width: calc(100% - 52px);
position: absolute;
bottom: 0%;
height: 70px;
padding: 26px 100px 0;
color: #000;
font-size: 24px;
display: flex;
justify-content: space-between;
}
.body-block {
padding: 30px 16px 50px;
.comp-panel {
&-bd {
padding: 24px 50px;
margin-top: 20px;
}
.extra {
margin-right: 8px;
}
margin-bottom: 24px;
.icon-qianwang-01 {
color: #505050 important;
}
}
}
.ziti-order {
background: #f5f5f5;
display: flex;
align-items: center;
padding: 20px 16px;
margin-bottom: 24px;
&-info {
flex: 1;
}
.icon-qianwang-01 {
font-size: 24px;
color: #aaa;
}
.title {
font-size: 30px;
color: #444;
// font-weight: bold;
}
.ziti-txt {
font-size: 24px;
color: #444;
}
.ziti-num {
color: #da760c;
}
}
.order-con {
display: flex;
justify-content: space-between;
.order-item {
// flex: 1;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
position: relative;
padding: 0px !important;
&-view {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.sp-image {
width: 46px;
height: 42px;
margin-bottom: 10px;
}
}
}
.order-bradge {
position: absolute;
top: -6px;
// right: 45px;
right: -16px;
font-size: 20px;
display: block;
border: 3px solid #fff;
border-radius: 20px 20px 20px 0px;
color: #fff;
padding: 3px 10px;
min-width: 16px;
line-height: 1.2;
box-sizing: content-box;
background-color: var(--color-primary);
text-align: center;
}
.order-txt {
font-size: 24px;
color: #222;
}
}
.service-block {
background: #fff;
box-shadow: 0px 2px 10px 0px rgba(234, 231, 224, 1);
margin: 0 16px 24px;
.block-hd {
color: #333;
font-size: 36px;
font-weight: bold;
padding: 36px 25px;
}
}
.btn-share {
border-width: 0;
height: inherit;
line-height: inherit;
padding: 0;
width: fit-content;
background-color: transparent;
display: flex;
flex-direction: column;
align-items: center;
&:after {
border-width: 0;
}
}
.dibiao-block {
display: flex;
justify-content: center;
margin-bottom: 40px;
.dibiao-image {
width: 320px;
}
// .sp-image-img {
// height: 40px;
// }
// /* #ifdef h5 */
// img {
// height: 40px;
// }
// /* #endif */
}
.member {
&-block {
padding: 0 40px 20px;
box-sizing: border-box;
}
&_tit {
font-size: 32px;
margin-bottom: 45px;
}
&_con {
width: 100%;
display: grid;
grid-template-columns: 1fr 10px 1fr !important;
justify-content: space-between;
&_left {
display: grid;
grid-template-rows: repeat(2, auto);
grid-gap: 10px;
}
&_item {
position: relative;
&_txt {
position: absolute;
left: 20px;
bottom: 30px;
color: #fff;
font-size: 32px;
font-weight: 500;
}
}
&_right {
display: grid;
grid-template-rows: repeat(3, auto);
grid-gap: 10px;
.member_con_item_txt {
left: auto;
right: 20px;
}
}
}
}
.curtain-block {
display: block;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 80;
// transition: all 0.3s ease;
animation: fadeIn 0.38s ease-in-out;
opacity: 0;
visibility: hidden;
&.show {
opacity: 1;
visibility: visible;
}
&.hide {
opacity: 0;
visibility: hidden;
}
&_mask {
display: flex;
position: relative;
margin: 0 auto;
width: 100%;
height: 100%;
padding: 100px 30px;
justify-content: center;
align-items: center;
box-sizing: border-box;
opacity: 1;
}
&_content {
width: 100%;
background-color: #fff;
border-radius: 10px;
padding: 60px 46px;
box-sizing: border-box;
&_title {
display: flex;
justify-content: center;
align-items: center;
font-size: 34px;
line-height: 1;
margin-bottom: 90px;
.sp-image {
margin-right: 4px;
}
}
&_text {
font-size: 26px;
line-height: 2;
max-height: 620px;
}
}
.btn {
margin-top: 40px;
margin-bottom: 30px;
}
.no-btn {
display: flex;
justify-content: center;
margin: 0 auto;
padding: 0 32rpx;
height: 80rpx;
color: #222;
font-size: 32rpx;
line-height: 78rpx;
text-align: center;
border-radius: 8rpx;
border: 1px solid #000;
box-sizing: border-box;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
}
}