锘縣tml, body { margin: 0; padding: 0; background: #f2f6fc; font-family: "pingfang sc", "microsoft yahei", arial, helvetica, sans-serif; font-size: .7rem; } .main { text-align: center; padding-bottom: 80px; } .main .main-background { width: 100%; } .main .main-background img { width: 100%; } .main .main-title { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; position: relative; width: 83%; height: 40px; top: -30px; line-height: 35px; margin: 0 auto; padding: 10px 4%; background-color: white; border-radius: 6px; } .main .main-title div { font-size: .7rem; } .main .main-title .title-content { flex-grow: 1; flex-shrink: 0; text-align: center; } .main .main-title .title-line { flex-grow: 10; flex-shrink: 1; height: 6px; margin: 0 5px; border-radius: 15px; /* safari 5.1 - 6.0 */ background: -webkit-linear-gradient(left, #ffc000, #ff9900); /* opera 11.1 - 12.0 */ background: -o-linear-gradient(right, #ffc000, #ff9900); /* firefox 3.6 - 15 */ background: -moz-linear-gradient(right, #ffc000, #ff9900); /* 鏍囧噯鐨勮娉?*/ background: linear-gradient(to right, #ffc000, #ff9900); } .main .main-title .title-salary { flex-grow: 1; flex-shrink: 0; text-align: center; color: #0378d8; } .main .main-title .title-salary span { font-weight: bold; } .main .main-option {} .main .main-option .option-tip { position: relative; top: -15px; color: #bbbbbb; font-size: .6rem; } .main .main-option .option-row { position: relative; display: inline-block; width: 83%; margin-bottom: 10px; padding: 10px 4%; border-radius: 6px; background-color: white; text-align: left; } .main .main-option .option-row .row-img { vertical-align: middle; width: 15px; margin-right: 10px; } .main .main-option .option-row .content-input { display: inline-block; width: 80%; font-size: .7rem; color: #666; border: none; -webkit-appearance: none; } .main .main-option .option-row input { font-size: .7rem; color: #666; } .main .main-option .option-row input::-webkit-input-placeholder { /* webkit, blink, edge */ color: #666; } .main .main-option .option-row input:-moz-placeholder { /* mozilla firefox 4 to 18 */ color: #666; } .main .main-option .option-row input::-moz-placeholder { /* mozilla firefox 19 */ color: #666; } .main .main-option .option-row input:-ms-input-placeholder { /* internet explorer 10-11 */ color: #666; } .main .main-option .option-arrow:after { content: ' '; position: absolute; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); content: ' '; position: absolute; top: 17px; right: 13px; width: 6px; height: 6px; border: #cac9c9 solid; border-width: 1px 1px 0 0; pointer-events: none; } .main .main-search { position: fixed; width: 100%; bottom: 0; background: white; } .main .main-search .search-button { width: 91%; height: 40px; margin: 12px auto; border: none; border-radius: 20px; font-size: .75rem; color: white; line-height: 40px; background-color: #0878d8; cursor: pointer; } .main .main-search .search-button img { width: 15px; vertical-align: middle; margin-right: 5px; } .city-selector { left: 0px; top: 2rem; } .city-selector .citys-list .citys-item { width: 25%; } .city-selector .selector-citys { max-height: 140px; }