123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352 |
- page {
- height: 100vh;
- }
- .container {
- height: 100%;
- width: 100%;
- display: flex;
- flex-direction: column;
- background-color: #f5f5f5;
- }
- .adv{
- position: fixed;
- left: 0rpx;
- bottom: 0;
- z-index: 100;
- width: 750rpx;
- height: 165rpx;
- display: flex;
- /* border: 1px solid red; */
- }
- .search {
- height: 98rpx;
- width: 100%;
- padding: 0 24rpx;
- display: flex;
- align-items: center;
- }
- .search .input {
- width: 700rpx;
- height: 54rpx;
- background: #fff;
- border-radius: 28rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- color:#85868A;
- }
- .search .txt {
- font-size: 24rpx;
- padding:0 0 0 14rpx;
- }
- .login{
- height: 100%;
- /* margin-bottom: 380rpx; */
- }
- .catalog {
- flex: 1;
- width: 100%;
- /* background: #fff; */
- display: flex;
- /* border-top: 1px solid #fafafa; */
- height:100%;
- /* line-height: 100%; */
- }
- .catalog .nav {
- width: 162rpx;
- height: 100%;
- background:#EDEDED;
- }
- .catalog .nav .item {
- text-align: center;
- line-height: 88rpx;
- width: 162rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- height: 88rpx;
- color: #333;
- font-size: 26rpx;
- border-left: 4rpx solid #fff;
- white-space: nowrap;
- }
- .catalog .nav .item.active {
-
- font-size: 28rpx;
- /*border-left: 6rpx solid #ab956d;*/
- /* border-left: 6rpx solid #333;
- color: #ab956d; */
- border-left: 4rpx solid #09afff;
- color: #09afff;
- background:#fff;
- }
- .catalog .cate {
- /* border-left: 1px solid #fafafa; */
- flex: 1;
- height: 100%;
- padding: 0 30rpx 0 10rpx;
- }
- .banner {
- display: block;
- height: 212rpx;
- width: 100%;
- position: relative;
- }
- .banner .category-banner {
- /* position: absolute;
- top: 30rpx;
- left: 0; */
- border-radius: 8rpx;
- height: 212rpx;
- width: 566rpx;
- }
- .banner .txt {
- position: absolute;
- top: 30rpx;
- text-align: center;
- color: #fff;
- font-size: 28rpx;
- left: 0;
- height: 192rpx;
- line-height: 192rpx;
- width: 100%;
- }
- .catalog .hd {
- height: 64rpx;
- width: 100%;
- display: flex;
- align-items: center;
- margin:20rpx 0 0 ;
- }
- .catalog .hd .txt {
- font-size: 26rpx;
- padding: 0 6rpx;
- }
- .catalog .hd .line {
- width: 100%;
- height: 1px;
- background: #d9d9d9;
- position: absolute;
- z-index: 1;
- }
- .catalog .bd {
- height: auto;
- width: 100%;
- overflow: hidden;
- }
- .catalog .bd .item {
- display: block;
- float: left;
- height: 216rpx;
- width: 144rpx;
- margin-right: 34rpx;
- }
- .catalog .bd .item.last {
- margin-right: 0;
- }
- .catalog .bd .item .icon {
- height: 144rpx;
- width: 144rpx;
- }
- .catalog .bd .item .txt {
- display: block;
- text-align: center;
- font-size: 24rpx;
- color: #333;
- height: 72rpx;
- width: 144rpx;
- }
- .no-login {
- width: 100%;
- height: auto;
- margin: 0 auto;
- background-color: #fff;
- }
- .no-login .c {
- width: 100%;
- height: auto;
- margin-top: 400rpx;
- }
- .no-login .c text {
- margin: 0 auto;
- display: block;
- width: 258rpx;
- height: 59rpx;
- line-height: 29rpx;
- text-align: center;
- font-size: 35rpx;
- }
- .no-login button {
- width: 90%;
- margin: 0 auto;
- color: #fff;
- font-size: 30rpx;
- height: 96rpx;
- line-height: 96rpx;
- right: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- position: flex;
- bottom: 0;
- left: 0;
- border-radius: 0;
- padding: 0;
- margin-left: 5%;
- text-align: center;
- border-top-left-radius: 50rpx;
- border-bottom-left-radius: 50rpx;
- border-top-right-radius: 50rpx;
- border-bottom-right-radius: 50rpx;
- letter-spacing: 3rpx;
- background-image: linear-gradient(to right, #9a9ba1 0%, #9a9ba1 100%);
- }
- .a-popular {
- width: 588rpx;
- height: auto;
- overflow: hidden;
- }
- /* .a-popular .b .item {
- border-bottom: 1px solid #d9d9d9;
- margin: 0 20rpx;
- height: 284rpx;
- width: 588rpx;
- padding-top: 20rpx;
- } */
- .a-popular .b .img {
- width: 170rpx;
- height: 174rpx;
- border-radius: 10rpx;
- margin:0 0 10rpx 0;
- }
- .a-popular .b .right {
- float: left;
- height: 264rpx;
- width: 336rpx;
- display: flex;
- flex-flow: row nowrap;
- }
- .a-popular .b .text {
- display: flex;
- flex-wrap: nowrap;
- flex-direction: column;
- /* justify-content: center; */
- overflow: hidden;
- height: 264rpx;
- width: 280rpx;
- }
- .a-popular .b .name {
- width: 280rpx;
- display: block;
- color: #333;
- line-height: 72rpx;
- font-size: 36rpx;
- }
- .a-popular .b .desc {
- width: 280rpx;
- display: block;
- color: #a98f76;
- line-height: 50rpx;
- font-size: 25rpx;
- height: 120rpx;
- }
- .a-popular .b .price {
- width: 280rpx;
- display: block;
- color: darkred;
- /*color: #a81d28;*/
- line-height: 50rpx;
- font-size: 33rpx;
- }
- .a-popular .b .price span {
- font-size: 24rpx;
- color: gray;
- }
- .a-popular .b .price .btn {
- width: 120rpx;
- border-radius: 30rpx;
- height: 54rpx;
- line-height: 54rpx;
- font-size:28rpx;
- background-color: #09AFFF;
- color: #fff;
- text-align: center;
- float: right;
- /* margin-right: 10rpx; */
- margin-top: -10rpx;
- }
-
- .a-popular .b .brand {
- font-size: 20rpx;
- color:#a98f76 ;
- display: block;
- line-height: 30rpx;
- padding: 2rpx;
- }
- .category-line{
- display: flex;
- flex-wrap: wrap;
- }
- .product-item{
- display: flex;
- flex-direction: column;
- align-items: center;
- width:174rpx;
- margin:0 20rpx 40rpx 0;
- }
- .product-name{
- width:166rpx;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- text-overflow: ellipsis;
- overflow: hidden;
- font-size: 20rpx;
- text-align: center;
- }
- view,text{
- color:#666;
- }
|