html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; box-sizing: border-box; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; font-family: Arial; } ol, ul { list-style: none; } table { border-collapse: collapse; border-spacing: 0; } a { color: var(--black-text-color); text-decoration: none; } a:hover { color: var(--van-primary-color); text-decoration: none; } /* element 输入框样式 */ .el-input { height: 30px; } .el-input__inner { height: 30px; border-radius: 15px; line-height: 30px; } .el-input.is-active .el-input__inner, .el-input__inner:focus { border-color: #ca000a; } /* 轮播图样式 */ .el-carousel--horizontal { height: 100%; } .el-carousel__container { height: 100%; } .el-carousel__arrow { display: none !important; } .el-carousel__button { height: 4px; background-color: #918784; opacity: 1; } .el-carousel__indicator.is-active button { background-color: #c7000b; } .el-carousel__indicators--horizontal { bottom: 80px; } .el-select .el-input.is-focus .el-input__inner { border-color: #c7000b; } .el-select .el-input__inner:focus { border-color: #c7000b; } .el-select-dropdown__item.selected { color: #c7000b; } .el-select-dropdown__item.hover, .el-select-dropdown__item:hover { background-color: #c7000b; color: #fff; } /* 置灰 */ /* * { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); filter: gray; } */ .limit-line { display: -webkit-box; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 1; -webkit-box-orient: vertical; word-break: break-all; word-wrap: break-word; } .line-2 { -webkit-line-clamp: 2; } .line-4 { -webkit-line-clamp: 4; } .no-more { position: absolute; top: 50%; left: 50%; font-size: 18px; color: var(--gray-text-color); transform: translate(-50%, -50%); } .media-wrap { text-align: center; } .media-wrap > * { max-width: 100%; }