yuminge-app/yun-min-program-plugin-master/packageH/cpsDetail/cpsDetail.wxss

191 lines
2.9 KiB
Plaintext

.top-box {
width: 100%;
/* height: 430rpx; */
/* background: #b7b7b7; */
/* background-size: 100% 100%;
background-repeat: no-repeat; */
/* margin-bottom: 20rpx; */
}
.top-box image {
width: 100%;
}
.goods-box {
width: 710rpx;
background: #fff;
border-radius: 20rpx;
margin: 0 auto;
box-sizing: border-box;
padding: 40rpx 0;
/* margin-top: -60rpx; */
}
.goods-box .title {
display: flex;
align-items: center;
justify-content: center;
}
.goods-box .title .left {
width: 44rpx;
height: 44rpx;
background: #f3f3f3;
border-radius: 50%;
margin-right: 12rpx;
}
.goods-box .title .left image {
width: 100%;
height: 100%;
border-radius: 100%;
}
.goods-box .title .text {
font-size: 36rpx;
font-weight: 500;
}
.goods-box .price {
display: flex;
align-items: center;
justify-content: center;
margin-top: 20rpx;
color: #d84c44;
font-size: 40rpx;
}
.goods-box .normal-price {
display: flex;
align-items: center;
justify-content: center;
color: #999;
}
.buy-count {
width: 710rpx;
background: #fff;
border-radius: 20rpx;
margin: 0 auto;
box-sizing: border-box;
padding: 40rpx;
margin-top: 20rpx;
}
.buy-count .num {
display: flex;
justify-content: space-between;
align-items: center;
}
.buy-count .num .change {
display: flex;
justify-content: center;
align-items: center;
}
.buy-count .num .change input {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
border: none;
outline: none;
width: 60rpx;
height: 60rpx;
}
.buy-count .num .change image {
width: 40rpx;
height: 40rpx;
}
.buy-count .btn {
width: 630rpx;
height: 72rpx;
background: #fff8ef;
border-radius: 12rpx;
display: flex;
justify-content: center;
align-items: center;
color: #89683d;
margin-top: 60rpx;
}
.use-tips {
width: 710rpx;
background: #fff;
border-radius: 20rpx;
margin: 0 auto;
box-sizing: border-box;
padding: 40rpx;
margin-top: 20rpx;
text-align: left;
margin-bottom: 20rpx;
}
.use-tips .tips-content {
margin-top: 40rpx;
color: #666;
font-size: 24rpx;
}
.fixed-btn {
width: 750rpx;
height: 120rpx;
background: #fff;
display: flex;
position: fixed;
bottom: 0;
}
.fixed-btn .fixed-right {
width: 474rpx;
height: 120rpx;
box-sizing: border-box;
background: #e9c69a;
font-size: 36rpx;
display: flex;
align-items: center;
justify-content: center;
}
.fixed-btn .fixed-left {
width: 276rpx;
box-sizing: border-box;
height: 120rpx;
align-items: center;
display: flex;
}
.fixed-btn .fixed-left .toIndex {
width: 50%;
display: flex;
flex-direction: column;
align-items: center;
color: #666;
}
.fixed-btn .fixed-left .toOrder {
width: 50%;
display: flex;
flex-direction: column;
color: #666;
align-items: center;
}
.fixed-btn .fixed-left .toIndex image {
width: 40rpx;
height: 40rpx;
}
.fixed-btn .fixed-left .toOrder image {
width: 40rpx;
height: 40rpx;
}