You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
337 lines
5.6 KiB
337 lines
5.6 KiB
.container {
|
|
min-height: 100vh;
|
|
background-color: #e7e7e7;
|
|
// 设置ios刘海屏底部横线安全区域
|
|
// 110 - 18 + 4
|
|
padding-bottom: calc(constant(safe-area-inset-bottom) + 106rpx + 6rpx);
|
|
padding-bottom: calc(env(safe-area-inset-bottom) + 106rpx + 6rpx);
|
|
|
|
}
|
|
|
|
// 商品信息
|
|
.goods-info {
|
|
background: #fff;
|
|
padding: 25rpx 30rpx;
|
|
}
|
|
|
|
.info-item__top {
|
|
min-height: 40rpx;
|
|
margin-bottom: 20rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.floor-price__samll {
|
|
font-size: 26rpx;
|
|
line-height: 1;
|
|
color: #FA2209;
|
|
margin-bottom: -10rpx;
|
|
}
|
|
|
|
// 商品价
|
|
.floor-price {
|
|
color: #FA2209;
|
|
margin-right: 15rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.original-price {
|
|
font-size: 26rpx;
|
|
text-decoration: line-through;
|
|
color: #959595;
|
|
margin-right: 15rpx;
|
|
margin-bottom: -6rpx;
|
|
}
|
|
|
|
// 会员价标签
|
|
.user-grade {
|
|
background: #3c3c3c;
|
|
border-radius: 6rpx;
|
|
padding: 8rpx 14rpx;
|
|
margin-right: 15rpx;
|
|
font-size: 24rpx;
|
|
color: #EEE0C3;
|
|
}
|
|
|
|
.goods-sales {
|
|
font-size: 24rpx;
|
|
color: #959595;
|
|
}
|
|
|
|
.info-item__name .goods-name {
|
|
font-size: 30rpx;
|
|
.twoline-hide {
|
|
white-space: normal;
|
|
}
|
|
}
|
|
|
|
/* 商品分享 */
|
|
|
|
.goods-share__line {
|
|
border-left: 1rpx solid #f4f4f4;
|
|
height: 60rpx;
|
|
margin: 0 30rpx;
|
|
}
|
|
|
|
.goods-share .share-btn {
|
|
line-height: normal;
|
|
padding: 0;
|
|
background: none;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
font-size: 8pt;
|
|
border: none;
|
|
color: #191919;
|
|
}
|
|
|
|
.goods-share .share-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.goods-share .share__icon {
|
|
font-size: 40rpx;
|
|
margin-bottom: 5rpx;
|
|
}
|
|
|
|
// 商品卖点
|
|
.info-item_selling-point {
|
|
margin-top: 8rpx;
|
|
font-size: 24rpx;
|
|
color: #808080;
|
|
}
|
|
|
|
// 选择商品规格
|
|
.goods-choice {
|
|
padding: 26rpx 30rpx;
|
|
font-size: 28rpx;
|
|
|
|
.spec-list {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.spec-name {
|
|
margin-right: 10rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 商品详情
|
|
.goods-content .item-title {
|
|
padding: 26rpx 30rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
// 标的信息
|
|
.bdcontent {
|
|
//parent style
|
|
line-height: 1.4;
|
|
color: #3c3c3c;
|
|
|
|
.item-title-tab {
|
|
width: 100%;
|
|
.item-title{
|
|
width: 33.3%;
|
|
padding: 26rpx;
|
|
font-size: 36rpx;
|
|
font-weight: 600;
|
|
border-bottom: #eee solid 2rpx;
|
|
display: inline-block;
|
|
text-align: center;
|
|
.item-title-text {
|
|
border-bottom: #000000 solid 4rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.item-content{
|
|
padding: 20rpx 26rpx;
|
|
// font-size: 30rpx;
|
|
|
|
.gdic{
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 10rpx 0 10rpx 0rpx;
|
|
border-bottom: #eee solid 2rpx;
|
|
white-space: nowrap;
|
|
|
|
&-tit{
|
|
margin-right: 12rpx;
|
|
padding-right: 10rpx;
|
|
}
|
|
|
|
&-txt{
|
|
color: #808080;
|
|
white-space: normal;
|
|
.atxt {
|
|
color: red;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.item-content-long{
|
|
margin-bottom: 90rpx;
|
|
}
|
|
.last-content-long{
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.last-item{
|
|
margin-bottom: 90rpx;
|
|
}
|
|
}
|
|
|
|
// 店铺详情
|
|
.dpxq{
|
|
position: fixed;
|
|
bottom: var(--window-bottom);
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
z-index: 11;
|
|
height: 86rpx;
|
|
box-shadow: 0 -4rpx 40rpx 0 rgba(151, 151, 151, 0.24);
|
|
background: #fff;
|
|
// 设置ios刘海屏底部横线安全区域
|
|
padding-bottom: constant(safe-area-inset-bottom);
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
|
|
.xqbtn{
|
|
margin:20rpx auto;
|
|
line-height: 62rpx;
|
|
width: 40%;
|
|
height: 62rpx;
|
|
text-align: center;
|
|
color: #5500ff;
|
|
}
|
|
}
|
|
|
|
// 底部操作栏
|
|
.footer-fixed {
|
|
position: fixed;
|
|
bottom: var(--window-bottom);
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
z-index: 11;
|
|
box-shadow: 0 -4rpx 40rpx 0 rgba(151, 151, 151, 0.24);
|
|
// background: rgb(62, 71, 97);
|
|
background:#fff;
|
|
|
|
// 设置ios刘海屏底部横线安全区域
|
|
padding-bottom: constant(safe-area-inset-bottom);
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
}
|
|
|
|
.footer-container {
|
|
width: 100%;
|
|
display: flex;
|
|
height: 106rpx;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.foo-item-price {
|
|
flex-basis: 100%;
|
|
|
|
view {
|
|
display: inline-block;
|
|
}
|
|
|
|
.btn-item-year {
|
|
margin-top: 15rpx;
|
|
}
|
|
|
|
.btn-item-input {
|
|
float: right;
|
|
display: inline-block;
|
|
margin-top: 10rpx;
|
|
width: 300rpx;
|
|
}
|
|
.btn-item-addprice {
|
|
float: right;
|
|
margin-top: 15rpx;
|
|
}
|
|
}
|
|
|
|
// 快捷菜单
|
|
.foo-item-fast {
|
|
box-sizing: border-box;
|
|
min-width: 214rpx;
|
|
line-height: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-evenly;
|
|
margin-right: 12rpx;
|
|
flex-basis: 33%;
|
|
|
|
.fast-item {
|
|
position: relative;
|
|
padding: 4rpx 0;
|
|
line-height: 1;
|
|
text-align: center;
|
|
width: 84rpx;
|
|
|
|
&--cart {
|
|
margin-left: 6rpx;
|
|
.fast-icon { margin-left: -12rpx; }
|
|
}
|
|
|
|
// 角标
|
|
.fast-badge {
|
|
display: inline-block;
|
|
box-sizing: border-box;
|
|
min-width: 16px;
|
|
padding: 0 3px;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
font-size: 12px;
|
|
font-family: -apple-system-font, Helvetica Neue, Arial, sans-serif;
|
|
line-height: 1.2;
|
|
text-align: center;
|
|
background-color: #ee0a24;
|
|
border: 1px solid #fff;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.fast-badge--fixed {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
transform-origin: 100%
|
|
}
|
|
|
|
.fast-icon {
|
|
font-size: 44rpx;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.fast-text {
|
|
font-size: 22rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 操作按钮
|
|
.foo-item-btn {
|
|
flex: 1;
|
|
flex-basis: 33%;
|
|
|
|
.btn-wrapper {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.btn-item {
|
|
flex: 1;
|
|
font-size: 28rpx;
|
|
height: 72rpx;
|
|
margin-right: 16rpx;
|
|
color: #fff;
|
|
// border-radius: 50rpx;
|
|
background: rgb(16, 130, 132);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
}
|