|
@@ -1,14 +1,17 @@
|
|
|
swiper {
|
|
|
- background: red;
|
|
|
+ margin-top: 10rpx;
|
|
|
+ background: #fff;
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
- height: 318rpx;
|
|
|
+ height: 312rpx;
|
|
|
}
|
|
|
|
|
|
.slide-image {
|
|
|
display: block;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
+ margin: 0 auto;
|
|
|
+ width: 728rpx;
|
|
|
+ height: 312rpx;
|
|
|
+ border-radius: 20rpx;
|
|
|
}
|
|
|
|
|
|
.searchSection {
|
|
@@ -46,43 +49,49 @@ swiper {
|
|
|
top: 10rpx;
|
|
|
right: 15rpx;
|
|
|
}
|
|
|
-.searchSection .allBooks{
|
|
|
+
|
|
|
+.searchSection .allBooks {
|
|
|
font-size: 28rpx;
|
|
|
- color:#61ca54;
|
|
|
+ color: #61ca54;
|
|
|
font-family: PingFangSC-regular;
|
|
|
width: 112rpx;
|
|
|
margin-left: 56rpx;
|
|
|
}
|
|
|
-.hotSection{
|
|
|
+
|
|
|
+.hotSection {
|
|
|
width: 100%;
|
|
|
/* height: 50rpx; */
|
|
|
background: #fff;
|
|
|
margin-top: 8rpx;
|
|
|
}
|
|
|
-.hotSection .title{
|
|
|
+
|
|
|
+.hotSection .title {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
margin: 20rpx 0 20rpx 20rpx;
|
|
|
}
|
|
|
+
|
|
|
.hotSection .title image {
|
|
|
/* margin-left: 24rpx; */
|
|
|
width: 34rpx;
|
|
|
height: 38rpx;
|
|
|
}
|
|
|
-.hotSection .title text{
|
|
|
+.hotSection .title text {
|
|
|
width: 112rpx;
|
|
|
height: 40rpx;
|
|
|
margin-left: 12rpx;
|
|
|
font-size: 28rpx;
|
|
|
line-height: 50rpx;
|
|
|
font-family: PingFangSC-regular;
|
|
|
- color:#101010
|
|
|
+ color: #101010
|
|
|
}
|
|
|
-.hotWares{
|
|
|
+
|
|
|
+.hotWares {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
}
|
|
|
-.hotSection .hotWares .hotWareCard{
|
|
|
+
|
|
|
+.hotSection .hotWares .hotWareCard {
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
width: 352rpx;
|
|
@@ -90,68 +99,176 @@ swiper {
|
|
|
margin: 0 0 18rpx 16rpx;
|
|
|
box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28);
|
|
|
}
|
|
|
-.hotWareCard .wareCardImg{
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+.hotWareCard .wareCardImg {
|
|
|
width: 100%;
|
|
|
height: 200rpx;
|
|
|
}
|
|
|
-.hotWareCard .wareCardTitle{
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+.hotWareCard .wareCardTitle {
|
|
|
margin: 0 auto;
|
|
|
width: 320rpx;
|
|
|
height: 46rpx;
|
|
|
- display:block;
|
|
|
+ display: block;
|
|
|
text-align: center;
|
|
|
- color: rgba(16,16,16,1);
|
|
|
+ color: rgba(16, 16, 16, 1);
|
|
|
font-size: 32rpx;
|
|
|
}
|
|
|
-.hotWareCard .wareCardTip{
|
|
|
- position: absolute;
|
|
|
- top: 10rpx;
|
|
|
- right: 4rpx;
|
|
|
- z-index: 2;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+.hotWareCard .wareCardTip {
|
|
|
+ position: absolute;
|
|
|
+ top: 10rpx;
|
|
|
+ left: 4rpx;
|
|
|
+ z-index: 2;
|
|
|
width: 178rpx;
|
|
|
height: 40rpx;
|
|
|
- display:block;
|
|
|
+ display: block;
|
|
|
text-align: center;
|
|
|
- color: rgba(16,16,16,1);
|
|
|
+ color: rgba(16, 16, 16, 1);
|
|
|
font-size: 28rpx;
|
|
|
}
|
|
|
-.bottomData{
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+.hotWareCard .bottomData {
|
|
|
height: 34rpx;
|
|
|
margin-top: 10rpx;
|
|
|
display: flex;
|
|
|
/* flex-direction: row; */
|
|
|
- justify-content:space-between;
|
|
|
+ justify-content: space-between;
|
|
|
align-items: center;
|
|
|
}
|
|
|
-.hotWareCard .wareCardPlays{
|
|
|
+
|
|
|
+.hotWareCard .wareCardPlays {
|
|
|
width: 100rpx;
|
|
|
margin-left: 18rpx;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
|
}
|
|
|
-.hotWareCard .wareCardPlays .wareCardPlaysImg{
|
|
|
+
|
|
|
+.hotWareCard .wareCardPlays .wareCardPlaysImg {
|
|
|
width: 30rpx;
|
|
|
height: 30rpx;
|
|
|
}
|
|
|
+
|
|
|
.hotWareCard .wareCardPlays text {
|
|
|
margin-left: 4rpx;
|
|
|
color: #61CA54;
|
|
|
font-size: 24rpx;
|
|
|
}
|
|
|
-.hotWareCard .wareCardLikes{
|
|
|
+
|
|
|
+.hotWareCard .wareCardLikes {
|
|
|
width: 100rpx;
|
|
|
margin-right: 18rpx;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
|
}
|
|
|
-.hotWareCard .wareCardLikes .wareCardLikesImg{
|
|
|
+
|
|
|
+.hotWareCard .wareCardLikes .wareCardLikesImg {
|
|
|
width: 30rpx;
|
|
|
height: 30rpx;
|
|
|
}
|
|
|
+
|
|
|
.hotWareCard .wareCardLikes text {
|
|
|
margin-left: 4rpx;
|
|
|
color: #FF9800;
|
|
|
font-size: 24rpx;
|
|
|
-}
|
|
|
+}
|
|
|
+/** 第一个大图**/
|
|
|
+.hotSection .hotWares .hotWareCardFirst {
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+ width: 740rpx;
|
|
|
+ height: 342rpx;
|
|
|
+ margin: 10rpx auto 20rpx;
|
|
|
+ box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28);
|
|
|
+}
|
|
|
+
|
|
|
+.hotWareCardFirst .wareCardImg {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.hotWareCardFirst .wrapper {
|
|
|
+ width: 100%;
|
|
|
+ height: 100rpx;
|
|
|
+ background: #fff;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.hotWareCardFirst .wareCardTitle {
|
|
|
+ margin: 10rpx 20rpx 0;
|
|
|
+ display: block;
|
|
|
+ /* text-align: center; */
|
|
|
+ color: rgba(16, 16, 16, 1);
|
|
|
+ font-size: 32rpx;
|
|
|
+}
|
|
|
+
|
|
|
+.hotWareCardFirst .wareCardTip {
|
|
|
+ margin: 0 20rpx;
|
|
|
+ width: 178rpx;
|
|
|
+ height: 34rpx;
|
|
|
+ display: block;
|
|
|
+ text-align: center;
|
|
|
+ color: rgba(16, 16, 16, 1);
|
|
|
+ font-size: 28rpx;
|
|
|
+}
|
|
|
+
|
|
|
+.hotWareCardFirst .bottomData {
|
|
|
+ width: 100%;
|
|
|
+ height: 34rpx;
|
|
|
+ margin-top: 5rpx;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.hotWareCardFirst .wareCardPlays {
|
|
|
+ width: 100rpx;
|
|
|
+ margin-left: 230rpx;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.hotWareCardFirst .wareCardPlays .wareCardPlaysImg {
|
|
|
+ width: 30rpx;
|
|
|
+ height: 30rpx;
|
|
|
+}
|
|
|
+
|
|
|
+.hotWareCardFirst .wareCardPlays text {
|
|
|
+ margin-left: 4rpx;
|
|
|
+ color: #61CA54;
|
|
|
+ font-size: 24rpx;
|
|
|
+}
|
|
|
+
|
|
|
+.hotWareCardFirst .wareCardLikes {
|
|
|
+ width: 100rpx;
|
|
|
+ margin-right: 18rpx;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.hotWareCardFirst .wareCardLikes .wareCardLikesImg {
|
|
|
+ width: 30rpx;
|
|
|
+ height: 30rpx;
|
|
|
+}
|
|
|
+
|
|
|
+.hotWareCardFirst .wareCardLikes text {
|
|
|
+ margin-left: 4rpx;
|
|
|
+ color: #FF9800;
|
|
|
+ font-size: 24rpx;
|
|
|
+}
|