body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td, select { margin: 0; padding: 0; } body, button, input, select, textarea { font-size: 30rpx; line-height: 1.5; } h1, h2, h3, h4, h5, h6 { font-size: 100%; } address, cite, dfn, em, var { font-style: normal; } code, kbd, pre, samp { font-family: couriernew, courier, monospace; } small { font-size: 12px; } ul, ol { list-style: none; } sup { vertical-align: text-top; } sub { vertical-align: text-bottom; } legend { color: #000; } fieldset, img { border: 0; } button, input, select, textarea { font-size: 100%; } table { border-collapse: collapse; border-spacing: 0; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, menu, nav, section { display: block; } input, input[type="search"], button, select, option, textarea, a { outline: none; border: 0; -webkit-appearance: none; border-radius: 0; background: none; box-sizing: border-box; } /* custom */ navigator { text-decoration: none; -webkit-backface-visibility: hidden; color: #333; box-sizing: border-box; } body, input, textarea { -webkit-text-size-adjust: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-family: "PingFang SC", "STHeitiSC-Light", "Helvetica-Light", arial, sans-serif, "Droid Sans Fallback"; color: #333; } div, section, header, footer { box-sizing: border-box; } input { line-height: normal; box-sizing: border-box; } .fl { float: left; } .fr { float: right; } .clear { clear: both; height: 0; line-height: 0; font-size: 0; } .clearfix:after { content: "."; display: block; height: 0; visibility: hidden; clear: both; overflow: hidden; } .flex { display: flex; } .con-cell { display: table-cell; height: 100%; vertical-align: middle; } .old-price { text-decoration: line-through; } .icon { width: 1em; height: 1em; vertical-align: -0.15em; fill: currentColor; overflow: hidden; } // @font-face { // font-family: "GuildfordProBook 5"; // src: url("GuildfordProBook 5.otf"); // } [v-cloak] { display: none !important; } .iconfont { font-size: 36rpx; } /* 一像素边框 */ @media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) { .border-1px::after { transform: scaleY(0.7); } .border-1px::before { transform: scaleY(0.7); } } @media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) { .border-1px::after { transform: scaleY(0.5); } .border-1px::before { transform: scaleY(0.5); } } @media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) { .border-1px::after { transform: scaleY(0.33); } .border-1px::before { transform: scaleY(0.33); } } .line1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .line2 { word-break: break-all; -webkit-line-clamp: 2; overflow: hidden; } .mask { background-color: rgba(0, 0, 0, 0.6); position: fixed; top: 0; left: 0; bottom: 0; right: 0; z-index: 55; } .yd-cityselect-nav .yd-cityselect-nav-active, .yd-cityselect-item-box .yd-cityselect-item-active { color: #2c8eff !important; } .yd-cityselect-nav-active:after { background-color: #2c8eff !important; } view { box-sizing: border-box; } image { height: auto; width: auto; }