init
This commit is contained in:
94
pages_promotion/fenxiao/public/css/follow.scss
Normal file
94
pages_promotion/fenxiao/public/css/follow.scss
Normal file
@@ -0,0 +1,94 @@
|
||||
.ns-adv {
|
||||
margin: $margin-updown $margin-both;
|
||||
border-radius: $border-radius;
|
||||
overflow: hidden;
|
||||
line-height: 1;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.lineheight-clear {
|
||||
line-height: 1 !important;
|
||||
}
|
||||
|
||||
// 商品列表双列样式
|
||||
.goods-list.double-column {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: $margin-updown $margin-both;
|
||||
|
||||
.goods-item {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
flex-basis: 48%;
|
||||
max-width: calc((100% - 30rpx) / 2);
|
||||
margin-right: $margin-both;
|
||||
margin-bottom: $margin-updown;
|
||||
border-radius: $border-radius;
|
||||
|
||||
&:nth-child(2n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.goods-img {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding-top: 100%;
|
||||
border-top-left-radius: $border-radius;
|
||||
border-top-right-radius: $border-radius;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
.info-wrap {
|
||||
padding: 0 26rpx 26rpx 26rpx;
|
||||
}
|
||||
|
||||
.goods-name {
|
||||
font-size: $font-size-base;
|
||||
line-height: 1.3;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
margin-top: 20rpx;
|
||||
height: 68rpx;
|
||||
}
|
||||
|
||||
.discount-price {
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
margin-top: 16rpx;
|
||||
|
||||
.unit {
|
||||
margin-right: 6rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.pro-info {
|
||||
display: flex;
|
||||
margin-top: 16rpx;
|
||||
|
||||
& > view {
|
||||
padding: 2rpx 10rpx;
|
||||
border: 2rpx solid;
|
||||
border-radius: 6rpx;
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
margin-right: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
574
pages_promotion/fenxiao/public/css/index.scss
Normal file
574
pages_promotion/fenxiao/public/css/index.scss
Normal file
@@ -0,0 +1,574 @@
|
||||
.fenxiao-index {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.task-popup {
|
||||
.head-wrap{
|
||||
font-size: 16px;
|
||||
line-height: 51px;
|
||||
height: 51px;
|
||||
display: block;
|
||||
text-align: center;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.body-wrap{
|
||||
max-height: 50vh;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.equity-content{
|
||||
width: 400rpx;
|
||||
height: 200rpx;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
// padding: 20rpx 0 20rpx 0rpx;
|
||||
}
|
||||
.subordinate-consumption{
|
||||
// margin-left: 130rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
.incomplete{
|
||||
font-weight: normal;
|
||||
color: rgb(153,153,153);
|
||||
margin-left: 120rpx;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.icon-wenhao{
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.to-complete-box{
|
||||
width: 100rpx;
|
||||
height: 40rpx;
|
||||
border-radius: 60rpx;
|
||||
background: rgb(233,51,35);
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
top: 40px;
|
||||
line-height: 40rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.to-complete-box{
|
||||
padding: 5rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.circle{
|
||||
width: 355rpx;
|
||||
height: 12rpx;
|
||||
margin: 10rpx 0rpx;
|
||||
}
|
||||
.zero{
|
||||
color:rgb(198,152,53);
|
||||
// margin-left: 130rpx;
|
||||
}
|
||||
.icon-close {
|
||||
position: absolute;
|
||||
float: right;
|
||||
right: 22px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
.fenxiao-index-header {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
height: 180rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
&.not-level {
|
||||
height: 200rpx;
|
||||
}
|
||||
|
||||
.member {
|
||||
width: 100%;
|
||||
height: 156rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 54rpx 32rpx 0;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
|
||||
.promote-rules {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
right: 40rpx;
|
||||
font-size: 24rpx;
|
||||
.iconfont{
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.member-pic {
|
||||
width: 108rpx;
|
||||
height: 108rpx;
|
||||
border-radius: 50%;
|
||||
border: 4rpx solid #fff;
|
||||
position: relative;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.level-name {
|
||||
height: 32rpx;
|
||||
background: linear-gradient(180deg, #FCFCFD 0%, #C8D0DD 100%);
|
||||
border-radius: 32rpx;
|
||||
line-height: 32rpx;
|
||||
padding: 0 10rpx;
|
||||
font-size: 18rpx;
|
||||
font-weight: 500;
|
||||
color: #666666;
|
||||
position: absolute;
|
||||
bottom: -4rpx;
|
||||
left: 50%;
|
||||
z-index: 5;
|
||||
white-space: nowrap;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
.member-info {
|
||||
flex: 1;
|
||||
width: 0;
|
||||
margin-left: 32rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
view {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.member-info-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 1;
|
||||
.level{
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-webkit-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-box-pack: center;
|
||||
-webkit-justify-content: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
-webkit-flex-shrink: 0;
|
||||
flex-shrink: 0;
|
||||
color: #ff3c29;
|
||||
font-size: 24rpx;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
margin-left: 24rpx !important;
|
||||
border-radius: 0 24rpx 24rpx 0;
|
||||
vertical-align: middle;
|
||||
background: #fff6d1;
|
||||
padding: 4rpx 24rpx;
|
||||
margin: 10rpx 0 10rpx 14rpx;
|
||||
.level-icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
-webkit-transform: translate(-50%, -55%);
|
||||
transform: translate(-50%, -55%);
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
margin: auto 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.name {
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.recommend {
|
||||
font-size: $font-size-tag;
|
||||
margin-top: 4rpx;
|
||||
line-height: 1;
|
||||
margin-bottom: 10rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.copy {
|
||||
width: 68rpx;
|
||||
height: 30rpx;
|
||||
line-height: 30rpx;
|
||||
background: linear-gradient(172deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.8) 100%);
|
||||
border-radius: 60rpx;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
font-size: 18rpx;
|
||||
font-weight: 600;
|
||||
color: #202230;
|
||||
margin-left: 20rpx
|
||||
}
|
||||
}
|
||||
|
||||
.member-tixian {
|
||||
width: 120rpx;
|
||||
height: 50rpx;
|
||||
border: 2rpx solid #ffffff;
|
||||
border-radius: $border-radius;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: $font-size-tag;
|
||||
color: #ffffff;
|
||||
}
|
||||
.code {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.fenxiao-level-wrap {
|
||||
width: calc(100% - 48rpx);
|
||||
height: 128rpx;
|
||||
background: linear-gradient(90deg, #FDE5C2 0%, #FDC172 100%);
|
||||
border-radius: 20rpx 20rpx 0px 0px;
|
||||
padding: 36rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.level-icon {
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
}
|
||||
|
||||
.level-wrap {
|
||||
flex: 1;
|
||||
width: 0;
|
||||
padding: 0 30rpx;
|
||||
margin-left: 30rpx;
|
||||
position: relative;
|
||||
|
||||
view {
|
||||
color: #945100;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-weight: 600;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.desc {
|
||||
font-size: 24rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 2rpx;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, #FDE5C2 0%, #FDC172 100%);
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
width: 118rpx;
|
||||
height: 54rpx;
|
||||
line-height: 54rpx;
|
||||
background: #945100;
|
||||
border-radius: 54rpx;
|
||||
font-size: 24rpx;
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fenxiao_index_money {
|
||||
color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
|
||||
.xian {
|
||||
height: 40rpx;
|
||||
border: 2rpx solid rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
.index-money-item {
|
||||
padding: 40rpx 0;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.item_money {
|
||||
color: #fff;
|
||||
font-size: 36rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
.item_tit {
|
||||
padding-top: 10rpx;
|
||||
font-size: $font-size-tag;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fenxiao-index-allmoney {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin: 20rpx 24rpx;
|
||||
border-radius: 16rpx;
|
||||
background-color: #ffffff;
|
||||
width: calc(100% - 48rpx);
|
||||
padding: 32rpx;
|
||||
box-sizing: border-box;
|
||||
|
||||
.allmoney-top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
view {
|
||||
line-height: 1;
|
||||
color: #565656;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.iconright {
|
||||
line-height: 1;
|
||||
font-size: 28rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.total-commission {
|
||||
color: #fa2943;
|
||||
margin-top: 20rpx;
|
||||
font-size: 56rpx;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.allmoney-bottom {
|
||||
display: flex;
|
||||
margin-top: 50rpx;
|
||||
|
||||
.allmoney-all-wrap {
|
||||
flex: 1;
|
||||
|
||||
.title {
|
||||
font-size: 24rpx;
|
||||
color: #565656;
|
||||
}
|
||||
|
||||
.money {
|
||||
font-size: 38rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.withdraw-btn {
|
||||
height: 78rpx;
|
||||
line-height: 78rpx;
|
||||
border-radius: 92rpx;
|
||||
background: #fa2943;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 28rpx;
|
||||
margin: 50rpx 10rpx 0 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.uni-popup__wrapper{
|
||||
width: 450rpx;
|
||||
height: 400rpx;
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.fenxiao-team {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
||||
.fenxiao-index-other {
|
||||
margin: 0 24rpx 20rpx 24rpx;
|
||||
border-radius: 16rpx;
|
||||
background-color: #ffffff;
|
||||
padding: 30rpx 0;
|
||||
flex: 1;
|
||||
|
||||
&:last-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.all-money-item {
|
||||
margin: 0 30rpx;
|
||||
display: flex;
|
||||
font-size: $font-size-tag;
|
||||
align-items: center;
|
||||
.img-wrap {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.all-money-tit-wrap {
|
||||
flex: 1;
|
||||
margin-left: 24rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 70rpx;
|
||||
|
||||
.all-money-tit {
|
||||
line-height: 1;
|
||||
color: $color-title;
|
||||
font-size: $font-size-base;
|
||||
flex: 1;
|
||||
}
|
||||
.all-money-num {
|
||||
color: $color-tip;
|
||||
font-size: 24rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fenxiao-menu-list {
|
||||
margin: 0 24rpx 20rpx 24rpx;
|
||||
border-radius: 16rpx;
|
||||
background-color: #ffffff;
|
||||
width: calc(100% - 48rpx);
|
||||
padding: 10rpx 30rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.menu-item {
|
||||
width: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 32rpx 0;
|
||||
|
||||
.icon-wrap {
|
||||
width: 68rpx;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
margin-right: 20rpx;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.info {
|
||||
flex: 1;
|
||||
|
||||
.title {
|
||||
font-size: 28rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.desc {
|
||||
font-size: 24rpx;
|
||||
margin-top: 12rpx;
|
||||
color: #aaa;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.empty {
|
||||
width: 100%;
|
||||
height: 400rpx;
|
||||
margin-top: 200rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
image {
|
||||
width: 300rpx;
|
||||
margin-bottom: 50rpx;
|
||||
}
|
||||
text {
|
||||
font-size: $font-size-tag;
|
||||
font-weight: 600;
|
||||
}
|
||||
view {
|
||||
width: 300rpx;
|
||||
height: 70rpx;
|
||||
border-radius: $border-radius;
|
||||
text-align: center;
|
||||
line-height: 70rpx;
|
||||
color: #ffffff;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.popup {
|
||||
width: 100vw;
|
||||
background: #fff;
|
||||
border-top-left-radius: 24rpx;
|
||||
border-top-right-radius: 24rpx;
|
||||
|
||||
.popup-header {
|
||||
display: flex;
|
||||
border-bottom: 2rpx solid $color-line;
|
||||
position: relative;
|
||||
padding: 40rpx;
|
||||
|
||||
.tit {
|
||||
flex: 1;
|
||||
font-size: $font-size-toolbar;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
}
|
||||
.iconfont {
|
||||
line-height: 1;
|
||||
position: absolute;
|
||||
right: 30rpx;
|
||||
top: 50%;
|
||||
transform: translate(0, -50%);
|
||||
color: $color-tip;
|
||||
font-size: $font-size-toolbar;
|
||||
}
|
||||
}
|
||||
|
||||
.popup-body {
|
||||
height: calc(100% - 250rpx);
|
||||
padding: 30rpx;
|
||||
&.store-popup {
|
||||
height: calc(100% - 120rpx);
|
||||
}
|
||||
&.safe-area {
|
||||
height: calc(100% - 270rpx);
|
||||
}
|
||||
&.store-popup.safe-area {
|
||||
height: calc(100% - 140rpx);
|
||||
}
|
||||
}
|
||||
}
|
||||
293
pages_promotion/fenxiao/public/css/level.scss
Normal file
293
pages_promotion/fenxiao/public/css/level.scss
Normal file
@@ -0,0 +1,293 @@
|
||||
.level-top {
|
||||
width: 100%;
|
||||
height: 40rpx;
|
||||
position: relative;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 260rpx;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
.level-swiper {
|
||||
width: 100vw;
|
||||
height: 270rpx;
|
||||
|
||||
.level-item {
|
||||
width: calc(100% - 60rpx);
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 26rpx;
|
||||
|
||||
.level-wrap {
|
||||
width: 100%;
|
||||
height: 90%;
|
||||
background: #fff;
|
||||
border-radius: 16rpx;
|
||||
transition: all .5s;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 20rpx 30rpx;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.not-unlocked {
|
||||
position: absolute;
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
background: #4B4B4B;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
right: -1rpx;
|
||||
top: -1rpx;
|
||||
border-top-right-radius: 16rpx;
|
||||
border-bottom-left-radius: 16rpx;
|
||||
|
||||
.iconfont {
|
||||
color: #D3DEE6;
|
||||
}
|
||||
}
|
||||
|
||||
&.curr {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
|
||||
.level-wrap {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.member-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.head-img {
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.nickname {
|
||||
color: #fff;
|
||||
margin: 0 20rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.level-name {
|
||||
line-height: 1;
|
||||
border: 2rpx solid #fff;
|
||||
padding: 4rpx 10rpx;
|
||||
border-radius: 6rpx;
|
||||
font-size: 26rpx;
|
||||
color: #f5f5f5;
|
||||
}
|
||||
}
|
||||
|
||||
.level-rate {
|
||||
display: flex;
|
||||
margin-top: 30rpx;
|
||||
|
||||
.rate-item {
|
||||
text-align: left;
|
||||
flex: 1;
|
||||
}
|
||||
.title {
|
||||
color: #f5f5f5;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.rate {
|
||||
margin-top: 10rpx;
|
||||
color: #fff;
|
||||
font-size: 38rpx;
|
||||
line-height: 1;
|
||||
|
||||
.percentage {
|
||||
font-size: 28rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
swiper-item {
|
||||
&:nth-child(1) .level-wrap {
|
||||
background: linear-gradient(to right, #9BA7B1, #D3DEE6);
|
||||
}
|
||||
&:nth-child(2) .level-wrap {
|
||||
background: linear-gradient(to right, #F57E2A, #FAD494);
|
||||
}
|
||||
&:nth-child(3) .level-wrap {
|
||||
background: linear-gradient(to right, #F85151, #FF9999);
|
||||
}
|
||||
&:nth-child(4) .level-wrap {
|
||||
background: linear-gradient(to right, #78B8B4, #AFE6E2);
|
||||
}
|
||||
&:nth-child(5) .level-wrap {
|
||||
background: linear-gradient(to right, #4DA1E1, #58CBF0);
|
||||
}
|
||||
&:nth-child(6) .level-wrap {
|
||||
background: linear-gradient(to right, #81C636, #D1F677);
|
||||
}
|
||||
&:nth-child(7) .level-wrap {
|
||||
background: linear-gradient(to right, #6D7279, #A5AAB0);
|
||||
}
|
||||
&:nth-child(8) .level-wrap {
|
||||
background: linear-gradient(to right, #866DDB, #D49BFE);
|
||||
}
|
||||
&:nth-child(9) .level-wrap {
|
||||
background: linear-gradient(to right, #f1c74e, #f7dc81);
|
||||
}
|
||||
&:nth-child(10) .level-wrap {
|
||||
background: linear-gradient(to right, #418CCF, #9CC6F1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.level-condition {
|
||||
margin: 30rpx 26rpx;
|
||||
background: #fff;
|
||||
padding: 30rpx;
|
||||
border-radius: 10rpx;
|
||||
|
||||
.condition-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.title {
|
||||
font-size: 32rpx;
|
||||
font-weight: bolder;
|
||||
position: relative;
|
||||
padding-left: 20rpx;
|
||||
line-height: 1;
|
||||
|
||||
&:before {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 6rpx;
|
||||
height: 100%;
|
||||
background-color: $base-color;
|
||||
border-radius: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rate {
|
||||
.complete {
|
||||
color: #E7B667;
|
||||
font-size: 26rpx!important;
|
||||
font-weight: normal!important;
|
||||
}
|
||||
.num {
|
||||
color: #bbb;
|
||||
font-size: 26rpx!important;
|
||||
font-weight: normal!important;
|
||||
}
|
||||
}
|
||||
|
||||
.task-item {
|
||||
padding: 20rpx 30rpx;
|
||||
background: #F8F8F8;
|
||||
border-radius: 10rpx;
|
||||
margin-top: 30rpx;
|
||||
|
||||
.flex-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.status{
|
||||
color: #999;
|
||||
|
||||
&.complete {
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
font-weight: bold;
|
||||
|
||||
.iconfont {
|
||||
font-size: 28rpx;
|
||||
color: #B7B7B7;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.desc {
|
||||
color: #999;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.progress {
|
||||
margin: 16rpx 0;
|
||||
}
|
||||
|
||||
.complete {
|
||||
font-size: 24rpx!important;
|
||||
}
|
||||
.num {
|
||||
font-size: 24rpx!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.popup {
|
||||
width: 100vw;
|
||||
background: #fff;
|
||||
border-top-left-radius: 24rpx;
|
||||
border-top-right-radius: 24rpx;
|
||||
|
||||
.popup-header {
|
||||
display: flex;
|
||||
border-bottom: 2rpx solid $color-line;
|
||||
position: relative;
|
||||
padding: 40rpx;
|
||||
|
||||
.tit {
|
||||
flex: 1;
|
||||
font-size: $font-size-toolbar;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
}
|
||||
.iconfont {
|
||||
line-height: 1;
|
||||
position: absolute;
|
||||
right: 30rpx;
|
||||
top: 50%;
|
||||
transform: translate(0, -50%);
|
||||
color: $color-tip;
|
||||
font-size: $font-size-toolbar;
|
||||
}
|
||||
}
|
||||
|
||||
.popup-body {
|
||||
height: calc(100% - 250rpx);
|
||||
padding: 30rpx;
|
||||
&.store-popup {
|
||||
height: calc(100% - 120rpx);
|
||||
}
|
||||
&.safe-area {
|
||||
height: calc(100% - 270rpx);
|
||||
}
|
||||
&.store-popup.safe-area {
|
||||
height: calc(100% - 140rpx);
|
||||
}
|
||||
}
|
||||
}
|
||||
206
pages_promotion/fenxiao/public/css/order.scss
Normal file
206
pages_promotion/fenxiao/public/css/order.scss
Normal file
@@ -0,0 +1,206 @@
|
||||
/deep/ .fixed {
|
||||
position: relative;
|
||||
top: 0;
|
||||
}
|
||||
/deep/ .empty {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
.cart-empty {
|
||||
padding-top: 208rpx !important;
|
||||
}
|
||||
.color-text-green {
|
||||
color: #11bd64;
|
||||
}
|
||||
.color-text-orange {
|
||||
color: #ffa044;
|
||||
}
|
||||
.withdraw-cate {
|
||||
width: 100%;
|
||||
height: 90rpx;
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
background: #ffffff;
|
||||
.cate-li {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
font-size: 30rpx;
|
||||
|
||||
&.active {
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
}
|
||||
&.active::after {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.goods_list {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0 24rpx;
|
||||
box-sizing: border-box;
|
||||
margin-top: 18rpx;
|
||||
.order-item {
|
||||
padding: 30rpx;
|
||||
box-sizing: border-box;
|
||||
border-radius: 10rpx;
|
||||
background: #ffffff;
|
||||
position: relative;
|
||||
margin-bottom: 18rpx;
|
||||
|
||||
.order-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
padding-bottom: 24rpx;
|
||||
line-height: 1;
|
||||
font-size: $font-size-goods-tag;
|
||||
|
||||
.icon-dianpu {
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
|
||||
.status-name {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
.order-body {
|
||||
margin-bottom: 24rpx;
|
||||
.goods-wrap {
|
||||
display: flex;
|
||||
position: relative;
|
||||
|
||||
&:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.goods-img {
|
||||
width: 170rpx;
|
||||
height: 170rpx;
|
||||
padding: 20rpx 0 0 0;
|
||||
margin-right: 5rpx;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
}
|
||||
|
||||
.goods-info {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
padding: 20rpx 0 0 0;
|
||||
max-width: calc(100% - 200rpx);
|
||||
margin-left: 18rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.top-wrap {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.goods-name {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
line-height: 1.5;
|
||||
font-size: $font-size-goods-tag;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.goods-sub-section {
|
||||
width: 100%;
|
||||
line-height: 1.5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: $font-size-goods-tag;
|
||||
margin-top: 20rpx;
|
||||
|
||||
.unit {
|
||||
font-size: $font-size-tag;
|
||||
margin-right: 2rpx;
|
||||
}
|
||||
|
||||
view {
|
||||
flex: 1;
|
||||
line-height: 1;
|
||||
&:last-of-type {
|
||||
text-align: right;
|
||||
|
||||
.iconfont {
|
||||
line-height: 1;
|
||||
font-size: $font-size-tag;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.order-time {
|
||||
margin-top: 12rpx;
|
||||
font-size: $font-size-goods-tag;
|
||||
color: #838383;
|
||||
|
||||
.goods-price {
|
||||
font-size: $font-size-goods-tag;
|
||||
float: right;
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.order-footer {
|
||||
padding-top: 24rpx;
|
||||
.order-base-info {
|
||||
display: flex;
|
||||
|
||||
.total {
|
||||
text-align: right;
|
||||
padding-top: 20rpx;
|
||||
flex: 1;
|
||||
font-size: $font-size-goods-tag;
|
||||
|
||||
& > text {
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.order-type {
|
||||
font-size: $font-size-goods-tag;
|
||||
|
||||
& > text {
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
.order-base-info.active {
|
||||
.total {
|
||||
padding-top: 0;
|
||||
}
|
||||
.order-type {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.order-item:last-child {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
.price-color{
|
||||
color: var(--price-color);
|
||||
}
|
||||
Reference in New Issue
Block a user