.modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, .5); z-index: 999999; } .modal-dialog { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 800px; background: #fff; border-radius: 10px; } .modal-header { padding: 20px; } .modal-body { padding: 20px; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; max-height: 50vh; overflow-y: scroll; } .modal-body a { text-decoration: underline; color: #1f83e0; } .modal-footer { position: relative; padding: 20px; text-align: right; } .bot-checkbox { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); line-height: 40px; } .bot-btn { padding: 5px 20px; background: #1f83e0; color: #fff; display: inline-block; cursor: pointer; z-index: 10; } .bot-btn { } .error { color: #ff0000; margin-right: 10px; font-size: 14px; display: none; } .input-box { display: flex; width: 500px; margin-top: 20px; } .input-left { width: 25%; text-align: right; box-sizing: border-box; padding-right: 20px; line-height: 50px; height: 50px; } .input-left em { font-size: 14px; color: #ff0000; margin-right: 5px; } .input-right { width: 75%; line-height: 50px; height: 50px; border: 1px solid #999; border-radius: 5px; box-sizing: border-box; padding: 0 20px; transition: all .3s; } .input-right:focus { border: 1px solid #1f83e0; } .input-right::placeholder { color: #999; } textarea.input-right { height: auto; line-height: 1.8em; padding-top: 10px; } .upfile{ display: flex; border: none; padding: 0; } .upfile span{ font-size: 14px; } .file-btn, .submit-btn { background: #1f83e0; color: #fff; border-radius: 5px; line-height: 40px; height: 40px; padding: 0 20px; cursor: pointer; transition: all .3s; } .file-btn:hover { background: #1768B3; } .upfile span { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 10px; font-size: 14px; } .submit-btn { background: #fff; color: #1f83e0; border: 1px solid #1f83e0; line-height: 50px; height: 50px; width: 250px; } .submit-btn:hover { background: #1f83e0; color: #fff; } .done { display: none; margin-top: 20px; font-size: 18px; border-bottom: 1px solid #ccc; padding-top: 20px; } .done em { color: #1f83e0; font-weight: 700; } .reacrch-box { display: flex; width: 500px; margin-top: 20px; } .reacrch-box .submit-btn { margin-left: 20px; flex: 1; background: #1f83e0; color: #fff; } .reacrch-box .input-right { width: 80%; } /* 去除number箭头 */ .inputbox input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; } input[type="number"] { -moz-appearance: textfield; } /*add*/ .done{display: none;} .yzm .upfile img{position: relative;top: -6px;left: 15px;cursor: pointer;} .yzm{width: 850px;} #myModal{display:block}