@charset "UTF-8";
|
/**
|
* 这里是uni-app内置的常用样式变量
|
*
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
*
|
*/
|
/**
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
*
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
*/
|
/* 颜色变量 */
|
/* 行为相关颜色 */
|
/* 文字基本颜色 */
|
/* 背景颜色 */
|
/* 边框颜色 */
|
/* 尺寸变量 */
|
/* 文字尺寸 */
|
/* 图片尺寸 */
|
/* Border Radius */
|
/* 水平间距 */
|
/* 垂直间距 */
|
/* 透明度 */
|
/* 文章场景相关 */
|
/* start--主题色--start */
|
/* end--主题色--end */
|
page {
|
background-color: #F2F2F2;
|
}
|
.top-box {
|
position: relative;
|
}
|
.presale-product-wrap .tab-item {
|
flex: 0;
|
padding: 0 25rpx;
|
font-size: 33rpx;
|
height: 86rpx;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
flex-direction: column;
|
white-space: nowrap;
|
color: #333333;
|
}
|
.presale-product-wrap .logo {
|
width: 75rpx;
|
height: 69rpx;
|
margin-right: 18rpx;
|
padding-left: 24rpx;
|
flex-shrink: 0;
|
}
|
.presale-product-wrap .logo image {
|
width: 75rpx;
|
height: 69rpx;
|
}
|
.presale-product-wrap .tab-item .actab-title {
|
font-size: 30rpx;
|
font-weight: bold;
|
color: #333333;
|
}
|
.presale-product-wrap .tab-item .actab-status {
|
font-weight: bold;
|
color: #666666;
|
font-size: 17rpx;
|
height: 30rpx;
|
padding: 0 18rpx;
|
box-sizing: border-box;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
border-radius: 15rpx;
|
}
|
.presale-product-wrap .tab-item.active .actab-status {
|
background: linear-gradient(140deg, #F11E0B 0%, #F77737 100%);
|
color: #FFFFFF;
|
}
|
.presale-product-wrap .tab-item.active {
|
font-size: 30rpx;
|
opacity: 1;
|
position: relative;
|
margin-bottom: 0;
|
}
|
.presale-product-wrap .tab-item.active::after {
|
display: none;
|
}
|
.presale-product-wrap .tab-item.active .status1 {
|
content: "";
|
width: 120rpx;
|
height: 4rpx;
|
background: linear-gradient(140deg, #F11E0B 0%, #F77737 100%);
|
border-radius: 2rpx;
|
position: absolute;
|
border: 30rpx;
|
}
|
.presale-product-wrap .every-day-time text {
|
padding: 8rpx 16rpx;
|
font-size: 26rpx;
|
color: #333;
|
opacity: 0.5;
|
}
|
.presale-product-wrap .ad-activity {
|
position: relative;
|
overflow: hidden;
|
}
|
.presale-product-wrap .ad-activity image {
|
width: 750rpx;
|
height: 367rpx;
|
border-radius: 12rpx;
|
}
|
.presale-list-wrap .list .item {
|
padding: 30rpx;
|
display: flex;
|
border-radius: 16rpx;
|
margin-bottom: 20rpx;
|
background: #ffffff;
|
}
|
.presale-list-wrap .product-cover,
|
.presale-list-wrap .product-cover image {
|
width: 212rpx;
|
height: 212rpx;
|
border-radius: 10rpx;
|
}
|
.active-top-tab .ad-datetime .box {
|
height: 40rpx;
|
padding: 4rpx;
|
line-height: 40rpx;
|
text-align: center;
|
border-radius: 8rpx;
|
font-size: 28rpx;
|
background: #F6220C;
|
color: #FFFFFF;
|
}
|
.active-top-tab .ad-datetime text {
|
color: #333;
|
font-size: 28rpx;
|
}
|
.presale-list-wrap .product-title {
|
display: -webkit-box;
|
overflow: hidden;
|
-webkit-line-clamp: 1;
|
-webkit-box-orient: vertical;
|
font-size: 24rpx;
|
}
|
.presale-list-wrap .already-sale {
|
padding: 4rpx 0;
|
color: #8228EB;
|
font-size: 22rpx;
|
}
|
.dj-text {
|
height: 31rpx;
|
background-color: rgba(255, 0, 0, 0.2);
|
font-size: 20rpx;
|
padding: 0 18rpx;
|
color: #F11E0B;
|
border-radius: 15rpx;
|
}
|
.presale-list-wrap .right-btn button {
|
background: linear-gradient(140deg, #F11E0B 0%, #F77737 100%);
|
color: #ffffff;
|
height: 56rpx;
|
border-radius: 10rpx;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
padding: 0 33rpx;
|
}
|
.reg180 {
|
padding-right: 20rpx;
|
text-align: right;
|
-webkit-transform: rotateY(180deg);
|
transform: rotateY(180deg);
|
position: absolute;
|
bottom: 0;
|
}
|
.icon-jiantou {
|
color: #FFFFFF;
|
font-size: 30rpx;
|
}
|
.head_top {
|
position: absolute;
|
top: 0;
|
z-index: 20;
|
padding-top: 25px;
|
height: 30px;
|
line-height: 30px;
|
color: #FFFFFF;
|
font-size: 28rpx;
|
}
|
.tab-item.active::after {
|
content: '';
|
width: 60%;
|
height: 4rpx;
|
background: #F2F2F2;
|
border-radius: 2rpx;
|
position: absolute;
|
bottom: 5rpx;
|
}
|
.diy-banner-box {
|
overflow: hidden;
|
}
|
.diy-banner-box,
|
.diy-banner-box .swiper {
|
width: 750rpx;
|
/* background-color: #FFFFFF; */
|
}
|
.diy-banner-box image {
|
margin: 0 auto;
|
width: 702rpx;
|
height: 300rpx;
|
border-radius: 12rpx;
|
}
|
.diy-banner-box.square .swiper-dots {
|
position: absolute;
|
bottom: 20rpx;
|
left: 44rpx;
|
margin: auto;
|
}
|
.swiper-dots.square .swiper-dot {
|
width: 28rpx;
|
height: 6rpx;
|
border-radius: 3rpx;
|
margin: 0 4rpx;
|
background: #ffffff;
|
opacity: 0.4;
|
}
|
.swiper-dots.square .swiper-dot.active {
|
opacity: 0.8;
|
}
|
.index-search-box {
|
background-color: #FFFFFF;
|
}
|
.index-search-box .index-search {
|
height: 60rpx;
|
background: #FFFFFF;
|
border: 1rpx solid #DDDDDD;
|
border-radius: 30rpx;
|
margin-right: 15rpx;
|
}
|