@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: #f2f2f2;
|
}
|
.product-detail .product-pic,
|
.product-detail .product-pic .swiper,
|
.product-detail .product-pic image {
|
width: 750rpx;
|
height: 750rpx;
|
}
|
.product-detail .price-wrap {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
.product-detail .price-wrap .left {
|
display: flex;
|
justify-content: flex-start;
|
align-items: flex-end;
|
}
|
.product-detail .price-wrap .new-price {
|
font-size: 30rpx;
|
font-weight: bold;
|
margin-right: 14rpx;
|
}
|
[data-theme='theme0'] .product-detail .price-wrap .new-price {
|
color: #ff4c01 !important;
|
}
|
[data-theme='theme1'] .product-detail .price-wrap .new-price {
|
color: #e31c28 !important;
|
}
|
[data-theme='theme2'] .product-detail .price-wrap .new-price {
|
color: #f55234 !important;
|
}
|
[data-theme='theme3'] .product-detail .price-wrap .new-price {
|
color: #ff4645 !important;
|
}
|
[data-theme='theme4'] .product-detail .price-wrap .new-price {
|
color: #ff4d4d !important;
|
}
|
[data-theme='theme5'] .product-detail .price-wrap .new-price {
|
color: #e7032c !important;
|
}
|
[data-theme='theme6'] .product-detail .price-wrap .new-price {
|
color: #e31c28 !important;
|
}
|
.fn {
|
font-weight: normal;
|
}
|
.product-detail .price-wrap .new-price .num {
|
padding: 0 4rpx;
|
font-size: 40rpx;
|
}
|
.product-detail .price-wrap .old-price {
|
font-size: 26rpx;
|
color: #999999;
|
text-decoration: line-through;
|
}
|
.product-detail .already-sale {
|
font-size: 24rpx;
|
color: #999999;
|
}
|
.product-detail .product-name {
|
padding-top: 26rpx;
|
font-size: 30rpx;
|
font-weight: 500;
|
color: #333333;
|
}
|
.scroll-box {
|
padding-bottom: env(safe-area-inset-bottom);
|
box-sizing: border-box;
|
}
|
.product-detail .product-describe {
|
padding: 18rpx;
|
line-height: 40rpx;
|
font-size: 26rpx;
|
color: #666666;
|
word-break: break-all;
|
margin-top: 28rpx;
|
}
|
.already-choice {
|
background: #ffffff;
|
}
|
.already-choice .center-content {
|
line-height: 90rpx;
|
}
|
.product-comment,
|
.product-content {
|
margin-top: 20rpx;
|
background: #ffffff;
|
}
|
.product-comment .collect_btn {
|
height: 50rpx;
|
line-height: 50rpx;
|
text-align: center;
|
color: #FFFFFF;
|
border-radius: 30rpx;
|
font-size: 26rpx;
|
padding: 0 24rpx;
|
}
|
[data-theme='theme0'] .product-comment .collect_btn {
|
background: linear-gradient(-45deg, #fe632a 0%, #ff7a04 100%) !important;
|
}
|
[data-theme='theme1'] .product-comment .collect_btn {
|
background: linear-gradient(0deg, #19ad57 0%, #148d47 100%) !important;
|
}
|
[data-theme='theme2'] .product-comment .collect_btn {
|
background: linear-gradient(0deg, #fc4528 0%, #fc7639 100%) !important;
|
}
|
[data-theme='theme3'] .product-comment .collect_btn {
|
background: linear-gradient(0deg, #1774ff 0%, #0e6bf5 100%) !important;
|
}
|
[data-theme='theme4'] .product-comment .collect_btn {
|
background: linear-gradient(-45deg, #2e2e2e 0%, #424242 100%) !important;
|
}
|
[data-theme='theme5'] .product-comment .collect_btn {
|
background: linear-gradient(0deg, #bfb18f 0%, #c8ba97 100%) !important;
|
}
|
[data-theme='theme6'] .product-comment .collect_btn {
|
background: linear-gradient(-45deg, #592ef7 0%, #623ceb 100%) !important;
|
}
|
.product-comment .collected {
|
border: 1rpx solid #FFFFFF;
|
color: #FFFFFF;
|
}
|
.product-content .content-box ._p image {
|
width: 100%;
|
}
|
.product-content .content-box {
|
font-size: 36rpx;
|
}
|
.sage-bottom {
|
width: 100%;
|
height: calc(100rpx + env(safe-area-inset-bottom));
|
}
|
.btns-wrap {
|
position: fixed;
|
height: 100rpx;
|
right: 0;
|
bottom: 0;
|
left: 0;
|
display: flex;
|
background: #ffffff;
|
align-items: center;
|
padding-bottom: env(safe-area-inset-bottom);
|
}
|
.btns-wrap .icon-box {
|
width: 92rpx;
|
height: 100rpx;
|
}
|
.btns-wrap .icon-box .iconfont {
|
font-size: 40rpx;
|
color: #888888;
|
}
|
.btns-wrap .icon-box .iconfont .num {
|
position: absolute;
|
top: 10rpx;
|
left: 50%;
|
height: 30rpx;
|
min-width: 30rpx;
|
overflow: hidden;
|
line-height: 32rpx;
|
border-radius: 15rpx;
|
font-size: 20rpx;
|
color: #ffffff;
|
background: red;
|
}
|
.btns-wrap button,
|
.btns-wrap button:after {
|
height: 100rpx;
|
line-height: 100rpx;
|
margin: 0;
|
padding: 0;
|
flex: 1;
|
border-radius: 0;
|
border: 0;
|
}
|
.btns-wrap button.add-cart {
|
font-size: 28rpx;
|
width: 214rpx;
|
height: 75rpx;
|
line-height: 75rpx;
|
border-top-left-radius: 40rpx;
|
border-bottom-left-radius: 40rpx;
|
margin-left: 17rpx;
|
}
|
[data-theme='theme0'] .btns-wrap button.add-cart {
|
color: #ffffff !important;
|
}
|
[data-theme='theme1'] .btns-wrap button.add-cart {
|
color: #ffffff !important;
|
}
|
[data-theme='theme2'] .btns-wrap button.add-cart {
|
color: #ffffff !important;
|
}
|
[data-theme='theme3'] .btns-wrap button.add-cart {
|
color: #ffffff !important;
|
}
|
[data-theme='theme4'] .btns-wrap button.add-cart {
|
color: #333333 !important;
|
}
|
[data-theme='theme5'] .btns-wrap button.add-cart {
|
color: #ffffff !important;
|
}
|
[data-theme='theme6'] .btns-wrap button.add-cart {
|
color: #ffffff !important;
|
}
|
[data-theme='theme0'] .btns-wrap button.add-cart {
|
background: linear-gradient(45deg, #ffcb05 0%, #fd9f01 100%) !important;
|
}
|
[data-theme='theme1'] .btns-wrap button.add-cart {
|
background: linear-gradient(0deg, rgba(25, 173, 87, 0.65) 0%, rgba(20, 141, 71, 0.65) 100%) !important;
|
}
|
[data-theme='theme2'] .btns-wrap button.add-cart {
|
background: linear-gradient(0deg, #ffcc00 0%, #fd9f01 100%) !important;
|
}
|
[data-theme='theme3'] .btns-wrap button.add-cart {
|
background: linear-gradient(0deg, rgba(23, 116, 255, 0.55) 0%, rgba(14, 107, 245, 0.55) 100%) !important;
|
}
|
[data-theme='theme4'] .btns-wrap button.add-cart {
|
background: linear-gradient(45deg, #e4e4e4 0%, #e4e4e4 100%) !important;
|
}
|
[data-theme='theme5'] .btns-wrap button.add-cart {
|
background: linear-gradient(0deg, rgba(191, 177, 143, 0.6) 0%, rgba(200, 186, 151, 0.6) 100%) !important;
|
}
|
[data-theme='theme6'] .btns-wrap button.add-cart {
|
background: linear-gradient(45deg, rgba(89, 46, 247, 0.45) 0%, rgba(98, 60, 235, 0.45) 100%) !important;
|
}
|
.btns-wrap button.add-cart-no {
|
font-size: 28rpx;
|
width: 214rpx;
|
height: 75rpx;
|
line-height: 75rpx;
|
border-top-left-radius: 40rpx;
|
border-bottom-left-radius: 40rpx;
|
color: #FFFFFF;
|
margin-left: 17rpx;
|
background: #CCCCCC;
|
}
|
.btns-wrap button.buy {
|
font-size: 28rpx;
|
width: 214rpx;
|
height: 75rpx;
|
line-height: 75rpx;
|
border-top-right-radius: 40rpx;
|
border-bottom-right-radius: 40rpx;
|
margin-right: 30rpx;
|
}
|
[data-theme='theme0'] .btns-wrap button.buy {
|
color: #ffffff !important;
|
}
|
[data-theme='theme1'] .btns-wrap button.buy {
|
color: #ffffff !important;
|
}
|
[data-theme='theme2'] .btns-wrap button.buy {
|
color: #ffffff !important;
|
}
|
[data-theme='theme3'] .btns-wrap button.buy {
|
color: #ffffff !important;
|
}
|
[data-theme='theme4'] .btns-wrap button.buy {
|
color: #ffffff !important;
|
}
|
[data-theme='theme5'] .btns-wrap button.buy {
|
color: #ffffff !important;
|
}
|
[data-theme='theme6'] .btns-wrap button.buy {
|
color: #ffffff !important;
|
}
|
[data-theme='theme0'] .btns-wrap button.buy {
|
background: linear-gradient(-45deg, #fe632a 0%, #ff7a04 100%) !important;
|
}
|
[data-theme='theme1'] .btns-wrap button.buy {
|
background: linear-gradient(0deg, #19ad57 0%, #148d47 100%) !important;
|
}
|
[data-theme='theme2'] .btns-wrap button.buy {
|
background: linear-gradient(0deg, #fc4528 0%, #fc7639 100%) !important;
|
}
|
[data-theme='theme3'] .btns-wrap button.buy {
|
background: linear-gradient(0deg, #1774ff 0%, #0e6bf5 100%) !important;
|
}
|
[data-theme='theme4'] .btns-wrap button.buy {
|
background: linear-gradient(-45deg, #2e2e2e 0%, #424242 100%) !important;
|
}
|
[data-theme='theme5'] .btns-wrap button.buy {
|
background: linear-gradient(0deg, #bfb18f 0%, #c8ba97 100%) !important;
|
}
|
[data-theme='theme6'] .btns-wrap button.buy {
|
background: linear-gradient(-45deg, #592ef7 0%, #623ceb 100%) !important;
|
}
|
.btns-wrap button.buy.ispresale {
|
line-height: 1;
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
}
|
.red {
|
color: #f6220c !important;
|
}
|
.shoucang-box {
|
position: fixed;
|
padding-right: 10rpx;
|
width: 80rpx;
|
height: 80rpx;
|
right: 0;
|
bottom: 270rpx;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
border-radius: 16rpx 0 0 16rpx;
|
background: rgba(0, 0, 0, 0.8);
|
}
|
.shoucang-box button {
|
padding: 0;
|
background: 0;
|
line-height: 60rpx;
|
}
|
.shoucang-box .iconfont {
|
margin-bottom: 10rpx;
|
font-size: 50rpx;
|
color: #ffffff;
|
position: relative;
|
top: 5rpx;
|
}
|
.share-box {
|
position: absolute;
|
width: 60rpx;
|
height: 60rpx;
|
right: 0;
|
bottom: -16rpx;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
}
|
.share-box button {
|
padding: 0;
|
background: 0;
|
line-height: 60rpx;
|
border-radius: 0;
|
}
|
.share-box .iconfont {
|
margin-bottom: 10rpx;
|
font-size: 50rpx;
|
color: #ffffff;
|
}
|
.sc-box {
|
position: absolute;
|
width: 60rpx;
|
height: 60rpx;
|
right: 78rpx;
|
bottom: -16rpx;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
}
|
.sc-box button {
|
padding: 0;
|
background: 0;
|
line-height: 60rpx;
|
border-radius: 0;
|
}
|
.sc-box .iconfont.icon {
|
font-size: 38rpx;
|
}
|
.create-img {
|
width: 100%;
|
padding: 20rpx;
|
box-sizing: border-box;
|
}
|
.create-img image {
|
width: 100%;
|
}
|
.create-img button {
|
width: 100%;
|
height: 88rpx;
|
line-height: 88rpx;
|
border-radius: 44rpx;
|
box-shadow: 0 8rpx 16rpx 0 rgba(226, 35, 26, 0.6);
|
}
|
.shop_head_info {
|
margin: 20rpx;
|
padding: 30rpx;
|
box-sizing: border-box;
|
background-color: white;
|
border-radius: 12rpx;
|
}
|
.shop_list_body_item_shop {
|
width: 100%;
|
height: 120rpx;
|
display: flex;
|
justify-content: space-between;
|
}
|
.shop_list_body_item_shop_logo {
|
width: 120rpx;
|
height: 120rpx;
|
}
|
.shop_list_body_item_shop_logo image {
|
width: 100%;
|
height: 100%;
|
background-color: rgba(0, 0, 0, 0.1);
|
border-radius: 12rpx;
|
}
|
.shop_list_body_item_shop_info {
|
box-sizing: border-box;
|
margin-left: 20rpx;
|
padding-top: 0;
|
display: flex;
|
justify-content: space-between;
|
flex-direction: column;
|
}
|
.shop_list_body_item_shop_others {
|
box-sizing: border-box;
|
display: flex;
|
justify-content: space-between;
|
flex-direction: column;
|
text-align: right;
|
padding-top: 0;
|
}
|
.shop_list_body_item_shop_others button {
|
width: 160rpx;
|
height: 60rpx;
|
border: 1rpx solid #F6220C;
|
border-radius: 30rpx;
|
line-height: 60rpx;
|
font-size: 26rpx;
|
font-family: PingFang SC;
|
font-weight: 500;
|
color: #F6220C;
|
text-align: center;
|
padding: 0;
|
background-color: #ffffff;
|
}
|
.h1 {
|
font-size: 32rpx;
|
}
|
.h2 {
|
font-size: 28rpx;
|
}
|
.h3 {
|
font-size: 24rpx;
|
}
|
.h4 {
|
font-size: 20rpx;
|
}
|
.h5 {
|
font-size: 16rpx;
|
}
|
.h6 {
|
font-size: 12rpx;
|
}
|
.collect text {
|
color: #f6220c;
|
}
|
.store_type {
|
display: inline-block;
|
background-color: #f6220c;
|
color: #FFFFFF;
|
border-radius: 7rpx;
|
font-weight: 200;
|
height: 35rpx;
|
line-height: 35rpx;
|
font-size: 21rpx;
|
padding: 0 10rpx;
|
margin-right: 20rpx;
|
}
|
.share_img {
|
width: 42rpx;
|
height: 42rpx;
|
margin: 0 auto;
|
margin-bottom: 4rpx;
|
}
|
.share_img.img_gray {
|
-webkit-filter: grayscale(100%);
|
filter: grayscale(100%);
|
}
|
.share_text {
|
line-height: 34rpx;
|
}
|
.reg180 {
|
padding-right: 20rpx;
|
text-align: center;
|
-webkit-transform: rotateY(180deg);
|
transform: rotateY(180deg);
|
display: flex;
|
justify-content: flex-end;
|
align-items: center;
|
}
|
.header {
|
z-index: 99;
|
position: fixed;
|
height: 30px;
|
line-height: 30px;
|
top: 0;
|
left: 0;
|
width: 100%;
|
padding-top: 25px;
|
}
|
.header .reg180 .icon-jiantou {
|
color: #FFFFFF;
|
background: rgba(0, 0, 0, 0.6);
|
display: block;
|
width: 44rpx;
|
height: 44rpx;
|
line-height: 44rpx;
|
border-radius: 50%;
|
}
|
.btn_btom {
|
height: 90rpx;
|
line-height: 45rpx;
|
}
|
.btnname {
|
position: absolute;
|
bottom: -16px;
|
left: 0;
|
right: 0;
|
}
|
.icon-dianpu1 {
|
color: #333333;
|
}
|
.icon-kefu2 {
|
color: #333333;
|
}
|
.coupon_item {
|
height: 40rpx;
|
line-height: 40rpx;
|
border-radius: 6rpx;
|
background-color: #fff2f1;
|
color: #f6220c;
|
padding: 0 16rpx;
|
text-align: center;
|
font-size: 22rpx;
|
margin-left: 10rpx;
|
}
|
.pro_nameline {
|
width: 4rpx;
|
height: 24rpx;
|
background-color: #f6220c;
|
margin-right: 12rpx;
|
}
|
.icon.icon-shoucang {
|
font-size: 34rpx;
|
}
|
.icon-shoucang.gray3 {
|
color: #333333;
|
}
|
.cart_num {
|
position: absolute;
|
background: #f6220c;
|
width: 30rpx;
|
height: 30rpx;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
font-size: 22rpx;
|
border-radius: 50%;
|
color: #ffff;
|
right: 4rpx;
|
top: 4rpx;
|
}
|
.video {
|
width: 100%;
|
height: 100%;
|
}
|
.product-detail .product-pic .swiper .icon-bofang {
|
position: absolute;
|
top: 0;
|
bottom: 0;
|
left: 0;
|
right: 0;
|
margin: auto;
|
font-size: 48rpx;
|
color: #FFFFFF;
|
border-radius: 50%;
|
border: 4rpx solid #FFFFFF;
|
width: 120rpx;
|
height: 120rpx;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
background-color: #00000080;
|
padding-left: 16rpx;
|
box-sizing: border-box;
|
z-index: 10;
|
}
|
.group-hd {
|
position: relative;
|
padding-left: 24rpx;
|
box-sizing: border-box;
|
display: flex;
|
justify-content: flex-start;
|
align-items: center;
|
}
|
.group-hd .text-box {
|
padding: 2rpx 6rpx;
|
background-color: #fbe9e7;
|
color: #fd5342;
|
margin-right: 10rpx;
|
border-radius: 4rpx;
|
font-size: 20rpx;
|
height: 32rpx;
|
line-height: 32rpx;
|
}
|
.group-hd.d-b-s {
|
height: auto;
|
display: flex;
|
justify-content: space-between;
|
align-items: flex-start;
|
}
|
.text-box {
|
padding: 2rpx 6rpx;
|
background-color: #fbe9e7;
|
color: #fd5342;
|
margin-right: 10rpx;
|
border-radius: 4rpx;
|
font-size: 20rpx;
|
height: 32rpx;
|
line-height: 32rpx;
|
}
|
.group-hd::after {
|
content: '';
|
width: 8rpx;
|
height: 33rpx;
|
position: absolute;
|
top: 30rpx;
|
left: 0;
|
}
|
[data-theme='theme0'] .group-hd::after {
|
background: linear-gradient(180deg, #f11e0b 0%, #f77636 100%) !important;
|
}
|
[data-theme='theme1'] .group-hd::after {
|
background: linear-gradient(180deg, #19ad57 0%, #148d47 100%) !important;
|
}
|
[data-theme='theme2'] .group-hd::after {
|
background: linear-gradient(180deg, #f11e0b 0%, #f77636 100%) !important;
|
}
|
[data-theme='theme3'] .group-hd::after {
|
background: linear-gradient(180deg, #1774ff 0%, #0e6bf5 100%) !important;
|
}
|
[data-theme='theme4'] .group-hd::after {
|
background: linear-gradient(180deg, #2e2e2e 0%, #424242 100%) !important;
|
}
|
[data-theme='theme5'] .group-hd::after {
|
background: linear-gradient(180deg, #bfb18f 0%, #c8ba97 100%) !important;
|
}
|
[data-theme='theme6'] .group-hd::after {
|
background: linear-gradient(180deg, #592ef7 0%, #623ceb 100%) !important;
|
}
|
.hide.group-hd::after {
|
width: 0;
|
}
|
.group-hd .line-h-90 {
|
line-height: 90rpx;
|
}
|
.group-hd .line-h-50 {
|
line-height: 50rpx;
|
}
|
.text-coupon-list {
|
display: flex;
|
justify-content: flex-start;
|
align-items: center;
|
flex-wrap: wrap;
|
}
|
.text-coupon-box {
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
height: 32rpx;
|
border: 1rpx solid #DDDDDD;
|
border-radius: 5rpx;
|
position: relative;
|
box-sizing: border-box;
|
padding: 0 16rpx;
|
}
|
.text-coupon {
|
color: #FF5649;
|
font-size: 18rpx;
|
}
|
.text-coupon-left {
|
position: absolute;
|
left: -5rpx;
|
width: 10rpx;
|
height: 10rpx;
|
border-radius: 50%;
|
border-right: 1rpx solid #DDDDDD;
|
z-index: 0;
|
background: #ffffff;
|
}
|
.text-coupon-right {
|
position: absolute;
|
right: -5rpx;
|
width: 10rpx;
|
height: 10rpx;
|
border-radius: 50%;
|
border-left: 1rpx solid #DDDDDD;
|
z-index: 0;
|
background: #ffffff;
|
}
|
/* 预售 */
|
.product-detail .limited-spike {
|
position: relative;
|
z-index: 2;
|
margin-top: -112rpx;
|
padding: 0 35rpx;
|
color: #ffffff;
|
background: linear-gradient(140deg, #F11E0B 0%, #F77737 100%);
|
border-radius: 15rpx;
|
height: 278rpx;
|
padding: 40rpx 21rpx;
|
box-sizing: border-box;
|
}
|
.product-detail .limited-spike .left-name {
|
font-size: 22rpx;
|
color: #ffffff;
|
}
|
.product-detail .limited-spike .right-time {
|
position: absolute;
|
right: 20rpx;
|
top: 58rpx;
|
}
|
.product-detail .limited-spike .right-time .jiantou {
|
width: 20rpx;
|
height: 20rpx;
|
margin-left: 9rpx;
|
}
|
.mt-down-box {
|
margin-top: -107rpx;
|
z-index: 3;
|
position: relative;
|
border-radius: 15rpx;
|
min-height: 68rpx;
|
}
|
.tips-box {
|
margin-left: 8rpx;
|
height: 40rpx;
|
line-height: 40rpx;
|
padding: 0 24rpx 0 14rpx;
|
box-sizing: border-box;
|
font-size: 20rpx;
|
font-weight: 500;
|
color: #FFFFFF;
|
background-color: rgba(255, 255, 255, 0.45);
|
border-radius: 20rpx;
|
}
|
.product-detail .product-presale {
|
padding: 26rpx;
|
line-height: 40rpx;
|
font-size: 26rpx;
|
color: #666666;
|
background-color: rgba(49, 193, 158, 0.1);
|
border-radius: 12rpx;
|
word-break: break-all;
|
margin-top: 28rpx;
|
}
|