123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- body{
- width: 100%;
- min-height: 100vh;
- background: #F2F2F2;
- }
- .search{
- background: #FFFFFF;
- font-size: 0.14rem;
- padding-bottom: 0.1rem;
- }
- .search div {
- display: flex;
- align-items: center;
- border-bottom: 0.01rem solid #f2f2f2;
- height: 0.4rem;
- }
- .search div label{
- display: inline-block;
- width: 1.2rem;
- text-align: right;
- }
- .search div input{
- flex: 1;
- border: none;
- }
- .search button{
- display: block;
- width: 60%;
- height: 0.35rem;
- border: none;
- background:linear-gradient(270deg,rgba(255,80,0,1) 0%,rgba(255,144,0,1) 100%);
- font-size: 0.16rem;
- color: #FFFFFF;
- border-radius: 0.35rem;
- margin: 0.1rem auto 0;
- }
- /*商品列表*/
- .commodityList{
- margin-top: 0.1rem;
- display: flex;
- flex-wrap: wrap;
- }
- .goodsItem{
- width: 50%;
- }
- .goods_item{
- width:1.8rem;
- /*height:3.025rem;*/
- background:#ffffff;
- border-radius:0.05rem;
- margin: auto;
- margin-bottom: 0.0615rem;
- }
- .goods_coupon span:nth-child(1){
- display: block;
- float: left;
- width: 0.195rem;
- height: 0.14rem;
- line-height: 0.14rem;
- text-align: center;
- }
- .goods_coupon span:nth-child(2){
- display: block;
- width: 0.445rem;
- height: 0.14rem;
- float: left;
- line-height: 0.14rem;
- text-align: center;
- }
- .goods_price{
- font-size: 0.1rem;
- color: #FF014F;
- padding-left: 0.05rem;
- padding-bottom: 0.15rem;
- }
- .goods_price .new_price{
- font-size: 0.15rem;
- padding-right: 0.1rem;
- }
- .goods_price .old_price{
- color: #BEBDBD;
- /* text-decoration: line-through;*/
- }
- .goods_coupon{
- width: 0.64rem;
- height: 0.14rem;
- color: #ffffff;
- font-size: 0.11rem;
- background: url(imgs/quan.png) no-repeat ;
- background-size:0.64rem 0.14rem;
- }
- .goods_img{
- width:100%;
- height:1.8rem;
- background: #CCCCCC;
- border-radius:0.05rem 0.05rem 0 0;
- }
- .goods_name{
- /* height: 0.69rem; */
- height: 0.32rem;
- font-size: 0.13rem;
- padding: 0 0.06rem;
- padding-top: 0.1rem;
- line-height: 0.18rem;
- text-overflow: -o-ellipsis-lastline;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .goods_name .icon{
- width:0.14rem;
- height:0.14rem;
- margin-top: 0.02rem;
- margin-right: 0.02rem;
- display: inline-block;
- vertical-align: sub;
- }
- .quan{
- padding: 0 0 0 0.06rem;
- height: 35px;
- display: flex;
- align-items: center;
- }
- .quan .volume{
- color: #797878;
- font-size: 0.12rem;
- padding-left: 0.1rem;
- }
- .alert-info {
- position: fixed;
- top: 1.74rem;
- right: 0;
- left: 0;
- bottom: 0;
- text-align: center;
- }
- .alert-info p {
- display: inline-block;
- height: 0.38rem;
- color: #fff;
- font-size: 0.14rem;
- line-height: 0.38rem;
- padding: 0 0.10rem;
- background-color: rgba(0, 0, 0, 0.7);
- border-radius: 5px;
- }
- .loading {
- position: fixed;
- top: 0;
- left: 0;
- display: none;
- width: 100%;
- height: 100vh;
- }
- .loading img {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- margin: auto;
- width: 0.3rem;
- height: 0.3rem;
- }
|