body,html{margin:0;padding:0;height:100%}
body{min-width:320px;margin:0;padding:0;font-family:"microsoft yahei",Verdana,Arial,Helvetica,sans-serif;font-size:1em}
a{text-decoration:none}
img{max-width:100%;vertical-align:middle}
*{margin:0;padding:0}
div{font-size:0;margin:0;padding:0}
li,ul{list-style:none}
em{font-style:normal}
.bottom{position:fixed;bottom:0;width:100%;background:#fff;border-top:1px solid #bfbfbf;height:3.2rem;z-index:99}
.bottom-box{max-width:640px;margin:0 auto;height:100%}
.bottom-box ul{height:100%}
.bottom-box ul li{float:left;width:25%;height:100%;text-align:center;margin:0 auto}
.bottom-box ul li a{color:#6b6b6b;display:inline-block;width:100%;height:100%}
.bottom-box ul li img{width:20px;margin-top:8px}
.bottom-box ul li span{display:block;font-size:12px;margin-top:4px}
.body{width:100%;max-width:640px;margin:0 auto;padding-bottom:3.2rem;box-sizing:border-box;height:100%;position:fixed;left:0;right:0}
.categories-img{width:100%;min-width:100%;z-index:99;position:relative}
.categories{width:100%;position:relative;height:100%}
.categories-left{font-size:1rem;width:7.5rem;text-align:center;display:inline-block;position:absolute;left:0;z-index:98;margin-top:12px}
.categories-left ul li{cursor:pointer;width:82%;margin:24px auto;color:#7f7f7f;height:26px;line-height:27px;font-size:.9rem;border-radius:24px;background:#fff}
.categories-left ul li a{color:#7f7f7f;}
.categories-left ul .left-choice{color:#fff;background:#e85661}
.categories-left ul .left-choice a{color:#fff;background:#e85661}
.categories-stick{width:1px;height:100%;background:#e1e1e1;position:absolute;top:0;left:6.5rem}
.categories-right{width:100%;padding-left:7.2rem;box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:scroll;overflow-x:hidden;padding-bottom:6.8rem}
.categories-right .right-box{padding:8px 0;border-bottom:1px solid #eaeaea;display:inline-block}
.right-box .right-img{width:80px;height:80px;float:left;display:inline-block}
.right-box .right-name{font-size:1rem;color:#000;max-width:90%;margin:0 auto;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;padding-left:10px}
.right-box .right-price{font-size:1rem;color:#e46b7e;margin:18px 0 0 14px;display:inline-block;float:left}
.right-box .right-btn{float:right;width:30px;height:30px;display:inline-block;margin:8px 20px 0 0;cursor:pointer}
.buy-bj{background:#000;opacity:.3;width:100%;height:100%;position:absolute;top:0;left:0;display:none;z-index:100}
.buy{width:100%;height:14rem;background:#fff;position:fixed;bottom:3.2rem;display:none;max-width:640px;z-index:101}
.buy .buy-close{font-size:1.5rem;font-family:SimSun;position:absolute;top:5px;right:8px;cursor:pointer}
.buy .buy-img{width:100px;margin:0 10px;position:relative;top:-18px;float:left;z-index:99}
.buy .buy-box{display:inline-block}
.buy .buy-right{float:left;font-size:.9rem;margin-top:1.6rem;font-family:"Microsoft YaHei"}
.buy .buy-right span{display:block}
.buy .buy-right .buy-price{color:#e9637b}
.buy-amount{margin-left:10px}
.buy-amount-name{font-size:.9rem;font-family:"Microsoft YaHei";margin-bottom:8px;display:inline-block}
.buy_gw{border:1px solid #dbdbdb;width:152px;line-height:30px;overflow:hidden;font-size:.6rem}
.buy_gw em{display:block;height:30px;width:40px;float:left;color:#7A7979;border-right:1px solid #dbdbdb;text-align:center;cursor:pointer}
.buy_gw .buy-num{display:block;float:left;text-align:center;width:70px;font-style:normal;font-size:12px;line-height:30px;border:0}
.buy_gw em.buy-add{float:right;border-right:0;border-left:1px solid #dbdbdb}
.buy-sub{border:0;background:#e85661;color:#fff;width:100%;height:2.3rem;position:absolute;bottom:0;cursor:pointer;letter-spacing:2px;text-indent:1px}
