.badge { display: inline-block; min-width: 0.16rem; padding: 3px 6px 2px; border-radius: 0.4rem; background-color: #f20; text-align: center; font-family: Verdana; font-size: 0.24rem; color: #fff; vertical-align: middle;}
.badge.badge-green { background-color: #24cba2;}
.badge.badge-red { background-color: #f34b3e;}
.badge.badge-blue { background-color: #4cc3ff;}
/* 商品分类页 start */
.p-product-class .page-container { padding-top: 0.88rem; background-color: #fff;}
.p-product-class header { background-color: #fff; background-image: none; border-bottom: 1px solid #e6eefa; transition:none;}
.p-product-class .m-topbar { height: 0.88rem; line-height: 0.88rem;}
.p-product-class .m-topbar .topbar-goback { left: 0.24rem;}
.p-product-class .m-topbar .topbar-goback a { width: 0.6rem; height: auto; text-align: left; color: #525866;}
.p-product-class .search-wrap { top: 0.12rem; left: 0.88rem; right: 0.24rem; padding: 0;}
.p-product-class .m-search { height: auto; padding: 0 0.3rem; border: 1px solid #e6eefa;}
.p-product-class .m-search .search-input span { line-height: 0.64rem;}
.p-product-class .m-search .search-input input { height: 0.64rem; line-height: 0.64rem; font-size: 0.28rem;}
.p-product-class .page-container { height: 100%;}
.p-product-class .page-container .page-main { height: 100%;}
.category-ad {padding: 0.2rem 0 0;}
.category-ad img{width: 100%;height:1.6rem;}
.category-warp { display: flex; position: relative; height: calc(100% - 1.5rem);}
.category-warp .category-hd { width:1.9rem; height:100%; overflow-y: scroll; background: #fafafc;}
.category-warp .category-hd li{ line-height:1rem; text-align: center; font-size: 0.28rem; color: #333;}
.category-warp .category-hd li.on { position: relative; background: #fff;}
.category-warp .category-hd li.on::before { content: ''; display: block; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 4px; height: 0.5rem; background-color: #f20; border-radius: 0 3px 3px 0;}
.category-warp .category-bd { flex: 1; height: 100%; overflow-y: scroll;}
.category-item ul{ display: -webkit-flex; display: -webkit-box; display: flex;-webkit-box-orient: horizontal;-webkit-box-direction: normal;-webkit-flex-flow: row wrap;flex-flow: row wrap;padding:0 0 1.3rem;}
.category-item ul li{width:25%;text-align: center;margin: 0.2rem 0 0;}
.category-item ul li img{width: 1.5rem;height: 1.5rem;}
.category-item ul li p{line-height: 0.6rem;overflow: hidden;height: 0.6rem;}
/* 商品分类页 end */
/* 商品列表页 start */
.p-product-list .page-container { padding-top: 0.88rem;}
.p-product-list .m-topbar { height: 0.88rem; line-height: 0.88rem;}
.p-product-list .m-topbar .topbar-goback { left: 0.24rem;}
.p-product-list .m-topbar .topbar-goback a { width: 0.6rem; height: auto; text-align: left;}
.p-product-list .search-wrap { top: 0.12rem; left: 0.88rem; right: 0.24rem; padding: 0;}
.p-product-list .m-search { height: auto; padding: 0 0.3rem;}
.p-product-list .m-search .search-input span { line-height: 0.64rem;}
.p-product-list .m-search .search-input input { height: 0.64rem; line-height: 0.64rem; font-size: 0.28rem;}
.p-product-list .page-main .j-refresh { height: calc(100% + 10px);}
.m-sort { margin-bottom: 0;}
.m-sort .sort-hd li span { vertical-align: top;}
.m-list2 { background-color: #fff;}
.m-list2 li { position: relative;}
.m-list2 li + li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background-color: #eee;}
.goods { display:flex; justify-content:flex-start; position: relative; padding:0.24rem 0.24rem 0.8rem}
.goods_img { padding-right: 0.24rem;}
.goods_img img { width: 1.6rem; height: 1.6rem;}
.goods_title { flex: 1; position: relative;}
.goods_title h3 { overflow: hidden; line-height: 0.32rem; font-size: 0.28rem; display: -webkit-box; -webkit-box-orient: vertical;-webkit-line-clamp:2;}
.goods_title .attr { margin-top: 0.05rem; padding-left: 0.14rem;}
.goods_title .price{ position: absolute; bottom: -0.55rem; left: 0.14rem; color: #f20; }
.goods_title .price span { font-size: 0.3rem;}
.goods_title .extension{ position: absolute; bottom: -0.55rem; left: 1.7rem;color: #f20;background: rgba(243, 75, 62, 0.18);}
.goods_title .extension span{padding: 0.1rem 0.15rem;font-size: 0.28rem;}
.m-list2 .shop{ position: absolute; bottom: 0; right: 0; padding: 0.24rem;}
.m-list2 .shop span.iconfont-shop{ display: block; width: 0.6rem; height: 0.6rem; background-color: #f20; border-radius: 100%; text-align: center; line-height: 0.6rem;  color: #fff;}
span.iconfont-shop:before{content: "\e642";}
/* 商品列表页 end */
/* 商品搜索页 start */
.m-search-empty img{width: 3rem;height: 3rem;margin: 0.2rem auto;display: block;}
/* 商品搜索页 end */
/* 商品搜索页 start */
.iconfont-gouwu:before{content: "\e622";}
.shop_cart{ padding-top:3rem; text-align: center;}
.shop_cart span.iconfont-gouwu{font-size:1.5rem;color: #ccc;}
.shop_cart p{line-height: 0.6rem;font-size: 0.28rem;color: #999;margin: 0.2rem 0 0;}
/* 商品搜索页 end */
/* 购物车 start */
.p-cart .shop-list .item { margin-top: 0;}
.p-cart .shop-list .item + .item { margin-top: 0.1rem;}
.p-cart .shop-list .item .check,
.p-cart .shop-list .item .info { height: auto;}
.p-cart .shop-list .item .img { width: auto; height: auto; padding-left: 0;}
.p-cart .shop-list .item .edit { display: none; position: absolute; top: 1.4rem; right: 0.2rem; width: 0.52rem; height: 0.52rem; line-height: 0.52rem; text-align: center; color: #f20;}
.p-cart .goods-info { display: flex;}
.p-cart .goods-info .goods-info-bd { flex: 1; position: relative; padding-left: 0.2rem;}
.p-cart .goods-info .img img { width: 1.7rem; height: 1.7rem; padding: 0.1rem; border:1px solid #eee;}
.p-cart .goods-info .tit { font-size: 0.3rem;}
.p-cart .item .info .specs{font-size: 0.24rem;color: #999;line-height: 0.4rem;height: 0.4rem;overflow: hidden;margin: 0.05rem 0 0 0.14rem;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;}
.p-cart .item .info .indications{font-size: 0.24rem;color: #999;line-height: 0.4rem;height: 0.4rem;overflow: hidden;margin: 0.05rem 0 0 0.14rem;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;}
.p-cart .goods-info .attr { margin-top: 0.1rem; padding-left: 0.14rem;}
.p-cart .shop-info { display: flex; align-items: center; padding: 0.1rem; margin-top: 0.1rem; background-color: #fafafc;}
.p-cart .shop-info .shop-info-bd { flex: 1; padding-right: 0.2rem;}
.p-cart .shop-info .u-num a { background-color: #fafafc;}
.p-cart .tool .g-wrap {border-top: 1px solid #e6eefa;}
/* 购物车 end */
/* 提交订单 start */
.p-order .list-cells { margin-top: 0;}
.p-order .list-cells + .list-cells { margin-top: 0.1rem;}
.p-order .shop-list .item + .item { border-top: 1px solid #e6eefa;}
.p-order .item .img { width: auto; height: auto;}
.p-order .item .img img { width: 1.7rem; height: 1.7rem; padding: 0.1rem; border:1px solid #eee;}
.p-order .item .info .u-price { padding-left: 0.14rem;padding-top: 0.05rem;}
.p-order .tool .g-wrap {border-top: 1px solid #e6eefa;}
/* 提交订单 end */
/* 支付方式 start */
.p-pay .cells-title {line-height: 0.8rem;font-size: 0.3rem;text-indent: 0.15rem;}
.p-pay label.cell { align-items: center;}
.p-pay label.cell .pay-radio { position: absolute; left: -9999em;}
.p-pay label.cell .pay-radio .iconfont { display: block;}
.p-pay label.cell .pay-radio + .iconfont::before { content: '\e629'; font-size: 0.4rem; color: rgba(0, 0, 0, 0.4);}
.p-pay label.cell .pay-radio:checked + .iconfont::before {content: '\e62b'; color: #f20;}
.p-pay label.cell .icon { font-size: 0.4rem;}
.p-pay .iconfont-weixin:before{content: "\e7e5"; color: #52b630; }
.p-pay .iconfont-zhifubao:before{content: "\e62c"; color: #00a0ea; }
.p-pay .iconfont-guitai:before{content: "\e64e"; color: #f8162e; }
/* 支付方式 end */
/* 资讯列表 start */
.article-item { padding: 0.2rem 0.24rem;}
.article-item .article-item-bd h3 { margin-top: 0;}
.article-item .article-item-bd p { height: 0.8rem;}
.article-item .article-item-bd .info { padding-top: 0.3rem; line-height: 0.4rem; text-align: right;}
.article-item .article-item-bd .time { color: #888;}
/* 资讯列表 end */
/* 品牌列表 start */
.p-brand{background: #fff;}
.p-brand .brands{overflow: hidden;background: #fff;padding: 0.8rem 0 0;}
.p-brand .brands ul{}
.p-brand .brands ul li{width:50%;float: left;text-align: center;padding: 0.2rem 0;position: relative;border-bottom: 1px solid #eee;}
.p-brand .brands ul li img{height:0.8rem;}
.p-brand .brands ul li p{line-height: 0.5rem;}
.p-brand .brands ul li:nth-child(2n):after{content: "";width: 1px;height: 100%;background: #eee;position: absolute;top: 0;left: 0;}
/* 品牌列表 end */
/* 购物车 start */
.p-cart .tool .btn a,
.p-order .tool .btn a { background-color: #fa5e36;}
.free{padding:0.2rem;}
.free-tips{color: #fa5e36;}
/* 购物车 end */

/*商品列表页面新增样式 start*/
.norms{font-size: 0.24rem;color: #999;line-height: 0.4rem;height: 0.4rem;overflow: hidden;margin: 0.05rem 0 0 0.14rem;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp:1;}
.indic{font-size: 0.24rem;color: #999;line-height: 0.4rem;height: 0.4rem;overflow: hidden;margin: 0 0 0 0.14rem;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp:1;}


/*提交订单 start*/
.tips-order{color: #555;padding: 0.3rem;background: #fff;margin: 0.1rem 0;}
.uploaded{line-height: 0.5rem;color: #666;;}
.p-order .cell .bd p.sheet{color: #555;font-weight:bold;}
.p-order .item .bottom.num{text-align: right;right: 0.2rem;bottom: 0.9rem;height: 0.4rem;line-height: 0.4rem;padding-top: 0.05rem;}

/* 顶部搜索
 * @Author: mikey.zhangpeng 
 * @Date: 2019-11-29 15:48:42 
 * @Last Modified by: mikey.zhangpeng
 * @Last Modified time: 2019-11-29 17:40:37
 */
.product-search { display: flex;}
.product-search .search-input { flex: 1; display: flex; align-items: center; height: 0.64rem; overflow: hidden; background-color: #fff; border: 1px solid #e6eefa; border-radius: 0.4rem;}
.product-search .search-input span { padding: 0 0.1rem 0 0.2rem;}
.product-search .search-input .search-txt { flex: 1; height: 100%; border: none;}
.product-search .search-input .search-btn { height: 100%; padding: 0 0.4rem 0 0.3rem; background: none; background-image: linear-gradient(90deg,#2339c0,#265bdb); border: none; color: #fff;}
.p-product-list .product-search .search-input { border:none;}
.p-product-list .product-search .search-input .search-btn { background:none; background-color: #fc0; color: rgba(0, 0, 0, 0.6);}
/* 上传处方优化 */
.p-order .popup-main.prescription  { min-height: 3rem;}
.p-order .popup-main.prescription .u-file-img { background-color: #fff;}
.p-order .popup-main.prescription .u-file-img .u-file-btn { position: relative; width: 100%; height: 100%; padding: 0;}
.p-order .popup-main.prescription .u-file-img .u-file-btn::before,
.p-order .popup-main.prescription .u-file-img .u-file-btn::after { content: " "; position: absolute; top: 50%; left: 50%; width: 2px; transform: translate(-50%, -50%); background-color: #e5eaee;}
.p-order .popup-main.prescription .u-file-img .u-file-btn::before { width: 2px; height: 50%;}
.p-order .popup-main.prescription .u-file-img .u-file-btn::after { width: 50%; height: 2px; }
.p-order .popup-main.prescription .u-file-img .u-file-icon,
.p-order .popup-main.prescription .u-file-img p { display: none;}
/* 微信二维码支付 */
.p-order .pay-wechat .amount { padding: 0.6rem 0.24rem 0.4rem; text-align: center;}
.p-order .pay-wechat .amount .num { }
.p-order .pay-wechat .amount .num span { font-size: 1rem;}
.p-order .pay-wechat .qrcode { position: relative; padding: 1rem 0.24rem; background-color: #fff;}
.p-order .pay-wechat .qrcode::before,
.p-order .pay-wechat .qrcode::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background-color: #e6eefa;}
.p-order .pay-wechat .qrcode::before { top: 0;}
.p-order .pay-wechat .qrcode::after { bottom: 0;}
.p-order .pay-wechat .qrcode .img { width: 4rem; height: 4rem; overflow: hidden; margin: 0 auto;}
.p-order .pay-wechat .qrcode .img img { width: 100%; height: 100%;}
.p-order .pay-wechat .qrcode .tips { line-height: 1rem; text-align: center;}
/*新增底部导航排班图标*/
.m-tabnav .tabnav-item.this{color: #2339c0;}
.iconfont-index:before {content: "\e694";}
.iconfont-goods:before {content: "\e78b";}
.iconfont-ask::before{content: "\e679";}
.iconfont-schedu:before{content: "\e69a";}
.iconfont-my:before{content: "\e699";}
/*提交订单*/
.p-order .popup-main{min-height: 2rem;}

/*新增产品列表头部样式*/
header{background-color:#2339c0;background-image:-webkit-linear-gradient(left,#2339c0,#265bdb);background-image:linear-gradient(90deg,#2339c0,#265bdb);}
.p-article .page-container{padding: .8rem 0 0.2rem;}


