@charset "utf-8";
@font-face{ font-family: "AlibabaR"; src: url('/static/font/Alibaba-PuHuiTi-Regular.ttf'); font-weight: normal;font-style: normal; }
* { list-style: none; margin: 0; padding: 0;}
html { -webkit-tap-highlight-color: transparent;}
body { max-width: 640px; min-width: 320px; margin: 0 auto; font-family: -apple-system, AlibabaR; font-size: 14px; color: #666; line-height: 1.6; }
a { text-decoration: none; color: #666; font-size: 14px; }
button,input,textarea { color: inherit; font: inherit; }
a:focus,button:focus,input:focus,textarea:focus { outline: 0; }
ol,ul { margin: 0; padding: 0; list-style: none; }
img { overflow-clip-margin: content-box; overflow: clip; }

/* 表单设置 */
input,button,textarea { font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; }
input[type="text"],input[type="password"],input[type="number"],input[type="tel"] { display: block; box-sizing: border-box; width: 100%; border: none; padding: 5px; border-radius: 5px;}
input[type="text"]:focus,input[type="password"]:focus { background-color: rgba(57, 191, 62, 0.1); }
input[type="radio"],input[type="checkbox"]{ appearance: none; print-color-adjust: exact; cursor: pointer; margin-top: 0px; vertical-align: top; background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: contain; border: 1px solid #e6e6e6; width:20px; height:20px; }
input[type="radio"]:active,input[type="checkbox"]:active { filter: brightness(90%); }
input[type="radio"]:hover,input[type="checkbox"]:hover{ border-color: #39BF3E; box-shadow: 0px 0px 3px rgba(57, 191, 62, 0.5); }
input[type="radio"]{ border-radius: 50%; }
input[type="radio"]:checked{ border-color: #39BF3E; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='%2339BF3E'/></svg>"); }
input[type="checkbox"]{ border-radius: 4px; }
input[type="checkbox"]:checked{border-color: #39BF3E; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='%2339BF3E' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>"); }
select { font-family: "AlibabaR"; font-size: 14px; width: 100%; height: 34px; border: 1px double #39BF3E; padding: 5px; color: #39BF3E; border-radius: 4px;}
textarea { background-color: #f8f8f8; font-size: 15px; color: #222; width: 100%; border: none; }
.btn-all { display:inline-block; vertical-align: middle; outline: 0; -webkit-appearance: none; transition: all .3s; -webkit-transition: all .3s; box-sizing: border-box; cursor: pointer; white-space: nowrap; text-align: center; height: 38px; line-height: 38px; border: 1px solid transparent; border-radius: 5px; padding: 0 18px; background-color: #39BF3E; color: #fff; font-size: 14px;}
.btn-all + .btn-all { margin-left: 10px; }
.btn-all:hover { opacity: .8; }
.btn-sm { height: 30px; line-height: 28px; padding: 0 10px; font-size: 12px; }
.btn-xs { height: 22px; line-height: 20px; padding: 0 5px; font-size: 12px; }
.btn-lg { border-radius: 19px; width: 100%;}
.btn-bai{background: 0 0; border-color: #39BF3E; color: #666;}
.btn-lan{background-color: #1E9FFF;}
.btn-hong{background-color: #FF5722;}
.btn-huang{background-color: #FFB800;}
.name_border {display: inline-block; height: 20px; line-height: 20px; margin-left: 5px; padding: 0 6px; font-size: 12px;text-align: center; background-color: #FF5722; color: #fff; border-radius: 10px;}

/* 自定义控件 */
.form-select-div { display: flex;border: 1px double #39BF3E; padding: 5px; color: #39BF3E; border-radius: 4px;}
.form-select-hide { overflow: hidden; height: 0px;}
.form-select-txt{flex: 1; overflow: hidden; padding-left: 5px; font-size: 14px;}
.form-select-jt::before { font-family: iconfont !important; font-size: 14px; font-style: normal; content: "\e69e"; display: block; width: 17px; }
.form-select-list { padding: 5px; border-bottom: 1px solid #eee;}
.form-select-list:hover { background-color: #C2EDC4; }
.form-select-this { background-color: #5FCF64; color: #fff;}
/* 控件-弹窗 */
.wap-mk { width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.3); position: fixed; top: 0; left: 0; z-index: 999; display: block; }
.wap-dialog {position: fixed; background-color: #fff; top: 0px; left: 0px; z-index: 999; border-radius: 3px; box-shadow: 1px 1px 50px rgba(0,0,0,.3); overflow: hidden;}
.wap-dialog-title {display: flex; align-items: center; padding: 5px 10px; border-bottom: 1px solid #E1E1E1; font-size: 16px; }
.wap-dialog-title .txt{ flex: 1;}
.wap-dialog-content {padding: 10px; overflow: auto; }
.wap-dialog-close { font-family: iconfont !important; font-style: normal; }
.wap-dialog-close::before { content: "\e793"; }
.wap-dialog-btns { text-align: right; padding: 5px;}

/* 页面布局 */
.main { background-color: #F6F6F6; min-height: 100vh;  padding-top: 50px; padding-bottom: 100px;}
.main-bg {background-image: url("/static/images/top1.png"); background-repeat: no-repeat; background-position: center top; background-size: contain; }
.tab-box { margin: 12px; border-radius: 10px; overflow: hidden;}
.tab-bg { background-color: #fff;}

/* 布局-表单 */
.form-item { display: flex; align-items: center; padding: 10px 15px; position: relative; }
.form-item::after {position: absolute;box-sizing: border-box;content: " ";pointer-events: none;right: 16px;bottom: 0;left: 16px;border-bottom: 1px solid #ebedf0;-webkit-transform: scaleY(.5);transform: scaleY(.5);}
.form-item-b::before {position: absolute;left: 8px;color: #ee0a24;font-size: 14px;content: "*"; top: 35%;}
.form-item .txt { flex: 0 0 88px; padding: 5px 0px; font-size: 15px;}
.form-item .inp { flex: 1;}
.form-item .ps { padding: 0 10px;}
.form-box {padding: 10px 15px;}
.form-box .text { overflow: hidden; position: relative; padding: 10px 10px 15px; background: #fafafa; border: .5px solid #f0f0f0; border-radius: 5px; box-sizing: border-box; }

/* 布局-图文列表框 */
.grap {}
.grap-pic {display: block; background-repeat: no-repeat; background-position: center top; background-size: cover; width: 3rem;height: 3rem; }
.grap-box { display: flex; flex-wrap:wrap;}
.grap-box .grap-item { display: block; flex:1 0 40%; background-color: #fff; overflow: hidden; margin-bottom:5px;}
.grap-box .grap-item:nth-of-type(2n) { margin-left: 5px; }
.grap-line{ display: block; overflow: hidden; margin-bottom:5px; padding: 10px;}
.grap-line .grap-item{ display: flex; margin-bottom: 10px;}
.grap-line .grap-pic{ flex: 0 0 auto; width: 2rem; height: 2rem; background-color: #F6F6F6; border-radius: 5px; overflow: hidden;}
.grap-line .grap-con {margin-left: 10px; flex: 1;}

/* 布局-可切换选项卡 */
.card {}
.card-title ul { display: flex; }
.card-title li { flex: 1; text-align:center; line-height: 30px; position: relative; margin: 0 10px; cursor: pointer;}
.card-title .this { color: #39BF3E; }
.card-title .this::before { content: " "; border-bottom: 2px solid #39BF3E; position: absolute; width: 100%; left: 0; bottom: 0;}
.card-content { padding: 0px 5px; }
.card-content > div + div { display: none; }
.card-list {display: flex; flex-wrap: wrap; }
.card-item {flex: 1 1 19%; text-align: center; border-bottom: 1px solid #f5f5f5; border-right: 1px solid #f5f5f5; padding: 10px 0px;}
.card-item:nth-child(5n) { border-right: none; }

/* 顶部 */
.fixed { position: fixed;left: 0; top: 0; right: 0; margin: 0 auto; max-width: 640px; }
.top_div { max-width: 640px; background: #39BF3E; z-index: 3; }
.m-header {height: 44px;padding: 0 12px;display: flex;align-items: center;justify-content: space-between;font-size: 14px;color: #fff;}
.m-header .logo {height: 30px;}
.search-bar {height: 40px;padding: 0 12px;display: flex;align-items: center;justify-content: center;}
.m-header .back::before{ content: "\e6bf"; }
.m-header a { color: #fff; }
.m-header .bar-title {font-size: 16px; }

/* 搜索框 */
.m-search {width: 100%; height: 30px; background: #fff; border-radius: 15px; font-size: 14px; color: #909090; display: flex; align-items: center; padding: 0 12px; overflow: hidden; }
.m-search .inp { flex: 1; }
.m-search input:focus { background-color: #fff; }
.m-search button { height: 20px;  border-radius: 10px; background: #39BF3E; color: #fff; line-height: 20px; font-size: 13px; }


/* 底部导航 */
.footer {
    max-width: 640px;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1;
    text-align: center;
    box-shadow: 0 -2px 10px 0 rgba(34,35,36,.09);
}
.footer .nav-bar {
    height: 50px;
    display: flex;
    justify-content: space-around;
    color: #222;
}
.footer .menu {
    line-height: 1;
}
.footer .active,.footer .active a{ color: #39BF3E;}
.footer a { display: block;}
.footer i {
    font-size: 19px;
     line-height: 1.6;
}
.footer .imgs {
    height: 60px;
    width: 60px;
    margin-top: -50%;
    background-image: url("/static/images/fabu.png");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: contain;
}
.ctn-title {
padding-top: 15px;
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 8px;
font-family: PingFangSC-Medium;
font-size: 17px;
font-weight: 700;
color: #222;
letter-spacing: 0;
line-height: 17px;
}
.ctn-title img { width: 20px; height: 20px; }

/* 文字列表 */
.tlist{}
.tlist li { margin: 12px; border-radius: 10px; overflow: hidden; background-color: #fff; }
.tlist .tlist-bar{ display: flex; margin: 0 10px; padding: 5px 0; border-bottom: 1px solid #ebedf0;}
.tlist .tlist-bar a{font-size: 16px; color:#39bf3e; flex: 1; }
.tlist .tlist-user {color: #1E9FFF;}
.tlist .tlist-user i::before{ content: "\e7d3"; margin-right: 5px;}
.tlist .tlist-text { margin: 10px; line-height: 2;}
.tlist .tlist-tb { display: flex; margin: 0 10px; padding: 5px 0; justify-content: center; border-top: 1px solid #ebedf0;}
.tlist .tlist-tb div { width: 80px; }
.tlist .tlist-time { flex: 1;}

/* 商品 */
.shop {margin: 0 8px; }
.shop .shop-title{ font-size: 15px; color: #1f1f1f; line-height: 24px; margin-top:5px; height: 24px;  overflow: hidden;}
.shop .shop-price { margin-bottom: 5px; }
.shop .shop-tags { color: #ff5000; }
.shop .price-unit {font-size: 16px; color: #ff5000; }
.shop .price-value {font-size: 20px; color: #ff5000;}
.shop .shop-sale{ color: #7a7a7a; margin-left: 8px;}
