|
@@ -1,116 +1,110 @@
|
|
|
.recommend {
|
|
|
- .header {
|
|
|
- position: relative;
|
|
|
-
|
|
|
- .headerBg {
|
|
|
- position: absolute;
|
|
|
- z-index: -2;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- background-color: white;
|
|
|
- }
|
|
|
-
|
|
|
- .swiper {
|
|
|
- margin: 0 auto;
|
|
|
- width: 710rpx;
|
|
|
- height: 216rpx;
|
|
|
- border-radius: 20rpx;
|
|
|
- overflow: hidden;
|
|
|
- box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
|
|
|
-
|
|
|
- .swiper-item {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- border-radius: 20rpx;
|
|
|
- overflow: hidden;
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
+ .header {
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ .headerBg {
|
|
|
+ position: absolute;
|
|
|
+ z-index: -2;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background-color: white;
|
|
|
}
|
|
|
|
|
|
- .firstClassify {
|
|
|
- padding-top: 34rpx;
|
|
|
+ .swiper {
|
|
|
+ margin: 0 auto;
|
|
|
+ width: 710rpx;
|
|
|
+ height: 216rpx;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
|
|
|
+
|
|
|
+ .swiper-item {
|
|
|
width: 100%;
|
|
|
- white-space: nowrap;
|
|
|
- background-color: white;
|
|
|
-
|
|
|
- .firstBox {
|
|
|
- text-align: center;
|
|
|
- display: inline-block;
|
|
|
- width: 98rpx;
|
|
|
- padding: 0rpx 20rpx;
|
|
|
-
|
|
|
- .icon {
|
|
|
- width: 60rpx;
|
|
|
- height: 58rpx;
|
|
|
- }
|
|
|
-
|
|
|
- .name {
|
|
|
- margin-top: 6rpx;
|
|
|
- font-weight: bold;
|
|
|
- font-size: 24rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ height: 100%;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
|
|
|
- .demo-text-1 {
|
|
|
- background-color: rebeccapurple
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .demo-text-2 {
|
|
|
- background-color: rgb(100, 153, 51)
|
|
|
- }
|
|
|
+ .scrollBox {
|
|
|
+ width: 100%;
|
|
|
|
|
|
- .demo-text-3 {
|
|
|
- background-color: rgb(228, 119, 46)
|
|
|
- }
|
|
|
+ .firstClassify {
|
|
|
+ padding: 24rpx 0rpx 20rpx;
|
|
|
+ width: 100%;
|
|
|
+ white-space: nowrap;
|
|
|
+ background-color: white;
|
|
|
|
|
|
- .search {
|
|
|
- position: relative;
|
|
|
- background-color: white;
|
|
|
- padding: 30rpx 20rpx 22rpx;
|
|
|
- border-bottom-left-radius: 30rpx;
|
|
|
- border-bottom-right-radius: 30rpx;
|
|
|
-
|
|
|
- .searchImg {
|
|
|
- position: absolute;
|
|
|
- top: 42rpx;
|
|
|
- left: 42rpx;
|
|
|
- width: 24rpx;
|
|
|
- height: 24rpx;
|
|
|
+
|
|
|
+ .firstBox {
|
|
|
+ text-align: center;
|
|
|
+ display: inline-block;
|
|
|
+ width: 98rpx;
|
|
|
+ padding: 0rpx 20rpx;
|
|
|
+
|
|
|
+ .icon {
|
|
|
+ width: 60rpx;
|
|
|
+ height: 58rpx;
|
|
|
}
|
|
|
|
|
|
- .input {
|
|
|
- width: 100%;
|
|
|
- height: 50rpx;
|
|
|
- border-radius: 50rpx;
|
|
|
- background-color: #F2F6FC;
|
|
|
- box-sizing: border-box;
|
|
|
+ .name {
|
|
|
+ margin-top: 6rpx;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 24rpx;
|
|
|
}
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .demo-text-1 {
|
|
|
+ background-color: rebeccapurple
|
|
|
+ }
|
|
|
+
|
|
|
+ .demo-text-2 {
|
|
|
+ background-color: rgb(100, 153, 51)
|
|
|
+ }
|
|
|
+
|
|
|
+ .demo-text-3 {
|
|
|
+ background-color: rgb(228, 119, 46)
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ .selectType {
|
|
|
+ padding: 30rpx 15rpx 30rpx 26rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ .type {
|
|
|
+ padding: 14rpx 0rpx;
|
|
|
+ width: 200rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ text-align: center;
|
|
|
+ border: 1rpx solid #9f9f9fa4;
|
|
|
+ border-radius: 50rpx;
|
|
|
+ color: #1A1A1A;
|
|
|
+ font-size: 24rpx;
|
|
|
}
|
|
|
|
|
|
- .selectType {
|
|
|
- padding: 30rpx;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
-
|
|
|
- .type {
|
|
|
- padding: 14rpx 0rpx;
|
|
|
- width: 200rpx;
|
|
|
- box-sizing: border-box;
|
|
|
- text-align: center;
|
|
|
- border: 1rpx solid #9f9f9fa4;
|
|
|
- border-radius: 50rpx;
|
|
|
- color: #1A1A1A;
|
|
|
- font-size: 24rpx;
|
|
|
- }
|
|
|
+ .currentType {
|
|
|
+ border: none;
|
|
|
+ box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
|
|
|
+ background-color: white;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
|
|
|
- .currentType {
|
|
|
- border: none;
|
|
|
- box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
|
|
|
- background-color: white;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
+ .search {
|
|
|
+ padding: 8rpx 20rpx;
|
|
|
+ text-align: center;
|
|
|
+ border: 1rpx solid #9f9f9fa4;
|
|
|
+ border-radius: 50rpx;
|
|
|
+
|
|
|
+ .searchImg {
|
|
|
+ width: 26rpx;
|
|
|
+ height: 26rpx;
|
|
|
+ }
|
|
|
}
|
|
|
+ }
|
|
|
}
|