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.
165 lines
2.7 KiB
165 lines
2.7 KiB
/* pages/detail/detail.wxss */
|
|
page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
/* 直接设置swiper属性 */
|
|
swiper {
|
|
height: 500rpx;
|
|
}
|
|
swiper-item image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.detail {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 15rpx;
|
|
margin-bottom: 0rpx;
|
|
}
|
|
.detail .title {
|
|
font-size: 40rpx;
|
|
margin: 10rpx;
|
|
color: black;
|
|
text-align: justify;
|
|
}
|
|
.detail .price {
|
|
color: red;
|
|
font-size: 40rpx;
|
|
margin: 10rpx;
|
|
}
|
|
.line_flag {
|
|
width: 80rpx;
|
|
height: 1rpx;
|
|
display: inline-block;
|
|
margin: 20rpx auto;
|
|
background-color: gainsboro;
|
|
text-align: center;
|
|
}
|
|
.line {
|
|
width: 100%;
|
|
height: 2rpx;
|
|
display: inline-block;
|
|
margin: 20rpx 0rpx;
|
|
background-color: gainsboro;
|
|
text-align: center;
|
|
}
|
|
.detail-nav {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
float: left;
|
|
background-color: #fff;
|
|
position: fixed;
|
|
bottom: 0;
|
|
right: 0;
|
|
z-index: 1;
|
|
width: 100%;
|
|
height: 100rpx;
|
|
}
|
|
.button-green {
|
|
background-color: #4caf50; /* Green */
|
|
}
|
|
.button-red {
|
|
background-color: #f44336; /* 红色 */
|
|
}
|
|
.image_detail {
|
|
width: 100%;
|
|
}
|
|
button {
|
|
color: white;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 30rpx;
|
|
border-radius: 0rpx;
|
|
width: 50%;
|
|
height: 100%;
|
|
line-height: 100rpx;
|
|
}
|
|
.detail-nav image {
|
|
width: 70rpx;
|
|
height: 50rpx;
|
|
margin: 20rpx 40rpx;
|
|
}
|
|
.line_nav {
|
|
width: 5rpx;
|
|
height: 100%;
|
|
background-color: gainsboro;
|
|
}
|
|
/* 占位 */
|
|
.temp {
|
|
height: 100rpx;
|
|
}
|
|
text {
|
|
display: block;
|
|
height: 60rpx;
|
|
line-height: 60rpx;
|
|
font-size: 30rpx;
|
|
margin: 10rpx;
|
|
}
|
|
.text-remark {
|
|
display: block;
|
|
font-size: 25rpx;
|
|
margin: 10rpx;
|
|
}
|
|
<<<<<<< HEAD
|
|
=======
|
|
|
|
.introduce{
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.good_content .good_footer .stepper {
|
|
float: left;
|
|
margin-top: 10rpx;
|
|
width: 50%;
|
|
margin-left: 70rpx;
|
|
}
|
|
|
|
|
|
.good_content .stepper .add, .stepper .subtract {
|
|
float: left;
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
line-height: 50rpx;
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
border: 1px solid #ccc;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.good_content .stepper .disabled {
|
|
float: left;
|
|
color: #eee;
|
|
}
|
|
|
|
.good_content .stepper .count {
|
|
float: left;
|
|
width: 60rpx;
|
|
height: 50rpx;
|
|
line-height: 50rpx;
|
|
/* border: 1px solid #ccc; */
|
|
border-top: 1px solid #ccc;
|
|
border-bottom: 1px solid #ccc;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
min-height: 1rem;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.good_content .stepper .add, .stepper .subtract {
|
|
float: left;
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
line-height: 50rpx;
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
border: 1px solid #ccc;
|
|
box-sizing: border-box;
|
|
}
|
|
>>>>>>> 1b33c170e75d0094eab32be499d7f94124a3b4ef
|