admin/addon/cashier/source/os/pages/member/public/css/member.scss

553 lines
10 KiB
SCSS

.page-height {
height: 100%;
}
.common-wrap {
display: flex;
}
.left-wrap {
position: relative;
width: 5rem;
border: 0.01rem solid #e6e6e6;
.left-wrap-head {
height: 0.6rem;
box-sizing: border-box;
line-height: 0.6rem;
display: flex;
position: relative;
text-align: center;
justify-content: center;
border-bottom: 0.01rem solid #e6e6e6;
.head-icon {
position: absolute;
right: 0.15rem;
font-size: 0.26rem;
cursor: pointer;
}
.head-text {
font-size: 0.18rem;
font-weight: 500;
}
}
.left-wrap-content {
height: calc(100% - 0.6rem);
.wrap-search-box {
height: 0.35rem;
padding: 0.1rem 0.15rem;
border-bottom: 0.01rem solid #e6e6e6;
.wrap-search {
background: #f5f5f5;
display: flex;
position: relative;
padding: 0.05rem 0.15rem 0.05rem 0.4rem;
input {
width: 100%;
}
.iconfont {
position: absolute;
left: 0.15rem;
top: 0.08rem;
cursor: pointer;
}
}
}
.content-list {
height: calc(100% - 1.23rem);
.content-item {
padding: 0.15rem;
display: flex;
align-items: center;
cursor: pointer;
border-bottom: 0.01rem solid #e6e6e6;
&.active {
background: #f3eeff;
}
.item-img {
width: 0.45rem;
height: 0.45rem;
border-radius: 50%;
image {
width: 100%;
height: 100%;
border-radius: 50%;
}
}
.item-content {
padding-left: 0.15rem;
width: calc(100% - 0.45rem);
box-sizing: border-box;
.item-title {
width: 100%;
font-size: 0.16rem;
align-items: center;
display: flex;
justify-content: space-between;
.item-label {
border: 0.01rem solid $primary-color;
color: $primary-color;
background-color: #fff;
border-radius: 0.02rem;
width: fit-content;
padding: 0.01rem 0.05rem;
margin-left: 0.15rem;
}
.item-title-text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 50%;
font-size: 0.15rem;
}
}
.item-desc {
margin-top: 0.15rem;
font-size: 0.14rem;
display: flex;
justify-content: space-between;
text{
color: #fe2278;
font-size: 0.18rem;
}
}
}
}
}
.add-member{
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 0.15rem;
border-top: 0.01rem solid #e6e6e6;
background: #fff;
}
}
}
.right-wrap {
width: calc(100% - 5rem);
border: 0.01rem solid #e6e6e6;
border-left: 0;
.right-wrap-head {
height: 0.6rem;
box-sizing: border-box;
line-height: 0.6rem;
display: flex;
position: relative;
text-align: center;
justify-content: center;
border-bottom: 0.01rem solid #e6e6e6;
.head-text {
font-size: 0.18rem;
font-weight: 500;
}
}
.right-content {
background: #f8f8f8;
padding: 0.15rem;
width: 100%;
box-sizing: border-box;
height: calc(100% - 0.5rem);
.content-block {
width: 100%;
box-sizing: border-box;
display: flex;
align-items: center;
.item-img {
width: 0.7rem;
height: 0.7rem;
border-radius: 50%;
box-sizing: border-box;
image {
width: 100%;
height: 100%;
border-radius: 50%;
}
}
.item-content {
padding-left: 0.15rem;
width: calc(100% - 0.7rem);
box-sizing: border-box;
.item-title {
width: 100%;
font-size: 0.16rem;
align-items: center;
display: flex;
.item-label {
border: 0.01rem solid $primary-color;
color: $primary-color;
background-color: #fff;
border-radius: 0.02rem;
width: fit-content;
padding: 0.01rem 0.05rem;
margin-left: 0.15rem;
}
.item-title-text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 50%;
font-size: 0.16rem;
}
}
.info-list {
margin-top: 0.15rem;
display: flex;
justify-content: space-between;
.info-item {
font-size: 0.14rem;
margin-right: 0.2rem;
}
}
}
}
.content-block.account {
background-color: #ffffff;
padding: 0.25rem 0;
display: flex;
justify-content: space-around;
margin-top: 0.2rem;
border-radius: 0.03rem;
align-items: baseline;
.content-data-item {
.data-item-title {
}
.data-item-value {
font-size: 0.26rem;
margin-top: 0.1rem;
}
.data-item-action {
margin-top: 0.1rem;
color: $primary-color;
cursor: pointer;
float: left;
&:nth-child(2n) {
margin-left: 0.1rem;
}
}
}
}
.content-block.assets {
display: flex;
justify-content: space-around;
margin-top: 0.2rem;
.content-data-left {
background-color: #ffffff;
padding: 0.25rem 0;
border-radius: 0.03rem;
width: calc(50% - 0.075rem);
margin-right: 0.15rem;
display: flex;
justify-content: space-around;
height: 1rem;
.content-data-item {
.data-item-title {
}
.data-item-value {
font-size: 0.26rem;
margin-top: 0.1rem;
}
.data-item-action {
margin-top: 0.15rem;
color: $primary-color;
cursor: pointer;
}
}
}
.content-data-right {
background-color: #ffffff;
padding: 0.25rem 0;
border-radius: 0.03rem;
width: calc(50% - 0.075rem);
display: flex;
justify-content: space-around;
height: 1rem;
.content-data-item {
.data-item-title {
}
.data-item-value {
font-size: 0.26rem;
margin-top: 0.1rem;
}
.data-item-action {
margin-top: 0.15rem;
color: $primary-color;
}
}
}
}
.content-block.action {
display: flex;
justify-content: flex-start;
margin-top: 0.2rem;
.content-data-item {
width: calc(100% / 6);
background-color: #ffffff;
display: flex;
padding: 0.15rem 0;
border-radius: 0.03rem;
align-items: center;
text-align: center;
flex-direction: column;
margin-right: 0.15rem;
cursor: pointer;
.data-item-icon {
width: 0.55rem;
height: 0.55rem;
image {
width: 100%;
height: 100%;
}
}
.data-item-value {
margin-top: 0.1rem;
}
&:last-child {
margin-right: 0;
}
}
}
}
}
.empty {
text-align: center;
padding-top: 1.2rem;
image {
width: 2rem;
}
.tips {
color: #999;
margin-top: 0.15rem;
}
}
/deep/ .uni-scroll-view {
&::-webkit-scrollbar {
width: 0.06rem;
height: 0.06rem;
background-color: rgba($color: #000000, $alpha: 0);
}
&::-webkit-scrollbar-button {
display: none;
}
&::-webkit-scrollbar-thumb {
border-radius: 0.06rem;
box-shadow: inset 0 0 0.06rem rgba(45, 43, 43, 0.45);
background-color: #ddd;
display: none;
}
&:hover::-webkit-scrollbar-thumb {
display: block;
}
&::-webkit-scrollbar-track {
background-color: transparent;
}
}
// pop弹框
.pop-box {
background: #ffffff;
width: 8rem;
height: 7rem;
.pop-header {
padding: 0 0.15rem 0 0.2rem;
height: 0.5rem;
line-height: 0.5rem;
border-bottom: 0.01rem solid #f0f0f0;
font-size: 0.14rem;
color: #333;
overflow: hidden;
border-radius: 0.02rem 0.2rem 0 0;
box-sizing: border-box;
display: flex;
justify-content: space-between;
.pop-header-text {
}
.pop-header-close {
cursor: pointer;
i {
font-size: 0.18rem;
}
}
}
.pop-content {
height: calc(100% - 1.05rem);
overflow-y: scroll;
padding: 0.2rem;
box-sizing: border-box;
}
.pop-bottom {
padding: 0.1rem;
height: 0.65rem;
border-top: 0.01rem solid #eee;
button {
width: 1rem;
}
}
}
//表单
.form-content {
.form-item {
margin-bottom: 0.1rem;
display: flex;
.form-label {
width: 1.3rem;
text-align: right;
padding-right: 0.1rem;
box-sizing: border-box;
height: 0.32rem;
line-height: 0.32rem;
.required {
color: red;
margin-right: 0.03rem;
}
}
.form-inline {
width: 2.4rem;
line-height: 0.32rem;
margin-right: 0.1rem;
box-sizing: border-box;
.form-input {
border-width: 0.01rem;
border-style: solid;
background-color: #fff;
color: rgba(0, 0, 0, 0.85);
border-radius: 0.02rem;
padding-left: 0.1rem;
height: 0.32rem;
line-height: 0.32rem;
font-size: 0.14rem;
border-color: #e6e6e6;
border-radius: 0.02rem;
}
.form-textarea {
border-width: 0.01rem;
border-style: solid;
background-color: #fff;
color: rgba(0, 0, 0, 0.85);
border-radius: 0.02rem;
padding-left: 0.1rem;
line-height: 0.32rem;
font-size: 0.14rem;
border-color: #e6e6e6;
width: 100%;
}
.word-aux {
color: #999;
font-size: 0.12rem;
}
}
.search-wrap {
position: relative;
i {
position: absolute;
top: 50%;
right: 0.1rem;
transform: translateY(-50%);
border-left: 0.01rem solid #e6e6e6;
line-height: 0.3rem;
padding-left: 0.1rem;
cursor: pointer;
}
}
}
}
.addmemberPop-box {
width: 6rem;
height: 3.38rem;
.pop-content{
overflow-y: inherit;
}
.form-content{
display: flex;
flex-direction: column;
align-items: center;
.form-label{
width: .9rem;
}
}
.pop-bottom{
height: auto;
button{
width: 95%;
}
}
}
.refund-balance-box {
width: 5rem;
height: auto;
.pop-content {
overflow: hidden;
height: auto;
.info-item {
display: flex;
line-height: 0.3rem;
padding-bottom: 0.1rem;
.title {
width: 1.3rem;
text-align: right;
}
.data {
flex: 1;
width: 0;
input {
height: 0.3rem;
line-height: 0.3rem;
border: 0.01rem solid #e6e6e6;
padding: 0 0.1rem;
width: 0.8rem;
font-size: 0.14rem;
}
}
}
.value-item {
display: inline-block;
height: 0.3rem;
line-height: 0.3rem;
background-color: #fff;
color: #333;
border: 0.01rem solid #e6e6e6;
margin: 0 0.1rem 0 0;
padding: 0 0.1rem;
cursor: pointer;
transition: all 0.3s;
border-radius: 0.04rem;
&:hover,
&.active {
background: rgba($color: $primary-color, $alpha: 0.1);
border-color: $primary-color;
color: $primary-color;
}
}
}
.pop-bottom {
display: flex;
justify-content: flex-end;
height: auto;
button {
width: 0.8rem;
margin: 0 0 0 0.1rem;
}
}
}