123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- .content,page {
- height: 100%;
- background-color: #f8f8f8;
- }
- .vheight {
- height: 25px;
- }
- .input-box,.vheight {
- background-color: #fff;
- }
- .input-box {
- padding: 25rpx;
- height: 44px;
- }
- .input-box .iconsearch {
- font-size: 50rpx;
- }
- .input-box .input-content {
- border-radius: 99rpx;
- padding: 10rpx 30rpx;
- background-color: hsla(0,0%,90.6%,.7);
- }
- .input-box .input-content,.input-box .input-content .input {
- -webkit-box-flex: 1;
- flex-grow: 1;
- }
- .input-box .input-content .input input {
- font-size: 32rpx;
- }
- .input-box .input-button {
- padding-left: 20rpx;
- font-size: 32rpx;
- height: 100%;
- }
- .swiper-box {
- height: calc(100% - 44px);
- }
- .swiper-box .search-hot {
- padding: 25rpx;
- }
- .swiper-box .search-hot .title {
- font-size: 32rpx;
- color: #909399;
- }
- .swiper-box .search-hot .hot-list {
- display: flex;
- flex-wrap: wrap;
- margin-top: 30rpx;
- }
- .swiper-box .search-hot .hot-list .list-item {
- padding: 10rpx 20rpx;
- border: 1px solid #dcdfe6;
- color: #303133;
- font-size: 28rpx;
- margin-right: 20rpx;
- margin-bottom: 20rpx;
- }
- .guess-section .icon {
- margin-right: 10rpx;
- display: inline-block;
- padding: 2rpx 10rpx;
- border: 1rpx solid #fd5b23;
- color: #fd5b23;
- line-height: 1;
- font-size: 28rpx;
- border-radius: 10rpx;
- }
- .guess-section {
- flex-wrap: wrap;
- }
- .guess-section,.guess-section .guess-item {
- display: flex;
- }
- .guess-section .guess-item {
- overflow: hidden;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- flex-direction: column;
- width: 48%;
- margin-bottom: 4%;
- border-radius: 15rpx;
- background-color: #fff;
- box-shadow: 0rpx 0rpx 10rpx 10rpx #f3f3f3;
- }
- .guess-section .guess-item:nth-child(2n+1) {
- margin-right: 4%;
- }
- .guess-section .image-wrapper {
- width: 100%;
- height: 330rpx;
- border-radius: 3px;
- overflow: hidden;
- }
- .guess-section .image-wrapper image {
- width: 100%;
- height: 100%;
- opacity: 1;
- }
- .guess-section .title {
- font-size: 28rpx;
- color: #303133;
- font-weight: 700;
- line-height: 80rpx;
- }
- .guess-section .price {
- font-size: 32rpx;
- color: #606266;
- font-weight: 700;
- line-height: 1;
- line-height: 80rpx;
- }
- .guess-section .detail {
- line-height: 1;
- }
- .guess-section .tip {
- color: #fff;
- background-color: #fd5b23;
- line-height: 1.5;
- font-size: 24rpx;
- padding-left: 20rpx;
- }
- .navbar {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 40px;
- background: #fff;
- box-shadow: 0 2rpx 10rpx rgba(0,0,0,.06);
- z-index: 10;
- }
- .navbar,.navbar .nav-item {
- display: flex;
- }
- .navbar .nav-item {
- -webkit-box-flex: 1;
- flex: 1;
- -webkit-box-pack: center;
- justify-content: center;
- -webkit-box-align: center;
- align-items: center;
- height: 100%;
- font-size: 30rpx;
- color: #303133;
- position: relative;
- }
- .navbar .nav-item.current {
- color: #5dbc7c;
- }
- .navbar .nav-item.current:after {
- content: "";
- position: absolute;
- left: 50%;
- bottom: 0;
- transform: translateX(-50%);
- width: 120rpx;
- height: 0;
- border-bottom: 4rpx solid #5dbc7c;
- }
- .navbar .p-box {
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- flex-direction: column;
- }
- .navbar .p-box,.navbar .p-box .iconfont {
- display: flex;
- }
- .navbar .p-box .iconfont {
- -webkit-box-align: center;
- align-items: center;
- -webkit-box-pack: center;
- justify-content: center;
- width: 30rpx;
- height: 14rpx;
- line-height: 1;
- margin-left: 4rpx;
- font-size: 26rpx;
- color: #888;
- }
- .navbar .p-box .iconfont.active {
- color: #5dbc7c;
- }
- .navbar .p-box .xia {
- transform: scaleY(-1);
- }
- .navbar .cate-item {
- display: flex;
- -webkit-box-pack: center;
- justify-content: center;
- -webkit-box-align: center;
- align-items: center;
- height: 100%;
- width: 80rpx;
- position: relative;
- font-size: 44rpx;
- }
- .navbar .cate-item:after {
- content: "";
- position: absolute;
- left: 0;
- top: 50%;
- transform: translateY(-50%);
- border-left: 1px solid #ddd;
- width: 0;
- height: 36rpx;
- }
- .cate-list {
- height: 100%;
- padding-top: 40px;
- }
|