This commit is contained in:
arlenops
2025-11-20 12:30:45 +08:00
commit 2c0fbc9d81
462 changed files with 35368 additions and 0 deletions

814
css/activities.less Normal file
View File

@@ -0,0 +1,814 @@
.activities-page {
background: #F7F8FA;
.active-box {
padding-top: 0;
.active-type-title {
font-size: 32px;
color: rgba(0, 0, 0, 0.9);
font-weight: 400;
}
.active-list {
margin-top: -48px;
display: flex;
.active-item {
cursor: pointer;
box-sizing: border-box;
width: 335px;
padding: 20px;
background: linear-gradient(180deg, #FFF9F6 0%, #FFFFFF 100%);
box-shadow: 0px 0px 12px 1px rgba(52, 52, 52, 0.08);
margin-left: 20px;
&:nth-of-type(1) {
margin-left: 0;
}
.active-name {
font-size: 20px;
color: #FF6739;
}
.active-des {
margin-top: 10px;
font-size: 14px;
color: rgba(0, 0, 0, 0.6);
}
}
}
.active-type {
margin-top: 80px;
.cloud-des {
margin-top: 16px;
font-size: 16px;
color: rgba(0, 0, 0, 0.6);
.link-rule {
cursor: pointer;
font-size: 16px;
color: #FF6739;
text-decoration: none;
margin-right: 10px;
}
}
.dedicated-box {
display: flex;
justify-content: space-between;
align-items: center;
}
.active-content {
display: flex;
align-items: center;
justify-content: space-between;
.active-notice {
display: flex;
align-items: center;
margin-top: 16px;
font-size: 16px;
color: #FF6739;
>span {
margin-left: 3px;
}
}
.count-down-box {
font-size: 0;
.count-text {
margin-right: 6px;
font-size: 14px;
color: rgba(0, 0, 0, 0.4);
}
.mar-r0 {
margin-right: 0;
}
.count-time {
display: inline-block;
border: 1px solid #FF6739;
width: 28px;
margin-right: 6px;
height: 32px;
text-align: center;
line-height: 32px;
font-size: 18px;
color: #FF6739;
}
}
}
.seckill-goods {
margin-top: 40px;
display: flex;
.seckill-item {
position: relative;
font-size: 0;
box-sizing: border-box;
padding-bottom: 20px;
width: 335px;
border: 1px solid #FFFFFF;
background: #FFFFFF;
border-radius: 3px 3px 3px 3px;
margin-left: 20px;
&:nth-of-type(1) {
margin-left: 0;
}
&:hover {
box-shadow: 0px 0px 12px 1px rgba(52, 52, 52, 0.08);
.seckill-name {
color: #FF6739 !important;
}
}
.seckill-logo {
position: absolute;
right: 1px;
top: 10px;
display: flex;
align-items: center;
justify-content: center;
background: #FEE2C6;
width: 72px;
height: 24px;
font-size: 12px;
color: #E2491B;
border-radius: 40px 0px 0px 40px;
}
.seckill-top {
padding-top: 21px;
background: linear-gradient(180deg, #FFF9F6 0%, #FFFFFF 100%);
height: 127px;
border-bottom: 1px solid rgba(230, 234, 237, 0.6);
.seckill-name {
padding: 0 20px;
font-size: 22px;
color: #000000;
}
.seckill-des,
.seckill-country {
padding: 0 20px;
margin-top: 8px;
font-size: 14px;
color: rgba(0, 0, 0, 0.6);
}
}
.seckill-bottom {
padding: 0 20px;
.seckill-info {
height: 157px;
.seckill-config {
margin-top: 18px;
box-sizing: border-box;
.seckill-label {
display: inline-block;
width: 113px;
color: rgba(0, 0, 0, 0.4);
font-size: 14px;
}
.seckill-value {
color: rgba(0, 0, 0, 0.9);
font-size: 14px;
}
}
}
.seckill-ad {
.seckill-aditem {
padding: 4px 8px;
display: inline-flex;
align-items: center;
justify-content: center;
color: rgba(0, 0, 0, 0.6);
font-size: 12px;
margin-left: 10px;
border-radius: 1px 1px 1px 1px;
background: #F7F8F9;
border: 1px solid #EDEDED;
&:nth-of-type(1) {
margin-left: 0;
}
}
}
.seckill-price {
margin-top: 18px;
font-size: 0;
.price-text {
color: #FF6739;
font-size: 14px;
}
.font-24 {
font-size: 24px;
}
.origin-price {
margin-left: 4px;
font-size: 12px;
color: rgba(0, 0, 0, 0.4);
text-decoration: line-through;
}
.price-moon {
color: rgba(0, 0, 0, 0.4);
font-size: 14px;
}
}
.seckill-btn {
margin-top: 16px;
cursor: pointer;
.buy-btn {
padding: 10px 20px;
border: none;
width: 100%;
background: linear-gradient(85deg, #FF832D 0%, #FF550A 100%);
}
.lootall-btn {
padding: 10px 20px;
border: none;
width: 100%;
background: #EEEEEE;
color: #B0B0B0;
cursor: not-allowed;
}
}
.progress {
margin-top: 21px;
width: 100%;
height: 4px;
background-color: #EDEDED;
border-radius: 8px;
margin-bottom: 0;
.progress-bar {
border-radius: 8px;
background-color: #FF6739;
}
}
.progress-text {
margin-top: 6px;
font-size: 12px;
color: #FF6739;
}
}
}
}
.cloud-tab {
border-bottom: 1px solid #B4B4B4;
margin-top: 40px;
position: relative;
.tab-right {
position: absolute;
right: 0;
top: -14px;
}
.tab-left {
display: flex;
.tab-item {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
width: 164px;
font-size: 16px;
height: 46px;
color: rgba(0, 0, 0, 0.9);
&:hover {
color: #E2491B;
}
}
.active-tab {
position: relative;
color: #FFFFFF !important;
background: linear-gradient(90deg, #F97F2B 0%, #FAA759 100%);
overflow: hidden;
&::after {
content: '';
position: absolute;
top: 0px;
right: -23px;
border: 23px solid transparent;
border-right: 23px solid #F7F8FA;
border-top: 50px solid #F7F8FA;
}
}
}
}
.tab-right {
.right-btn {
width: 142px;
height: 40px;
box-sizing: border-box;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
border-radius: 3px 3px 3px 3px;
border: 1px solid #FF6739;
font-size: 16px;
color: #FF6739;
}
}
.cloud-goods {
margin-top: 24px;
box-shadow: 0px 0px 12px 1px rgba(52, 52, 52, 0.08);
.cloud-item {
display: flex;
width: 100%;
height: 148px;
align-items: center;
background: #FFFFFF;
position: relative;
border-bottom: 1px solid #EDEDED;
&:nth-last-of-type(1) {
border-bottom: none;
}
.cloud-label {
position: absolute;
left: 0;
top: 18px;
font-size: 12px;
color: #E2491B;
width: 92px;
height: 24px;
text-align: center;
line-height: 24px;
background: #FEE2C6;
border-radius: 0px 40px 40px 0px;
}
.cloud-left {
box-sizing: border-box;
padding-left: 30px;
display: flex;
flex-direction: column;
width: 289px;
height: 100%;
background: linear-gradient(180deg, #FFF9F6 0%, #FFFFFF 100%);
border-radius: 3px 3px 3px 3px;
.cloud-name {
margin-top: 56px;
font-size: 22px;
color: #000000;
}
.cloud-text {
margin-top: 12px;
font-size: 14px;
color: rgba(0, 0, 0, 0.6);
}
}
.cloud-mid {
display: flex;
.cloud-config-item {
width: 142px;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
&:nth-last-of-type(1) {
&::after {
height: 0;
border: none;
}
}
&::after {
position: absolute;
content: '';
right: 0;
top: 50%;
transform: translateY(-50%);
height: 48px;
border-right: 1px solid #EDEDED;
}
.config-lable {
color: rgba(0, 0, 0, 0.9);
font-size: 18px;
}
.config-value {
margin-top: 21px;
color: rgba(0, 0, 0, 0.4);
font-size: 14px;
}
}
}
.cloud-right {
display: flex;
.cloud-price-box {
box-shadow: 0px 0px 12px 1px rgba(52, 52, 52, 0.08);
flex-direction: column;
display: flex;
align-items: center;
justify-content: center;
color: #FF6739;
width: 140px;
height: 84px;
font-size: 14px;
border-radius: 3px 3px 3px 3px;
border: 1px solid #EDEDED;
margin-right: 18px;
cursor: pointer;
&.active {
background: rgba(255, 103, 57, 0.08);
border: 1px solid #FF6739;
}
&:hover {
background: rgba(255, 103, 57, 0.08);
border: 1px solid #FF6739;
}
.font-24 {
font-size: 24px;
}
.cloud-origin {
text-decoration: line-through;
}
}
}
.cloud-buy-btn {
margin-left: 40px;
width: 140px;
height: 40px;
}
}
}
}
.more-acticve {
margin-top: 80px;
.more-box {
margin-top: 60px;
display: flex;
.more-item {
box-sizing: border-box;
padding: 18px 30px;
position: relative;
width: 455px;
height: 194px;
background: linear-gradient(137deg, #F8FAFB 0%, #FFFFFF 100%);
margin-right: 20px;
&:nth-last-of-type(1) {
margin-right: 0;
}
&:hover {
box-shadow: 0px 0px 12px 1px rgba(52, 52, 52, 0.08);
}
.more-label {
position: absolute;
content: '';
top: 0;
right: 0;
color: #FFFFFF;
padding: 0 10px;
height: 24px;
text-align: center;
line-height: 24px;
background: linear-gradient(180deg, #FF832D 0%, #FF550A 100%);
border-radius: 0px 3px 0px 12px;
font-size: 12px;
}
.more-name {
font-size: 22px;
color: #000000;
}
.more-des {
margin-top: 10px;
color: rgba(0, 0, 0, 0.6);
font-size: 14px;
}
.more-bnt {
display: block;
cursor: pointer;
margin-top: 28px;
font-size: 16px;
color: #FF6739;
width: 120px;
text-align: center;
line-height: 40px;
height: 40px;
border-radius: 3px 3px 3px 3px;
border: 1px solid #FF6739;
}
}
}
}
}
.dialog-box {
display: none;
position: fixed;
z-index: 999999;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
background-color: rgba(0, 0, 0, 0.6);
.modal-content {
background-color: #FFFFFF;
margin: 5% auto;
box-shadow: 0px 3px 12px 1px rgba(0, 0, 0, 0.1);
border-radius: 4px 4px 4px 4px;
padding: 30px 20px 30px 30px;
width: 50%;
opacity: 0;
transform: scale(0.8);
transition: all 0.2s ease-in-out;
}
.authentication-content {
margin: 15% auto;
width: 480px;
}
.buyCloud-content {
width: 750px;
}
.modal-content.show {
opacity: 1;
transform: scale(1);
}
.dia-close {
color: rgba(0, 0, 0, 0.40);
font-size: 22px;
font-weight: bold;
}
.dia-close:hover,
.dia-close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.dia-title {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 16px;
color: rgba(0, 0, 0, 0.9);
margin-bottom: 20px;
}
.no-rz-tips {
display: flex;
align-items: center;
color: rgba(0, 0, 0, 0.6);
font-size: 14px;
}
.dia-fotter {
margin-top: 24px;
display: flex;
align-items: center;
justify-content: center;
}
.dia-body {
.buyCloud-body {}
}
.buy-fotter {
width: 100%;
display: flex;
justify-content: flex-end;
.fotter-text {
font-size: 14px;
color: rgba(0, 0, 0, 0.9);
margin-right: 11px;
}
.fotter-price {
font-size: 14px;
.now-pirce {
font-weight: bold;
color: #E34D59;
}
.origin-price {
margin-top: 4px;
color: rgba(0, 0, 0, 0.4);
text-decoration: line-through;
}
}
.buy-cloud {
margin-left: 40px;
background: #FF6739;
border-radius: 3px 3px 3px 3px;
height: 40px;
margin-right: 10px;
width: 96px;
font-size: 14px;
color: rgba(255, 255, 255, 0.9);
}
}
.buy-form {
.buyed-box {
background: #F7F8FA;
border-radius: 3px 3px 0px 0px;
padding: 17px 30px 20px 30px;
.form-item:nth-last-of-type(1) {
margin-bottom: 0;
}
}
.no-buy-box {
padding: 20px 30px 20px 30px;
}
.buy-type {
margin-bottom: 10px;
font-size: 16px;
color: rgba(0, 0, 0, 0.9);
}
.un-select {
font-size: 14px;
color: rgba(0, 0, 0, 0.9);
}
.form-item {
margin-bottom: 20px;
}
label {
width: 100px;
font-size: 14px;
color: rgba(0, 0, 0, 0.6);
}
select {
position: relative;
width: 320px;
height: 40px;
background: #FFFFFF;
border-radius: 3px 3px 3px 3px;
border: 1px solid #E6EAED;
font-size: 14px;
// appearance: none;
// -webkit-appearance: none;
// -moz-appearance: none;
color: rgba(0, 0, 0, 0.9);
padding: 0 12px 0 16px;
&:focus-visible {
border: 1px solid #E6EAED;
outline: none;
}
&:focus {
border: 1px solid #E6EAED;
outline: none;
}
}
.quantity {
position: relative;
margin-left: 40px;
display: inline-block;
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance: textfield;
text-align: center;
width: 70px;
height: 34px;
background: rgba(255, 255, 255, 0.9);
border-radius: 0px 0px 0px 0px;
border: 1px solid #E6EAED;
}
input[type=number]:focus {
outline: none;
}
.plus-btn,
.minus-btn {
width: 40px;
height: 34px;
padding: 0;
border: 1px solid #E6EAED;
border-radius: 3px 0px 0px 3px;
background: #E8E7E5;
font-size: 20px;
cursor: pointer;
}
.plus-btn:hover,
.minus-btn:hover {
background-color: #bbb;
}
.plus-btn:focus,
.minus-btn:focus {
outline: none;
}
.plus-btn {
position: absolute;
top: 0;
right: -40px;
}
.minus-btn {
position: absolute;
bottom: 0;
left: -40px;
}
}
}
}
}